[syslog-ng] Syslog-ng Dies - core dump

Balazs Scheidler bazsi@balabit.hu
Fri, 12 May 2000 11:18:51 +0200


On Thu, May 11, 2000 at 09:26:38AM -0400, John Wingenbach wrote:
> Ok.. Here is the output of that. ;-)
> 
> falcon#> gdb /opt/syslog-ng/sbin/syslog-ng
> GNU gdb 4.17
> 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 "sparc-sun-solaris2.6"...
> (gdb) r -dv
> Starting program: /opt/syslog-ng/sbin/syslog-ng -dv
> [New LWP    2        ]
> [New LWP    3        ]
> [New LWP    4        ]
> binding fd 8, inetaddr: 0.0.0.0, port: 514
> io.c: Preparing fd 8 for reading
> syslog-ng version 1.4.3 starting
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x22018 in ol_object_check ()
> (gdb) bt
> #0  0x22018 in ol_object_check ()
> Cannot access memory at address 0xef7ffd8c.
> (gdb) quit
> The program is running.  Exit anyway? (y or n) y

Now the commands are right, but I need some debug info enabled during
compilation.

./configure --with-debug

and recompile.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
     url: http://www.balabit.hu/pgpkey.txt