[rsyslog] abort in 4.2.1

Rainer Gerhards rgerhards at hq.adiscon.com
Wed Aug 26 11:50:04 CEST 2009


one more thing. If you still have the core file, could you start up gdb again
and then do

(gdb) thread 1
(gdb) print sanitizeMessage::pszMsg
(gdb) print sanitizeMessage::szSanBuf
(gdb) print sanitizeMessage::pMsg
(gdb) print *sanitizeMessage::pMsg  # note the asterisk!
(gdb) print sanitizeMessage::iMaxLine
(gdb) print sanitizeMessage::maxDest

The following ones likely will yield to no result as they are usually
optimized out (moved into registers):
(gdb) print sanitizeMessage::iSrc
(gdb) print sanitizeMessage::iDst
(gdb) print sanitizeMessage::pDst

That will tell me if the pointers are ok, and what they actually point to.
Based on the addresses I see, I guess that the message object pointer
provided is already invalid. But it is hard to verify without the context...


More information about the rsyslog mailing list