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

Diederik de Groot (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:all-tabpanel ]

Diederik de Groot updated ASTERISK-25948:
-----------------------------------------

    Attachment: ast_25948.bt

Backtrace

> 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