[syslog-ng] syslog-ng-2.1beta2 core dump on NetBSD 3.0

Ed Ravin eravin at panix.com
Thu Jul 17 20:45:39 CEST 2008


Using syslog-ng-2.1beta2-snapshot-20080701 on NetBSD 3.0.  Left it running
on a host that doesn't do much, and after a few hours we got a core dump:

Program terminated with signal 11, Segmentation fault.
#0  0xbbb4b2ca in evt_rec_add_tag (e=0x8084140, tag=0x0) at evtrec.c:48

(gdb) bt
#0  0xbbb4b2ca in evt_rec_add_tag (e=0x8084140, tag=0x0) at evtrec.c:48
#1  0x0805867a in stats_generate_log () at stats.c:229
#2  0x0804b44f in stats_timer (st=0x0) at main.c:131
#3  0xbbb7f423 in g_main_context_is_owner ()
   from /usr/local/lib/libglib-2.0.so.1200
#4  0xbbb7cea3 in g_source_is_destroyed ()
   from /usr/local/lib/libglib-2.0.so.1200
#5  0xbbb7dead in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.1200
#6  0xbbb7e1d2 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.1200
#7  0xbbb7e400 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.1200
#8  0x0804b556 in main_loop_run (cfg=0xbfbfed44) at main.c:159
#9  0x0804bb1c in main (argc=5, argv=0xbfbfeeb4) at main.c:428

Here's some of the config info:

  compiler options            : -g -O2 -Wall  -I/pkg/glib-2.12.3-p1/include/glib
-2.0 -I/pkg/glib-2.12.3-p1/lib/glib-2.0/include   -I/pkg/eventlog-0.2.5/include/
eventlog     -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  linker flags                :  -lresolv -lrt  -lfl -L/pkg/glib-2.12.3-p1/lib -
lglib-2.0 -lintl   -L/pkg/eventlog-0.2.5/lib -levtlog    -lwrap
  prefix                      : /pkg/syslog-ng-2.1beta2+20080701
 Features:
  Sun STREAMS support         : no
  Sun Door support            : no
  Debug symbols               : no
  Memtrace                    : no
  IPV6 support                : yes 
  spoof-source support        : no
  tcp-wrapper support         : yes
  SQL support                 : no



More information about the syslog-ng mailing list