On Fri, 16 Jan 2009, Rainer Gerhards wrote:

RG> 
RG> That sounds good. Do you happen to have the output from those crashes? 
RG> 

The -n crash was completely silent; the -d run was chatty (as expected); 
with stdout redirected, it took a lot more time to crash, but here are 
both the logfile and the gdb backtrace.

Yours,

        lorenzo


+-------------------------+----------------------------------------------+
|   Lorenzo M.  Catucci   | Centro di Calcolo e Documentazione           |
| [email protected] | Università degli Studi di Roma "Tor Vergata" |
|                         | Via O. Raimondo 18 ** I-00173 ROMA  ** ITALY |
|  Tel. +39 06 7259 2255  | Fax. +39 06 7259 2125                        |
+-------------------------+----------------------------------------------+
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libpthread.so.0...Reading symbols from 
/usr/lib/debug/lib/libpthread-2.7.so...done.
done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...Reading symbols from 
/usr/lib/debug/lib/libdl-2.7.so...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/librt.so.1...Reading symbols from 
/usr/lib/debug/lib/librt-2.7.so...done.
done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libc.so.6...Reading symbols from 
/usr/lib/debug/lib/libc-2.7.so...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...Reading symbols from 
/usr/lib/debug/lib/ld-2.7.so...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/rsyslog/lmnet.so...done.
Loaded symbols for /usr/lib/rsyslog/lmnet.so
Reading symbols from /lib/libnss_files.so.2...Reading symbols from 
/usr/lib/debug/lib/libnss_files-2.7.so...done.
done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/rsyslog/imuxsock.so...done.
Loaded symbols for /usr/lib/rsyslog/imuxsock.so
Reading symbols from /usr/lib/rsyslog/imklog.so...done.
Loaded symbols for /usr/lib/rsyslog/imklog.so
Reading symbols from /lib/libnss_compat.so.2...Reading symbols from 
/usr/lib/debug/lib/libnss_compat-2.7.so...done.
done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...Reading symbols from 
/usr/lib/debug/lib/libnsl-2.7.so...done.
done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...Reading symbols from 
/usr/lib/debug/lib/libnss_nis-2.7.so...done.
done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /usr/lib/rsyslog/lmnetstrms.so...done.
Loaded symbols for /usr/lib/rsyslog/lmnetstrms.so
Reading symbols from /usr/lib/rsyslog/lmtcpclt.so...done.
Loaded symbols for /usr/lib/rsyslog/lmtcpclt.so
Reading symbols from /usr/lib/rsyslog/lmnsd_ptcp.so...done.
Loaded symbols for /usr/lib/rsyslog/lmnsd_ptcp.so
Core was generated by `rsyslogd -c4 -n'.
Program terminated with signal 11, Segmentation fault.
[New process 19309]
[New process 19311]
[New process 19310]
[New process 19308]
[New process 19307]
#0  0x000000000041cb79 in msgDestruct (ppThis=0x68ae18) at msg.c:354
354                     if(strcmp((char*)(((obj_t*)pThis)->pObjInfo->pszID), 
"msg")) { 
(gdb) 
Thread 5 (process 19307):
#0  0x00002af4d1020ce2 in select () from /lib/libc.so.6
#1  0x000000000040db93 in mainThread () at syslogd.c:2704
#2  0x000000000040ee96 in realMain (argc=<value optimized out>, 
    argv=<value optimized out>) at syslogd.c:3631
#3  0x00002af4d0f761a6 in __libc_start_main () from /lib/libc.so.6
#4  0x000000000040a259 in _start ()

Thread 4 (process 19308):
#0  0x00002af4d0938fad in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x0000000000432f9f in wtiWorker (pThis=0x685270) at wti.c:406
#2  0x000000000043176a in wtpWorker (arg=0x685270) at wtp.c:425
#3  0x00002af4d0934fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00002af4d10275ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (process 19310):
#0  0x00002af4d1020ce2 in select () from /lib/libc.so.6
#1  0x00002af4d16c69fd in runInput (pThrd=<value optimized out>)
    at imuxsock.c:280
#2  0x000000000044373f in thrdStarter (arg=0x6a5db0) at ../threads.c:139
#3  0x00002af4d0934fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00002af4d10275ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (process 19311):
#0  0x00002af4d093b7db in read () from /lib/libpthread.so.0
#1  0x00002af4d18cb1ef in klogLogKMsg () at linux.c:449
#2  0x00002af4d18ca594 in runInput (pThrd=0x6a9020) at imklog.c:224
#3  0x000000000044373f in thrdStarter (arg=0x6a9020) at ../threads.c:139
#4  0x00002af4d0934fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00002af4d10275ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (process 19309):
#0  0x000000000041cb79 in msgDestruct (ppThis=0x68ae18) at msg.c:354
#1  0x0000000000443076 in actionCallAction (pAction=0x68ada0, 
    pMsg=0x2aaaac0008c0) at ../action.c:774
#2  0x000000000040b307 in processMsgDoActions (pData=0x68ada0, 
    pParam=0x41000e90) at syslogd.c:1140
#3  0x000000000041deb8 in llExecFunc (pThis=0x68ac10, 
    pFunc=0x40b2b0 <processMsgDoActions>, pParam=0x41000e90)
    at linkedlist.c:391
#4  0x000000000040ae19 in msgConsumer (notNeeded=<value optimized out>, 
    pUsr=<value optimized out>) at syslogd.c:1183
#5  0x000000000043c537 in queueConsumerReg (pThis=0x690050, pWti=0x6a3ce0, 
    iCancelStateSave=<value optimized out>) at queue.c:1598
#6  0x0000000000433010 in wtiWorker (pThis=0x6a3ce0) at wti.c:416
#7  0x000000000043176a in wtpWorker (arg=0x6a3ce0) at wtp.c:425
#8  0x00002af4d0934fc7 in start_thread () from /lib/libpthread.so.0
#9  0x00002af4d10275ad in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()
(gdb) quit
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libpthread.so.0...Reading symbols from 
/usr/lib/debug/lib/libpthread-2.7.so...done.
done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...Reading symbols from 
/usr/lib/debug/lib/libdl-2.7.so...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/librt.so.1...Reading symbols from 
/usr/lib/debug/lib/librt-2.7.so...done.
done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libc.so.6...Reading symbols from 
/usr/lib/debug/lib/libc-2.7.so...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...Reading symbols from 
/usr/lib/debug/lib/ld-2.7.so...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/rsyslog/lmnet.so...done.
Loaded symbols for /usr/lib/rsyslog/lmnet.so
Reading symbols from /lib/libnss_files.so.2...Reading symbols from 
/usr/lib/debug/lib/libnss_files-2.7.so...done.
done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/rsyslog/imuxsock.so...done.
Loaded symbols for /usr/lib/rsyslog/imuxsock.so
Reading symbols from /usr/lib/rsyslog/imklog.so...done.
Loaded symbols for /usr/lib/rsyslog/imklog.so
Reading symbols from /lib/libnss_compat.so.2...Reading symbols from 
/usr/lib/debug/lib/libnss_compat-2.7.so...done.
done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...Reading symbols from 
/usr/lib/debug/lib/libnsl-2.7.so...done.
done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...Reading symbols from 
/usr/lib/debug/lib/libnss_nis-2.7.so...done.
done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /usr/lib/rsyslog/lmnetstrms.so...done.
Loaded symbols for /usr/lib/rsyslog/lmnetstrms.so
Reading symbols from /usr/lib/rsyslog/lmtcpclt.so...done.
Loaded symbols for /usr/lib/rsyslog/lmtcpclt.so
Reading symbols from /usr/lib/rsyslog/lmnsd_ptcp.so...done.
Loaded symbols for /usr/lib/rsyslog/lmnsd_ptcp.so
Core was generated by `rsyslogd -c4 -d'.
Program terminated with signal 11, Segmentation fault.
[New process 20676]
[New process 20678]
[New process 20677]
[New process 20675]
[New process 20674]
#0  0x000000000041cb79 in msgDestruct (ppThis=0x68ace8) at msg.c:354
354                     if(strcmp((char*)(((obj_t*)pThis)->pObjInfo->pszID), 
"msg")) { 
(gdb) 
Thread 5 (process 20674):
#0  0x00002ab1af573ce2 in select () from /lib/libc.so.6
#1  0x000000000040db93 in mainThread () at syslogd.c:2704
#2  0x000000000040ee96 in realMain (argc=<value optimized out>, 
    argv=<value optimized out>) at syslogd.c:3631
