[syslog-ng] [Bug 18] New: random signal 6 in raise() from libc

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Fri Feb 1 14:07:23 CET 2008


https://bugzilla.balabit.com/show_bug.cgi?id=18

           Summary: random signal 6  in raise() from libc
           Product: syslog-ng
           Version: 2.0.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: anders.henke at 1und1.de
Type of the Report: ---
   Estimated Hours: 0.0


On my central log server, syslog-ng 2.0.7 randomly aborts (signal 6); I haven't noticed this earlier 
(as syslog-ng is respawned from init), but according to 8 core dumps, it's always at the same function within libc;
I wonder why only syslog-ng triggers this.

# for I in core.syslog-ng.sig6.* ; do echo "# $I" ; echo quit | gdb /sbin/syslog-ng $I 2>&1 ; done > sig6
# grep raise sig6 
#0  0x00007fea95e9a07b in raise () from /lib/libc.so.6
#0  0x00007f1cacf7807b in raise () from /lib/libc.so.6
#0  0x00007ffc4365d07b in raise () from /lib/libc.so.6
#0  0x00007f8f86a9407b in raise () from /lib/libc.so.6
#0  0x00007f45933aa07b in raise () from /lib/libc.so.6
#0  0x00007fcd9195007b in raise () from /lib/libc.so.6
#0  0x00007f01ea4bd07b in raise () from /lib/libc.so.6
#0  0x00007f83c135a07b in raise () from /lib/libc.so.6

Sample excerpt:

# core.syslog-ng.sig6.16915
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "x86_64-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Failed to read a valid object file image from memory.
Core was generated by `/sbin/syslog-ng -f /var/run/syslog-ng.conf.521 -F -p /var/run/syslog-ng.pid.521'.
Program terminated with signal 6, Aborted.
#0  0x00007fea95e9a07b in raise () from /lib/libc.so.6
(gdb)

I'm running Debian Linux 4.0 (Etch) in 64-Bit-flavour. Syslog-NG 2.0.7 has been compiled using the supplied debian/rules file,
except two changes: don't strip the symbol table from the binary and use --enable-debug.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list