|
From: Rob K. <ro...@st...> - 2003-07-25 08:48:22
|
Hi there, I'm trying to run valgrind on my program, but it dies. Output is included below. At one point it outputs: 'disInstr: unhandled instruction bytes: 0x66 0x6 0x8B 0x55'. Perhaps this is mmx/sse code? How can I find in what object the offending code is? If this code is what makes it crash in the first place... Cheers! Rob [rob] ~/work/mn++> valgrind -v mnshow ==3395== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==3395== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==3395== Using valgrind-20030716, a program supervision framework for x86-linux. ==3395== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==3395== Startup, with flags: ==3395== --suppressions=/usr/local/lib/valgrind/default.supp ==3395== -v ==3395== Reading syms from /home/rob/work/mn++/mnshow ==3395== Reading syms from /usr/local/lib/valgrind/vgskin_memcheck.so ==3395== Reading syms from /usr/local/lib/valgrind/valgrind.so ==3395== Reading syms from /usr/il/lib/libesso++.1.0.so ==3395== Reading syms from /usr/il/lib/libesmx++.3.0.so ==3395== Reading syms from /usr/il/lib/esqc.so ==3395== object doesn't have a symbol table ==3395== object doesn't have any debug info ==3395== Reading syms from /usr/il/lib/esmx.so ==3395== object doesn't have a symbol table ==3395== object doesn't have any debug info ==3395== Reading syms from /usr/il/lib/esini.so ==3395== object doesn't have a symbol table ==3395== object doesn't have any debug info ==3395== Reading syms from /usr/local/lib/liballeg-4.0.1.so ==3395== object doesn't have a symbol table ==3395== object doesn't have any debug info ==3395== Reading syms from /usr/lib/libstdc++.so.5.0.3 ==3395== Reading syms from /lib/libgcc_s.so.1 ==3395== Reading syms from /lib/ld-2.3.2.so ==3395== object doesn't have any debug info ==3395== Reading syms from /lib/libc.so.6 ==3395== object doesn't have any debug info ==3395== Reading syms from /lib/libdl.so.2 ==3395== object doesn't have any debug info ==3395== Reading syms from /lib/libm.so.6 ==3395== object doesn't have any debug info ==3395== Reading syms from /usr/X11R6/lib/libX11.so.6.2 ==3395== object doesn't have any debug info ==3395== Reading syms from /usr/X11R6/lib/libXext.so.6.4 ==3395== object doesn't have any debug info ==3395== Reading syms from /usr/lib/libjpeg.so.62.0.0 ==3395== object doesn't have any debug info ==3395== Reading syms from /usr/lib/libttf.so.2.2.0 ==3395== object doesn't have any debug info ==3395== Reading suppressions file: /usr/local/lib/valgrind/default.supp ==3395== Estimated CPU clock rate is 1701 MHz ==3395== mnshow 4.9.0 (C) Copyright 2000-2003 Infologic Pte Ltd, Singapore. ==3395== Reading syms from /usr/X11R6/lib/libXcursor.so.1.0 ==3395== object doesn't have any debug info ==3395== Reading syms from /usr/X11R6/lib/libXrender.so.1.2 ==3395== object doesn't have any debug info ==3395== Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s) ==3395== at 0x4016C77B: vgAllRoadsLeadToRome_writev (vg_intercept.c:108) ==3395== by 0x4016C7B7: __writev (vg_intercept.c:732) ==3395== by 0x411CBF3D: _X11TransSocketWritev (in /usr/X11R6/lib/libX11.so.6.2) ==3395== by 0x411CCB5E: _X11TransWritev (in /usr/X11R6/lib/libX11.so.6.2) ==3395== Address 0x41D51674 is 136 bytes inside a block of size 2048 alloc'd ==3395== at 0x40013A7E: calloc (vg_replace_malloc.c:273) ==3395== by 0x4119C736: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==3395== by 0x402DA47C: (within /usr/local/lib/liballeg-4.0.1.so) ==3395== Reading syms from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 disInstr: unhandled instruction bytes: 0x66 0x6 0x8B 0x55 ==3395== ==3395== Syscall param write(buf) contains uninitialised or unaddressable byte(s) ==3395== at 0x410E8BE8: __GI___libc_write (in /lib/libc.so.6) ==3395== by 0x411CCAFE: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2) ==3395== by 0x411AB663: _XFlushInt (in /usr/X11R6/lib/libX11.so.6.2) ==3395== by 0x411ACD9E: _XReply (in /usr/X11R6/lib/libX11.so.6.2) ==3395== Address 0x41D51676 is 138 bytes inside a block of size 2048 alloc'd ==3395== at 0x40013A7E: calloc (vg_replace_malloc.c:273) ==3395== by 0x4119C736: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==3395== by 0x402DA47C: (within /usr/local/lib/liballeg-4.0.1.so) -=Fatal exception caught, shutting down MN kernel [3.13]=- Illegal instruction (core dumped) |