#3  0x00002ab1af4c91a6 in __libc_start_main () from /lib/libc.so.6
#4  0x000000000040a259 in _start ()

Thread 4 (process 20675):
#0  0x00002ab1aee8bfad in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x0000000000432f9f in wtiWorker (pThis=0x685140) at wti.c:406
#2  0x000000000043176a in wtpWorker (arg=0x685140) at wtp.c:425
#3  0x00002ab1aee87fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00002ab1af57a5ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (process 20677):
#0  0x00002ab1af573ce2 in select () from /lib/libc.so.6
#1  0x00002ab1afc199fd in runInput (pThrd=<value optimized out>)
    at imuxsock.c:280
#2  0x000000000044373f in thrdStarter (arg=0x6a5c80) at ../threads.c:139
#3  0x00002ab1aee87fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00002ab1af57a5ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (process 20678):
#0  0x00002ab1aee8e7db in read () from /lib/libpthread.so.0
#1  0x00002ab1afe1e1ef in klogLogKMsg () at linux.c:449
#2  0x00002ab1afe1d594 in runInput (pThrd=0x6a8ef0) at imklog.c:224
#3  0x000000000044373f in thrdStarter (arg=0x6a8ef0) at ../threads.c:139
#4  0x00002ab1aee87fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00002ab1af57a5ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (process 20676):
#0  0x000000000041cb79 in msgDestruct (ppThis=0x68ace8) at msg.c:354
#1  0x0000000000443076 in actionCallAction (pAction=0x68ac70, pMsg=0x6aee30)
    at ../action.c:774
