|
From: Lee, T. <TL...@ft...> - 2004-01-12 21:46:05
|
Hi --
=20
Apologies in advance if this is a usage error on my part or as has been
documented as I am new to valgrind.
=20
I got the following error when running valgrind against when making the
'system' call:
=20
+ valgrind --leak-check=3Dyes -v --num-callers=3D20 --track-fds=3Dyes =
vtest
=3D=3D3526=3D=3D Memcheck, a memory error detector for x86-linux.
=3D=3D3526=3D=3D Copyright (C) 2002-2003, and GNU GPL'd, by Julian =
Seward.
=3D=3D3526=3D=3D Using valgrind-2.1.0, a program supervision framework =
for
x86-linux.
=3D=3D3526=3D=3D Copyright (C) 2000-2003, and GNU GPL'd, by Julian =
Seward.
=3D=3D3526=3D=3D Command line
=3D=3D3526=3D=3D vtest
=3D=3D3526=3D=3D Startup, with flags:
=3D=3D3526=3D=3D
--suppressions=3D/dcaclearcase/vobs/eParty/valgrind/Bin/Linux/lib/valgrin=
d
/default.supp
=3D=3D3526=3D=3D --leak-check=3Dyes
=3D=3D3526=3D=3D -v
=3D=3D3526=3D=3D --num-callers=3D20
=3D=3D3526=3D=3D --track-fds=3Dyes
=3D=3D3526=3D=3D Reading syms from /home/fes620/test/vtest
=3D=3D3526=3D=3D Reading syms from /lib/ld-2.2.4.so
=3D=3D3526=3D=3D Reading syms from
/VIEWS/fes620_DEV630_linux.vws/.s/00027/800001753ffc701cvgskin_memcheck.
so
=3D=3D3526=3D=3D Reading syms from
/VIEWS/fes620_DEV630_linux.vws/.s/00027/8000015a3ffc7001valgrind.so
=3D=3D3526=3D=3D Reading syms from /lib/libc-2.2.4.so
=3D=3D3526=3D=3D object doesn't have a symbol table
=3D=3D3526=3D=3D object doesn't have any debug info
=3D=3D3526=3D=3D Reading suppressions file:
/dcaclearcase/vobs/eParty/valgrind/Bin/Linux/lib/valgrind/default.supp
=3D=3D3526=3D=3D Estimated CPU clock rate is 997 MHz
=3D=3D3526=3D=3D=20
Hello World
proxy 3534 for tid 1 exited status -1, res 0
got signal 17 in LWP 3526 (3526)
=20
valgrind: vg_signals.c:1558 (vg_async_signalhandler): Assertion
`vgPlain_ksigismember(&uc->uc_sigmask, sigNo)' failed.
=3D=3D3526=3D=3D at 0x401749FE: (within
/VIEWS/fes620_DEV630_linux.vws/.s/00027/8000015a3ffc7001valgrind.so)
=20
sched status:
=20
Thread 1: status =3D Runnable, associated_mx =3D 0x0, associated_cv =3D =
0x0
=3D=3D3526=3D=3D at 0x40257BA0: sigprocmask (in /lib/libc-2.2.4.so)
=3D=3D3526=3D=3D by 0x402788F0: __libc_system (in /lib/libc-2.2.4.so)
=3D=3D3526=3D=3D by 0x80484B2: main (vtest.c:4)
=20
Here is a test program I wrote to produce the above error:
=20
int main ()
{
printf ("Hello World\n");
system ("ls >/tmp/junk");
}
Info related to valgrind environment and usage:
=20
valgrind command invokation: valgrind --leak-check=3Dyes -v
--num-callers=3D20 --track-fds=3Dyes vtest
valgrind version: valgrind-2.1.0
Linux distribution: Red Hat Advanced Server 2.1
Kernel version: 2.4.9-e.5
glibc version: gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-108.1)
=20
Thanks,
Tim
=20
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any erroneous
transmission. If you receive this message in error, please immediately
destroy it and notify the sender. You must not, directly or indirectly,
use, disclose, distribute, or copy any part of this message if you are
not the intended recipient.
=20
|