[syslog-ng] syslog-ng 3.1.2 segmentation fault in Ubuntu 10.10

Luis Pugoy lpugoy at insynchq.com
Mon Dec 5 12:54:42 CET 2011


>
> Message: 3
> Date: Mon, 05 Dec 2011 10:10:40 +0100
> From: Gergely Nagy <algernon at balabit.hu>
> Subject: Re: [syslog-ng] syslog-ng 3.1.2 segmentation fault in Ubuntu
>        10.10
> To: Syslog-ng users' and developers' mailing list
>        <syslog-ng at lists.balabit.hu>
> Message-ID: <87aa77l6y7.fsf at algernon.balabit>
> Content-Type: text/plain
>
> Luis Pugoy <lpugoy at insynchq.com> writes:
>
> > Does anyone have any insight into this? The segfault is happening more
> > often now. :(
>
> I'd suggest either upgrading to 3.3 from my repo[1], or if an upgrade is
> not feasible, then if you could compile 3.1 with debug symbols, get it
> to drop a core, and do a backtrace, that would help tremendously.
>
>  [1]: http://asylum.madhouse-project.org/projects/debian/
>
> To do the latter, the following steps should work:
>
> $ apt-get source syslog-ng
> $ sudo apt-get build-dep syslog-ng
> $ cd syslog-ng-*
> $ DEB_BUILD_OPTIONS="debug nostrip" dpkg-buildpackage -us -uc -rfakeroot
> $ sudo dpkg -i ../syslog-ng_*.deb
>
> Then add --enable-core to SYSLOGNG_OPTS in /etc/default/syslog-ng, and
> when it segfaults, it'll make a core in (as far as I remember) /. Once
> that happened, do something like this:
>
> $ gdb -c /core /usr/bin/syslog-ng
> (gdb) thread apply all bt full
>
> This should give us a few hints.
>
> --
> |8]
>

 I installed a newer version of the PCRE library. That seems to have worked
for now. If it happens again I will be sure to follow your instructions,
thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20111205/2c6b09aa/attachment.htm 


More information about the syslog-ng mailing list