Re: [CODE] tracking down an infinit loop

From: Sammy (
Date: 01/31/97

On Thu, 30 Jan 1997, RHS Linux User wrote:

> ERm this is kinda weird.  How do i go about tracking down an infinite loop
> (or when the mud just hangs... doesnt core dump).  I do a kill -11 PID
> and this creates a core file that looks like this:
> Program terminated with signal 11, Segmentation fault.
> #0  0x4003af86 in ?? ()

Another thing you can try is to run gdb and attach it to the hung mud
process, then ctrl-C to break out and see where it is.

I can't remember the syntax for attaching to a pid.  Man gdb for details.


| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

This archive was generated by hypermail 2b30 : 12/18/00 PST