bug-hurd
[Top][All Lists]
Advanced

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

[bug #17319] /hurd/crash --suspend doesn't work


From: Thomas Schwinge
Subject: [bug #17319] /hurd/crash --suspend doesn't work
Date: Fri, 4 Aug 2006 16:15:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17319>

                 Summary: /hurd/crash --suspend doesn't work
                 Project: The GNU Hurd
            Submitted by: tschwinge
            Submitted on: Friday 08/04/06 at 16:14
                Category: Hurd Servers
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Reproducibility: Every Time
              Size (loc): None
         Planned Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

`/hurd/crash --suspend' is usually running as a server on
`/servers/crash-suspend' and may be linked to from `/servers/crash' to
actually use it.

It's meant to suspend a crashed process, i.e. keep it in a frozen state in
memory (as opposed to dumping a core file) to make it attachable and
debuggable by gdb.

Unfortunately this doesn't work:

#v+
thomas@leibniz:/var/tmp $ cat > crash.c
int main (void) { return *(int *) 0; }
thomas@leibniz:/var/tmp $ gcc crash.c
thomas@leibniz:/var/tmp $ ./a.out
Segmentation fault (core dumped)
thomas@leibniz:/var/tmp $ ls -l core
-rw------- 1 thomas root 16912384 Jun 15 20:43 core
thomas@leibniz:/var/tmp $ ls -l /servers/crash
lrwxr-xr-x 1 root root 13 Jun 15 20:42 /servers/crash -> crash-suspend
thomas@leibniz:/var/tmp $ showtrans /servers/crash-suspend
/hurd/crash --suspend
#v-


According to Roland it has been working ``in the past'' (``Long before core
dumping ever worked at all.'') and he also added that ``the crash server is
one of the easier ones to debug with gdb.''







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17319>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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