[asterisk-users] Asterisk crash on core show channel

Patrick Wakano pwakano at gmail.com
Tue Feb 20 21:28:53 CST 2018


Hello Asterisk list,
I am facing some Asterisk crashes which are consistently pointing to the
same backtrace, which is the following (using DONT_OPTIMIZE,
BETTER_BACKTRACES and MALLOC_DEBUG):
Thread 1 (Thread 0x7f1f08be8700 (LWP 1767)):
#0  0x00007f1f9bed3395 in __strcasecmp_l_sse42 () from /lib64/libc.so.6
#1  0x00000000004a91ca in cdr_object_get_by_name_cb ()
#2  0x0000000000463c60 in internal_ao2_traverse ()
#3  0x0000000000463fc3 in __ao2_callback ()
#4  0x00000000004a9b7d in cdr_object_get_by_name ()
#5  0x00000000004a9d80 in ast_cdr_serialize_variables ()
#6  0x00000000004de411 in handle_showchan ()
#7  0x00000000004e15a5 in ast_cli_command_full ()
#8  0x00000000004e175b in ast_cli_command_multiple_full ()
#9  0x0000000000455246 in netconsole ()
#10 0x000000000060f192 in dummy_start ()
#11 0x00007f1f9cd3b9d1 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f1f9be908fd in clone () from /lib64/libc.so.6

So this happens after issuing a "core show channel <channel>". This command
is being executed by one script that periodically checks the channels and
some of its variables. Thing is that sometimes the channel has something
which causes this crash (happens around 2 times per month). Does anyone
have any idea of what may be happening/wrong?
I am running Asterisk version 13.6.0 on CentOS 6.6 kernel
2.6.32-504.el6.x86_64 and on CentOS 6.9 kernel 2.6.32-696.el6.x86_64.

Any idea is very appreciated!
Best regards,
Patrick Wakano


<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180221/a20465d7/attachment.html>


More information about the asterisk-users mailing list