Frama-C Bug Tracking System - Frama-C | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001572 | Frama-C | Kernel | public | 2013-11-27 10:05 | 2014-03-13 15:57 |
Reporter | dmentre | ||||
---|---|---|---|---|---|
Assigned To | yakobowski | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | Frama-C Fluorine-20130601 | ||||
Target Version | Fixed in Version | Frama-C Neon-20140301 | |||
Summary | 0001572: Multiple contracts merge twice resutling in Kernel error | ||||
Description | With the attached files, when I call the following command I get a backtrace: frama-c questions/q18_a.c questions/q18_b.c """ [kernel] preprocessing with "gcc -C -E -I. questions/q18_a.c" questions/q18_a.h:6:[kernel] warning: found two contracts. Merging them [kernel] preprocessing with "gcc -C -E -I. questions/q18_b.c" questions/q18_a.c:18:[kernel] warning: found two contracts. Merging them questions/q18_a.c:18:[kernel] warning: found two contracts. Merging them [kernel] failure: trying to register twice property `requires p ? 10'. That is forbidden (kernel invariant broken). [kernel] Current source was: questions/q18_b.c:8 The full backtrace is: Raised at file "src/kernel/log.ml", line 523, characters 30-31 Called from file "src/kernel/log.ml", line 517, characters 9-16 Re-raised at file "src/kernel/log.ml", line 520, characters 15-16 Called from file "src/logic/property_status.ml", line 292, characters 4-132 Called from file "list.ml", line 75, characters 12-15 Called from file "set.ml", line 305, characters 38-41 Called from file "src/kernel/file.ml", line 1487, characters 2-53 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 """ Strangely enough, I call frama-c on the files in the reverse order, everything goes well: frama-c questions/q18_b.c questions/q18_a.c """ [kernel] preprocessing with "gcc -C -E -I. questions/q18_b.c" [kernel] preprocessing with "gcc -C -E -I. questions/q18_a.c" questions/q18_a.h:6:[kernel] warning: found two contracts. Merging them questions/q18_a.c:18:[kernel] warning: found two contracts. Merging them """ | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://bts.frama-c.com/file_download.php?file_id=607&type=bug ![]() https://bts.frama-c.com/file_download.php?file_id=608&type=bug ![]() https://bts.frama-c.com/file_download.php?file_id=609&type=bug |
Notes | |||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2013-11-27 10:05 | dmentre | New Issue | |||
2013-11-27 10:05 | dmentre | File Added: q18_a.c | |||
2013-11-27 10:07 | dmentre | File Added: q18_a.h | |||
2013-11-27 10:07 | dmentre | File Added: q18_b.c | |||
2013-11-27 15:22 | yakobowski | Note Added: 0004345 | |||
2013-11-27 15:22 | yakobowski | Status | new => resolved | ||
2013-11-27 15:22 | yakobowski | Resolution | open => fixed | ||
2013-11-27 20:52 | yakobowski | Status | resolved => assigned | ||
2013-11-27 20:52 | yakobowski | Assigned To | => yakobowski | ||
2013-11-27 20:55 | yakobowski | Status | assigned => resolved | ||
2014-03-13 15:56 | signoles | Fixed in Version | => Frama-C Neon-20140301 | ||
2014-03-13 15:57 | signoles | Status | resolved => closed |