|
From: Bart v. d. W. \(Bluelive\) <blu...@xs...> - 2004-04-19 00:35:23
|
Ive recently changed to valgrind version 2.1.1 from 1.9 and now I can no longer attach to gdb. Big dump showing the problem: Hope this helps... ==23969== Invalid read of size 4 ==23969== at 0x80892A3: website_Main__reloadIndexes (website_Main.c:821) ==23969== by 0x8088FC5: INITIALIZE__website_Main (website_Main.c:729) ==23969== by 0x808804C: INITIALIZER__website_Main (website_Main.c:195) ==23969== by 0x806DABC: CLASSINIT_pluk_HttpSession (pluk_HttpSession.c:371) ==23969== Address 0x0 is not stack'd, malloc'd or free'd ==23969== ==23969== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- y starting debugger ==23969== starting debugger with cmd: /usr/bin/gdb -nw /proc/23971/fd/822 23971 valgrind: vg_signals.c:1587 (vg_sync_signalhandler): Assertion `info->si_code <= 0' failed. ==23971== at 0xB802AE9A: vgPlain_skin_assert_fail (vg_mylibc.c:1211) ==23971== by 0xB802AE99: assert_fail (vg_mylibc.c:1207) ==23971== by 0xB802AED7: vgPlain_core_assert_fail (vg_mylibc.c:1218) ==23971== by 0xB803050E: vg_sync_signalhandler (vg_signals.c:1630) sched status: Thread 1: status = Runnable, associated_mx = 0x0, associated_cv = 0x0 ==23971== at 0x80892A0: website_Main__reloadIndexes (website_Main.c:821) ==23971== by 0x8088FC5: INITIALIZE__website_Main (website_Main.c:729) ==23971== by 0x808804C: INITIALIZER__website_Main (website_Main.c:195) ==23971== by 0x806DABC: CLASSINIT_pluk_HttpSession (pluk_HttpSession.c:371) 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. GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux".../proc/23971/fd/822: No such file or directory. Attaching to process 23971 ptrace: Operation not permitted. /sources/Pluk/output/23971: No such file or directory. -- Bart van der Werf (Bluelive) http://pluk.sf.net/ irc://irc.freenode.org/pluk |