[Home]

Summary:ASTERISK-01034: Asterisk crash when call initiated from X-Pro (SIP) to cisco 7940(SIP) and conference bridge with 7910 (skinny) used
Reporter:alex4152 (alex4152)Labels:
Date Opened:2004-02-16 10:00:56.000-0600Date Closed:2011-06-07 14:00:23
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:1) I call from X-PRO to cisco 7940 (SIP) - ok
2) on 7940 (sip) I press conference mode button an calling to cisco 7910 (skinny) when i press dial asterisk immediatelly crash. Details specified below.


****** ADDITIONAL INFORMATION ******

---------------------------
....
Recieved Stimulus: Line(1)
   -- Starting simple switch on '1555@cisco7910'
Urgent handler
Collected digit: [1]
   -- Asked to indicate 'Stop tone' condition on channel Skinny/1555@cisco7910-2
Urgent handler
Collected digit: [6]
   -- Asked to indicate 'Stop tone' condition on channel Skinny/1555@cisco7910-2
Urgent handler
Collected digit: [6]
   -- Asked to indicate 'Stop tone' condition on channel Skinny/1555@cisco7910-2
Urgent handler
Collected digit: [6]
Urgent handler
   -- Called mess
   -- Asked to indicate 'Remote end is ringing' condition on channel Skinny/1555@cisco7910-2
Urgent handler
   -- SIP/mess-2bf8 is ringing
   -- Asked to indicate 'Remote end is ringing' condition on channel Skinny/1555@cisco7910-2
Urgent handler
   -- Started music on hold, class 'default', on SIP/1444-3298
   -- SIP/mess-2bf8 answered Skinny/1555@cisco7910-2
   -- Asked to indicate 'Stop tone' condition on channel Skinny/1555@cisco7910-2
skinny_answer(Skinny/1555@cisco7910-2) on 1555@cisco7910-2
Urgent handler
Recieved Open Recieve Channel Ack
us port: 13052
sin port: 20472
Skinny 1555@cisco7910 went on hook
skinny_hangup(Skinny/1555@cisco7910-2) on 1555@cisco7910
Urgent handler
   -- Started music on hold, class 'default', on SIP/mess-2e68
Urgent handler
Found device: cisco7910
   -- skinny_request(1555@cisco7910)
   -- Skinny cw: -1, dnd: 0, so: 0, sno: 0
   -- skinny_call(Skinny/1555@cisco7910-2)
   -- Called 1555@cisco7910
Urgent handler
Urgent handler
skinny_hangup(Skinny/1555@cisco7910-2) on 1555@cisco7910
Urgent handler
   -- Playing 'voicemail/default/1555/unavail' (language 'en')
Urgent handler
Recieved Open Recieve Channel Ack
Ouch ... error while writing audio data: : Broken pipe
Segmentation fault (core dumped)
Ouch ... error while writing audio data: : Broken pipe
Ouch ... error while writing audio data: : Broken pipe
-----------------------------------------------------

Reading symbols from /usr/lib/asterisk/modules/app_setcdruserfield.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_setcdruserfield.so
Reading symbols from /usr/lib/asterisk/modules/app_random.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_random.so
Reading symbols from /usr/lib/asterisk/modules/app_zapscan.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_zapscan.so
#0  0x0807bfed in ast_rtp_set_peer (rtp=0x0, them=0xb0554a00) at rtp.c:774
774             rtp->them.sin_port = them->sin_port;

----------------------------------------------------
(gdb) bt full
#0  0x0807bfed in ast_rtp_set_peer (rtp=0x0, them=0xb0554a00) at rtp.c:774
No locals.
#1  0x0074e90b in handle_message (req=0x8205730, s=0x8259f30) at chan_skinny.c:2202
       c = (struct ast_channel *) 0x8224d28
       f = {frametype = 0, subclass = 0, datalen = 0, samples = 0, mallocd = 0, offset = 0, src = 0x0, data = 0x0, prev = 0x0, next = 0x0}
       sin = {sin_family = 2, sin_port = 8287, sin_addr = {s_addr = 371290580}, sin_zero = "\001\000\000\000(JU°"}
       us = {sin_family = 22312, sin_port = 2080, sin_addr = {s_addr = 8}, sin_zero = "õ\003\000\000\000\023³"}
       lines = (struct skinny_line *) 0x8224d28
       name = "H\023³\000\000\023³\000\000\023³\000p\006\000"
       d = 0 '\0'
       digit = -1336587776
       lineNumber = -1336587776
       stimulus = 8287
       stimulusInstance = -1336587776
       port = 0
       i = 0
       timer = 11736320
       cmtime = (struct tm *) 0x0
       t = 2147614727
       sub = (struct skinny_subchannel *) 0xb0554a00
       sub = (struct skinny_subchannel *) 0x0
       sub = (struct skinny_subchannel *) 0x8224d28
#2  0x0074c98c in skinny_session (data=0x8259f30) at chan_skinny.c:2327
       res = 0
       req = (skinny_req *) 0x0
#3  0x00b7679c in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#4  0x00ad627a in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb)
------
Comments:By: jerjer (jerjer) 2004-03-04 01:56:46.000-0600

trapped seg in cvs, prolly isnt going to fix the problem

By: Digium Subversion (svnbot) 2008-01-15 14:45:46.000-0600

Repository: asterisk
Revision: 2329

U   trunk/channels/chan_skinny.c

------------------------------------------------------------------------
r2329 | jeremy | 2008-01-15 14:45:45 -0600 (Tue, 15 Jan 2008) | 2 lines

check to see if sub->rtp is allocated. Bug ASTERISK-1034

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=2329