[Asterisk-code-review] app_signal: Add signaling applications (asterisk[master])

N A asteriskteam at digium.com
Thu Jan 20 13:18:52 CST 2022


Attention is currently required from: Mark Murawski.
N A has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/17786 )

Change subject: app_signal: Add signaling applications
......................................................................


Patch Set 1: Code-Review-1

(1 comment)

Patchset:

PS1: 
This has been working well so far, but in one particular scenario, it seems to consistently cause a crash for some reason.

Here are some some backtraces, same thing each time:
https://paste.interlinked.us/io3zcvvbxe.txt
https://paste.interlinked.us/diwp3zpnmy.txt

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.

Any thoughts as to a possible cause here?

>From a full/debug log, here's right before the crash:
[2022-01-20 19:04:51] DEBUG[4496][C-00000005] app_signal.c: Using existing signal item 'calledsubscriberheldPJSIP/ATAxLA2'
[2022-01-20 19:04:51] DEBUG[4476][C-00000003] app_signal.c: Alert pipe has data for us
[2022-01-20 19:04:51] DEBUG[4496][C-00000005] app_signal.c: Sent 'calledsubscriberheldPJSIP/ATAxLA2' signal to 1 listeners
[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



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17786
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ic34439de3d60f8609357666a465c354d81f5fef3
Gerrit-Change-Number: 17786
Gerrit-PatchSet: 1
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Mark Murawski <markm at intellasoft.net>
Gerrit-Reviewer: N A <mail at interlinked.x10host.com>
Gerrit-CC: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: Mark Murawski <markm at intellasoft.net>
Gerrit-Comment-Date: Thu, 20 Jan 2022 19:18:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220120/d58c2d91/attachment.html>


More information about the asterisk-code-review mailing list