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

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Fri Sep 23 14:26:01 CDT 2016


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

Kevin Harwell closed ASTERISK-25948.
------------------------------------

                  Resolution: Fixed
    Target Release Version/s: 14.0.0

> 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
>              Labels: asterisk, crash, lock, voicemail
>      Target Release: 14.0.0
>
>         Attachments: ast_25948.txt
>
>
> 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