[asterisk-bugs] [JIRA] (ASTERISK-26969) Deadlock - chan_pjsip
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Thu Apr 27 13:19:58 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-26969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236764#comment-236764 ]
Richard Mudgett commented on ASTERISK-26969:
--------------------------------------------
In the 04 backtrace, this is about the only thing interesting in it:
{noformat}
Thread 258 (Thread 0x7f85ce5cc700 (LWP 35497)):
#0 0x00007f86d6f32339 in pj_lock_acquire (lock=0x0) at ../src/pj/lock.c:178
#1 0x00007f86d6f324cf in grp_lock_acquire (p=0x7f850c749428) at ../src/pj/lock.c:290
#2 0x00007f86d6f32a0c in pj_grp_lock_acquire (grp_lock=0x7f850c749428) at ../src/pj/lock.c:478
#3 0x00007f86d6eb07b3 in tsx_timer_callback (theap=0x1ff8fb0, entry=0x7f8598090a70) at ../src/pjsip/sip_transaction.c:1187
#4 0x00007f86d6f4188a in pj_timer_heap_poll (ht=0x1ff8fb0, next_delay=0x7f85ce5cbd30) at ../src/pj/timer.c:643
#5 0x00007f86d6e967eb in pjsip_endpt_handle_events2 (endpt=0x1ff8cc8, max_timeout=0x7f85ce5cbd80, p_count=0x0) at ../src/pjsip/sip_endpoint.c:713
#6 0x00007f86d6e9691d in pjsip_endpt_handle_events (endpt=0x1ff8cc8, max_timeout=0x7f85ce5cbd80) at ../src/pjsip/sip_endpoint.c:770
#7 0x00007f86000bbff8 in monitor_thread_exec (endpt=<optimized out>) at res_pjsip.c:4174
#8 0x00007f86d6f2a43d in thread_main (param=0x205ade8) at ../src/pj/os_core_unix.c:541
#9 0x00007f86d4d3861a in start_thread () at /usr/lib64/libpthread.so.0
#10 0x00007f86d40745fd in clone () at /usr/lib64/libc.so.6
{noformat}
The monitor thread is trying to acquire a lock using a NULL pointer. How that happens is not in the backtrace.
> Deadlock - chan_pjsip
> ---------------------
>
> Key: ASTERISK-26969
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26969
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_pjsip
> Affects Versions: GIT
> Environment: Fedora 23
> Reporter: Ross Beer
> Attachments: 05_backtrace-threads_2017-05-25_clean.txt, 07_backtrace-threads_2017-04-27_clean.txt
>
>
> A deadlock has been introduced between the versions:
> Asterisk GIT-13-13.15.0-rc1-64-ge851412M
> Asterisk GIT-13-13.15.0-rc1-80-g299376cM
> This is happening over multiple instances.
> I am currently unable to run DEBUG_THREADS to identify, however I have backtraces when the system locks.
> This is running with the revert commit: 3e7c396a51b240088c475dd53e7bac9869376129 (bridging: Ensure successful T.38 negotation)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list