[asterisk-bugs] [JIRA] (ASTERISK-18317) Locking problems with unloading/loading chan_dahdi

Shaun Ruffell (JIRA) noreply at issues.asterisk.org
Fri Apr 11 11:31:18 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-18317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaun Ruffell closed ASTERISK-18317.
------------------------------------

                  Resolution: Fixed
    Target Release Version/s: 1.8.18.0

Release in 1.8.18.0

> Locking problems with unloading/loading chan_dahdi
> --------------------------------------------------
>
>                 Key: ASTERISK-18317
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18317
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_dahdi
>    Affects Versions: 1.8.5.0
>            Reporter: Mark Murawski
>            Assignee: Mark Murawski
>      Target Release: 1.8.18.0
>
>
> demo3*CLI> module load chan_dahdi.so
> Loaded chan_dahdi.so
>   == Registered application 'DAHDISendKeypadFacility'
>   == Registered application 'DAHDISendCallreroutingFacility'
>   == Parsing '/etc/asterisk/chan_dahdi.conf':   == Found
>     -- Registered channel 1, ISDN PRI signalling
>     -- Registered channel 2, ISDN PRI signalling
>     -- Registered channel 3, ISDN PRI signalling
>     -- Registered channel 4, ISDN PRI signalling
>     -- Registered channel 5, ISDN PRI signalling
>     -- Registered channel 6, ISDN PRI signalling
>     -- Registered channel 7, ISDN PRI signalling
>     -- Registered channel 8, ISDN PRI signalling
>     -- Registered channel 9, ISDN PRI signalling
>     -- Registered channel 10, ISDN PRI signalling
>     -- Registered channel 11, ISDN PRI signalling
>     -- Registered channel 12, ISDN PRI signalling
>     -- Registered channel 13, ISDN PRI signalling
>     -- Registered channel 14, ISDN PRI signalling
>     -- Registered channel 15, ISDN PRI signalling
>     -- Registered channel 16, ISDN PRI signalling
>     -- Registered channel 17, ISDN PRI signalling
>     -- Registered channel 18, ISDN PRI signalling
>     -- Registered channel 19, ISDN PRI signalling
>     -- Registered channel 20, ISDN PRI signalling
>     -- Registered channel 21, ISDN PRI signalling
>     -- Registered channel 22, ISDN PRI signalling
>     -- Registered channel 23, ISDN PRI signalling
>     -- Registered channel 25, ISDN PRI signalling
>     -- Registered channel 26, ISDN PRI signalling
>     -- Registered channel 27, ISDN PRI signalling
>     -- Registered channel 28, ISDN PRI signalling
>     -- Registered channel 29, ISDN PRI signalling
>     -- Registered channel 30, ISDN PRI signalling
>     -- Registered channel 31, ISDN PRI signalling
>     -- Registered channel 32, ISDN PRI signalling
>     -- Registered channel 33, ISDN PRI signalling
>     -- Registered channel 34, ISDN PRI signalling
>     -- Registered channel 35, ISDN PRI signalling
>     -- Registered channel 36, ISDN PRI signalling
>     -- Registered channel 37, ISDN PRI signalling
>     -- Registered channel 38, ISDN PRI signalling
>     -- Registered channel 39, ISDN PRI signalling
>     -- Registered channel 40, ISDN PRI signalling
>     -- Registered channel 41, ISDN PRI signalling
>     -- Registered channel 42, ISDN PRI signalling
>     -- Registered channel 43, ISDN PRI signalling
>     -- Registered channel 44, ISDN PRI signalling
>     -- Registered channel 45, ISDN PRI signalling
>     -- Registered channel 46, ISDN PRI signalling
>     -- Registered channel 47, ISDN PRI signalling
>     -- Automatically generated pseudo channel
>   == Starting D-Channel on span 1
>   == Starting D-Channel on span 2
>   == Registered channel type 'DAHDI' (DAHDI Telephony Driver w/PRI)
>   == Manager registered action DAHDITransfer
>   == Manager registered action DAHDIHangup
>   == Manager registered action DAHDIDialOffhook
>   == Manager registered action DAHDIDNDon
>   == Primary D-Channel on span 1 up
>   == Manager registered action DAHDIDNDoff
>   == Primary D-Channel on span 2 up
>   == Manager registered action DAHDIShowChannels
>   == Manager registered action DAHDIRestart
>  Loaded chan_dahdi.so => (DAHDI Telephony Driver w/PRI)
> demo3*CLI> pri show spans
> PRI span 1/0: Up, Active
> PRI span 2/0: Up, Active
> demo3*CLI> module unload chan_dahdi.so
> Unloaded chan_dahdi.so
>   == Unregistered application 'DAHDISendKeypadFacility'
>   == Unregistered application 'DAHDISendCallreroutingFacility'
>   == Manager unregistered action DAHDIDialOffhook
>   == Manager unregistered action DAHDIHangup
>   == Manager unregistered action DAHDITransfer
>   == Manager unregistered action DAHDIDNDoff
>   == Manager unregistered action DAHDIDNDon
>   == Manager unregistered action DAHDIShowChannels
>   == Manager unregistered action DAHDIRestart
>   == Unregistered channel type 'DAHDI'
>     -- Unregistered channel -2
> [Aug 22 12:24:10] ERROR[8303]: lock.c:280 __ast_pthread_mutex_lock: chan_dahdi.c line 5589 (dahdi_unlink_pri_pvt): Error obtaining mutex: Invalid argument
> [Aug 22 12:24:10] ERROR[8303]: lock.c:407 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): mutex '&pri->lock' freed more times than we've locked!
> [Aug 22 12:24:10] ERROR[8303]: lock.c:438 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): Error releasing mutex: Invalid argument
>     -- Unregistered channel 1
> [Aug 22 12:24:10] ERROR[8303]: lock.c:280 __ast_pthread_mutex_lock: chan_dahdi.c line 5589 (dahdi_unlink_pri_pvt): Error obtaining mutex: Invalid argument
> [Aug 22 12:24:10] ERROR[8303]: lock.c:407 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): mutex '&pri->lock' freed more times than we've locked!
> [Aug 22 12:24:10] ERROR[8303]: lock.c:438 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): Error releasing mutex: Invalid argument
>     -- Unregistered channel 2
> [Aug 22 12:24:10] ERROR[8303]: lock.c:280 __ast_pthread_mutex_lock: chan_dahdi.c line 5589 (dahdi_unlink_pri_pvt): Error obtaining mutex: Invalid argument
> [Aug 22 12:24:10] ERROR[8303]: lock.c:407 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): mutex '&pri->lock' freed more times than we've locked!
> [Aug 22 12:24:10] ERROR[8303]: lock.c:438 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): Error releasing mutex: Invalid argument
>     -- Unregistered channel 3
> [Aug 22 12:24:10] ERROR[8303]: lock.c:280 __ast_pthread_mutex_lock: chan_dahdi.c line 5589 (dahdi_unlink_pri_pvt): Error obtaining mutex: Invalid argument
> [Aug 22 12:24:10] ERROR[8303]: lock.c:407 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): mutex '&pri->lock' freed more times than we've locked!
> [Aug 22 12:24:10] ERROR[8303]: lock.c:438 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): Error releasing mutex: Invalid argument
>     -- Unregistered channel 4
> [Aug 22 12:24:10] ERROR[8303]: lock.c:280 __ast_pthread_mutex_lock: chan_dahdi.c line 5589 (dahdi_unlink_pri_pvt): Error obtaining mutex: Invalid argument
> [Aug 22 12:24:10] ERROR[8303]: lock.c:407 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): mutex '&pri->lock' freed more times than we've locked!
> [Aug 22 12:24:10] ERROR[8303]: lock.c:438 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): Error releasing mutex: Invalid argument
>     -- Unregistered channel 5
> [Aug 22 12:24:10] ERROR[8303]: lock.c:280 __ast_pthread_mutex_lock: chan_dahdi.c line 5589 (dahdi_unlink_pri_pvt): Error obtaining mutex: Invalid argument
> [Aug 22 12:24:10] ERROR[8303]: lock.c:407 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): mutex '&pri->lock' freed more times than we've locked!
> [Aug 22 12:24:10] ERROR[8303]: lock.c:438 __ast_pthread_mutex_unlock: chan_dahdi.c line 5593 (dahdi_unlink_pri_pvt): Error releasing mutex: Invalid argument
>     -- Unregistered channel 6
> ..etc... all the way up to chan 47



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list