|
From: Kumar C. R. \(MED\) <Rak...@ge...> - 2004-05-13 10:33:05
|
I had used valgrind 1.9.6 in RH 7.3 GCC 2.96 and got very good results. =
Recently I moved to valgrind 2.1.1, RH 9.0, GCC 3.3.2 and got this =
problem. Valgrind 2.1.0 also gives the same result. Is there any =
workaround/fix to get away with this problem?=20
{sdc@simba}[32] uname -a
Linux simba 2.4.20-28.9.XFS1.3.1smp #1 SMP Mon Jan 5 13:20:15 CST 2004 =
i686 i686 i386 GNU/Linux
{sdc@simba}[33] gcc --version
gcc (GCC) 3.3.2 20040119 (Red Hat Linux 3.3.2-8)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is =
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR =
PURPOSE.
=3D=3D9789=3D=3D Memcheck, a memory error detector for x86-linux.
=3D=3D9789=3D=3D Copyright (C) 2002-2004, and GNU GPL'd, by Julian =
Seward.
=3D=3D9789=3D=3D Using valgrind-2.1.1, a program supervision framework =
for x86-linux.
=3D=3D9789=3D=3D Copyright (C) 2000-2004, and GNU GPL'd, by Julian =
Seward.
=3D=3D9789=3D=3D Valgrind library directory: =
/homes/mrlinux/valgrind-2.1.1/lib/valgrind
=3D=3D9789=3D=3D Command line
=3D=3D9789=3D=3D scn
=3D=3D9789=3D=3D Startup, with flags:
=3D=3D9789=3D=3D --tool=3Dmemcheck
=3D=3D9789=3D=3D --verbose
=3D=3D9789=3D=3D --leak-check=3Dyes
=3D=3D9789=3D=3D --leak-resolution=3Dhigh
=3D=3D9789=3D=3D --num-callers=3D30
=3D=3D9789=3D=3D --error-limit=3Dno
=3D=3D9789=3D=3D Reading syms from /export/home/signa/bin/scn.santosh =
(0x8048000)
=3D=3D9789=3D=3D Reading syms from /lib/ld-2.3.3.so (0x3C000000)
=3D=3D9789=3D=3D object doesn't have any debug info
=3D=3D9789=3D=3D Reading syms from /lib/ld-2.3.3.so (0xB0000000)
=3D=3D9789=3D=3D object doesn't have any debug info
=3D=3D9789=3D=3D Reading syms from /lib/libdl-2.3.3.so (0xB0028000)
=3D=3D9789=3D=3D object doesn't have any debug info
=3D=3D9789=3D=3D Reading syms from /lib/tls/libc-2.3.3.so (0xB002C000)
=3D=3D9789=3D=3D object doesn't have any debug info
=3D=3D9789=3D=3D Reading syms from =
/homes/mrlinux/valgrind-2.1.1/lib/valgrind/vgskin_memcheck.so =
(0xB0265000)
=3D=3D9789=3D=3D Reading syms from =
/homes/mrlinux/valgrind-2.1.1/lib/valgrind/stage2 (0xB8000000)
=3D=3D9789=3D=3D Reading suppressions file: =
/homes/mrlinux/valgrind-2.1.1/lib/valgrind/default.supp
=3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__GI___errno_location) to =
soname:libpthread.so.0(__errno_location)
=3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__errno_location) to =
soname:libpthread.so.0(__errno_location)
=3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__GI___h_errno_location) to =
soname:libpthread.so.0(__h_errno_location)
=3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__h_errno_location) to =
soname:libpthread.so.0(__h_errno_location)
=3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__GI___res_state) to =
soname:libpthread.so.0(__res_state)
=3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__res_state) to =
soname:libpthread.so.0(__res_state)
=3D=3D9789=3D=3D REDIRECT soname:libc.so.6(stpcpy) to =
*vgpreload_memcheck.so*(stpcpy)
=3D=3D9789=3D=3D REDIRECT soname:libc.so.6(strnlen) to =
*vgpreload_memcheck.so*(strnlen)
=3D=3D9789=3D=3D REDIRECT soname:ld-linux.so.2(stpcpy) to =
*vgpreload_memcheck.so*(stpcpy)
=3D=3D9789=3D=3D REDIRECT soname:ld-linux.so.2(strchr) to =
*vgpreload_memcheck.so*(strchr)
=3D=3D9789=3D=3D=20
=3D=3D9789=3D=3D Reading syms from =
/homes/mrlinux/valgrind-2.1.1/lib/valgrind/vg_inject.so (0x3C01A000)
=3D=3D9789=3D=3D Reading syms from =
/homes/mrlinux/valgrind-2.1.1/lib/valgrind/vgpreload_memcheck.so =
(0x3C01D000)
=3D=3D9789=3D=3D TRANSLATE: 0x3C011BE0 redirected to 0x3C01E858
=3D=3D9789=3D=3D Reading syms from /export/home/sdc/lib/libCoilID.so.lfc =
(0x3C023000)
=3D=3D9789=3D=3D Reading syms from /export/home/sdc/lib/libCnvEndian.so =
(0x3C036000)
=3D=3D9789=3D=3D Reading syms from /export/home/sdc/lib/libwmApi.so =
(0x3C05F000)
=3D=3D9789=3D=3D Reading syms from =
/export/home/sdc/lib/libGrxSharedMem.so (0x3C076000)
=3D=3D9789=3D=3D Reading syms from /export/home/sdc/lib/libscanIF.so =
(0x3C08B000)
=3D=3D9789=3D=3D Reading syms from /export/home/sdc/lib/libPSeqIOptUI.so =
(0x3C101000)
=3D=3D9789=3D=3D Reading syms from /export/home/sdc/lib/libxlate.so =
(0x3C123000)
@@ don't know what type ':' is
@@ parsing =
:Err:Tt(141,1)=3Ds136group:(0,1),0,32;elem:(0,1),32,32;Message:(141,2)=3D=
ar(7,27);0;127;(0,2),64,1024;ope
rator=3D::(141,3)=3D#(141,1),(141,4)=3D&(141,1),(141,5)=3D*(141,1),(141,6=
)=3D&(141,7)=3Dk(141,1),(0,19);:_ZN8ErrCodes3ErraSER
KS0_;2A.;__base_ctor::(141,8)=3D#(141,1),(0,19),(141,5),(141,6),(0,19);:_=
ZN8ErrCodes3ErrC2ERKS0_;2A.;__comp_ctor::(
141,8):_ZN8ErrCodes3ErrC1ERKS0_;2A.;__base_ctor::(141,9)=3D#(141,1),(0,19=
),(141,5),(0,19);:_ZN8ErrCodes3ErrC2Ev;2A.
;__comp_ctor::(141,9):_ZN8ErrCodes3ErrC1Ev;2A.;; gave NULL type =
(Err:Tt(141,1)=3Ds136group:(0,1),0,32;elem:(0,1),32
,32;Message:(141,2)=3Dar(7,27);0;127;(0,2),64,1024;operator=3D::(141,3)=3D=
#(141,1),(141,4)=3D&(141,1),(141,5)=3D*(141,1),(1
41,6)=3D&(141,7)=3Dk(141,1),(0,19);:_ZN8ErrCodes3ErraSERKS0_;2A.;__base_c=
tor::(141,8)=3D#(141,1),(0,19),(141,5),(141,6)
,(0,19);:_ZN8ErrCodes3ErrC2ERKS0_;2A.;__comp_ctor::(141,8):_ZN8ErrCodes3E=
rrC1ERKS0_;2A.;__base_ctor::(141,9)=3D#(14
1,1),(0,19),(141,5),(0,19);:_ZN8ErrCodes3ErrC2Ev;2A.;__comp_ctor::(141,9)=
:_ZN8ErrCodes3ErrC1Ev;2A.;; remains)
--9789-- INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - =
exiting
--9789-- si_code=3D1 Fault EIP: 0xB8036D01; Faulting address: 0x0
valgrind: the `impossible' happened:
Killed by fatal signal
Basic block ctr is approximately 0
=3D=3D9789=3D=3D at 0xB802A5A7: vgPlain_core_panic (vg_mylibc.c:1230)
=3D=3D9789=3D=3D by 0xB802A5A6: panic (vg_mylibc.c:1226)
=3D=3D9789=3D=3D by 0xB802A5BB: vgPlain_core_panic (vg_mylibc.c:1231)
=3D=3D9789=3D=3D by 0xB802FE58: vg_sync_signalhandler =
(vg_signals.c:1756)
=3D=3D9789=3D=3D by 0xB80B5BB3: ???
sched status:
Thread 1: status =3D Runnable, associated_mx =3D 0x0, associated_cv =3D =
0x0
=3D=3D9789=3D=3D at 0x3C01181D: mmap (in /lib/ld-2.3.3.so)
=3D=3D9789=3D=3D by 0x3C004C31: _dl_map_object_internal (in =
/lib/ld-2.3.3.so)
=3D=3D9789=3D=3D by 0x3C00C09A: openaux (in /lib/ld-2.3.3.so)
=3D=3D9789=3D=3D by 0x3C00C6D5: _dl_catch_error_internal (in =
/lib/ld-2.3.3.so)
=3D=3D9789=3D=3D by 0x3C00B504: _dl_map_object_deps_internal (in =
/lib/ld-2.3.3.so)
=3D=3D9789=3D=3D by 0x3C001733: dl_main (in /lib/ld-2.3.3.so)
=3D=3D9789=3D=3D by 0x3C00F619: _dl_sysdep_start (in =
/lib/ld-2.3.3.so)
=3D=3D9789=3D=3D by 0x3C000DA5: _dl_start (in /lib/ld-2.3.3.so)
=3D=3D9789=3D=3D by 0x3C000A76: (within /lib/ld-2.3.3.so)
Note: see also the FAQ.txt in the source distribution.
It contains workarounds to several common problems.
If that doesn't help, please report this bug to: valgrind.kde.org
In the bug report, send all the above text, the valgrind
version, and what Linux distro you are using. Thanks.
|
|
From: Banibrata D. <du...@in...> - 2004-05-13 10:54:01
|
i think 2.1.2CVS would solve your problem. check out the HEAD
from valgrind CVS, build/install as mentioned in the documentation
at valgrind site.
regards,
bdutta
> -----Original Message-----
> From: val...@li...=20
> [mailto:val...@li...] On Behalf=20
> Of Kumar Choudhary, Rakesh (MED)
> Sent: Thursday, May 13, 2004 4:02 PM
> To: val...@li...
> Subject: [Valgrind-users] Impossible happened (don't know=20
> what type ':' is)
>=20
>=20
> I had used valgrind 1.9.6 in RH 7.3 GCC 2.96 and got very=20
> good results. Recently I moved to valgrind 2.1.1, RH 9.0, GCC=20
> 3.3.2 and got this problem. Valgrind 2.1.0 also gives the=20
> same result. Is there any workaround/fix to get away with=20
> this problem?=20
>=20
> {sdc@simba}[32] uname -a
> Linux simba 2.4.20-28.9.XFS1.3.1smp #1 SMP Mon Jan 5 13:20:15=20
> CST 2004 i686 i686 i386 GNU/Linux {sdc@simba}[33] gcc=20
> --version gcc (GCC) 3.3.2 20040119 (Red Hat Linux 3.3.2-8)=20
> Copyright (C) 2003 Free Software Foundation, Inc. This is=20
> free software; see the source for copying conditions. There=20
> is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A=20
> PARTICULAR PURPOSE.
>=20
> =3D=3D9789=3D=3D Memcheck, a memory error detector for x86-linux.=20
> =3D=3D9789=3D=3D Copyright (C) 2002-2004, and GNU GPL'd, by Julian=20
> Seward. =3D=3D9789=3D=3D Using valgrind-2.1.1, a program supervision=20
> framework for x86-linux. =3D=3D9789=3D=3D Copyright (C) 2000-2004,=20
> and GNU GPL'd, by Julian Seward. =3D=3D9789=3D=3D Valgrind library=20
> directory: /homes/mrlinux/valgrind-2.1.1/lib/valgrind
> =3D=3D9789=3D=3D Command line
> =3D=3D9789=3D=3D scn
> =3D=3D9789=3D=3D Startup, with flags:
> =3D=3D9789=3D=3D --tool=3Dmemcheck
> =3D=3D9789=3D=3D --verbose
> =3D=3D9789=3D=3D --leak-check=3Dyes
> =3D=3D9789=3D=3D --leak-resolution=3Dhigh
> =3D=3D9789=3D=3D --num-callers=3D30
> =3D=3D9789=3D=3D --error-limit=3Dno
> =3D=3D9789=3D=3D Reading syms from /export/home/signa/bin/scn.santosh=20
> (0x8048000) =3D=3D9789=3D=3D Reading syms from /lib/ld-2.3.3.so =
(0x3C000000)
> =3D=3D9789=3D=3D object doesn't have any debug info
> =3D=3D9789=3D=3D Reading syms from /lib/ld-2.3.3.so (0xB0000000)
> =3D=3D9789=3D=3D object doesn't have any debug info
> =3D=3D9789=3D=3D Reading syms from /lib/libdl-2.3.3.so (0xB0028000)
> =3D=3D9789=3D=3D object doesn't have any debug info
> =3D=3D9789=3D=3D Reading syms from /lib/tls/libc-2.3.3.so (0xB002C000)
> =3D=3D9789=3D=3D object doesn't have any debug info
> =3D=3D9789=3D=3D Reading syms from=20
> /homes/mrlinux/valgrind-2.1.1/lib/valgrind/vgskin_memcheck.so=20
> (0xB0265000) =3D=3D9789=3D=3D Reading syms from=20
> /homes/mrlinux/valgrind-2.1.1/lib/valgrind/stage2=20
> (0xB8000000) =3D=3D9789=3D=3D Reading suppressions file:=20
> /homes/mrlinux/valgrind-2.1.1/lib/valgrind/default.supp
> =3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__GI___errno_location) to=20
> soname:libpthread.so.0(__errno_location)
> =3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__errno_location) to=20
> soname:libpthread.so.0(__errno_location)
> =3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__GI___h_errno_location)=20
> to soname:libpthread.so.0(__h_errno_location)
> =3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__h_errno_location) to=20
> soname:libpthread.so.0(__h_errno_location)
> =3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__GI___res_state) to=20
> soname:libpthread.so.0(__res_state)
> =3D=3D9789=3D=3D REDIRECT soname:libc.so.6(__res_state) to=20
> soname:libpthread.so.0(__res_state)
> =3D=3D9789=3D=3D REDIRECT soname:libc.so.6(stpcpy) to=20
> *vgpreload_memcheck.so*(stpcpy) =3D=3D9789=3D=3D REDIRECT=20
> soname:libc.so.6(strnlen) to *vgpreload_memcheck.so*(strnlen)=20
> =3D=3D9789=3D=3D REDIRECT soname:ld-linux.so.2(stpcpy) to=20
> *vgpreload_memcheck.so*(stpcpy) =3D=3D9789=3D=3D REDIRECT=20
> soname:ld-linux.so.2(strchr) to=20
> *vgpreload_memcheck.so*(strchr) =3D=3D9789=3D=3D=20
> =3D=3D9789=3D=3D Reading syms from=20
> /homes/mrlinux/valgrind-2.1.1/lib/valgrind/vg_inject.so=20
> (0x3C01A000) =3D=3D9789=3D=3D Reading syms from=20
> /homes/mrlinux/valgrind-2.1.1/lib/valgrind/vgpreload_memcheck.
> so (0x3C01D000) =3D=3D9789=3D=3D TRANSLATE: 0x3C011BE0 redirected to=20
> 0x3C01E858 =3D=3D9789=3D=3D Reading syms from=20
> /export/home/sdc/lib/libCoilID.so.lfc (0x3C023000) =3D=3D9789=3D=3D=20
> Reading syms from /export/home/sdc/lib/libCnvEndian.so=20
> (0x3C036000) =3D=3D9789=3D=3D Reading syms from=20
> /export/home/sdc/lib/libwmApi.so (0x3C05F000) =3D=3D9789=3D=3D=20
> Reading syms from /export/home/sdc/lib/libGrxSharedMem.so=20
> (0x3C076000) =3D=3D9789=3D=3D Reading syms from=20
> /export/home/sdc/lib/libscanIF.so (0x3C08B000) =3D=3D9789=3D=3D=20
> Reading syms from /export/home/sdc/lib/libPSeqIOptUI.so=20
> (0x3C101000) =3D=3D9789=3D=3D Reading syms from=20
> /export/home/sdc/lib/libxlate.so (0x3C123000) @@ don't know=20
> what type ':' is @@ parsing=20
> :Err:Tt(141,1)=3Ds136group:(0,1),0,32;elem:(0,1),32,32;Message:(
> 141,2)=3Dar(7,27);0;127;(0,2),64,1024;ope
> rator=3D::(141,3)=3D#(141,1),(141,4)=3D&(141,1),(141,5)=3D*(141,1),(14
> 1,6)=3D&(141,7)=3Dk(141,1),(0,19);:_ZN8ErrCodes3ErraSER
> KS0_;2A.;__base_ctor::(141,8)=3D#(141,1),(0,19),(141,5),(141,6),
> (0,19);:_ZN8ErrCodes3ErrC2ERKS0_;2A.;__comp_ctor::(
> 141,8):_ZN8ErrCodes3ErrC1ERKS0_;2A.;__base_ctor::(141,9)=3D#(141
> ,1),(0,19),(141,5),(0,19);:_ZN8ErrCodes3ErrC2Ev;2A.
> ;__comp_ctor::(141,9):_ZN8ErrCodes3ErrC1Ev;2A.;; gave NULL=20
> type (Err:Tt(141,1)=3Ds136group:(0,1),0,32;elem:(0,1),32
> ,32;Message:(141,2)=3Dar(7,27);0;127;(0,2),64,1024;operator=3D::(1
> 41,3)=3D#(141,1),(141,4)=3D&(141,1),(141,5)=3D*(141,1),(1
> 41,6)=3D&(141,7)=3Dk(141,1),(0,19);:_ZN8ErrCodes3ErraSERKS0_;2A.;_
> _base_ctor::(141,8)=3D#(141,1),(0,19),(141,5),(141,6)
> ,(0,19);:_ZN8ErrCodes3ErrC2ERKS0_;2A.;__comp_ctor::(141,8):_ZN
> 8ErrCodes3ErrC1ERKS0_;2A.;__base_ctor::(141,9)=3D#(14
> 1,1),(0,19),(141,5),(0,19);:_ZN8ErrCodes3ErrC2Ev;2A.;__comp_ct
> or::(141,9):_ZN8ErrCodes3ErrC1Ev;2A.;; remains)
> --9789-- INTERNAL ERROR: Valgrind received a signal 11=20
> (SIGSEGV) - exiting
> --9789-- si_code=3D1 Fault EIP: 0xB8036D01; Faulting address: 0x0
>=20
> valgrind: the `impossible' happened:
> Killed by fatal signal
> Basic block ctr is approximately 0
> =3D=3D9789=3D=3D at 0xB802A5A7: vgPlain_core_panic =
(vg_mylibc.c:1230)
> =3D=3D9789=3D=3D by 0xB802A5A6: panic (vg_mylibc.c:1226)
> =3D=3D9789=3D=3D by 0xB802A5BB: vgPlain_core_panic =
(vg_mylibc.c:1231)
> =3D=3D9789=3D=3D by 0xB802FE58: vg_sync_signalhandler =
(vg_signals.c:1756)
> =3D=3D9789=3D=3D by 0xB80B5BB3: ???
>=20
> sched status:
>=20
> Thread 1: status =3D Runnable, associated_mx =3D 0x0, associated_cv =
=3D 0x0
> =3D=3D9789=3D=3D at 0x3C01181D: mmap (in /lib/ld-2.3.3.so)
> =3D=3D9789=3D=3D by 0x3C004C31: _dl_map_object_internal (in=20
> /lib/ld-2.3.3.so)
> =3D=3D9789=3D=3D by 0x3C00C09A: openaux (in /lib/ld-2.3.3.so)
> =3D=3D9789=3D=3D by 0x3C00C6D5: _dl_catch_error_internal (in=20
> /lib/ld-2.3.3.so)
> =3D=3D9789=3D=3D by 0x3C00B504: _dl_map_object_deps_internal (in=20
> /lib/ld-2.3.3.so)
> =3D=3D9789=3D=3D by 0x3C001733: dl_main (in /lib/ld-2.3.3.so)
> =3D=3D9789=3D=3D by 0x3C00F619: _dl_sysdep_start (in =
/lib/ld-2.3.3.so)
> =3D=3D9789=3D=3D by 0x3C000DA5: _dl_start (in /lib/ld-2.3.3.so)
> =3D=3D9789=3D=3D by 0x3C000A76: (within /lib/ld-2.3.3.so)
>=20
>=20
> Note: see also the FAQ.txt in the source distribution.
> It contains workarounds to several common problems.
>=20
> If that doesn't help, please report this bug to: valgrind.kde.org
>=20
> In the bug report, send all the above text, the valgrind=20
> version, and what Linux distro you are using. Thanks.
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband=20
> Sign-up now for SourceForge Broadband and get the fastest=20
> 6.0/768 connection for only $19.95/mo for the first 3 months!=20
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=CCk
_______________________________________________
Valgrind-users mailing list Val...@li...
https://lists.sourceforge.net/lists/listinfo/valgrind-users
|