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. If you have solved this already please let me know what to do, otherwise I'll be glad to send you any information you will need to troubleshoot, but I don't know where to begin. Thanks, Mike _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush
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 #
michihito matsubara <xc7m-mtbr@asahi-net.or.jp> - Thu, Sep 09, 2004:
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. -- Loïc Minier <lool@dooz.org>
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/
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
michihito matsubara <xc7m-mtbr@asahi-net.or.jp> - Thu, Sep 09, 2004:
#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
This is in libol, maybe use the "directory" command in gdb to point to the directory of libol? -- Loïc Minier <lool@dooz.org>
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
participants (4)
-
Loic Minier
-
michihito matsubara
-
Mike Williams
-
rmkml