Frama-C Bug Tracking System - Frama-C
View Issue Details
0000817Frama-CKernelpublic2011-05-10 21:342014-02-12 16:59
pascal 
monate 
normalminoralways
closedfixed 
Frama-C GIT, precise the release id 
Frama-C Nitrogen-20111001 
0000817: r13378, assertion failed with bit-fields
~/ppc/bin/toplevel.opt -cpp-command "gcc -C -E -I runtime" -machdep x86_64 noresult.10212234.10.c [kernel] preprocessing with "gcc -C -E -I runtime noresult.10212234.10.c" [kernel] error occurring when exiting Frama-C: stopping exit procedure. The full backtrace is: Called from file "cil/src/cil.ml", line 8478, characters 16-36 Called from file "cil/src/frontc/cabs2cil.ml", line 5565, characters 26-54 Called from file "cil/src/frontc/cabs2cil.ml", line 4923, characters 34-64 Called from file "cil/src/frontc/cabs2cil.ml", line 5843, characters 20-48 Called from file "cil/src/frontc/cabs2cil.ml", line 7477, characters 28-61 Called from file "cil/src/frontc/cabs2cil.ml", line 7382, characters 25-48 Called from file "list.ml", line 74, characters 24-34 Called from file "cil/src/frontc/cabs2cil.ml", line 7371, characters 9-1023 Called from file "cil/src/frontc/cabs2cil.ml", line 7495, characters 16-34 Called from file "cil/src/frontc/cabs2cil.ml", line 7557, characters 17-40 Called from file "cil/src/frontc/cabs2cil.ml", line 7382, characters 25-48 Called from file "list.ml", line 74, characters 24-34 Called from file "cil/src/frontc/cabs2cil.ml", line 7371, characters 9-1023 Called from file "cil/src/frontc/cabs2cil.ml", line 7052, characters 14-321 Called from file "cil/src/frontc/cabs2cil.ml", line 7930, characters 12-31 Called from file "list.ml", line 69, characters 12-15 Called from file "cil/src/frontc/cabs2cil.ml", line 7962, characters 2-26 Called from file "cil/src/frontc/frontc.ml", line 171, characters 14-36 Called from file "src/kernel/file.ml", line 747, characters 27-46 Called from file "src/kernel/file.ml", line 796, characters 16-23 Called from file "list.ml", line 74, characters 24-34 Called from file "src/kernel/file.ml", line 793, characters 6-318 Called from file "src/kernel/file.ml", line 1276, characters 12-30 Called from file "src/kernel/file.ml", line 1361, characters 4-27 Called from file "src/kernel/ast.ml", line 60, characters 2-28 Called from file "src/kernel/ast.ml", line 67, characters 53-71 Called from file "queue.ml", line 134, characters 6-20 Called from file "src/kernel/cmdline.ml", line 174, characters 6-23 Unexpected error (File "cil/src/cil.ml", line 8462, characters 16-22: Assertion failed). Please report as 'crash' at http://bts.frama-c.com/. Your Frama-C version is Carbon-20110201+dev.
No tags attached.
has duplicate 0000830closed pascal unsigned :32 bitfield assertion at another location 
tgz bitf.tgz (41,814) 2011-05-10 21:34
https://bts.frama-c.com/file_download.php?file_id=214&type=bug
Issue History
2011-05-10 21:34pascalNew Issue
2011-05-10 21:34pascalFile Added: bitf.tgz
2011-05-10 21:37pascalNote Added: 0001859
2011-05-10 21:38pascalAssigned To => monate
2011-05-10 21:38pascalStatusnew => assigned
2011-05-10 21:38pascalDescription Updated
2011-05-10 23:22monateNote Added: 0001860
2011-05-10 23:22svnCheckin
2011-05-10 23:22svnStatusassigned => resolved
2011-05-10 23:22svnResolutionopen => fixed
2011-05-20 16:17virgileRelationship addedhas duplicate 0000830
2011-10-10 14:13signolesFixed in Version => Frama-C Nitrogen-20111001
2011-10-10 14:14signolesStatusresolved => closed
2014-02-12 16:59monateNote Added: 0004794
2014-02-12 16:59monateStatusclosed => resolved

Notes
(0001859)
pascal   
2011-05-10 21:37   
This is with 64-bit pre-processing.
(0001860)
monate   
2011-05-10 23:22   
Nice catch: no one had ever tested a 32 bits bitfield on a platform where int are 32 bits. Same bug happens with machdep x86_32.
(0004794)
monate   
2014-02-12 16:59   
Fix committed to stable/neon branch.