> ==527== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info > ==527== Command: /bin/true
> ==527== Illegal opcode at address 0x4016348 > ==527== at 0x4016348: _dl_sysdep_start (in /lib/ld-2.13.so) Find out what the instruction is. [It's a sorry indictment that valgrind does not print it.] See if it's actually undefined for a) your hardware or b) valgrind's model of your hardware. If the /lib/ld-2.13.so was prelinked, then most likely its address is identical in every process, so: $ gdb /lib/ld-2.13.so (gdb) x/i 0x4016348 (gdb) x/x 0x4016348 If /lib/ld-2.13.so was not prelinked, then we need to find the base address at runtime. Try $ cat /proc/self/maps and see what the lowest address is for ld-2.13.so. It should be something like 0x4000000. Then (remember "0x" prefix on the base address): $ gdb /lib/ld-2.13.so (gdb) x/i 0x4016348 - base (gdb) x/x 0x4016348 - base But in rare cases the runtime placement can differ between processes. So: $ gdb /lib/ld-2.13.so (gdb) disassemble _dl_sysdep_start and then show all instructions whose addresses are 0x348 modulo 0x1000 (the page size.) Sometimes a few instructions of context help, too: $ gdb /lib/ld-2.13.so (gdb) x/6i 0x4016348 - 3*4 -- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
