2010/1/17 Rainer Gerhards <[email protected]>:
>> -----Original Message-----
>> From: [email protected] [mailto:rsyslog-
>> [email protected]] On Behalf Of Michael Biebl
>> Sent: Friday, January 15, 2010 11:57 PM
>> To: rsyslog-users
>> Subject: Re: [rsyslog] rsyslog 5.3.6 (v5-beta) released
>>
>> 2010/1/15 Rainer Gerhards <[email protected]>:
>> > Michael,
>> >
>> > Fix now in git, links at the bug tracker:
>> >
>> > http://bugzilla.adiscon.com/show_bug.cgi?id=169
>> >
>> > Please let me know if it works for you (the patch is a bit trickier
>> than it
>> > looks, so confirmations would be good).
>>
>> I applied 5b4e06fc28ef217e9ca26611e11afd974bdd1a4a on top of 5.3.6.
>> But now I'm getting a crash when rsyslog encounters the xconsole pipe
>> config.
>
> I am a bit puzzled, but will try to reproduce that on my Debian box. I assume
> stock Debian config?

Yes. As said, I just downloaded the 5.3.6 tarball applied the
5b4e06fc28ef217e9ca26611e11afd974bdd1a4a patch on top of it and then
got the crash. I use the default rsyslog.conf from the official debian
package.
I attached a backtrace. Hope that helps

(gdb) run -c4 -d
Starting program: /usr/sbin/rsyslogd -c4 -d
[Thread debugging using libthread_db enabled]
[New Thread 0xb7df2b70 (LWP 5162)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7df2b70 (LWP 5162)]
qqueueEnqObj (pThis=0x1, flowCtlType=eFLOWCTL_LIGHT_DELAY,
pUsr=0x80b72c0) at queue.c:2256
2256            if(pThis->qType != QUEUETYPE_DIRECT) {
(gdb) bt full
#0  qqueueEnqObj (pThis=0x1, flowCtlType=eFLOWCTL_LIGHT_DELAY,
pUsr=0x80b72c0) at queue.c:2256
        iRet = <value optimized out>
        iCancelStateSave = <value optimized out>
#1  0x0807cd5b in actionWriteToAction (pAction=0x80ac8d8) at
../action.c:1169
        pMsgSave = 0x0
        iRet = <value optimized out>
#2  0x0807d4fe in doActionCallAction (pAction=0x80ac8d8,
pMsg=0x80b72c0) at ../action.c:1244
No locals.
#3  actionCallAction (pAction=0x80ac8d8, pMsg=0x80b72c0) at ../action.c:1274
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf =
{134807308, -1210113864, 0, -1210114056, 1464119912, -422385385},
              __mask_was_saved = 0}}, __pad = {0xb7df2240, 0x0,
0xb7df20d0, 0xb7feb27f}}
        __cancel_arg = 0x80ad0a0
        not_first_call = <value optimized out>
        iRet = -1210113864
#4  0x080794d7 in processMsgDoActions (pData=0xfffff815,
pParam=0xb7df20b8) at rule.c:113
        iRet = <value optimized out>
        iRetMod = <value optimized out>
#5  0x080627ba in llExecFunc (pThis=0x80ac9a0, pFunc=0x8079480
<processMsgDoActions>, pParam=0xb7df20b8) at linkedlist.c:391
        iRet = <value optimized out>
        iRetLL = <value optimized out>
        pData = 0x80ac8d8
        llCookie = 0x80ac508
        llCookiePrev = 0x0
#6  0x08079007 in processMsg (pThis=0x80ac968, pMsg=0x80b72c0) at rule.c:299
        bProcessMsg = 1
        DoActData = {bPrevWasSuspended = 0, pMsg = 0x80b72c0}
        iRet = RS_RET_OK
#7  0x080781ba in processMsgDoRules (pData=0x80ac968,
pParam=0x80b72c0) at ruleset.c:145
        iRet = <value optimized out>
#8  0x080627ba in llExecFunc (pThis=0x809eb68, pFunc=0x8078190
<processMsgDoRules>, pParam=0x80b72c0) at linkedlist.c:391
        iRet = <value optimized out>
        iRetLL = <value optimized out>
        pData = 0x80ac968
        llCookie = 0x80ac478
        llCookiePrev = 0x80ac4f8
#9  0x0807876d in processMsg (pMsg=0x80b72c0) at ruleset.c:164
        pThis = <value optimized out>
        iRet = <value optimized out>
#10 0x080506ab in msgConsumer (notNeeded=0x0, pBatch=0x809ecc8,
pbShutdownImmediate=0x80ad348) at syslogd.c:614
        i = 0
        pMsg = 0x80b72c0
        localRet = RS_RET_IO_ERROR
#11 0x08077ca4 in ConsumerReg (pThis=0x80ad338, pWti=0x809ecb0) at queue.c:1638
        iCancelStateSave = 1
        iRet = <value optimized out>
#12 0x08070526 in wtiWorker (pThis=0x809ecb0) at wti.c:286
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf =
{134807308, -1210113200, 0, -1210113384, 1463800424, -411898089},
              __mask_was_saved = 0}}, __pad = {0xb7df2350, 0x0, 0x0, 0x809002c}}
        not_first_call = <value optimized out>
        pWtp = 0x809ebd8
        bInactivityTOOccured = <value optimized out>
        localRet = <value optimized out>
        terminateRet = RS_RET_OK
        iCancelStateSave = <value optimized out>
#13 0x08070074 in wtpWorker (arg=0x809ecb0) at wtp.c:356
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf =
{134807308, -1210113152, 0, -1210113096, 1463726696, -411345641},
              __mask_was_saved = 0}}, __pad = {0xb7df2460, 0x0,
0xb7feff7b, 0xb7fe0cb0}}
        not_first_call = <value optimized out>
        pszDbgHdr = <value optimized out>
        thrdName = "rs:main Q:Reg", '\000' <repeats 18 times>
---Type <return> to continue, or q <return> to quit---
        pThis = 0x809ebd8
        sigSet = {__val = {2147483647, 4294967294, 4294967295 <repeats
30 times>}}
#14 0xb7f9c585 in start_thread () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#15 0xb7f1026e in clone () from /lib/i686/cmov/libc.so.6
No symbol table info available.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to