[syslog-ng] syslog-ng 2.0rc2 core

Martin, David M David.Martin at anheuser-busch.com
Tue Sep 12 16:20:18 CEST 2006


2.0rc2 compiled fine on rhel4 host.  same config file as in use w/ 2.0rc1.
syntax-only check returns no errors.
core dumps on execute.  here's the gdb output.


(gdb) quit
# gdb ./syslog-ng core.1584
GNU gdb Red Hat Linux (6.3.0.0-1.96rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

Core was generated by `./syslog-ng -dvy'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/tls/librt.so.1...done.
Loaded symbols for /lib/tls/librt.so.1
Reading symbols from /usr/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /opt/sfw/eventlog/0.2.5/lib/libevtlog.so.0...done.
Loaded symbols for /opt/sfw/eventlog/0.2.5/lib/libevtlog.so.0
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
#0  0x08054b76 in log_template_format (self=0x8a58f10, lm=0x8a5dea0, 
    macro_flags=2, ts_format=0, zone_offset=-1, frac_digits=0, 
    result=0x8a57148) at templates.c:126
126           e = (LogTemplateElem *) p->data;
(gdb) bt full
#0  0x08054b76 in log_template_format (self=0x8a58f10, lm=0x8a5dea0, 
    macro_flags=2, ts_format=0, zone_offset=-1, frac_digits=0, 
    result=0x8a57148) at templates.c:126
        p = (GList *) 0x5f646261
        e = (LogTemplateElem *) 0x17b1a4
#1  0x080552df in log_writer_format_log (self=0x8a5d5a0, lm=0x8a5dea0, 
    result=0x8a57148) at logwriter.c:228
        template = (LogTemplate *) 0x8a58f10
#2  0x0805557e in log_writer_flush_log (self=0x8a5d5a0, fd=0x8a58f30)
    at logwriter.c:314
        lm = (LogMessage *) 0x8a5dea0
        path_flags = 0
        line = (GString *) 0x8a57148
        rc = 1305628
#3  0x08055078 in log_writer_fd_dispatch (source=0x8a5d5e0, callback=0, 
    user_data=0x0) at logwriter.c:143
        self = (LogWriterWatch *) 0x8a5d5e0
#4  0x0012474b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x001261d2 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0x001266b8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#7  0x0804b3e4 in main_loop_run (cfg=0x8a50ec8) at main.c:162
        main_loop = (GMainLoop *) 0x8a590c0
        iters = 145034952
        stats_timer_id = 5
#8  0x0804baac in main (argc=2, argv=0xbfed92c4) at main.c:420
        cfg = (GlobalConfig *) 0x8a50ec8
        syslog_ng_options = {{name = 0x805d23b "cfgfile", has_arg = 1, 
    flag = 0x0, val = 102}, {name = 0x805d243 "pidfile", has_arg = 1, 
    flag = 0x0, val = 112}, {name = 0x805d24b "debug", has_arg = 0, 
    flag = 0x0, val = 100}, {name = 0x805d251 "syntax-only", has_arg = 0, 
    flag = 0x0, val = 115}, {name = 0x805d25d "verbose", has_arg = 0, 
    flag = 0x0, val = 118}, {name = 0x805d265 "foreground", has_arg = 0, 
    flag = 0x0, val = 70}, {name = 0x805d270 "help", has_arg = 0, flag = 0x0, 
    val = 104}, {name = 0x805d17a "version", has_arg = 0, flag = 0x0, 
    val = 86}, {name = 0x805d275 "chroot", has_arg = 1, flag = 0x0, val = 67}, 
  {name = 0x805d27c "user", has_arg = 1, flag = 0x0, val = 117}, {
---Type <return> to continue, or q <return> to quit---
    name = 0x805d281 "group", has_arg = 1, flag = 0x0, val = 103}, {
    name = 0x805d287 "stderr", has_arg = 0, flag = 0x0, val = 101}, {
    name = 0x805d28e "yydebug", has_arg = 0, flag = 0x0, val = 121}, {
    name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
        syntax_only = 0
        log_to_stderr = 0
        opt = -1
        rc = 134520085
 



The information transmitted (including attachments) is
covered by the Electronic Communications Privacy Act,
18 U.S.C. 2510-2521, is intended only for the person(s) or
entity/entities to which it is addressed and may contain
confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking
of any action in reliance upon, this information by persons
or entities other than the intended recipient(s) is prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.



More information about the syslog-ng mailing list