[syslog-ng]Syslog-ng 1.6.5/libol 0.3.14 core dump on FreeBSD 4.x

michihito matsubara syslog-ng@lists.balabit.hu
Thu, 09 Sep 2004 15:26:22 +0900


Hi Mike.

You are not alone.
same issue here.

On Wed, 8 Sep 2004 12:40:08 -0700 (PDT)
Subject: [syslog-ng]Syslog-ng 1.6.5/libol 0.3.14 core dump on FreeBSD 4.x
Mike Williams <mike_will2004@yahoo.com> wrote:

> Has anyone else experienced problems with the new
> release on FreeBSD?  I have upgraded to 1.6.5 from
> 1.6.2 on FreeBSD 4.8-RELEASE-p10 and and
> 4.10-RELEASE-p2 and in both instances I get a core
> dump.

on FreeBSD 4.10-STABLE and 4.9-RELEASE-p11.
syslog-ng 1.6.5 / libol 0.3.14
i have tried both from ports and from tar ball.

Below is on 4.10-STABLE.

# tar xvfz syslog-ng-1.6.5.tar.gz
# cd syslog-ng-1.6.5
# ./configure
# make
# cd src
# gdb ./syslog-ng
GNU gdb 4.18 (FreeBSD)
Copyright 1998 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 "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf

(gdb) run -f /usr/local/etc/syslog-ng/syslog-ng.conf
Starting program: /usr/local/src/syslog-ng-1.6.5/src/./syslog-ng -f /usr/local/etc/syslog-ng/syslog-ng.conf

Program received signal SIGSEGV, Segmentation fault.
0x805358c in c_vformat_length ()
(gdb) step
Single stepping until exit from function c_vformat_length,
which has no line number information.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit
#