two axioms with same name cause crash
ID0001243:
**This issue was created automatically from Mantis Issue 1243. Further discussion may take place here.**
---
| **Id** | **Project** | **Category** | **View** | **Due Date** | **Updated** |
| --- | --- | --- | --- | --- | --- |
| ID0001243 | Frama-C | Kernel | public | 2012-07-16 | 2012-09-19 |
| | | | | | |
| --- | --- | --- | --- | --- | --- |
| **Reporter** | Jochen | **Assigned To** | yakobowski | **Resolution** | fixed |
| **Priority** | normal | **Severity** | crash | **Reproducibility** | always |
| **Platform** | - | **OS** | - | **OS Version** | - |
| **Product Version** | Frama-C Nitrogen-20111001 | **Target Version** | - | **Fixed in Version** | Frama-C Oxygen-20120901 |
### Description :
Running "frama-c -wp ftest.c" on the attached program caused a crash, with the following output:
[kernel] preprocessing with "gcc -C -E -I. ftest.c"
[kernel] failure: trying to register twice property `axiom a1'.
That is forbidden (kernel invariant broken).
[kernel] The full backtrace is:
Raised at file "src/wp/register.ml", line 551, characters 30-32
Called from file "queue.ml", line 134, characters 6-20
Called from file "src/kernel/boot.ml", line 36, characters 4-20
Called from file "src/kernel/cmdline.ml", line 723, characters 2-9
Called from file "src/kernel/cmdline.ml", line 200, characters 4-8
Frama-C aborted because of internal error.
Please report as 'crash' at http://bts.frama-c.com/.
Your Frama-C version is Nitrogen-20111001.
## Attachments
- [ftest.c](/uploads/f886417720cfa7c24e6511eb27bfed51/ftest.c)
issue