AST integrity check failure with kernel-debug
ID0001440:
**This issue was created automatically from Mantis Issue 1440. Further discussion may take place here.**
---
| **Id** | **Project** | **Category** | **View** | **Due Date** | **Updated** |
| --- | --- | --- | --- | --- | --- |
| ID0001440 | Frama-C | Kernel | public | 2013-06-03 | 2014-03-13 |
| | | | | | |
| --- | --- | --- | --- | --- | --- |
| **Reporter** | guillaume-petiot | **Assigned To** | virgile | **Resolution** | fixed |
| **Priority** | normal | **Severity** | crash | **Reproducibility** | always |
| **Platform** | - | **OS** | - | **OS Version** | - |
| **Product Version** | - | **Target Version** | - | **Fixed in Version** | Frama-C Neon-20140301 |
### Description :
a.c:6:[kernel] failure: [AST Integrity Check] initial AST
Following functions and variables are present in global tables but not in AST:
Functions:
__builtin_va_arg(158) __builtin_stdarg_start(162) __builtin_next_arg(310)
__builtin_expect(350) __builtin_va_start(357) __builtin_va_arg(541)
__builtin_stdarg_start(545) __builtin_next_arg(693) __builtin_expect(733)
__builtin_va_start(740)
Fatal error: exception Log.AbortFatal("kernel")
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/kernel/file.ml", line 717, characters 8-413
Called from file "cil/src/cil.ml", line 5887, characters 7-84
Called from file "src/kernel/file.ml", line 1449, characters 36-147
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
Re-raised at file "src/kernel/cmdline.ml", line 226, characters 14-17
Called from file "src/kernel/boot.ml", line 66, characters 2-355
### Steps To Reproduce :
$ frama-c a.c -check -kernel-debug 1
## Attachments
- [a.c](/uploads/206b5b7c43303793821044d13c13132b/a.c)
issue