[Serdev] Core dump with bsd if location table not empty
Barry Murphy
barry at unix.co.nz
Tue Mar 15 08:33:01 UTC 2005
Hi,
Running FBSD 4.10, ser starts as it should (showing from debug on)
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) fixing /usr/local/lib/ser/modules/group.so is_user_in
0(0) fixing /usr/local/lib/ser/modules/rr.so record_route
0(0) fixing /usr/local/lib/ser/modules/rr.so loose_route
0(0) fixing /usr/local/lib/ser/modules/tm.so t_relay
0(0) fixing /usr/local/lib/ser/modules/auth_db.so www_authorize
0(0) fixing /usr/local/lib/ser/modules/auth.so www_challenge
0(0) fixing /usr/local/lib/ser/modules/registrar.so save
0(0) query="select
username,contact,expires,q,callid,cseq,replicate,state,flags,user_agent from
location "
However unless I login to the database and actualy empty (1-5 records) the
location table, it wont start, it core dumps:
Mar 15 21:26:04 max /kernel: pid 20999 (ser), uid 0: exited on signal 11
(core dumped)
Mar 15 21:26:04 max /kernel: Mar 15 21:26:04 max /kernel: pid 20999 (ser),
uid 0: exited on signal 11 (core dumped)
root at max:/usr/local/etc/ser# gdb ser /tmp/ser.core
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 `ser'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/local/lib/ser/modules/mysql.so...done.
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.10...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/local/lib/ser/modules/sl.so...done.
Reading symbols from /usr/local/lib/ser/modules/tm.so...done.
Reading symbols from /usr/local/lib/ser/modules/rr.so...done.
Reading symbols from /usr/local/lib/ser/modules/maxfwd.so...done.
Reading symbols from /usr/local/lib/ser/modules/usrloc.so...done.
Reading symbols from /usr/local/lib/ser/modules/registrar.so...done.
Reading symbols from /usr/local/lib/ser/modules/acc.so...done.
Reading symbols from /usr/local/lib/ser/modules/group.so...done.
Reading symbols from /usr/local/lib/ser/modules/auth.so...done.
Reading symbols from /usr/local/lib/ser/modules/auth_db.so...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0 0x2a247da4 in preload_udomain (_d=0x282f6f28) at udomain.c:291
291 ua.len = strlen(ua.s);
(gdb) backtrace
#0 0x2a247da4 in preload_udomain (_d=0x282f6f28) at udomain.c:291
#1 0x2a244809 in register_udomain (_n=0x80dade0 "ocation", _d=0xbfbff88c)
at dlist.c:219
#2 0x2a256374 in domain_fixup (param=0x80dae0c, param_no=1) at
reg_mod.c:171
#3 0x8070273 in fix_actions (a=0x80dada8) at route.c:231
#4 0x80701af in fix_actions (a=0x80dae48) at route.c:218
#5 0x80701af in fix_actions (a=0x80da640) at route.c:218
#6 0x80748d0 in fix_rls () at route.c:651
#7 0x805bdac in main (argc=3, argv=0xbfbffb68) at main.c:1776
(gdb) print ua
$1 = {s = 0x0, len = 672125302}
More information about the Serdev
mailing list