Summary: | ASTERISK-17105: call from autocreated peer forces coredump | ||
Reporter: | Peter Katzmann (pk16208) | Labels: | |
Date Opened: | 2010-12-14 07:33:38.000-0600 | Date Closed: | 2011-06-07 14:00:28 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | We have one autocreated user (autocreatepeer=yes in sip.conf), registration is ok. Call from this peer forces reproducible core dump. ****** ADDITIONAL INFORMATION ****** #0 0x0808ce52 in ast_cc_copy_config_params (dest=0xb1cef9e0, src=0x0) at ccss.c:710 710 *dest = *src; (gdb) backtrace #0 0x0808ce52 in ast_cc_copy_config_params (dest=0xb1cef9e0, src=0x0) at ccss.c:710 #1 0x06012681 in check_peer_ok (p=<value optimised out>, of=<value optimised out>, req=0xb19a6c38, sipmethod=5, addr=0xb19a7178, authpeer=0xb19a5d18, reliable=XMIT_RELIABLE, calleridname=0xb19a562a "5000", uri2=0xb19a54b0 "sip:1013@10.0.0.50") at chan_sip.c:14953 #2 0x06014c6b in check_user_full (p=<value optimised out>, req=<value optimised out>, sipmethod=5, uri=0xb173f5ab "sip:1013@10.0.0.50", reliable=XMIT_RELIABLE, addr=0xb19a7178, authpeer=0xb19a5d18) at chan_sip.c:15150 #3 0x06016b1a in handle_request_invite (p=<value optimised out>, req=<value optimised out>, debug=0, seqno=1, addr=0xb19a7178, recount=0xb19a6bec, e=0xb173f5ab "sip:1013@10.0.0.50", nounlock=0xb19a6be8) at chan_sip.c:21218 #4 0x06025aa4 in handle_incoming (p=<value optimised out>, req=<value optimised out>, addr=0xb19a7178, recount=0xb19a6bec, nounlock=0xb19a6be8) at chan_sip.c:23686 ASTERISK-1 0x060270d4 in handle_request_do (req=<value optimised out>, addr=<value optimised out>) at chan_sip.c:23991 ASTERISK-2 0x060284bc in sipsock_read (id=0xa481258, fd=31, events=1, ignore=0x0) at chan_sip.c:23889 ASTERISK-3 0x080f5a55 in ast_io_wait (ioc=0xa479c40, howlong=1000) at io.c:288 ASTERISK-4 0x0600801a in do_monitor (data=0x0) at chan_sip.c:24406 ASTERISK-5 0x08161777 in dummy_start (data=0xa481140) at utils.c:971 ASTERISK-6 0x009a896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 ASTERISK-7 0x00510a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Sip Trace <--- Transmitting (no NAT) to 10.0.0.150:49468 ---> SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.0.150:49468;branch=z9hG4bK-d87543-a340e30601145924-1--d87543-;received=10.0.0.150;rport=49468 From: "5000"<sip:5000@10.0.0.50>;tag=ea00f050 To: "5000"<sip:5000@10.0.0.50>;tag=as6d466d66 Call-ID: MDljYzI5ZTUxZDUxYjg2MWNlYWUxMGRjMjc1YTQ3Mzg. CSeq: 1 REGISTER Server: Test 1 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Expires: 3600 Contact: <sip:5000@10.0.0.150:49468;rinstance=3788dfb1e40efcda>;expires=3600 Date: Tue, 14 Dec 2010 14:36:35 GMT Content-Length: 0 <------------> Scheduling destruction of SIP dialog 'MDljYzI5ZTUxZDUxYjg2MWNlYWUxMGRjMjc1YTQ3Mzg.' in 32000 ms (Method: REGISTER) Really destroying SIP dialog 'MDhjMjM3NWRkOWE1NTZlZTBmYTJiNWRlN2Y3ODllYTM.' Method: REGISTER <--- SIP read from UDP:10.0.0.150:49468 ---> INVITE sip:1011@10.0.0.50 SIP/2.0 Via: SIP/2.0/UDP 10.0.0.150:49468;branch=z9hG4bK-d87543-a716e434e869f91c-1--d87543-;rport Max-Forwards: 70 Contact: <sip:5000@10.0.0.150:49468> To: "1011"<sip:1011@10.0.0.50> From: "5000"<sip:5000@10.0.0.50>;tag=9e470c0e Call-ID: NjI1ZTcwOTIzZTBlMzMwZjZjZGE5NWM2OGY3MTA2YTg. CSeq: 1 INVITE Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Content-Type: application/sdp User-Agent: eyeBeam release 1004p stamp 31962 Content-Length: 313 v=0 o=- 5 2 IN IP4 10.0.0.150 s=CounterPath eyeBeam 1.5 c=IN IP4 10.0.0.150 t=0 0 m=audio 53822 RTP/AVP 100 0 8 101 a=alt:1 1 : zNmICdnj MFGPkjRh 10.0.0.150 53822 a=fmtp:101 0-15 a=rtpmap:100 SPEEX/16000 a=rtpmap:101 telephone-event/8000 a=sendrecv a=x-rtp-session-id:3214991202784B8E90C18A0B6F7F09A7 <-------------> --- (12 headers 12 lines) --- asterisk-01*CLI> Disconnected from Asterisk server | ||
Comments: | By: Leif Madsen (lmadsen) 2010-12-16 10:45:14.000-0600 Your values are optimized out. Please enable DONT_OPTIMIZE in menuselect under Compiler Flags, recompile and install, then reproduce again. Please attach your backtrace information as a text file to this issue and not inline. More information available here: https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace By: Leif Madsen (lmadsen) 2011-01-19 09:31:52.000-0600 No response from reporter. |