bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcore and core dumps...


From: Marco Gerards
Subject: Re: gcore and core dumps...
Date: Sat, 07 Feb 2004 21:33:05 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Roland McGrath <roland@frob.com> writes:

>> Well, sometimes I just get coredumps with these settings.  Is this
>> possible and am I doing something really stupid here or is this a bug?
>
> Could be neither.  See --help: --suspend => --action=suspend,
> and the default --orphan-action=core-file remains in effect.
> Perhaps when you get a core file, the process was an orphan?

Here is what I did:

marco@c366:/tmp$ ./crash 
Segmentation fault (core dumped)
marco@c366:/tmp$ showtrans /servers/crash
/hurd/symlink crash-suspend
marco@c366:/tmp$ showtrans /servers/crash-suspend 
/hurd/crash --suspend

This is the sourcecode of `crash':

int
main (int argc, char *argv[])
{
  int *p = 0;
  *p = 213;
  return 0;
}

--
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]