[Home]

Summary:ASTERISK-16007: module unload res_smdi.so errors
Reporter:Paul Belanger (pabelanger)Labels:
Date Opened:2010-04-23 13:38:58Date Closed:2010-06-08 07:41:06
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Resources/res_smdi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:trivial bug

*CLI> module unload res_smdi.so
[Apr 23 14:02:16] ERROR[3307]: lock.c:267 __ast_pthread_mutex_lock: res_smdi.c line 1425 (unload_module): Error obtaining mutex: Invalid argument
[Apr 23 14:02:16] ERROR[3307]: lock.c:383 __ast_pthread_mutex_unlock: res_smdi.c line 1425 (unload_module): mutex '&(&smdi_ifaces)->_lock' freed more times than we've locked!
[Apr 23 14:02:16] ERROR[3307]: lock.c:415 __ast_pthread_mutex_unlock: res_smdi.c line 1425 (unload_module): Error releasing mutex: Invalid argument
[Apr 23 14:02:16] ERROR[3307]: lock.c:107 __ast_pthread_mutex_destroy: res_smdi.c line 1426 (unload_module): Error: attempt to destroy invalid mutex '&(&smdi_ifaces)->_lock'.

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

1. Download, compile, install and samples.
2. Start Asterisk.
3. module unload res_smdi.so
Comments:By: Digium Subversion (svnbot) 2010-06-08 07:37:56

Repository: asterisk
Revision: 268653

U   trunk/res/res_smdi.c

------------------------------------------------------------------------
r268653 | tilghman | 2010-06-07 12:14:40 -0500 (Mon, 07 Jun 2010) | 5 lines

Avoid unloading res_smdi twice.

(closes issue ASTERISK-16007)
Reported by: pabelanger

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

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

By: Digium Subversion (svnbot) 2010-06-08 07:41:06

Repository: asterisk
Revision: 268732

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

------------------------------------------------------------------------
r268732 | tilghman | 2010-06-07 14:00:37 -0500 (Mon, 07 Jun 2010) | 18 lines

Merged revisions 268653,268731 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r268653 | tilghman | 2010-06-07 12:14:40 -0500 (Mon, 07 Jun 2010) | 2 lines
 
 Avoid unloading res_smdi twice.

 (closes issue ASTERISK-16007)
 Reported by: pabelanger
........
 r268731 | tilghman | 2010-06-07 13:59:27 -0500 (Mon, 07 Jun 2010) | 4 lines
 
 Event well was going dry.
 
 (issue ASTERISK-16005)
........

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

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