[asterisk-bugs] [JIRA] Commented: (ASTERISK-20552) Locked (channel.c): MUTEX 4845 ast_write chan SVN-branch-1.8-r374802

aragon (JIRA) noreply at issues.asterisk.org
Thu Oct 11 11:42:27 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198280#comment-198280 ] 

aragon commented on ASTERISK-20552:
-----------------------------------

We no longer compile our installations by default with DEBUG_THREADS enabled.  The performance hit is too big.  It would be our preference to do so in 1.8 but this was only possible in 1.4 where we used to compile with DONT_OPTIMIZE and DEBUG_THREADS enabled to provide quicker bug resolution.  1.4 ran pretty well in production systems with those options compiled.  From our end that would explain why we only just ran into this scenario while soaking our lab servers to debug another issue.


> Locked (channel.c): MUTEX 4845 ast_write chan SVN-branch-1.8-r374802
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-20552
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20552
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: SVN
>            Reporter: aragon
>         Attachments: thread apply all bt.txt
>
>
> First a bunch of these queue_frame warnings and then I checked core show locks and attached gdb.
> GDB debug info attached.
> [2012-10-10 21:09:19] WARNING[22800]: channel.c:1507 __ast_queue_frame: Exceptionally long voice queue length queuing to Local/6147 at default-agent-00000006;1
> [2012-10-10 21:09:19] WARNING[22800]: channel.c:1507 __ast_queue_frame: Exceptionally long voice queue length queuing to Local/6147 at default-agent-00000006;1
> [2012-10-10 21:09:19] WARNING[22873]: channel.c:1507 __ast_queue_frame: Exceptionally long voice queue length queuing to Local/6120 at default-agent-0000001d;2
> 6000*CLI> core show locks
> =======================================================================
> === Currently Held Locks ==============================================
> =======================================================================
> ===
> === <pending> <lock#> (<file>): <lock type> <line num> <function> <lock name> <lock addr> (times locked)
> ===
> === Thread ID: 0x41387940 (pbx_thread           started at [ 5374] pbx.c ast_pbx_start())
> === ---> Lock #0 (channel.c): MUTEX 4845 ast_write chan 0x1fd3c4c0 (1)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list