[Home]

Summary:ASTERISK-14155: Errors on manager.c when DEBUG_THREADS is enabled
Reporter:Cristian Dimache (cristiandimache)Labels:
Date Opened:2009-05-18 00:46:52Date Closed:2009-05-18 08:14:08
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Trying to get more info on 15143 I've compiled Asterisk with DEBUG_THREADS and saw the attached errors generated by the Manager Interface.

We have a custom app that uses getvar quite often, but everything seems to work ok.

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

May 18 08:19:18 voip0 asterisk[16791]: ERROR[16837]: /home/cristian.dimache/compile/29042009/asterisk-1.6.1.0/include/asterisk/lock.:698 in __ast_pthread_mutex_unlock: manager.c line 1858 (action_getvar): mutex '(channel lock)' freed more times than we've locked!                                                                                                                                                                                                                
May 18 08:19:18 voip0 asterisk[16791]: ERROR[16837]: /home/cristian.dimache/compile/29042009/asterisk-1.6.1.0/include/asterisk/lock.:726 in __ast_pthread_mutex_unlock: manager.c line 1858 (action_getvar): Error releasing mutex: Invalid argument                                                                                                                      
Comments:By: Digium Subversion (svnbot) 2009-05-18 07:57:47

Repository: asterisk
Revision: 195020

U   branches/1.4/main/manager.c

------------------------------------------------------------------------
r195020 | russell | 2009-05-18 07:57:47 -0500 (Mon, 18 May 2009) | 5 lines

Don't try to unlock a bogus channel.

(closes issue ASTERISK-14155)
Reported by: cristiandimache

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

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

By: Digium Subversion (svnbot) 2009-05-18 07:59:11

Repository: asterisk
Revision: 195021

_U  trunk/

------------------------------------------------------------------------
r195021 | russell | 2009-05-18 07:59:11 -0500 (Mon, 18 May 2009) | 12 lines

Recorded merge of revisions 195020 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
 r195020 | russell | 2009-05-18 07:57:46 -0500 (Mon, 18 May 2009) | 5 lines
 
 Don't try to unlock a bogus channel.
 
 (closes issue ASTERISK-14155)
 Reported by: cristiandimache
........

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

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

By: Digium Subversion (svnbot) 2009-05-18 08:01:17

Repository: asterisk
Revision: 195022

_U  branches/1.6.0/
U   branches/1.6.0/main/manager.c

------------------------------------------------------------------------
r195022 | russell | 2009-05-18 08:01:16 -0500 (Mon, 18 May 2009) | 19 lines

Merged revisions 195021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r195021 | russell | 2009-05-18 07:59:11 -0500 (Mon, 18 May 2009) | 12 lines
 
 Recorded merge of revisions 195020 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r195020 | russell | 2009-05-18 07:57:46 -0500 (Mon, 18 May 2009) | 5 lines
   
   Don't try to unlock a bogus channel.
   
   (closes issue ASTERISK-14155)
   Reported by: cristiandimache
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-05-18 08:07:24

Repository: asterisk
Revision: 195023

_U  branches/1.6.1/
U   branches/1.6.1/main/manager.c

------------------------------------------------------------------------
r195023 | russell | 2009-05-18 08:07:24 -0500 (Mon, 18 May 2009) | 19 lines

Merged revisions 195021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r195021 | russell | 2009-05-18 07:59:11 -0500 (Mon, 18 May 2009) | 12 lines
 
 Recorded merge of revisions 195020 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r195020 | russell | 2009-05-18 07:57:46 -0500 (Mon, 18 May 2009) | 5 lines
   
   Don't try to unlock a bogus channel.
   
   (closes issue ASTERISK-14155)
   Reported by: cristiandimache
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-05-18 08:14:07

Repository: asterisk
Revision: 195024

_U  branches/1.6.2/
U   branches/1.6.2/main/manager.c

------------------------------------------------------------------------
r195024 | russell | 2009-05-18 08:14:07 -0500 (Mon, 18 May 2009) | 19 lines

Merged revisions 195021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r195021 | russell | 2009-05-18 07:59:11 -0500 (Mon, 18 May 2009) | 12 lines
 
 Recorded merge of revisions 195020 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r195020 | russell | 2009-05-18 07:57:46 -0500 (Mon, 18 May 2009) | 5 lines
   
   Don't try to unlock a bogus channel.
   
   (closes issue ASTERISK-14155)
   Reported by: cristiandimache
 ........
................

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

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