[syslog-ng] FreeBSD core dump

Alexandre Biancalana biancalana at gmail.com
Wed Sep 18 20:48:24 CEST 2013


On Tue, Sep 17, 2013 at 11:54 AM, Alexandre Biancalana <biancalana at gmail.com
> wrote:

> On Tue, Sep 17, 2013 at 10:30 AM, Gergely Nagy <algernon at balabit.hu>wrote:
>
>> Alexandre Biancalana <biancalana at gmail.com> writes:
>>
>> > Hi list,
>> >
>> >  I'm running syslog-ng 3.4.3 (installed from FreeBSD ports) on FreeBSD
>> 9.1
>> > with self-written patterndb file to parse apache error_log, mod_security
>> > and pagespeed errors.
>> >
>> > The syslog-ng source is httpd error_log file, after starting syslog-ng
>> it
>> > core dumps:
>> >
>> > ERROR:logmsg.c:1303:log_msg_unref: assertion failed:
>> > (LOGMSG_REFCACHE_VALUE_TO_REF(old_value) >= 1)
>> > Abort trap (core dumped)
>> >
>> > Let me know if you need more info.
>>
>> Could you post a backtrace too, please?
>>
>
> Here we go:
>
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols
> found)
> ...
> Core was generated by `syslog-ng'.
> Program terminated with signal 6, Aborted.
> Reading symbols from /usr/local/lib/libsyslog-ng-3.4.3.so...done.
> Loaded symbols for /usr/local/lib/libsyslog-ng-3.4.3.so
> Reading symbols from /usr/lib/librt.so.1...done.
> Loaded symbols for /usr/lib/librt.so.1
> Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...done.
> Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0
> Reading symbols from /usr/local/lib/libgthread-2.0.so.0...done.
> Loaded symbols for /usr/local/lib/libgthread-2.0.so.0
> Reading symbols from /usr/local/lib/libglib-2.0.so.0...done.
> Loaded symbols for /usr/local/lib/libglib-2.0.so.0
> Reading symbols from /usr/local/lib/libintl.so.9...done.
> Loaded symbols for /usr/local/lib/libintl.so.9
> Reading symbols from /usr/local/lib/libiconv.so.3...done.
> Loaded symbols for /usr/local/lib/libiconv.so.3
> Reading symbols from /usr/local/lib/libevtlog.so.0...done.
> Loaded symbols for /usr/local/lib/libevtlog.so.0
> Reading symbols from /usr/local/lib/libpcre.so.3...done.
> Loaded symbols for /usr/local/lib/libpcre.so.3
> Reading symbols from /lib/libthr.so.3...done.
> Loaded symbols for /lib/libthr.so.3
> Reading symbols from /lib/libc.so.7...done.
> Loaded symbols for /lib/libc.so.7
> Reading symbols from /usr/local/lib/syslog-ng/libsystem-source.so...done.
> Loaded symbols for /usr/local/lib/syslog-ng/libsystem-source.so
> Reading symbols from /usr/lib/libz.so...done.
> Loaded symbols for /usr/lib/libz.so
> Reading symbols from /usr/local/lib/syslog-ng/libconfgen.so...done.
> Loaded symbols for /usr/local/lib/syslog-ng/libconfgen.so
> Reading symbols from /usr/local/lib/syslog-ng/libafsocket-tls.so...done.
> Loaded symbols for /usr/local/lib/syslog-ng/libafsocket-tls.so
> Reading symbols from
> /usr/local/lib/syslog-ng/libsyslog-ng-crypto.so...done.
> Loaded symbols for /usr/local/lib/syslog-ng/libsyslog-ng-crypto.so
> Reading symbols from /usr/local/lib/libcrypto.so.8...done.
> Loaded symbols for /usr/local/lib/libcrypto.so.8
> Reading symbols from /usr/local/lib/libssl.so.8...done.
> Loaded symbols for /usr/local/lib/libssl.so.8
> Reading symbols from /usr/local/lib/syslog-ng/libaffile.so...done.
> Loaded symbols for /usr/local/lib/syslog-ng/libaffile.so
> Reading symbols from /usr/local/lib/syslog-ng/libdbparser.so...done.
> Loaded symbols for /usr/local/lib/syslog-ng/libdbparser.so
> Reading symbols from /usr/local/lib/syslog-ng/libafamqp.so...done.
> Loaded symbols for /usr/local/lib/syslog-ng/libafamqp.so
> Reading symbols from /usr/local/lib/syslog-ng/libafuser.so...done.
> Loaded symbols for /usr/local/lib/syslog-ng/libafuser.so
> Reading symbols from /usr/local/lib/syslog-ng/libsyslogformat.so...done.
> Loaded symbols for /usr/local/lib/syslog-ng/libsyslogformat.so
> Reading symbols from /libexec/ld-elf.so.1...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x0000000801f9938c in thr_kill () from /lib/libc.so.7
> [New Thread 80240a800 (LWP 109042/syslog-ng)]
> [New Thread 802409c00 (LWP 109041/syslog-ng)]
> [New Thread 802409800 (LWP 109040/syslog-ng)]
> [New Thread 802407400 (LWP 107992/syslog-ng)]
> (gdb) bt
> #0  0x0000000801f9938c in thr_kill () from /lib/libc.so.7
> #1  0x000000080203b99b in abort () from /lib/libc.so.7
> #2  0x00000008011223f4 in g_assertion_message ()
>    from /usr/local/lib/libglib-2.0.so.0
> #3  0x00000008011229c2 in g_assertion_message_expr ()
>    from /usr/local/lib/libglib-2.0.so.0
> #4  0x000000080084cc87 in log_msg_unref (self=Variable "self" is not
> available.
> ) at logmsg.c:1303
> #5  0x0000000803d0836d in afamqp_worker_thread (arg=Variable "arg" is not
> available.
> ) at afamqp.c:479
> #6  0x000000080085b6de in worker_thread_func (st=0x802421fd0) at misc.c:580
> #7  0x0000000801124a65 in g_thread_proxy ()
>    from /usr/local/lib/libglib-2.0.so.0
> #8  0x0000000801d220a4 in pthread_getprio () from /lib/libthr.so.3
> #9  0x0000000000000000 in ?? ()
> Cannot access memory at address 0x7fffffbfe000
>
>

Hi,

 Any idea of why this is happening ?  Do you need anything else ?

Regards,

Alexandre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20130918/8d303506/attachment.htm 


More information about the syslog-ng mailing list