From: Ravi G. <RGo...@fo...> - 2003-05-28 19:59:23
|
Hi all, Running Valgrind on my application gave the following error. = Immediate help is appreciated. Thanks, Ravi =20 [root@localhost bin]# valgrind ./nfdII.dbg=20 =3D=3D12749=3D=3D Memcheck, a.k.a. Valgrind, a memory error detector for = x86-linux. =3D=3D12749=3D=3D Copyright (C) 2002, and GNU GPL'd, by Julian Seward. =3D=3D12749=3D=3D Using valgrind-1.9.6, a program instrumentation system = for x86-linux. =3D=3D12749=3D=3D Copyright (C) 2000-2002, and GNU GPL'd, by Julian = Seward. =3D=3D12749=3D=3D Estimated CPU clock rate is 2442 MHz =3D=3D12749=3D=3D For more details, rerun with: -v =3D=3D12749=3D=3D=20 =3D=3D12749=3D=3D pthread_mutex_destroy: mutex is still in use =3D=3D12749=3D=3D at 0x402183B4: pthread_error (vg_libpthread.c:292) =3D=3D12749=3D=3D by 0x402192CF: __pthread_mutex_destroy (in = /usr/local/lib/valgrind/libpthread.so) =3D=3D12749=3D=3D by 0x402AB014: _IO_default_finish (in = /lib/libc-2.1.3.so) =3D=3D12749=3D=3D by 0x402AA665: _IO_file_finish@@GLIBC_2.1 = (fileops.c:162) =3D=3D12749=3D=3D=20 =3D=3D12749=3D=3D pthread_mutex_unlock: mutex is not locked =3D=3D12749=3D=3D at 0x4021928A: __pthread_mutex_unlock (in = /usr/local/lib/valgrind/libpthread.so) =3D=3D12749=3D=3D by 0x4021C916: _IO_funlockfile (in = /usr/local/lib/valgrind/libpthread.so) =3D=3D12749=3D=3D by 0x402A645A: _IO_fclose@@GLIBC_2.1 = (iofclose.c:54) =3D=3D12749=3D=3D by 0x804D951: SaveMyPID(long) (nfmain.cpp:999) disInstr: unhandled opcode 0xEC then 0x88 =20 valgrind: the `impossible' happened: unhandled x86 opcode Basic block ctr is approximately 0 =20 sched status: =20 Thread 1: status =3D Runnable, associated_mx =3D 0x0, associated_cv =3D = 0x0 =3D=3D12749=3D=3D at 0x807C418: inb(unsigned short) (in = /home/ravi62/LATEST/vpnsrc/bin/nfdII.dbg) =3D=3D12749=3D=3D by 0x804BF81: main (nfmain.cpp:127) =3D=3D12749=3D=3D by 0x4026C9CA: __libc_start_main (in = /lib/libc-2.1.3.so) =3D=3D12749=3D=3D by 0x804BDE0: (within = /home/ravi62/LATEST/vpnsrc/bin/nfdII.dbg) =20 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.478 / Virus Database: 275 - Release Date: 5/6/2003 =20 |