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

Mike Williams syslog-ng@lists.balabit.hu
Thu, 9 Sep 2004 12:44:34 -0700 (PDT)


Yes, I am receiving those same errors as michihito.  Here is my attempt to use the directory
command, but not sure if I did it right.

--- Loic Minier <lool+syslog@via.ecp.fr> wrote:

>  This is in libol, maybe use the "directory" command in gdb to point to
>  the directory of libol?

root@loghost [6:37pm] >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) directory /usr/local/src/libol-0.3.14/src/
Source directories searched: /usr/local/src/libol-0.3.14/src:$cdir:$cwd
(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) bt
#0  0x805358c in c_vformat_length ()
#1  0x805579a in msg_vformat ()
#2  0x8055819 in werror ()
#3  0x804dc32 in yyparse () at cfg-grammar.y:725
#4  0x804cb0d in make_syslog_config (name=0x805dda0 "/usr/local/etc/syslog-ng/syslog-ng.conf",
backend=0x8062000) at cfgfile.c:335
#5  0x804a2dc in main (argc=3, argv=0xbfbffa88) at main.c:477
(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



		
_______________________________
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool