<p> Attention is currently required from: Mark Murawski. </p>
<p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4; color: #000000;">Code-Review -1</span></p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17786">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">Patchset:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/17786?tab=comments">Patch Set #1:</a> </p><p style="white-space: pre-wrap; word-wrap: break-word;">This has been working well so far, but in one particular scenario, it seems to consistently cause a crash for some reason.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Here are some some backtraces, same thing each time:<br>https://paste.interlinked.us/io3zcvvbxe.txt<br>https://paste.interlinked.us/diwp3zpnmy.txt</p><p style="white-space: pre-wrap; word-wrap: break-word;">For some reason the call to ast_mutex_unlock on line 322 is causing a crash. It doesn't make any sense why, given that the mutex is locked at that point, and it must still exist, because it can't be removed without obtaining the lock. It's crashing on the sender side, and can only be removed on the receiver side.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Any thoughts as to a possible cause here?</p><p style="white-space: pre-wrap; word-wrap: break-word;">From a full/debug log, here's right before the crash:<br>[2022-01-20 19:04:51] DEBUG[4496][C-00000005] app_signal.c: Using existing signal item 'calledsubscriberheldPJSIP/ATAxLA2'<br>[2022-01-20 19:04:51] DEBUG[4476][C-00000003] app_signal.c: Alert pipe has data for us<br>[2022-01-20 19:04:51] DEBUG[4496][C-00000005] app_signal.c: Sent 'calledsubscriberheldPJSIP/ATAxLA2' signal to 1 listeners<br>[2022-01-20 19:05:02] Asterisk 18.9.0 built by root @ voip on a x86_64 running Linux on 2021-12-27 21:51:01 UTC</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17786">change 17786</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/17786"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ic34439de3d60f8609357666a465c354d81f5fef3 </div>
<div style="display:none"> Gerrit-Change-Number: 17786 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Mark Murawski <markm@intellasoft.net> </div>
<div style="display:none"> Gerrit-Reviewer: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-CC: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: Mark Murawski <markm@intellasoft.net> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 20 Jan 2022 19:18:52 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>