Andrew,
this is quite helpful. While it does not pinpoint the actual trouble
source, it points to a different abort location. All previous segfaults
pointed to a different location (Which I have now checked multiple times
and not found any notable problems, just cosmetic things). This
strengthens the point it may be related to threading - of course,
problematic to troubleshoot.
I'll see how I proceed from here. Again, if some of you that experience
the problem could run rsyslogd compiled for single threading, that would
be most helpful.
Rainer
> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] On Behalf Of Andrew Pantyukhin
> Sent: Wednesday, September 19, 2007 10:55 AM
> To: rsyslog-users
> Subject: Re: [rsyslog] rsyslog segfaults?
>
> On Mon, Sep 17, 2007 at 02:51:10PM +0200, Rainer Gerhards wrote:
> > Hi all,
> >
> > may I ask if those of you that experienced the segfault problem
could
> > re-produce it with 1.19.6? Any feedback would be deeply appreciated.
>
> The box is in production, so I can't do too much debugging. If it
> may help, I can recompile rsyslogd with debug flags set and run
> gdb against it.
>
> root at apollo# rsyslogd -v
> /usr/home/mob/www
> rsyslogd 1.19.6, compiled with:
> FEATURE_PTHREADS (dual-threading): Yes
> FEATURE_REGEXP: Yes
> FEATURE_DB (MySQL): Yes
> FEATURE_LARGEFILE: Yes
> FEATURE_NETZIP (message compression): Yes
> SYSLOG_INET (Internet/remote support): Yes
>
> sat at apollo% gdb =rsyslogd rsyslogd.core
> <...>
> #0 0x000000080078189c in pthread_testcancel () from
> /lib/libpthread.so.2
> [New Thread 0x537000 (LWP 100117)]
> [New Thread 0x52e400 (LWP 100112)]
> [New Thread 0x52e000 (runnable)]
> (gdb) bt
> #0 0x000000080078189c in pthread_testcancel () from
> /lib/libpthread.so.2
> #1 0x000000080076f5c3 in sigaction () from /lib/libpthread.so.2
> #2 0x00000008007710e2 in sigaction () from /lib/libpthread.so.2
> #3 0x000000080076adb6 in pthread_kill () from
> /lib/libpthread.so.2
> #4 0x000000080076a633 in raise () from /lib/libpthread.so.2
> #5 0x000000080095b16d in abort () from /lib/libc.so.6
> #6 0x00000008008f4b45 in _UTF8_init () from /lib/libc.so.6
> #7 0x00000008008f4b7c in _UTF8_init () from /lib/libc.so.6
> #8 0x00000008008f5b1d in _UTF8_init () from /lib/libc.so.6
> #9 0x000000000040fa1d in MsgDestruct ()
> #10 0x00000000004066bd in dbgprintf ()
> #11 0x00000000004176b1 in llExecFunc ()
> #12 0x0000000000406f41 in shouldProcessThisMessage ()
> #13 0x0000000000409a9e in logerrorSz ()
> #14 0x0000000800772a99 in pthread_create () from
> /lib/libpthread.so.2
> #15 0x00000008008cfcd4 in makecontext () from /lib/libc.so.6
> #16 0x0000000000000000 in ?? ()
> #17 0x0000000000537000 in ?? ()
> #18 0x00000000004099c0 in logerrorSz ()
> #19 0x0000000000000000 in ?? ()
> #20 0x0000000000000000 in ?? ()
> #21 0x0000000000000000 in ?? ()
> #22 0x0000000000000000 in ?? ()
> Cannot access memory at address 0x7fffff5fc000
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog