|
From: <rs...@ba...> - 2007-12-26 16:04:54
|
Hello All: I've upgraded to valgrind 3.3.0 on my Debian testing system. I tried to debug kontact which is the kde PIM application. I failed to start it using the Debian packages for valgrind and also with the source build version. This is the command-line: valgrind -v /usr/bin/kontact And the is the output on my "Linux Debian2 2.6.24-rc5-p4toi #2 SMP PREEMPT Tue Dec 18 12:55:12 CET 2007 i686 GNU/Linux" system is below. I would appreciate any pointer on this. Thanks. ==9969== Memcheck, a memory error detector. ==9969== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==9969== Using LibVEX rev 1804, a library for dynamic binary translation. ==9969== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==9969== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework. ==9969== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==9969== --9969-- Command line --9969-- /usr/bin/kontact --9969-- Startup, with flags: --9969-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp --9969-- -v --9969-- Contents of /proc/version: --9969-- Linux version 2.6.24-rc5-p4toi (root@Debian2) (gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)) #2 SMP PREEMPT Tue Dec 18 12:55:12 CET 2007 --9969-- Arch and hwcaps: X86, x86-sse1-sse2 --9969-- Page sizes: currently 4096, max supported 4096 --9969-- Valgrind library directory: /usr/lib/valgrind --9969-- Reading syms from /lib/ld-2.7.so (0x4000000) --9969-- Reading debug info from /lib/ld-2.7.so... --9969-- ... CRC mismatch (computed d696698d wanted 041fec65) --9969-- Reading debug info from /usr/lib/debug/lib/ld-2.7.so... --9969-- Reading syms from /usr/bin/kontact (0x8048000) --9969-- Reading debug info from /usr/bin/kontact... --9969-- ... CRC mismatch (computed bfe14715 wanted 2736d3f0) --9969-- Reading debug info from /usr/lib/debug/usr/bin/kontact... --9969-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000) --9969-- object doesn't have a dynamic symbol table --9969-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp --9969-- Reading suppressions file: /usr/lib/valgrind/default.supp --9969-- REDIR: 0x4016ed0 (index) redirected to 0x3802a393 (vgPlain_x86_linux_REDIR_FOR_index) --9969-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4020000) --9969-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4022000) ==9969== WARNING: new redirection conflicts with existing -- ignoring it --9969-- new: 0x04016ed0 (index ) R-> 0x04025830 index --9969-- REDIR: 0x40170a0 (strlen) redirected to 0x40259f0 (strlen) --9969-- Reading syms from /usr/lib/libkdepim.so.1.0.0 (0x404A000) --9969-- Reading debug info from /usr/lib/libkdepim.so.1.0.0... --9969-- ... CRC mismatch (computed 4f553b13 wanted 3909e10a) --9969-- Reading debug info from /usr/lib/debug/usr/lib/libkdepim.so.1.0.0... --9969-- Reading syms from /usr/lib/libkpinterfaces.so.1.0.0 (0x41AF000) --9969-- Reading debug info from /usr/lib/libkpinterfaces.so.1.0.0... --9969-- ... CRC mismatch (computed 8937b3e4 wanted 339e2d10) --9969-- Reading debug info from /usr/lib/debug/usr/lib/libkpinterfaces.so.1.0.0... --9969-- Reading syms from /usr/lib/libkontact.so.1.0.0 (0x41C4000) --9969-- Reading debug info from /usr/lib/libkontact.so.1.0.0... --9969-- ... CRC mismatch (computed 46960f80 wanted 6fbb11b0) --9969-- Reading debug info from /usr/lib/debug/usr/lib/libkontact.so.1.0.0... --9969-- Reading syms from /usr/lib/libkparts.so.2.1.0 (0x41C9000) --9969-- Reading debug info from /usr/lib/libkparts.so.2.1.0... --9969-- ... CRC mismatch (computed 7f3186b0 wanted bf1156b8) --9969-- Reading debug info from /usr/lib/debug/usr/lib/libkparts.so.2.1.0... --9969-- Reading syms from /usr/lib/libkutils.so.1.2.0 (0x420F000) --9969-- Reading debug info from /usr/lib/libkutils.so.1.2.0... --9969-- ... CRC mismatch (computed 6429f46f wanted 42bee235) --9969-- Reading debug info from /usr/lib/debug/usr/lib/libkutils.so.1.2.0... --9969-- Reading syms from /usr/lib/libkhtml.so.4.2.0 (0x4272000) --9969-- Reading debug info from /usr/lib/libkhtml.so.4.2.0... --9969-- ... CRC mismatch (computed 3bd0ee94 wanted 9be8dab5) --9969-- Reading debug info from /usr/lib/debug/usr/lib/libkhtml.so.4.2.0... --9969-- Reading syms from /usr/lib/libstdc++.so.6.0.9 (0x4648000) --9969-- object doesn't have a symbol table --9969-- Reading syms from /usr/lib/debug/libm-2.7.so (0x4733000) --9969-- Reading syms from /lib/libgcc_s.so.1 (0x475A000) --9969-- Reading debug info from /lib/libgcc_s.so.1... --9969-- ... CRC mismatch (computed 186d7deb wanted b01a3f3e) --9969-- object doesn't have a symbol table --9969-- Reading syms from /usr/lib/debug/libc-2.7.so (0x4765000) --9969-- Reading syms from /usr/lib/libkdecore.so.4.2.0 (0x48B2000) --9969-- Reading debug info from /usr/lib/libkdecore.so.4.2.0... --9969-- ... CRC mismatch (computed b1f0fd85 wanted 17f54d1c) --9969-- Reading debug info from /usr/lib/debug/usr/lib/libkdecore.so.4.2.0... valgrind: m_debuginfo/storage.c:290 (vgModuleLocal_addLineInfo): Assertion 'lineno >= 0' failed. ==9969== at 0x3801806D: report_and_quit (m_libcassert.c:140) ==9969== by 0x38018361: vgPlain_assert_fail (m_libcassert.c:200) ==9969== by 0x38078CCD: vgModuleLocal_addLineInfo (storage.c:290) ==9969== by 0x380586DF: vgModuleLocal_read_debuginfo_dwarf2 (readdwarf.c:736) ==9969== by 0x3805268D: vgModuleLocal_read_elf_debug_info (readelf.c:1253) ==9969== by 0x38032C5B: vgPlain_di_notify_mmap (debuginfo.c:259) ==9969== by 0x38069D18: vgModuleLocal_generic_PRE_sys_mmap (syswrap-generic.c:1920) ==9969== by 0x38071185: vgSysWrap_x86_linux_sys_mmap2_before (syswrap-x86-linux.c:1352) ==9969== by 0x38037215: vgPlain_client_syscall (syswrap-main.c:850) ==9969== by 0x380343A8: handle_syscall (scheduler.c:790) ==9969== by 0x380351DB: vgPlain_scheduler (scheduler.c:984) ==9969== by 0x38048B18: run_a_thread_NORETURN (syswrap-linux.c:89) sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==9969== at 0x4016BE3: mmap (in /lib/ld-2.7.so) ==9969== by 0x400646B: _dl_map_object_from_fd (in /lib/ld-2.7.so) ==9969== by 0x4008737: _dl_map_object (in /lib/ld-2.7.so) ==9969== by 0x400CA86: openaux (in /lib/ld-2.7.so) ==9969== by 0x400E8C5: _dl_catch_error (in /lib/ld-2.7.so) ==9969== by 0x400D035: _dl_map_object_deps (in /lib/ld-2.7.so) ==9969== by 0x40031AC: dl_main (in /lib/ld-2.7.so) ==9969== by 0x401540C: _dl_sysdep_start (in /lib/ld-2.7.so) ==9969== by 0x4000C3D: _dl_start (in /lib/ld-2.7.so) ==9969== by 0x4000816: (within /lib/ld-2.7.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: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what Linux distro you are using. Thanks. -- Raúl Sánchez Siles |
|
From: <rs...@ba...> - 2008-01-08 08:49:41
|
Raúl Sánchez Siles wrote: > Hello All: > > I've upgraded to valgrind 3.3.0 on my Debian testing system. I tried to > debug kontact which is the kde PIM application. I failed to start it using > the Debian packages for valgrind and also with the source build version. > > This is the command-line: valgrind -v /usr/bin/kontact > > And the is the output on my "Linux Debian2 2.6.24-rc5-p4toi #2 SMP > PREEMPT > Tue Dec 18 12:55:12 CET 2007 i686 GNU/Linux" system is below. > > I would appreciate any pointer on this. Thanks. > > ==9969== Memcheck, a memory error detector. > ==9969== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. > ==9969== Using LibVEX rev 1804, a library for dynamic binary translation. > ==9969== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. > ==9969== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation > framework. > ==9969== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. > ==9969== > --9969-- Command line > --9969-- /usr/bin/kontact > --9969-- Startup, with flags: > --9969-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp > --9969-- -v > --9969-- Contents of /proc/version: > --9969-- Linux version 2.6.24-rc5-p4toi (root@Debian2) (gcc version > 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)) #2 SMP PREEMPT Tue Dec 18 > 12:55:12 CET 2007 > --9969-- Arch and hwcaps: X86, x86-sse1-sse2 > --9969-- Page sizes: currently 4096, max supported 4096 > --9969-- Valgrind library directory: /usr/lib/valgrind > --9969-- Reading syms from /lib/ld-2.7.so (0x4000000) > --9969-- Reading debug info from /lib/ld-2.7.so... > --9969-- ... CRC mismatch (computed d696698d wanted 041fec65) > --9969-- Reading debug info from /usr/lib/debug/lib/ld-2.7.so... > --9969-- Reading syms from /usr/bin/kontact (0x8048000) > --9969-- Reading debug info from /usr/bin/kontact... > --9969-- ... CRC mismatch (computed bfe14715 wanted 2736d3f0) > --9969-- Reading debug info from /usr/lib/debug/usr/bin/kontact... > --9969-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck > (0x38000000) > --9969-- object doesn't have a dynamic symbol table > --9969-- Reading suppressions file: > /usr/lib/valgrind/debian-libc6-dbg.supp --9969-- Reading suppressions > file: /usr/lib/valgrind/default.supp --9969-- REDIR: 0x4016ed0 (index) > redirected to 0x3802a393 (vgPlain_x86_linux_REDIR_FOR_index) > --9969-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so > (0x4020000) > --9969-- Reading syms from > /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4022000) > ==9969== WARNING: new redirection conflicts with existing -- ignoring it > --9969-- new: 0x04016ed0 (index ) R-> 0x04025830 index > --9969-- REDIR: 0x40170a0 (strlen) redirected to 0x40259f0 (strlen) > --9969-- Reading syms from /usr/lib/libkdepim.so.1.0.0 (0x404A000) > --9969-- Reading debug info from /usr/lib/libkdepim.so.1.0.0... > --9969-- ... CRC mismatch (computed 4f553b13 wanted 3909e10a) > --9969-- Reading debug info > from /usr/lib/debug/usr/lib/libkdepim.so.1.0.0... > --9969-- Reading syms from /usr/lib/libkpinterfaces.so.1.0.0 (0x41AF000) > --9969-- Reading debug info from /usr/lib/libkpinterfaces.so.1.0.0... > --9969-- ... CRC mismatch (computed 8937b3e4 wanted 339e2d10) > --9969-- Reading debug info > from /usr/lib/debug/usr/lib/libkpinterfaces.so.1.0.0... > --9969-- Reading syms from /usr/lib/libkontact.so.1.0.0 (0x41C4000) > --9969-- Reading debug info from /usr/lib/libkontact.so.1.0.0... > --9969-- ... CRC mismatch (computed 46960f80 wanted 6fbb11b0) > --9969-- Reading debug info > from /usr/lib/debug/usr/lib/libkontact.so.1.0.0... > --9969-- Reading syms from /usr/lib/libkparts.so.2.1.0 (0x41C9000) > --9969-- Reading debug info from /usr/lib/libkparts.so.2.1.0... > --9969-- ... CRC mismatch (computed 7f3186b0 wanted bf1156b8) > --9969-- Reading debug info > from /usr/lib/debug/usr/lib/libkparts.so.2.1.0... > --9969-- Reading syms from /usr/lib/libkutils.so.1.2.0 (0x420F000) > --9969-- Reading debug info from /usr/lib/libkutils.so.1.2.0... > --9969-- ... CRC mismatch (computed 6429f46f wanted 42bee235) > --9969-- Reading debug info > from /usr/lib/debug/usr/lib/libkutils.so.1.2.0... > --9969-- Reading syms from /usr/lib/libkhtml.so.4.2.0 (0x4272000) > --9969-- Reading debug info from /usr/lib/libkhtml.so.4.2.0... > --9969-- ... CRC mismatch (computed 3bd0ee94 wanted 9be8dab5) > --9969-- Reading debug info from > /usr/lib/debug/usr/lib/libkhtml.so.4.2.0... --9969-- Reading syms from > /usr/lib/libstdc++.so.6.0.9 (0x4648000) > --9969-- object doesn't have a symbol table > --9969-- Reading syms from /usr/lib/debug/libm-2.7.so (0x4733000) > --9969-- Reading syms from /lib/libgcc_s.so.1 (0x475A000) > --9969-- Reading debug info from /lib/libgcc_s.so.1... > --9969-- ... CRC mismatch (computed 186d7deb wanted b01a3f3e) > --9969-- object doesn't have a symbol table > --9969-- Reading syms from /usr/lib/debug/libc-2.7.so (0x4765000) > --9969-- Reading syms from /usr/lib/libkdecore.so.4.2.0 (0x48B2000) > --9969-- Reading debug info from /usr/lib/libkdecore.so.4.2.0... > --9969-- ... CRC mismatch (computed b1f0fd85 wanted 17f54d1c) > --9969-- Reading debug info > from /usr/lib/debug/usr/lib/libkdecore.so.4.2.0... > > valgrind: m_debuginfo/storage.c:290 (vgModuleLocal_addLineInfo): > Assertion 'lineno >= 0' failed. > ==9969== at 0x3801806D: report_and_quit (m_libcassert.c:140) > ==9969== by 0x38018361: vgPlain_assert_fail (m_libcassert.c:200) > ==9969== by 0x38078CCD: vgModuleLocal_addLineInfo (storage.c:290) > ==9969== by 0x380586DF: vgModuleLocal_read_debuginfo_dwarf2 > (readdwarf.c:736) > ==9969== by 0x3805268D: vgModuleLocal_read_elf_debug_info > (readelf.c:1253) > ==9969== by 0x38032C5B: vgPlain_di_notify_mmap (debuginfo.c:259) > ==9969== by 0x38069D18: vgModuleLocal_generic_PRE_sys_mmap > (syswrap-generic.c:1920) > ==9969== by 0x38071185: vgSysWrap_x86_linux_sys_mmap2_before > (syswrap-x86-linux.c:1352) > ==9969== by 0x38037215: vgPlain_client_syscall (syswrap-main.c:850) > ==9969== by 0x380343A8: handle_syscall (scheduler.c:790) > ==9969== by 0x380351DB: vgPlain_scheduler (scheduler.c:984) > ==9969== by 0x38048B18: run_a_thread_NORETURN (syswrap-linux.c:89) > > sched status: > running_tid=1 > > Thread 1: status = VgTs_Runnable > ==9969== at 0x4016BE3: mmap (in /lib/ld-2.7.so) > ==9969== by 0x400646B: _dl_map_object_from_fd (in /lib/ld-2.7.so) > ==9969== by 0x4008737: _dl_map_object (in /lib/ld-2.7.so) > ==9969== by 0x400CA86: openaux (in /lib/ld-2.7.so) > ==9969== by 0x400E8C5: _dl_catch_error (in /lib/ld-2.7.so) > ==9969== by 0x400D035: _dl_map_object_deps (in /lib/ld-2.7.so) > ==9969== by 0x40031AC: dl_main (in /lib/ld-2.7.so) > ==9969== by 0x401540C: _dl_sysdep_start (in /lib/ld-2.7.so) > ==9969== by 0x4000C3D: _dl_start (in /lib/ld-2.7.so) > ==9969== by 0x4000816: (within /lib/ld-2.7.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: www.valgrind.org > > In the bug report, send all the above text, the valgrind > version, and what Linux distro you are using. Thanks. > > Could anyone comment about this? Have I done anything incorrect? Have I asked anything OT? or didn't I provide information enough? In any case I would appreciate any pointer of where I could get help about this. Regards, -- Raúl Sánchez Siles |
|
From: Nicholas N. <nj...@cs...> - 2008-01-08 22:53:46
|
On Tue, 8 Jan 2008, [UTF-8] Ra=FAl S=E1nchez Siles wrote: >> valgrind: m_debuginfo/storage.c:290 (vgModuleLocal_addLineInfo): >> Assertion 'lineno >=3D 0' failed. >> =3D=3D9969=3D=3D at 0x3801806D: report_and_quit (m_libcassert.c:140) >> =3D=3D9969=3D=3D by 0x38018361: vgPlain_assert_fail (m_libcassert.c:2= 00) >> =3D=3D9969=3D=3D by 0x38078CCD: vgModuleLocal_addLineInfo (storage.c:= 290) >> =3D=3D9969=3D=3D by 0x380586DF: vgModuleLocal_read_debuginfo_dwarf2 >> (readdwarf.c:736) >> =3D=3D9969=3D=3D by 0x3805268D: vgModuleLocal_read_elf_debug_info >> (readelf.c:1253) >> =3D=3D9969=3D=3D by 0x38032C5B: vgPlain_di_notify_mmap (debuginfo.c:2= 59) >> =3D=3D9969=3D=3D by 0x38069D18: vgModuleLocal_generic_PRE_sys_mmap >> (syswrap-generic.c:1920) >> =3D=3D9969=3D=3D by 0x38071185: vgSysWrap_x86_linux_sys_mmap2_before >> (syswrap-x86-linux.c:1352) >> =3D=3D9969=3D=3D by 0x38037215: vgPlain_client_syscall (syswrap-main.= c:850) >> =3D=3D9969=3D=3D by 0x380343A8: handle_syscall (scheduler.c:790) >> =3D=3D9969=3D=3D by 0x380351DB: vgPlain_scheduler (scheduler.c:984) >> =3D=3D9969=3D=3D by 0x38048B18: run_a_thread_NORETURN (syswrap-linux.= c:89) > > Could anyone comment about this? Have I done anything incorrect? Have I > asked anything OT? or didn't I provide information enough? > > In any case I would appreciate any pointer of where I could get help abo= ut > this. It's likely that the module contains bogus debug info. It's probably safe= =20 to comment that assertion out, at worst you'll likely get some bogus line= =20 numbers in error messages. Nick |
|
From: <rs...@ba...> - 2008-01-10 12:50:00
|
Hello Nicholas, all Nicholas Nethercote wrote: > On Tue, 8 Jan 2008, [UTF-8] Raúl Sánchez Siles wrote: > >>> valgrind: m_debuginfo/storage.c:290 (vgModuleLocal_addLineInfo): >>> Assertion 'lineno >= 0' failed. >>> ==9969== at 0x3801806D: report_and_quit (m_libcassert.c:140) >>> ==9969== by 0x38018361: vgPlain_assert_fail (m_libcassert.c:200) >>> ==9969== by 0x38078CCD: vgModuleLocal_addLineInfo (storage.c:290) >>> ==9969== by 0x380586DF: vgModuleLocal_read_debuginfo_dwarf2 >>> (readdwarf.c:736) >>> ==9969== by 0x3805268D: vgModuleLocal_read_elf_debug_info >>> (readelf.c:1253) >>> ==9969== by 0x38032C5B: vgPlain_di_notify_mmap (debuginfo.c:259) >>> ==9969== by 0x38069D18: vgModuleLocal_generic_PRE_sys_mmap >>> (syswrap-generic.c:1920) >>> ==9969== by 0x38071185: vgSysWrap_x86_linux_sys_mmap2_before >>> (syswrap-x86-linux.c:1352) >>> ==9969== by 0x38037215: vgPlain_client_syscall (syswrap-main.c:850) >>> ==9969== by 0x380343A8: handle_syscall (scheduler.c:790) >>> ==9969== by 0x380351DB: vgPlain_scheduler (scheduler.c:984) >>> ==9969== by 0x38048B18: run_a_thread_NORETURN (syswrap-linux.c:89) >> >> Could anyone comment about this? Have I done anything incorrect? Have I >> asked anything OT? or didn't I provide information enough? >> >> In any case I would appreciate any pointer of where I could get help >> about >> this. > > It's likely that the module contains bogus debug info. It's probably safe > to comment that assertion out, at worst you'll likely get some bogus line > numbers in error messages. > > Nick Thanks a lot for you kind answer, Nick. You know? after it I tried running valgrind again in the same fashion and this time it had worked. I didn't do anything AFAIK that could affect valgrind, e.g.: upgrading the package or the app I was running, well maybe one of the libs it relies on. I don't think VG should have issued that assertion, but well, I have it working now, with most of the same CRC mismatches, so I guess everything is fine now. Regards, -- Raúl Sánchez Siles |