[DGD] Broken Pipe? yee gads

Felix A. Croes felix at dworkin.nl
Fri Jan 30 18:10:40 CET 2004


Michael McKiel <crashnbrn71 at yahoo.ca> wrote:

> Anyways...we are bug free and actually compiled...
> But whenever we attempt to telnet into the mud we get
> a "broken pipe". So I broke out GDB and loaded up DGD
> set a breakpoint on "open" and "write"
>[...]

You haven't told us which version of DGD you are using (from the
reference to cron, I assume that you run it on some kind of unix).
My version of DGD has the following code in src/host/unix/local.c:

    signal(SIGPIPE, SIG_IGN);

My guess is that the broken pipe signal only occurs when you run DGD
within gdb (which interrupts on all signals, ignored or not) and that
you ran it within gdb to discover an unknown problem; as soon as you
got to the broken pipe, you assumed that that was what you were
looking for.

It wasn't.  Let gdb continue after the broken pipe signal has been
received.

Regards,
Dworkin
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list