|
From: <dom...@fr...> - 2006-03-16 11:52:54
|
I have built the allegro library (a game C lib) available at... http://alleg.sourceforge.net/wip.html ... along with the 'demo' program that comes with it. I can run the allegro demo without valgrind without problem. However, if I try to run the demo with valgrind using memcheck, I get the following errors: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ /usr/local/bin/valgrind --tool=3Dmemcheck ~/allegro4.1-4.1.15/demo/demo [...snip...] vex x86->IR: unhandled instruction bytes: 0x6 0x8E 0x42 0x3C =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D If I try leak-check tool, I get the same error + an assertion failure: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ /usr/local/bin/valgrind --leak-check=3Dyes ~/allegro4.1-4.1.15/demo/dem= o [...snip...] vex x86->IR: unhandled instruction bytes: 0x6 0x8E 0x42 0x3C [...snip...] Shutting down Allegro due to signal #4 not in syscall (0xB0044BBC - 0xB0044C11) valgrind: m_syswrap/syswrap-main.c:606 (vgPlain_client_syscall): Assertio= n 'sci->status.what =3D=3D SsIdle' failed. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I'm using: $ /usr/local/bin/valgrind --version valgrind-3.1.1 $ uname -a Linux mylnxbox 2.6.12-10-386 #1 Sat Mar 11 16:13:17 UTC 2006 i686 GNU/Lin= ux $ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 2 model name : AMD Athlon(tm) Processor stepping : 1 cpu MHz : 700.260 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmo= v pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow bogomips : 1384.44 |