I just installed and configured syslog-ng 1.4.3 on a Solaris 2.6 system. It cores out on startup. It apparently doesn't like part of my configuration. Debug output is: #> /opt/syslog-ng/sbin/syslog-ng -d -v binding fd 5, inetaddr: 0.0.0.0, port: 514 io.c: Preparing fd 5 for reading syslog-ng version 1.4.3 starting Segmentation Fault(coredump) My configuration is (Note below the comments regarding code which if removed allows it to live): source s_all { sun-streams("/dev/log" door("/etc/.syslog_door")); internal(); udp(); }; # Level Filters filter f_info { level(info .. emerg); }; filter f_warning { level(warning .. emerg); }; filter f_debug { level(debug .. emerg); }; filter f_crit { level(crit .. emerg); }; filter f_err { level(err .. emerg); }; filter f_emerg { level(emerg); }; # Facility Filters filter f_user { facility(user); }; filter f_mail { facility(mail); }; filter f_daemon { facility(daemon); }; filter f_auth { facility(auth); }; filter f_lpr { facility(lpr); }; filter f_news { facility(news); }; filter f_kern { facility(kern); }; filter f_uucp { facility(uucp); }; filter f_cron { facility(cron); }; filter f_local0 { facility(local0); }; filter f_local1 { facility(local1); }; filter f_local2 { facility(local2); }; filter f_local3 { facility(local3); }; filter f_local4 { facility(local4); }; filter f_local5 { facility(local5); }; filter f_local6 { facility(local6); }; filter f_local7 { facility(local7); }; # Complex Filters filter f_mailerror { filter (f_mail) and filter (f_err); }; filter f_axsyslog { filter (f_info) or filter(f_mailerror); }; ------ It would seem that the following filters used to build a summary syslog cause the problem. ------ filter f_errsanuser { filter (f_err) and not facility(user); }; filter f_kerndebug { filter (f_kern) and filter (f_debug); }; filter f_mailwarning { filter (f_mail) and filter (f_warning); }; filter f_summary { filter (f_errsanuser) or filter (f_kerndebug) or filter (f_daemon) or filter (f_mailwarning); }; destination d_all { file("/var/log/messages"); }; destination d_ttys { usertty("*"); }; destination d_console { file ("/dev/console"); }; destination d_kernfile { file ("/var/log/kern"); }; destination d_syslogfile { file ("/var/log/syslog"); }; destination d_userfile { file ("/var/log/user"); }; destination d_mailfile { file ("/var/log/mail"); }; destination d_mailcritfile { file ("/var/log/mail.crit"); }; destination d_mailwarnfile { file ("/var/log/mail.warning"); }; destination d_daemonfile { file ("/var/log/daemon"); }; destination d_daemonwarningfile { file ("/var/log/daemon.warning"); }; destination d_authfile { file ("/var/log/auth"); }; destination d_lprfile { file ("/var/log/lpr"); }; destination d_newsfile { file ("/var/log/news"); }; destination d_uucpfile { file ("/var/log/uucp"); }; destination d_cronfile { file ("/var/log/cron"); }; destination d_local0file { file ("/var/log/local0"); }; destination d_local1file { file ("/var/log/local1"); }; destination d_local2file { file ("/var/log/local2"); }; destination d_local3file { file ("/var/log/local3"); }; destination d_local4file { file ("/var/log/local4"); }; destination d_local5file { file ("/var/log/local5"); }; destination d_local6file { file ("/var/log/local6"); }; destination d_local7file { file ("/var/log/local7"); }; destination d_axentsyslog { file ("/axent/ita/system/falcon/syslog"); }; destination d_axentmail { file ("/axent/ita/system/falcon/syslog.mdbg"); }; log { source(s_all); filter (f_kern); filter (f_debug); destination (d_kernfile); }; log { source(s_all); filter (f_user); filter (f_debug); destination (d_userfile); }; log { source(s_all); filter (f_mail); filter (f_debug); destination (d_mailfile); }; log { source(s_all); filter (f_mail); filter (f_crit); destination (d_mailcritfile); }; log { source(s_all); filter (f_mail); filter (f_warning); destination (d_mailwarnfile); }; log { source(s_all); filter (f_daemon); filter (f_debug); destination (d_daemonfile); }; log { source(s_all); filter (f_daemon); filter (f_warning); destination (d_daemonwarningfile); }; log { source(s_all); filter (f_auth); filter (f_debug); destination (d_authfile); }; log { source(s_all); filter (f_lpr); filter (f_debug); destination (d_lprfile); }; log { source(s_all); filter (f_news); filter (f_debug); destination (d_newsfile); }; log { source(s_all); filter (f_uucp); filter (f_debug); destination (d_uucpfile); }; log { source(s_all); filter (f_cron); filter (f_debug); destination (d_cronfile); }; log { source(s_all); filter (f_local0); destination (d_local0file); }; log { source(s_all); filter (f_local1); filter (f_debug); destination (d_local1file); }; log { source(s_all); filter (f_local2); destination (d_local2file); }; log { source(s_all); filter (f_local3); destination (d_local3file); }; log { source(s_all); filter (f_local4); filter (f_debug); destination (d_local4file); }; log { source(s_all); filter (f_local5); filter (f_debug); destination (d_local5file); }; log { source(s_all); filter (f_local6); filter (f_debug); destination (d_local6file); }; log { source(s_all); filter (f_local7); filter (f_debug); destination (d_local7file); }; log { source(s_all); filter (f_axsyslog); destination (d_axentsyslog); }; log { source(s_all); filter (f_mail); filter (f_debug); destination (d_axentmail); }; log { source(s_all); filter (f_summary); destination (d_syslogfile); }; -- John C. Wingenbach Pliant Systems, Inc. Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
John Wingenbach wrote:
I just installed and configured syslog-ng 1.4.3 on a Solaris 2.6 system. It cores out on startup. It apparently doesn't like part of my configuration. Debug output is:
#> /opt/syslog-ng/sbin/syslog-ng -d -v binding fd 5, inetaddr: 0.0.0.0, port: 514 io.c: Preparing fd 5 for reading syslog-ng version 1.4.3 starting Segmentation Fault(coredump)
My configuration is (Note below the comments regarding code which if removed allows it to live):
Your patch kernel may be too low, I remember some similar probleme when starting syslog-ng for the first time. Pre 105181-15 core dump and 15-17 make system crash. I have no probleme since -19. S.R.
Well.. It was a good shot.. but. I updated the system to the latest recommended patch set. Now I have 105181-20 as well as 105181-15. Still getting nice core dump. :-( Un L'Unique wrote:
John Wingenbach wrote:
I just installed and configured syslog-ng 1.4.3 on a Solaris 2.6 system. It cores out on startup. It apparently doesn't like part of my configuration. Debug output is:
#> /opt/syslog-ng/sbin/syslog-ng -d -v binding fd 5, inetaddr: 0.0.0.0, port: 514 io.c: Preparing fd 5 for reading syslog-ng version 1.4.3 starting Segmentation Fault(coredump)
My configuration is (Note below the comments regarding code which if removed allows it to live):
Your patch kernel may be too low, I remember some similar probleme when starting syslog-ng for the first time. Pre 105181-15 core dump and 15-17 make system crash. I have no probleme since -19.
S.R.
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu http://lists.balabit.hu/mailman/listinfo/syslog-ng
-- John C. Wingenbach Pliant Systems, Inc. Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
On Tue, May 02, 2000 at 12:32:04PM -0400, John Wingenbach wrote:
Well.. It was a good shot.. but. I updated the system to the latest recommended patch set. Now I have 105181-20 as well as 105181-15. Still getting nice core dump. :-(
could you present a backtrace made using gdb, or something? gdb syslog-ng -c core and bt command -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
When I try to get the info, I get: falcon#> gdb /opt/syslog-ng/sbin/syslog-ng -c core GDB is free software and you are welcome to 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. GDB 4.16 (sparc-sun-solaris2.5.1), Copyright 1996 Free Software Foundation, Inc... "/opt/syslog-ng/core" is not a core dump: File format not recognized (gdb) bt No stack. (gdb) quit falcon#> file core core: ELF 32-bit MSB core file SPARC Version 1, from 'syslog-ng' Balazs Scheidler wrote:
On Tue, May 02, 2000 at 12:32:04PM -0400, John Wingenbach wrote:
Well.. It was a good shot.. but. I updated the system to the latest recommended patch set. Now I have 105181-20 as well as 105181-15. Still getting nice core dump. :-(
could you present a backtrace made using gdb, or something?
gdb syslog-ng -c core and bt command
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu http://lists.balabit.hu/mailman/listinfo/syslog-ng
-- John C. Wingenbach Pliant Systems, Inc. Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
falcon#> gdb /opt/syslog-ng/sbin/syslog-ng -c core GDB is free software and you are welcome to 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. GDB 4.16 (sparc-sun-solaris2.5.1), Copyright 1996 Free Software Foundation, Inc...
"/opt/syslog-ng/core" is not a core dump: File format not recognized (gdb) bt No stack. (gdb) quit falcon#> file core core: ELF 32-bit MSB core file SPARC Version 1, from 'syslog-ng'
This obviously doesn't help much. As it seems gdb is configured for solaris 2.5.1. What version of Solaris are you running? You could use adb to get a backtrace, but I don't know that too much. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
Duh.. sorry.. I built a new gdb for the system: falcon#> gdb /opt/syslog-ng/sbin/syslog-ng -c core 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"... Core was generated by `/opt/syslog-ng/sbin/syslog-ng'. Program terminated with signal 9, Killed. Reading symbols from /usr/lib/libpthread.so.1...done. Reading symbols from /usr/lib/libdoor.so.1...done. Reading symbols from /usr/lib/libsocket.so.1...done. Reading symbols from /usr/lib/libnsl.so.1...done. Reading symbols from /usr/lib/libxnet.so.1...done. Reading symbols from /usr/lib/libc.so.1...done. Reading symbols from /usr/lib/libdl.so.1...done. Reading symbols from /usr/lib/libmp.so.2...done. Reading symbols from /usr/lib/libthread.so.1...done. #0 0x22018 in ol_object_check () (gdb) bt #0 0x22018 in ol_object_check () Cannot access memory at address 0xef7ffd4c. (gdb) quit Balazs Scheidler wrote:
This obviously doesn't help much. As it seems gdb is configured for solaris 2.5.1. What version of Solaris are you running? You could use adb to get a backtrace, but I don't know that too much.
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu http://lists.balabit.hu/mailman/listinfo/syslog-ng
-- John C. Wingenbach Pliant Systems, Inc. Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
On Thu, May 04, 2000 at 01:47:45PM -0400, John Wingenbach wrote:
Duh.. sorry.. I built a new gdb for the system:
falcon#> gdb /opt/syslog-ng/sbin/syslog-ng -c core 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"... Core was generated by `/opt/syslog-ng/sbin/syslog-ng'. Program terminated with signal 9, Killed. Reading symbols from /usr/lib/libpthread.so.1...done. Reading symbols from /usr/lib/libdoor.so.1...done. Reading symbols from /usr/lib/libsocket.so.1...done. Reading symbols from /usr/lib/libnsl.so.1...done. Reading symbols from /usr/lib/libxnet.so.1...done. Reading symbols from /usr/lib/libc.so.1...done. Reading symbols from /usr/lib/libdl.so.1...done. Reading symbols from /usr/lib/libmp.so.2...done. Reading symbols from /usr/lib/libthread.so.1...done. #0 0x22018 in ol_object_check () (gdb) bt #0 0x22018 in ol_object_check () Cannot access memory at address 0xef7ffd4c. (gdb) quit
hmm... thanks, but this still doesn't help much. Try running syslog-ng withing gdb, and "bt" when it gets killed. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
Ok.. here it is: 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 Starting program: /opt/syslog-ng/sbin/syslog-ng [New LWP 2 ] [New LWP 3 ] [New LWP 4 ] Program received signal SIGTERM, Terminated. 0xef5f73bc in _libc_pause () (gdb) bt #0 0xef5f73bc in _libc_pause () #1 0xef595d80 in pause () #2 0x16a14 in main () (gdb) quit The program is running. Exit anyway? (y or n) y Balazs Scheidler wrote:
hmm... thanks, but this still doesn't help much. Try running syslog-ng withing gdb, and "bt" when it gets killed.
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu http://lists.balabit.hu/mailman/listinfo/syslog-ng
-- John C. Wingenbach Pliant Systems, Inc. Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
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 Starting program: /opt/syslog-ng/sbin/syslog-ng [New LWP 2 ] [New LWP 3 ] [New LWP 4 ]
Program received signal SIGTERM, Terminated. 0xef5f73bc in _libc_pause () (gdb) bt #0 0xef5f73bc in _libc_pause () #1 0xef595d80 in pause () #2 0x16a14 in main () (gdb) quit The program is running. Exit anyway? (y or n) y
thanks, but it's still not the one I need. try gdb syslog-ng -dv then wait until it crashes, and then bt. thanks in advance and thanks for your patience. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
Sorry.. I get a try --help when I enter the command. From the man pages, I can't see a -dv option. -- John Balazs Scheidler wrote:
thanks, but it's still not the one I need. try
gdb syslog-ng -dv
then wait until it crashes, and then bt.
thanks in advance and thanks for your patience.
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu http://lists.balabit.hu/mailman/listinfo/syslog-ng
-- John C. Wingenbach Pliant Systems, Inc. Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
On Wed, May 10, 2000 at 08:38:08AM -0400, John Wingenbach wrote:
Sorry.. I get a try --help when I enter the command. From the man pages, I can't see a -dv option.
thanks, but it's still not the one I need. try
gdb syslog-ng -dv
then wait until it crashes, and then bt.
thanks in advance and thanks for your patience.
ops, you are right... try this: gdb syslog-ng (gdb) r -dv and when it cores out (gdb) bt -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
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 Balazs Scheidler wrote:
ops, you are right... try this:
gdb syslog-ng (gdb) r -dv
and when it cores out (gdb) bt
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu http://lists.balabit.hu/mailman/listinfo/syslog-ng
-- John C. Wingenbach Pliant Systems, Inc. Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
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
One more try; ;-) 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. 0x1849c in do_filter_and (c=0x4a7b8, rule=0x4a7e8, log=0x4651c) at filters.c:64 64 CAST(filter_expr_op, self, c); (gdb) bt #0 0x1849c in do_filter_and (c=0x4a7b8, rule=0x4a7e8, log=0x4651c) at filters.c:64 Cannot access memory at address 0xef7fff8c. Balazs Scheidler wrote:
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
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu http://lists.balabit.hu/mailman/listinfo/syslog-ng
-- John C. Wingenbach Pliant Systems, Inc. Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
I have upgraded the syslog-ng to V1.4.4 and am still seeing syslog-ng croak: 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.4 starting Program received signal SIGSEGV, Segmentation fault. 0x2b778 in ol_object_check (class=Cannot access memory at address 0xef7ffff4. ) at xalloc.c:241 xalloc.c:241: No such file or directory. (gdb) bt #0 0x2b778 in ol_object_check (class=Cannot access memory at address 0xef7ffff4. ) at xalloc.c:241 Cannot access memory at address 0xef7fff7c. -- John C. Wingenbach Pliant Systems, Inc. Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
On Fri, Jun 02, 2000 at 10:52:37AM -0400, John Wingenbach wrote:
I have upgraded the syslog-ng to V1.4.4 and am still seeing syslog-ng croak:
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.4 starting
Program received signal SIGSEGV, Segmentation fault. 0x2b778 in ol_object_check (class=Cannot access memory at address 0xef7ffff4. ) at xalloc.c:241 xalloc.c:241: No such file or directory. (gdb) bt #0 0x2b778 in ol_object_check (class=Cannot access memory at address 0xef7ffff4. ) at xalloc.c:241 Cannot access memory at address 0xef7fff7c.
a real backtrace would be helpful. I mean compile both libol and syslog-ng with the --with-debug configure option, recompile, reproduce the problem and send me a backtrace. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
I am a bit confused. I have twice now rebuilt both syslog-ng and libol with the --with-debug. I don't get any more debug info. I even this last time completely wiped out the build directories, reunpacked and specified --with-libol to its new area as well to force it to build against it. Still no more info. Balazs Scheidler wrote:
a real backtrace would be helpful. I mean compile both libol and syslog-ng with the --with-debug configure option, recompile, reproduce the problem and send me a backtrace.
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu http://lists.balabit.hu/mailman/listinfo/syslog-ng
-- John C. Wingenbach Pliant Systems, Inc. Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
On Wed, Jun 07, 2000 at 11:33:59AM -0400, John Wingenbach wrote:
I am a bit confused. I have twice now rebuilt both syslog-ng and libol with the --with-debug. I don't get any more debug info. I even this last time completely wiped out the build directories, reunpacked and specified --with-libol to its new area as well to force it to build against it. Still no more info.
hmm... maybe running it inside gdb would help: gdb syslog-ng r -dv bt (when it cores out) -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
Sorry.. that is what I do. See previous messages with the output. Balazs Scheidler wrote:
On Wed, Jun 07, 2000 at 11:33:59AM -0400, John Wingenbach wrote:
I am a bit confused. I have twice now rebuilt both syslog-ng and libol with the --with-debug. I don't get any more debug info. I even this last time completely wiped out the build directories, reunpacked and specified --with-libol to its new area as well to force it to build against it. Still no more info.
hmm... maybe running it inside gdb would help:
gdb syslog-ng r -dv bt (when it cores out)
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu http://lists.balabit.hu/mailman/listinfo/syslog-ng
-- John C. Wingenbach Pliant Systems, Inc. Sr. Systems Administrator Work: (919) 405-4627 Fax: (919) 405-4544
participants (4)
-
Balazs Scheidler
-
John Wingenbach
-
John Wingenbach
-
Un L'Unique