|
From: Shevde, R. S \(GE Healthcare\) <Rak...@ge...> - 2006-10-10 10:50:57
|
Hi=20 I am trying to use Valgrind for my executable.. The following is the snippet of the error it gives=20 =20 --2983-- Reading syms from /lib64/libc-2.3.6.so (0x123F6000) --2983-- REDIR: 0x12469B60 (memset) redirected to 0x11B21D10 (memset) --2983-- REDIR: 0x1246A270 (memcpy) redirected to 0x11B21DF0 (memcpy) --2983-- REDIR: 0x12468B90 (rindex) redirected to 0x11B21840 (rindex) --2983-- REDIR: 0x12468740 (strlen) redirected to 0x11B219F0 (strlen) --2983-- REDIR: 0x1201E460 (operator new(unsigned long)) redirected to 0x11B201E8 (operator new(unsigned long)) --2983-- REDIR: 0x12463210 (malloc) redirected to 0x11B1FE1D (malloc) --2983-- REDIR: 0x124692D0 (memchr) redirected to 0x11B21B70 (memchr) --2983-- REDIR: 0x12468000 (index) redirected to 0x11B21930 (index) --2983-- REDIR: 0x1246AB20 (rawmemchr) redirected to 0x11B21DD0 (rawmemchr) --2983-- REDIR: 0x12461320 (free) redirected to 0x11B209B5 (free) --2983-- REDIR: 0x12469F80 (stpcpy) redirected to 0x11B220F0 (stpcpy) --2983-- REDIR: 0x1201E560 (operator new[](unsigned long)) redirected to 0x11B20656 (operator new[](unsigned long)) --2983-- REDIR: 0x12462E90 (calloc) redirected to 0x11B21180 (calloc) --2983-- REDIR: 0x124689C0 (strncmp) redirected to 0x11B21A50 (strncmp) --2983-- REDIR: 0xFFFFFFFFFF600000 (???) redirected to 0x7002973B (???) --2983-- REDIR: 0x12468AD0 (strncpy) redirected to 0x11B22370 (strncpy) --2983-- REDIR: 0x124681F0 (strcpy) redirected to 0x11B22030 (strcpy) --2983-- REDIR: 0x124681B0 (strcmp) redirected to 0x11B21AD0 (strcmp) =3D=3D2983=3D=3D Syscall param pipe(filedes) points to unaddressable = byte(s) =3D=3D2983=3D=3D at 0x124B2DE7: pipe (in /lib64/libc-2.3.6.so) =3D=3D2983=3D=3D by 0x43D0B1: MPIDU_Sock_create_set (sock_set.i:70) =3D=3D2983=3D=3D by 0x428B00: MPIDI_CH3I_Progress_init = (ch3_progress.c:285) =3D=3D2983=3D=3D by 0x4284D4: MPIDI_CH3_Init (ch3_init.c:34) =3D=3D2983=3D=3D by 0x411806: MPID_Init (mpid_init.c:79) =3D=3D2983=3D=3D by 0x40FFA0: MPIR_Init_thread (initthread.c:220) =3D=3D2983=3D=3D by 0x4100EF: MPI_Init_thread (initthread.c:342) =3D=3D2983=3D=3D by 0x40BBD3: main (main.cpp:58) =3D=3D2983=3D=3D Address 0x1264AB28 is 0 bytes after a block of size = 80 alloc'd =3D=3D2983=3D=3D at 0x11B1FE96: malloc (in /usr/lib64/valgrind/vgpreload_memcheck.so) =3D=3D2983=3D=3D by 0x43D022: MPIDU_Sock_create_set (sock_set.i:25) =3D=3D2983=3D=3D by 0x428B00: MPIDI_CH3I_Progress_init = (ch3_progress.c:285) =3D=3D2983=3D=3D by 0x4284D4: MPIDI_CH3_Init (ch3_init.c:34) =3D=3D2983=3D=3D by 0x411806: MPID_Init (mpid_init.c:79) =3D=3D2983=3D=3D by 0x40FFA0: MPIR_Init_thread (initthread.c:220) =3D=3D2983=3D=3D by 0x4100EF: MPI_Init_thread (initthread.c:342) =3D=3D2983=3D=3D by 0x40BBD3: main (main.cpp:58) --2983-- REDIR: 0x1246ABF0 (strchrnul) redirected to 0x11B21DA0 (strchrnul) It then complains about=20 --2983-- WARNING: unhandled syscall: 141 =3D=3D2983=3D=3D at 0x124B8657: setpriority (in = /lib64/libc-2.3.6.so) =20 and finally it gives SIGSEGV and exits.. =20 setpriority is present in the coregrind syscall implementations. =20 The same executable runs fine without Valgrind.. =20 Please let me know on why do we get these REDIR (???) messages. =20 =20 Thanks and Regards, Rakesh |
|
From: Tom H. <to...@co...> - 2006-10-10 11:13:06
|
In message <520C5E108EFD11468EB43142EFEAD1BD4E4333@BANMLVEM02.e2k.ad.ge.com>
Rakesh S. Shevde <Rak...@ge...> wrote:
> It then complains about
> --2983-- WARNING: unhandled syscall: 141
> ==2983== at 0x124B8657: setpriority (in /lib64/libc-2.3.6.so)
You haven't said what version of valgrind you are using, but this
system call is implemented in 3.2.1 so it obviously isn't the latest.
> setpriority is present in the coregrind syscall implementations.
Correct, and is hooked up on amd64-linux, so if you are getting that
error you are not running the current code.
> Please let me know on why do we get these REDIR (???) messages.
Those are normal, don't worry about them.
tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|