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
  • #1179

Frama-C Kernel on a specific C file (unexpected error, assertion failed)

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


Id Project Category View Due Date Updated
ID0001475 Frama-C Kernel public 2013-09-03 2014-03-13
Reporter dmentre Assigned To virgile Resolution fixed
Priority normal Severity crash Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Fluorine-20130601 Target Version - Fixed in Version Frama-C Neon-20140301

Description :

When Frama-C is launched on attached file, I get an exception.

$ frama-c q4_error_static_fun.c

[kernel] preprocessing with "gcc -C -E -I. questions/q4_error_static_fun.c" [kernel] failure: Some globals contain dangling references after link: F4:f5; [kernel] Current source was: questions/q4_error_static_fun.c:35 The full backtrace is: Raised at file "cil/src/mergecil.ml", line 2842, characters 2-167 Called from file "cil/src/mergecil.ml", line 2903, characters 16-37 Called from file "src/kernel/file.ml", line 1082, characters 20-56 Called from file "src/kernel/file.ml", line 1936, characters 12-30 Called from file "src/kernel/file.ml", line 2020, characters 4-27 Called from file "src/kernel/ast.ml", line 103, characters 2-28 Called from file "src/kernel/ast.ml", line 114, characters 53-71 Called from file "src/kernel/boot.ml", line 29, characters 6-20 Called from file "src/kernel/cmdline.ml", line 732, characters 2-9 Called from file "src/kernel/cmdline.ml", line 212, characters 4-8

     Unexpected error (File "cil/src/mergecil.ml", line 2842, characters 2-8: Assertion failed).
     Please report as 'crash' at http://bts.frama-c.com/.
     Your Frama-C version is Fluorine-20130601.

Attachments

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