[syslog-ng]stack overflow: unexpected mark object

Ed Ravin eravin@panix.com
Wed, 21 Nov 2001 19:20:41 -0500 (EST)


syslog-ng 1.5.10 died again on me (NetBSD 1.5.1).  The core dump has
an apparent infinite error loop, which eventually segfaulted.  The
bottom of the stack is shown below, you'll have to just imagine
the other 8979 lines of the stack trace.  I realize now that my
last bug report was also about 1.5.10, not 1.5.13, so I'm switching
to 1.5.13 and we'll see what happens.

[...]
#8980 0xf9e1 in msg_vformat ()
#8981 0xfa7d in fatal ()
#8982 0x104f8 in ol_object_check ()
#8983 0x2bc3 in do_add_source_name (c=0x23108, logmsg=0x1850c) at
sources.c:198
#8984 0xb7d4 in write_internal_message (level=4, length=43,
    data=0xbfbfc7f0 "ol_object_check: Unexpected marked object!\n")
    at afinter.c:61
#8985 0xf9e1 in msg_vformat ()
#8986 0xfa7d in fatal ()
---Type <return> to continue, or q <return> to quit---
#8987 0x104f8 in ol_object_check ()
#8988 0x2bc3 in do_add_source_name (c=0x23108, logmsg=0x1890c) at
sources.c:198
#8989 0xb7d4 in write_internal_message (level=4, length=43,
    data=0xbfbfcc7c "ol_object_check: Unexpected marked object!\n")
    at afinter.c:61
#8990 0xf9e1 in msg_vformat ()
#8991 0xfa7d in fatal ()
#8992 0x104f8 in ol_object_check ()
#8993 0x2bc3 in do_add_source_name (c=0x23108, logmsg=0x1864c) at
sources.c:198
#8994 0xb7d4 in write_internal_message (level=4, length=43,
    data=0xbfbfd108 "ol_object_check: Unexpected marked object!\n160, port
65520\n@XÑ¿¿xÕ¿¿\2100\002") at afinter.c:61
#8995 0xf9e1 in msg_vformat ()
#8996 0xfa7d in fatal ()
#8997 0x104f8 in ol_object_check ()
#8998 0x2bc3 in do_add_source_name (c=0x23108, logmsg=0x1884c) at
sources.c:198
#8999 0xb7d4 in write_internal_message (level=4, length=67,
    data=0xbfbfd594 "dont_free_live_resource: About to garbage collect a
live resource!\n") at afinter.c:61
#9000 0xf9e1 in msg_vformat ()
#9001 0xfa7d in fatal ()
#9002 0x10b23 in dont_free_live_resource ()
#9003 0x10a36 in do_resource_free ()
---Type <return> to continue, or q <return> to quit---
#9004 0x1002e in gc_sweep ()
#9005 0x10117 in gc ()
#9006 0x101aa in gc_maybe ()
#9007 0xdde4 in io_iter ()
#9008 0x1c71 in main_loop (backend=0x18008) at main.c:208
#