[DGD] Bug

Blain blain20 at gmail.com
Mon Feb 13 16:05:14 CET 2017


I caused the same error message and abortion, but this time I got
meaningful error messages about too deep nesting, so I don't know if it's
the same "bug".  I managed to create this one by having everything include
/usr/System/pub/def/auto.h, which does #include "AUTO" (
/usr/System/pub/def/AUTO), and then the latter includes the former in a
cycle.  I don't know if that's what I did yesterday because I didn't get
the "#include nesting too deep" messages yesterday.  Also, yesterday's
involved more files.  I was unable to replicate that same scenario.

---
Feb 13 08:56:50 ** compiled: /usr/System/lib/xfun/charset; from:
/def/std.h; path: /def/AUTO
Feb 13 08:56:50 ** compiled: /usr/System/lib/xfun/charset; from:
/usr/System/pub/def/auto.h; path: /usr/System/pub/def/AUTO
Feb 13 08:56:50 ** compiled: /usr/System/lib/xfun/charset; from:
/usr/System/pub/def/AUTO; path: /usr/System/pub/def/auto.h
Feb 13 08:56:50 ** compiled: /usr/System/lib/xfun/charset; from:
/usr/System/pub/def/AUTO; path: /def/kernel/kernel.h
Feb 13 08:56:50 ** */usr/System/pub/def/auto.h [32]: #include nesting too
deep
Feb 13 08:56:50 ** */def/kernel/kernel.h [1]: #include nesting too deep
Feb 13 08:56:50 ** [1] # include <config.h>
Fatal error: bad pointer in m_free
./start: line 18:  5996 Aborted                 (core dumped)
${BIN}/${DRIVER} ${MUD}.dgd


---
Stack trace:
Frame     Function  Args
0023ADD8  6101E1CA (00000104, 0000EA60, 000000A4, 0023AE48)
0023AF08  610E3BBF (00000002, 0023B15C, 00000023, 610F2D5E)


On Mon, Feb 13, 2017 at 2:14 AM, Felix A. Croes <felix at dworkin.nl> wrote:

> Blain <blain20 at gmail.com> wrote:
>
> > I fixed it, but I'm not sure what caused it.  I had a possible recursive
> > inclusion and some CRLF.
>
> That's not good.  Now that you've mentioned a bug, we expect you to report
> how to reproduce it, so that it can be fixed.
>
> Regards,
> Felix Croes
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd



More information about the DGD mailing list