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](/uploads/101d5f158fda1dda3691b247e573920d/q4_error_static_fun.c)
issue