[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $CRASHSERVER not honored?
From: |
Thomas Schwinge |
Subject: |
Re: $CRASHSERVER not honored? |
Date: |
Mon, 26 Apr 2010 16:52:57 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hello!
On Mon, Apr 26, 2010 at 04:20:30PM +0200, Ludovic Courtès wrote:
> In addition to
> <http://www.gnu.org/software/hurd/open_issues/crash_server.html>, it
> seems that $CRASHSERVER isn’t honored
As per [glibc]/hurd/hurdsig.c:write_corefile, that environment variable
is only evaluated for ``corelimit != 0''. However, I'm not sure that's
the problem in your case, as you get a ``(core dumped)'' message with
crash-suspend, according to the log you posted.
> In practice what’s the best way to debug a segfault?
Good ol' GDB. I'm not up-to-date about upstream and Debian GNU/Hurd
GDB's status, when GDB itself is starting the inferior (`run' command).
There has been a bug which I reported some moons ago, together with a
preliminary patch, but I'm not sure if it was committed. I used to have
a working GDB in flubber:~tschwinge/command/gdb, I think. (Attaching to
already-running processes should just work with any recent version.)
Regards,
Thomas
signature.asc
Description: Digital signature