[Home]

Summary:ASTERISK-03593: Seg fault when connecting to Asterisk console
Reporter:muppetmaster (muppetmaster)Labels:
Date Opened:2005-02-26 10:10:09.000-0600Date Closed:2008-01-15 15:26:25.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I just upated based on the latest CVS head and now get a core dump every time I try to connect to the console of a running instance of Asterisk.

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

(gdb) bt
#0  ast_rtp_destroy (rtp=0x0) at rtp.c:1026
#1  0x40f70f1a in handle_request (p=Variable "p" is not available.
) at chan_sip.c:8426
#2  0x40f7295c in sipsock_read (id=0x814d790, fd=12, events=1, ignore=0x0)
   at chan_sip.c:8524
#3  0x0805379c in ast_io_wait (ioc=0x81496d8, howlong=135885248) at io.c:267
#4  0x40f5f4d5 in do_monitor (data=0x0) at chan_sip.c:8671
ASTERISK-1  0x400269dd in start_thread () from /lib/tls/libpthread.so.0
ASTERISK-2  0x40192ffa in clone () from /lib/tls/libc.so.6
(gdb) bt full
#0  ast_rtp_destroy (rtp=0x0) at rtp.c:1026
No locals.
#1  0x40f70f1a in handle_request (p=Variable "p" is not available.
) at chan_sip.c:8426
       nobye = Variable "nobye" is not available.
(gdb)
Comments:By: muppetmaster (muppetmaster) 2005-02-26 10:12:58.000-0600

Also appears to occur when I attempt to connect a SIP client to the latest Asterisk head.

By: Mark Spencer (markster) 2005-02-26 10:32:27.000-0600

Fixed in CVS head. Sorry about that.

By: Digium Subversion (svnbot) 2008-01-15 15:26:13.000-0600

Repository: asterisk
Revision: 5088

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r5088 | markster | 2008-01-15 15:26:13 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix small but big typo in REGISTER/SUBSCRIBE early RTP closing (bug ASTERISK-3593)

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

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

By: Digium Subversion (svnbot) 2008-01-15 15:26:25.000-0600

Repository: asterisk
Revision: 5101

U   branches/v1-0/CHANGES
U   branches/v1-0/channels/chan_sip.c

------------------------------------------------------------------------
r5101 | russell | 2008-01-15 15:26:24 -0600 (Tue, 15 Jan 2008) | 2 lines

release RTP ports early on SUBSCRIBE (bug ASTERISK-3575 / ASTERISK-3593)

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

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