Hi, Im use syslogng 165 and libol 0314 on freebsd 410 and I not have your pb, no core dump ... Rmkml@Wanadoo.fr On Thu, 9 Sep 2004, michihito matsubara wrote:
Date: Thu, 09 Sep 2004 18:29:08 +0900 From: michihito matsubara <xc7m-mtbr@asahi-net.or.jp> Reply-To: syslog-ng@lists.balabit.hu To: syslog-ng@lists.balabit.hu Subject: Re: [syslog-ng]Syslog-ng 1.6.5/libol 0.3.14 core dump on FreeBSD 4.x
Loè, thanks for your advice.
On Thu, 9 Sep 2004 09:47:06 +0200 Subject: Re: [syslog-ng]Syslog-ng 1.6.5/libol 0.3.14 core dump on FreeBSD 4.x Loè Minier <lool+syslog@via.ecp.fr> wrote:
Single stepping until exit from function c_vformat_length, which has no line number information.
I think you can get a backtrace with "bt", and get the line number informations with "CFLAGS=-g make" instead of make.
Makefile has "-g" already.
% cat Makefile | grep CFLAGS CFLAGS = -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE
i'm not familier with gdb 8-( i try to run gdb again.
...[snip]... (gdb) run Starting program: /usr/local/src/syslog-ng-1.6.5/src/./syslog-ng
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=1, argv=0xbfbffb9c) at main.c:477 (gdb) next 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 #
-- Musashino-shi, Tokyo, Japan K12LTSP in Japanese ; http://open-mitch.dyndns.org/k12ltsp/ http://open-mitch.dyndns.org/software/MISC/
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html