[asterisk-bugs] [JIRA] (ASTERISK-25948) ast_pthread_mutex_lock calling ast_reentrancy_lock with lt=0x0

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Apr 21 08:10:56 CDT 2016


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

Asterisk Team commented on ASTERISK-25948:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> ast_pthread_mutex_lock calling ast_reentrancy_lock with lt=0x0
> --------------------------------------------------------------
>
>                 Key: ASTERISK-25948
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25948
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 11.22.0-rc1, 13.8.2
>            Reporter: Diederik de Groot
>         Attachments: ast_25948.bt
>
>
> defined(DETECT_DEADLOCKS)
> defined(DEBUG_THREADS)
> Error Steps:
>  - t->tracking = 0            (lock.c: 245)
>  - which causes lt = NULL      (lock.c:246)
>  - Which finally results in a  call to ast_reentrancy_lock(lt) (lock.c:289)  causing a segfault.
> Potential Solutions:
>  - assert pointer != NULL in ast_reentrancy_lock
>  - include this current block with the previous if(lt)     (lock.c: 249)



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



More information about the asterisk-bugs mailing list