[syslog-ng]Core Dump issue on FreeBSD 4.10-STABLE

Mike Williams syslog-ng@lists.balabit.hu
Fri, 17 Sep 2004 11:41:44 -0700 (PDT)


--- Balazs Scheidler <bazsi@balabit.hu> wrote:
> I find your backtrace strange, it seems to indicate, that:
> 
> 1) you seem to have an unknown priority code in your configuration
> 2) while printing this fact it segfaults
> 
> could you enter the following commands to gdb, once you loaded the core
> file:
> 
> (gdb) frame 3
> (gdb) p yyvsp[0].cptr
> 
> And, please enable debug information for libol as well (e.g. pass the -g
> argument in CFLAGS to the libol configure script as well)

root@loghost# gdb -c syslog-ng.core /usr/local/sbin/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

Core was generated by `syslog-ng'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x80580b7 in c_vformat_length (f=0x805fc46 "S\n", args=0x805cb40 "p:dvhyVC:u:g:") at
format.c:161
161			length += s ? s->length : 6;
(gdb) bt
#0  0x80580b7 in c_vformat_length (f=0x805fc46 "S\n", args=0x805cb40 "p:dvhyVC:u:g:") at
format.c:161
#1  0x805af1d in msg_vformat (level=3, f=0x805fc20 "Changing permissions on special file %S\n",
args=0xbfbff82c "@q\006\b\004") at werror.c:132
#2  0x805afdb in werror (format=0x805fc20 "Changing permissions on special file %S\n") at
werror.c:152
#3  0x8052038 in do_open_file (name=0x8067140, flags=32772, uid=-1, gid=-1, mode=-1, dir_uid=-1,
dir_gid=-1, dir_mode=-1, create_dirs=0, fd=0xbfbff8f8)
    at affile.c:101
#4  0x8052278 in do_init_affile_source (c=0x8068100, cfg=0x8069000, persistent=0x0) at
affile.c:159
#5  0x804b2eb in do_init_group (c=0x8074100, cfg=0x8069000, persistent=0x0) at sources.c:303
#6  0x804d84f in do_init_config (self=0x8069000, p=0x0) at cfgfile.c:232
#7  0x804a6db in main (argc=1, argv=0xbfbffae8) at main.c:491
(gdb) frame 3
#3  0x8052038 in do_open_file (name=0x8067140, flags=32772, uid=-1, gid=-1, mode=-1, dir_uid=-1,
dir_gid=-1, dir_mode=-1, create_dirs=0, fd=0xbfbff8f8)
    at affile.c:101
101			werror("Changing permissions on special file %S\n", name);
(gdb) p yyvsp[0].cptr
No symbol "yyvsp" in current context.
(gdb) quit

It appears I may have done something wrong.  Can you help?

-Mike


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail