|
From: Xavier Barnabe-T. <xa...@Th...> - 2003-07-17 10:24:44
|
Hello I tried to get valgrind-20030716 working with=20 calltree-0.9.1 and of course=20 kcachegrind-0.3b on Mandrake Linux release 9.1 (Bamboo) for i586. Everything compiles. But to get trough the configure of calltree, I modified the line about the cvs version of valgrind, not accepting valgrind-cvs-head-2003... but valgrind-20030716. Then it works. valgrind with default skin works great, telling me that no error was found on my testing program. valgrind with calltree skin gets the following error message at some stage: valgrind: vg_translate.c:658 (vgPlain_saneUCodeBlock): Assertion `sane' failed. and emits an empty output cachegrind.out.XXXX file. The complete output of the run with calltree appears at the end. valgrind with cachegrind seems to work, giving some output in the cachegrind.out.XXXX. kcachegrind seems to work as well. Except that I get no information about my program (a small testing program). If some have ideas, thank you. Don't hesitate to ask for more information. Xavier ---------------------------------------------------------------- =3D=3D6758=3D=3D Calltree-0.9.1, a cache profiler for x86-linux. =3D=3D6758=3D=3D Copyright (C) 2002, and GNU GPL'd, by N.Nethercote and J.W= eidendorfer. =3D=3D6758=3D=3D Using valgrind-20030716, a program supervision framework f= or x86-linux. =3D=3D6758=3D=3D Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. =3D=3D6758=3D=3D Estimated CPU clock rate is 401 MHz =3D=3D6758=3D=3D For more details, rerun with: -v =3D=3D6758=3D=3D=20 Instruction failed sanity check: =09 1: CALLMo =09t4=09=09[abcdSD] opcode: 68 lit32: 0x4002021A size: 0 val1,val2,val3: 4, 0, 0 tag1,tag2,tag3: 0, 7, 7 flags_r: 0x0 flags_w: 0x0 extra4b: 0x0 cond: 0x0 signed_widen: 0 jmpkind: 0 argc,regparms_n: 1, 1 has_ret_val: 0 regs_live_after: [abcdSD] valgrind: vg_translate.c:658 (vgPlain_saneUCodeBlock): Assertion `sane' fai= led. sched status: Thread 1: status =3D Runnable, associated_mx =3D 0x0, associated_cv =3D 0x0 =3D=3D6758=3D=3D at 0x4007CF78: (within /net/theorie/auto/home3/xavier/l= ib/valgrind/valgrind.so) =3D=3D6758=3D=3D by 0x4000ABB2: _dl_init_internal (dl-init.c:68) =3D=3D6758=3D=3D by 0x40000AAC: (within /lib/ld-2.3.1.so) Note: see also the FAQ.txt in the source distribution. It contains workarounds to several common problems. If that doesn't help, please report this bug to: js...@ac... In the bug report, send all the above text, the valgrind version, and what Linux distro you are using. Thanks. --=20 Xavier Barnabe-Theriault, PhD student. http://xebu.org/ Institut f=FCr Theoretische Physik Georg-August-Universit=E4t Tammanstrasse 1 37077 G=F6ttingen |