|
From: Ahmet B.
|
Hmmm.. This is the tail of the strace result
strace valgrind /bin/date
Function not implemented .. So kill ?
Ahmet
open("/proc/self/maps", O_RDONLY) = 3
read(3, "08048000-0804e000 r-xp 00000000 "..., 2048) = 2048
read(3, " /lib/ld-2.2.5.so\nb1015000-b10"..., 2048) = 940
read(3, "", 1108) = 0
close(3) = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, {0xb0039ac2, ~[KILL STOP],
SA_RESTART|SA_SIGINFO|0x4000000}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [SEGV], ~[ILL TRAP BUS FPE KILL SEGV STOP], 8) =
0
getpid() = 21057
socketpair(0x5241 /* PF_??? */, 0xb /* SOCK_??? */, 2957078392, 0xb) = -1
ENOSYS (Function not implemented)
kill(21057, SIGSEGV) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
|
|
From: John R.
|
> Hmmm.. This is the tail of the strace result > strace valgrind /bin/date ## supposedly valgrind-2.4.0 from source > getpid() = 21057 > socketpair(0x5241 /* PF_??? */, 0xb /* SOCK_??? */, 2957078392, 0xb) = -1 > ENOSYS (Function not implemented) > kill(21057, SIGSEGV) = 0 > --- SIGSEGV (Segmentation fault) --- > +++ killed by SIGSEGV +++ http://www.valgrind.org/downloads/valgrind-2.4.1.tar.bz2 is the only 2.4.* version available on the downloads page. I compiled it with gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7) running on Red Hat 8 updated to 2.4.20-30.8.legacy, the oldest system that is readily available to me. Valgrind works on that system, which is powered by an AMD Athlon family 6, model 4, stepping 2 (including mmx mmxext 3dnow 3dnowext, but excluding sse.) "strace valgrind /bin/date" shows no socketpair calls. Either that was removed from valgrind-2.4.0, or Ahmet's binary was built on a foreign system, or Ahmet's machine had hardware errors. -- |