#2  0x000000000040b307 in processMsgDoActions (pData=0x68ac70, 
    pParam=0x41000e90) at syslogd.c:1140
#3  0x000000000041deb8 in llExecFunc (pThis=0x68aae0, 
    pFunc=0x40b2b0 <processMsgDoActions>, pParam=0x41000e90)
    at linkedlist.c:391
#4  0x000000000040ae19 in msgConsumer (notNeeded=<value optimized out>, 
    pUsr=<value optimized out>) at syslogd.c:1183
#5  0x000000000043c537 in queueConsumerReg (pThis=0x68ff20, pWti=0x6a3bb0, 
    iCancelStateSave=<value optimized out>) at queue.c:1598
#6  0x0000000000433010 in wtiWorker (pThis=0x6a3bb0) at wti.c:416
#7  0x000000000043176a in wtpWorker (arg=0x6a3bb0) at wtp.c:425
#8  0x00002ab1aee87fc7 in start_thread () from /lib/libpthread.so.0
#9  0x00002ab1af57a5ad in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()
(gdb) quit
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libpthread.so.0...Reading symbols from 
/usr/lib/debug/lib/libpthread-2.7.so...done.
done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...Reading symbols from 
/usr/lib/debug/lib/libdl-2.7.so...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/librt.so.1...Reading symbols from 
/usr/lib/debug/lib/librt-2.7.so...done.
done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libc.so.6...Reading symbols from 
/usr/lib/debug/lib/libc-2.7.so...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...Reading symbols from 
/usr/lib/debug/lib/ld-2.7.so...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/rsyslog/lmnet.so...done.
Loaded symbols for /usr/lib/rsyslog/lmnet.so
Reading symbols from /lib/libnss_files.so.2...Reading symbols from 
/usr/lib/debug/lib/libnss_files-2.7.so...done.
done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/rsyslog/imuxsock.so...done.
Loaded symbols for /usr/lib/rsyslog/imuxsock.so
Reading symbols from /usr/lib/rsyslog/imklog.so...done.
Loaded symbols for /usr/lib/rsyslog/imklog.so
Reading symbols from /lib/libnss_compat.so.2...Reading symbols from 
/usr/lib/debug/lib/libnss_compat-2.7.so...done.
done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...Reading symbols from 
/usr/lib/debug/lib/libnsl-2.7.so...done.
done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...Reading symbols from 
/usr/lib/debug/lib/libnss_nis-2.7.so...done.
done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /usr/lib/rsyslog/lmnetstrms.so...done.
Loaded symbols for /usr/lib/rsyslog/lmnetstrms.so
Reading symbols from /usr/lib/rsyslog/lmtcpclt.so...done.
Loaded symbols for /usr/lib/rsyslog/lmtcpclt.so
Reading symbols from /usr/lib/rsyslog/lmnsd_ptcp.so...done.
Loaded symbols for /usr/lib/rsyslog/lmnsd_ptcp.so
Core was generated by `rsyslogd -c4 -d'.
Program terminated with signal 6, Aborted.
[New process 21096]
[New process 21098]
[New process 21097]
[New process 21095]
[New process 21094]
#0  0x00002ac0a65dded5 in raise () from /lib/libc.so.6
(gdb) 
Thread 5 (process 21094):
#0  0x00002ac0a6674ce2 in select () from /lib/libc.so.6
#1  0x000000000040db93 in mainThread () at syslogd.c:2704
#2  0x000000000040ee96 in realMain (argc=<value optimized out>, 
    argv=<value optimized out>) at syslogd.c:3631
#3  0x00002ac0a65ca1a6 in __libc_start_main () from /lib/libc.so.6
#4  0x000000000040a259 in _start ()

Thread 4 (process 21095):
#0  0x00002ac0a5f8cfad in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x0000000000432f9f in wtiWorker (pThis=0x685140) at wti.c:406
#2  0x000000000043176a in wtpWorker (arg=0x685140) at wtp.c:425
#3  0x00002ac0a5f88fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00002ac0a667b5ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (process 21097):
#0  0x00002ac0a6674ce2 in select () from /lib/libc.so.6
#1  0x00002ac0a6d1a9fd in runInput (pThrd=<value optimized out>)
    at imuxsock.c:280
#2  0x000000000044373f in thrdStarter (arg=0x6a5c80) at ../threads.c:139
#3  0x00002ac0a5f88fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00002ac0a667b5ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (process 21098):
#0  0x00002ac0a5f8f7db in read () from /lib/libpthread.so.0
#1  0x00002ac0a6f1f1ef in klogLogKMsg () at linux.c:449
#2  0x00002ac0a6f1e594 in runInput (pThrd=0x6a8ef0) at imklog.c:224
#3  0x000000000044373f in thrdStarter (arg=0x6a8ef0) at ../threads.c:139
#4  0x00002ac0a5f88fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00002ac0a667b5ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (process 21096):
#0  0x00002ac0a65dded5 in raise () from /lib/libc.so.6
#1  0x00002ac0a65df3f3 in abort () from /lib/libc.so.6
#2  0x0000000000423697 in sigsegvHdlr (signum=6) at debug.c:759
#3  <signal handler called>
#4  0x00002ac0a65dded5 in raise () from /lib/libc.so.6
#5  0x00002ac0a65df3f3 in abort () from /lib/libc.so.6
#6  0x00002ac0a65d6dc9 in __assert_fail () from /lib/libc.so.6
#7  0x000000000043a4be in queueChkDiscardMsg (pThis=0x68ff20, iQueueSize=0, 
    bRunsDA=0, pUsr=0x2aaaac002e30) at queue.c:1393
#8  0x000000000043bde3 in queueDequeueConsumable (pThis=0x68ff20, 
    pWti=0x6a3bb0, iCancelStateSave=0) at queue.c:1478
#9  0x000000000043c4f1 in queueConsumerReg (pThis=0x68ff20, pWti=0x6a3bb0, 
    iCancelStateSave=0) at queue.c:1597
#10 0x0000000000433010 in wtiWorker (pThis=0x6a3bb0) at wti.c:416
#11 0x000000000043176a in wtpWorker (arg=0x6a3bb0) at wtp.c:425
#12 0x00002ac0a5f88fc7 in start_thread () from /lib/libpthread.so.0
#13 0x00002ac0a667b5ad in clone () from /lib/libc.so.6
#14 0x0000000000000000 in ?? ()
(gdb) quit
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to