Package: gdb Version: 6.8-3.3 Severity: important Tags: patch Re: [RFC] Fix for gdb crash in "info thread" after exec(). http://sourceware.org/ml/gdb-patches/2008-05/msg00710.html fixes the issue for me though http://sourceware.org/ml/gdb-patches/2008-05/msg00727.html is told to be better (sorry not tested the latter yet). But both should test the java testcase in gdb that segfault too (trigger debreaper).
Note : sun jvm seems not to like gdb very much as eclipse crash in various ways while debugging eclipse . Though starting eclipse then gdb -p $(pidof eclipse) around the time eclipse was crashing helped me find out that it was opening too many file descriptor and overflowing the fd_set array when calling FD_SET. Thanks for this great tool even though it did not pinpoint the problem as FD_SET is assigning to an array in a macro at least it made it obvious the stack was corrupted at this stage. Valgrind is too slow with eclipse and java (one day long and it crashed). *you saved my life* in many ways :) I share the pointer to those patch if not to be included at least maybe they could be tried by other having issue with threads. I hope it will be included upstream soon. Cheers Alban -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gdb depends on: ii libc6 2.7-12 GNU C Library: Shared libraries ii libexpat1 2.0.1-4 XML parsing C library - runtime li ii libncurses5 5.6+20080621-2 shared libraries for terminal hand ii libreadline5 5.2-3 GNU readline and history libraries gdb recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]