[Home]

Summary:ASTERISK-10931: Calls barf and could crash on onelegged transfer
Reporter:Gregory Hinton Nietsky (irroot)Labels:
Date Opened:2007-11-29 13:56:32.000-0600Date Closed:2007-11-30 08:42:59.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Transfers
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_sip_oneleg.patch
Description:[Nov 29 17:04:51] ERROR[19481] /mnt/x86_64/usr/src/voip/asterisk-1.4.11/include/asterisk/lock.h: channel.c line 4907 (ast_channel_unlock): mutex '&chan->lock'
freed more times than we've locked!
[Nov 29 17:04:51] ERROR[19481] /mnt/x86_64/usr/src/voip/asterisk-1.4.11/include/asterisk/lock.h: channel.c line 4907 (ast_channel_unlock): Error releasing mut
ex: Operation not permitted
[Nov 29 17:04:51] NOTICE[19481] cdr.c: CDR on channel 'SIP/0171-082a16d8' not posted
[Nov 29 17:04:51] ERROR[19481] /mnt/x86_64/usr/src/voip/asterisk-1.4.11/include/asterisk/lock.h: channel.c line 4907 (ast_channel_unlock): mutex '&chan->lock'
freed more times than we've locked!
[Nov 29 17:04:51] ERROR[19481] /mnt/x86_64/usr/src/voip/asterisk-1.4.11/include/asterisk/lock.h: channel.c line 4907 (ast_channel_unlock): Error releasing mut
ex: Operation not permitted
[Nov 29 17:04:51] ERROR[19481] /mnt/x86_64/usr/src/voip/asterisk-1.4.11/include/asterisk/lock.h: chan_sip.c line 15283 (sipsock_read): mutex '&p->lock' freed
more times than we've locked!
[Nov 29 17:04:51] ERROR[19481] /mnt/x86_64/usr/src/voip/asterisk-1.4.11/include/asterisk/lock.h: chan_sip.c line 15283 (sipsock_read): Error releasing mutex:
Operation not permitted
Comments:By: Gregory Hinton Nietsky (irroot) 2007-11-29 13:58:48.000-0600

the best part and most ironic about this bug is that it affects onelegged calls and was fixed by me with one leg ....

any way it wont affect many users but it can be a nasty ...

By: Gregory Hinton Nietsky (irroot) 2007-11-30 05:59:46.000-0600

could be related to ASTERISK-10805

By: Digium Subversion (svnbot) 2007-11-30 08:41:23.000-0600

Repository: asterisk
Revision: 90269

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r90269 | file | 2007-11-30 08:41:22 -0600 (Fri, 30 Nov 2007) | 6 lines

Fix locking issues under one legged replaces scenarios.
(closes issue ASTERISK-10931)
Reported by: irroot
Patches:
     chan_sip_oneleg.patch uploaded by irroot (license 52)

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

By: Digium Subversion (svnbot) 2007-11-30 08:42:59.000-0600

Repository: asterisk
Revision: 90270

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r90270 | file | 2007-11-30 08:42:59 -0600 (Fri, 30 Nov 2007) | 14 lines

Merged revisions 90269 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r90269 | file | 2007-11-30 10:43:15 -0400 (Fri, 30 Nov 2007) | 6 lines

Fix locking issues under one legged replaces scenarios.
(closes issue ASTERISK-10931)
Reported by: irroot
Patches:
     chan_sip_oneleg.patch uploaded by irroot (license 52)

........

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