Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 173
    • Issues 173
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #136
Closed
Open
Issue created Jul 26, 2019 by mantis-gitlab-migration@mantis-gitlab-migration

Crash at "hashtbl.ml", line 462

ID0002467: This issue was created automatically from Mantis Issue 2467. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0002467 Frama-C Kernel public 2019-07-26 2019-08-22
Reporter Victor Sverdlin Assigned To signoles Resolution unable to reproduce
Priority normal Severity crash Reproducibility always
Platform x86_64 OS opensuse-tumbleweed OS Version 20190723
Product Version Frama-C 19-Potassium Target Version - Fixed in Version -

Description :

Raised at file "hashtbl.ml", line 462, characters 17-32 Called from file "src/libraries/project/state_topological.ml", line 62, characters 23-38

Additional Information :

(* Frama-C journal generated at 16:46 the 26/07/2019 *)

exception Unreachable exception Exception of string

[@@@ warning "-26"]

(* Run the user commands ) let run () = Project.set_keep_current false; File.init_from_cmdline (); Dynamic.Parameter.String.set "" "/media/sf_home/temp/gps_try/sent_LDRA/src/main.c"; begin try ( exception Log.AbortError("kernel") raised on: ) File.init_from_cmdline (); raise Unreachable with | Unreachable as exn -> raise exn | exn ( Log.AbortError("kernel") ) -> ( continuing: ) begin try ( exception Log.AbortError("kernel") raised on: ) File.prepare_from_c_files (); raise Unreachable with | Unreachable as exn -> raise exn | exn ( Log.AbortError("kernel") ) -> ( continuing: *) raise (Exception (Printexc.to_string exn)) end end

(* Main *) let main () = Journal.keep_file "./.frama-c/frama_c_journal.ml"; try run () with | Unreachable -> Kernel.fatal "Journal reaches an assumed dead code" | Exception s -> Kernel.log "Journal re-raised the exception %S" s | exn -> Kernel.fatal "Journal raised an unexpected exception: %s" (Printexc.to_string exn)

(* Registering *) let main : unit -> unit = Dynamic.register ~plugin:"Frama_c_journal.ml" "main" (Datatype.func Datatype.unit Datatype.unit) ~journalize:false main

(* Hooking *) let () = Cmdline.run_after_loading_stage main; Cmdline.is_going_to_load ()

Steps To Reproduce :

Just open new project and add at least one .c (or .h) file

Attachments

  • main.c
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking