<p style="white-space: pre-wrap; word-wrap: break-word;">I've acquired a couple identical backtraces from 2 systems</p><p style="white-space: pre-wrap; word-wrap: break-word;">Running asterisk 16.10</p><p style="white-space: pre-wrap; word-wrap: break-word;">[May 15 17:16:11] ERROR[33]: Got 15 backtrace records<br># 0: [0x5db45d] asterisk utils.c:2404 __ast_assert_failed()<br># 1: [0x51d3fd] asterisk manager_channels.c:498 ast_manager_build_channel_state_string_prefix()<br># 2: [0x51d818] asterisk manager_channels.c:570 ast_manager_build_channel_state_string()<br># 3: [0x7feccd91dff5] res_agi.so res_agi.c:1427 agi_channel_to_ami()<br># 4: [0x7feccd91e107] res_agi.so res_agi.c:1443 agi_exec_start_to_ami()<br># 5: [0x5b414b] asterisk stasis_message.c:226 stasis_message_to_ami()<br># 6: [0x628343] asterisk manager.c:1848 manager_default_msg_cb()<br># 7: [0x5b48a6] asterisk stasis_message_router.c:202 router_dispatch()<br># 8: [0x59fccd] asterisk stasis.c:780 subscription_invoke()<br># 9: [0x5a0f7f] asterisk stasis.c:1260 dispatch_exec_async()<br>#10: [0x5c5720] asterisk taskprocessor.c:1235 ast_taskprocessor_execute()<br>#11: [0x5c2755] asterisk taskprocessor.c:201 default_tps_processing_function()<br>#12: [0x5d83b7] asterisk utils.c:1249 dummy_start()<br>#13: [0x7fed1a66a6ba] libpthread.so.0 :0 __pthread_get_minstack()<br>#14: [0x7fed198ff41d] libc.so.6 :0 clone()</p><p style="white-space: pre-wrap; word-wrap: break-word;">with this patch applied</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/manager_channels.c b/main/manager_channels.c<br>index c964033..25b5c65 100644<br>--- a/main/manager_channels.c<br>+++ b/main/manager_channels.c<br>@@ -493,6 +493,11 @@ struct ast_str *ast_manager_build_channel_state_string_prefix(<br> char *connected_name;<br> int res;<br> <br>+ if (!snapshot) {<br>+ __ast_assert_failed(0, "snapshot != NULL in ast_manager_build_channel_state_string_prefix",__FILE__,__LINE__,__PRETTY_FUNCTION__);<br>+ return NULL;<br>+ }<br>+<br> if (snapshot->tech_properties & AST_CHAN_TP_INTERNAL) {<br> return NULL;<br> }</pre><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14144">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14144">change 14144</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/+/14144"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I3393e4d521ab6c4551b5434d013a5941706c28de </div>
<div style="display:none"> Gerrit-Change-Number: 14144 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Robert Sutton <rsutton@noojee.com.au> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Sun, 17 May 2020 11:12:00 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>