[asterisk-users] Segmentation fault asterisk realtime problem

flavio flavio.patria at gmail.com
Wed Oct 11 09:23:53 MST 2006


Hi to all,
I've a segmentation fault while using asterisk relatime conf with mysql db.

I've cretate sip_buddies and extensions tables into db and edit
res_mysql.conf, extconf.conf without any issues.
So when I start asterisk and my phone try to register using sip user
configured in my db, asterisk stops with Segmentation fault error.

Follow post gdb backtrace

0 0x400337c0 in pthread_setcanceltype () from /lib/libpthread.so.0
#21 0x0805d8de in ast_load_realtime (family=0x666d7464 <Address
0x666d7464 out of bounds>) at config.c:994
#22 0x4047cdad in realtime_peer (peername=0xbe7f8891 "101", sin=0x730)
at chan_sip.c:1696
#23 0x4046cf67 in find_peer (peer=0xbe7f8891 "101", sin=0x0,
realtime=1) at chan_sip.c:1776
#24 0x40485dfd in register_verify (p=0x81944d8, sin=0xbe7fe79c,
req=0xbe7fe7ac, uri=0xbe7fe9cd "sip:192.168.1.2", ignore=1718449252)
at chan_sip.c:6514
#25 0x404839b7 in handle_request (p=0x81944d8, req=0xbe7fe7ac,
sin=0xbe7fe79c, recount=0x666d7464, nounlock=0x666d7464) at
chan_sip.c:11083
#26 0x4048150d in sipsock_read (id=0x813ed80, fd=15, events=1,
ignore=0x0) at chan_sip.c:11377
#27 0x080558dd in ast_io_wait (ioc=0x8162320, howlong=1718449252) at io.c:284
#28 0x404776a9 in do_monitor (data=0x0) at chan_sip.c:11536
#29 0x40034cc4 in pthread_detach () from /lib/libpthread.so.0
#30 0x40201037 in clone () from /lib/libc.so.6

any suggestion about?

Thanks 4 all,
-- 
********************************
* (o<     ing. Patria Flavio
* //\      phone 0823451358
* V_/_  mobile 3407873357
*
********************************


More information about the asterisk-users mailing list