[Asterisk-Users] Realtime Problem = Segmentation faults

Jose R. Ortiz Ubarri cheo at hpcf.upr.edu
Thu Mar 17 13:54:43 MST 2005


Matthew:
    I did the cvs checkout asterisk today.  I think I have the latest 
version:
The trace is:
(gdb) backtrace
#0  0x007642b8 in strcasecmp () from /lib/tls/libc.so.6
#1  0xf6eb58c0 in build_peer (name=0x0, v=0x92a42d0, realtime=0) at 
chan_sip.c:9255
#2  0xf6eb67b0 in find_peer (peer=0x0, sin=0x929bf4c, realtime=1) at 
chan_sip.c:1222
#3  0xf6ebea77 in check_user_full (p=0x929bdf0, req=0xf6e9bb50, 
cmd=0xf6e9bd64 "SUBSCRIBE", uri=0xf6e9bd6e "sip:1002 at 136.145.54.70:5060",
    reliable=0, sin=0xf6e9bb40, ignore=0, mailbox=0xf6e920a0 "", 
mailboxlen=0) at chan_sip.c:5844
#4  0xf6ec3129 in handle_request (p=0x929bdf0, req=0xf6e9bb50, 
sin=0xf6e9bb40, recount=0x0, nounlock=0xf6e9b9c8) at chan_sip.c:8384
#5  0xf6ec5281 in sipsock_read (id=0x927cc50, fd=13, events=1, 
ignore=0x0) at chan_sip.c:8598
#6  0x0805378f in ast_io_wait (ioc=0x927cc10, howlong=0) at io.c:267
#7  0xf6ec89b2 in do_monitor (data=0x0) at chan_sip.c:8745
#8  0x008661d5 in start_thread () from /lib/tls/libpthread.so.0
#9  0x007c02da in clone () from /lib/tls/libc.so.6

Thanks,
JO



Matthew Boehm wrote:

>>#1  0xf6eb58c0 in build_peer (name=0x0, v=0x95fa370, realtime=0)
>>    at chan_sip.c:9255
>>#2  0xf6eb67b0 in find_peer (peer=0x0, sin=0x9642fd4, realtime=1)
>>    at chan_sip.c:1222
>>    
>>
>
>    I just updated to newest CVS and visited those line numbers above. 9255
>is "in" build_peer but find_peer is no where near 1222.
>
>    Update to newest CVS. Recompile and try again. If it crashes just send
>what you sent that last time. That was good.
>
>-Matthew
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>


-- 
Jose R. Ortiz Ubarri (CHEO), CS
System Administrator / Programmer
High Performance Computing facility - UPR
Email: Jose.Ortiz at hpcf.upr.edu|cheo at hpcf.upr.edu
Phone: 787-758-3054
Fax: 787-758-3058




More information about the asterisk-users mailing list