Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 168
    • Issues 168
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • 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
  • #1938

Crash when #include <complex.h>

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


Id Project Category View Due Date Updated
ID0001134 Frama-C Kernel public 2012-03-26 2012-12-05
Reporter sappjw Assigned To virgile Resolution suspended
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Nitrogen-20111001 Target Version - Fixed in Version -

Description :

I experienced a crash after executing the following. I believe it has something to do with the -debug flag; it doesn't tell me a crash has occurred when I omit it. Frama-C doesn't seem to like /usr/include/bits/cmathcalls.h as it gives me an error (/usr/include/bits/cmathcalls.h:54:[kernel] user error: syntax error).

$ frama-c -val -debug 5 framac_bug.c

Backtrace:

[kernel] The full backtrace is: [kernel] Raised at file "cil/src/frontc/frontc.ml", line 152, characters 10-29 [kernel] Called from file "cil/src/frontc/frontc.ml", line 101, characters 13-38 [kernel] Called from file "cil/src/frontc/frontc.ml", line 165, characters 13-32 [kernel] Called from file "src/kernel/file.ml", line 753, characters 27-46 [kernel] Called from file "src/kernel/file.ml", line 802, characters 23-30 [kernel] Re-raised at file "src/kernel/file.ml", line 805, characters 52-55 [kernel] Called from file "list.ml", line 74, characters 24-34 [kernel] Called from file "src/kernel/file.ml", line 799, characters 6-360 [kernel] Called from file "src/kernel/file.ml", line 1327, characters 12-30 [kernel] Called from file "src/kernel/file.ml", line 1412, characters 4-27 [kernel] Called from file "src/kernel/ast.ml", line 64, characters 2-28 [kernel] Called from file "src/project/state_builder.ml", line 490, characters 17-21 [kernel] Called from file "src/kernel/file.ml", line 1451, characters 12-22 [kernel] Called from file "src/project/project.ml", line 336, characters 12-15 [kernel] Re-raised at file "src/project/project.ml", line 341, characters 10-11 [kernel] Called from file "src/kernel/boot.ml", line 30, characters 33-51 [kernel] Called from file "src/kernel/cmdline.ml", line 723, characters 2-9 [kernel] Called from file "src/kernel/cmdline.ml", line 200, characters 4-8 [kernel] [kernel] Unexpected error (Parsing.Parse_error).

Additional Information :

Attached is the preprocessed input (output of gcc -C -E -I . framac_bug.c).

Attachments

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