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

rmkml syslog-ng@lists.balabit.hu
Thu, 9 Sep 2004 12:08:48 +0200 (CEST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---1463811583-553363046-1094724528=:210
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

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
>=20
> Lo=E8=83, 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=E8=83 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=3D-g make" instead of make.
>
> Makefile has "-g" already.
>
> % cat Makefile | grep CFLAGS
> CFLAGS =3D -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=3D0x805dda0 "/usr/local/etc/syslog-ng/syslog-ng.conf", backend=3D=
0x8062000)
>    at cfgfile.c:335
> #5  0x804a2dc in main (argc=3D1, argv=3D0xbfbffb9c) 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
> #
>
>
> --=20
> 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
>
>
---1463811583-553363046-1094724528=:210--