-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught Internal Error: "Assert_failure src/clang/cEnum_decl.ml:34:8" on QEMU #1249
Comments
|
你好,可以介绍下,你这个问题是怎么解决的吗 |
☑️ Please make sure your issue is not addressed in the [FAQ] (http://fbinfer.com/support.html#troubleshooting).
Please include the following information:
The version of infer from
infer --version
.Your operating system and version, for example "Debian 9", "MacOS High Sierra", whether you are using Docker, etc.
PowerPC 3.10.0-957.el7.ppc64le
Which command you ran, for example
infer -- make
.infer run -- gcc -I. -I.. -I../include -Ihw/net -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c ../hw/net/e1000.c
The full output in a paste, for instance a gist.
https://gist.github.com/zyh1121/f62bc1ebf51b94eb705d426dac1348ac
If possible, a minimal example to reproduce your problem (for instance, some code where
infer reports incorrectly, together with the way you run infer to reproduce the incorrect
report).
git clone https://github.com/qemu/qemu.git
cd qemu/
git checkout 9b26a610936deaf436af9b7e39e4b7f0a35e4409
mkdir build
cd build
../configure
make config-host.h
infer run -- gcc -I. -I.. -I../include -Ihw/net -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c ../hw/net/e1000.c
Infer crashed on
hw/net/e1000.c
from the QEMU project. The error msgTo reproduce, you might need to provide your paths to the
glib.h
andglibconfig.h
. In my case,#include <glib.h>
:-I/usr/include/glib-2.0
#include <glibconfig.h>
:-I/usr/lib64/glib-2.0/include
The text was updated successfully, but these errors were encountered: