[Home]

Summary:ASTERISK-27409: Asterisk got crashed : Program terminated with signal 6, Aborted.
Reporter:Anjani Kumar Rastogi (anjanirastogi008)Labels:
Date Opened:2017-11-09 17:55:15.000-0600Date Closed:2017-11-09 18:02:56.000-0600
Priority:CriticalRegression?Yes
Status:Closed/CompleteComponents:CDR/cdr_sqlite
Versions:1.8.32.2 Frequency of
Occurrence
Occasional
Related
Issues:
Environment:CentOS release 6.6 , 64 bit OS FreePBX, asterisk version 1.8.32.2Attachments:
Description:Asterisk got crashed and below is the gdb output of the core dump file generated.


Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c'.
Program terminated with signal 6, Aborted.
#0  0x0000003f55832625 in raise () from /lib64/libc.so.6


(gdb) bt
#0  0x0000003f55832625 in raise () from /lib64/libc.so.6
#1  0x0000003f55833e05 in abort () from /lib64/libc.so.6
#2  0x0000003f55870537 in __libc_message () from /lib64/libc.so.6
#3  0x0000003f55875e66 in malloc_printerr () from /lib64/libc.so.6
#4  0x0000003f55878c14 in _int_free () from /lib64/libc.so.6
#5  0x0000003f55c07a69 in start_thread () from /lib64/libpthread.so.0
#6  0x0000003f558e89dd in clone () from /lib64/libc.so.6


(gdb) thread apply all bt

Thread 158 (Thread 0x7f8fc546d700 (LWP 10733)):
#0  0x0000003f558e172d in fsync () from /lib64/libc.so.6
#1  0x00007f8fddda4cb5 in sqliteOsSync () from /usr/lib64/libsqlite.so.0
#2  0x00007f8fddda61f3 in ?? () from /usr/lib64/libsqlite.so.0
#3  0x00007f8fddda6d08 in sqlitepager_commit () from /usr/lib64/libsqlite.so.0
#4  0x00007f8fddd94122 in ?? () from /usr/lib64/libsqlite.so.0
#5  0x00007f8fdddb8c41 in sqliteVdbeExec () from /usr/lib64/libsqlite.so.0
#6  0x00007f8fdddbcf00 in sqlite_step () from /usr/lib64/libsqlite.so.0
#7  0x00007f8fddda3b17 in sqlite_exec () from /usr/lib64/libsqlite.so.0
#8  0x00007f8fd274ed12 in cdr_handler (cdr=0x7f8f782e9600) at res_config_sqlite.c:841
#9  0x000000000045e4f8 in post_cdr (cdr=0x7f8f782e9600) at cdr.c:1143
#10 0x000000000045e76f in ast_cdr_detach (cdr=0x7f8f782e9600) at cdr.c:1357
#11 0x0000000000475a92 in ast_hangup (chan=0x7f8f788ed0f8) at channel.c:2920
#12 0x0000000000509bef in __ast_pbx_run (c=0x7f8f788ed0f8, args=0x0) at pbx.c:5733
#13 0x000000000050b32b in pbx_thread (data=<value optimized out>) at pbx.c:5825
#14 0x0000000000547f1b in dummy_start (data=<value optimized out>) at utils.c:1173
#15 0x0000003f55c079d1 in start_thread () from /lib64/libpthread.so.0
#16 0x0000003f558e89dd in clone () from /lib64/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 157 (Thread 0x7f8fc508d700 (LWP 10748)):
#0  0x0000003f558e172d in fsync () from /lib64/libc.so.6
#1  0x00007f8fddda4c9c in sqliteOsSync () from /usr/lib64/libsqlite.so.0
#2  0x00007f8fddda61f3 in ?? () from /usr/lib64/libsqlite.so.0
#3  0x00007f8fddda6d08 in sqlitepager_commit () from /usr/lib64/libsqlite.so.0
#4  0x00007f8fddd94122 in ?? () from /usr/lib64/libsqlite.so.0
#5  0x00007f8fdddb8c41 in sqliteVdbeExec () from /usr/lib64/libsqlite.so.0
#6  0x00007f8fdddbcf00 in sqlite_step () from /usr/lib64/libsqlite.so.0
#7  0x00007f8fddda3b17 in sqlite_exec () from /usr/lib64/libsqlite.so.0
#8  0x00007f8fdddad78a in sqlite_exec_vprintf () from /usr/lib64/libsqlite.so.0
#9  0x00007f8fdddad82a in sqlite_exec_printf () from /usr/lib64/libsqlite.so.0
#10 0x00007f8fddfd4fed in sqlite_log (cdr=0x7f8f789a4c80) at cdr_sqlite.c:131
#11 0x000000000045e4f8 in post_cdr (cdr=0x7f8f789a4c80) at cdr.c:1143
#12 0x000000000045e76f in ast_cdr_detach (cdr=0x7f8f789a4c80) at cdr.c:1357
#13 0x0000000000475a92 in ast_hangup (chan=0x7f8f780feb78) at channel.c:2920
#14 0x0000000000509bef in __ast_pbx_run (c=0x7f8f780feb78, args=0x0) at pbx.c:5733
#15 0x000000000050b32b in pbx_thread (data=<value optimized out>) at pbx.c:5825
#16 0x0000000000547f1b in dummy_start (data=<value optimized out>) at utils.c:1173
---Type <return> to continue, or q <return> to quit---
#17 0x0000003f55c079d1 in start_thread () from /lib64/libpthread.so.0
#18 0x0000003f558e89dd in clone () from /lib64/libc.so.6

Thread 156 (Thread 0x7f8d3be8b700 (LWP 10944)):
#0  0x0000003f558df1b3 in poll () from /lib64/libc.so.6
#1  0x0000000000475065 in ast_waitfor_nandfds (c=0x7f8d3be7f6f0, n=2, fds=0x5a04b638,
   nfds=1005056576, exception=0x0, outfd=0x0, ms=0x7f8f7861f858) at channel.c:3282
#2  0x0000000000475577 in ast_waitfor_n (c=<value optimized out>, n=<value optimized out>,
   ms=<value optimized out>) at channel.c:3536
#3  0x00007f8fcddee966 in wait_for_answer (in=0x7f8f7861f858, outgoing=0x7f8c88000b00,
   to=0x7f8d3be8136c, peerflags=0x7f8d3be813b0, opt_args=0x7f8d3be81070, pa=0x7f8d3be80790,
   num_in=0x7f8d3be812c0, result=0x7f8d3be81364, dtmf_progress=0x0, ignore_cc=1,
   forced_clid=0x7f8d3be81240, stored_clid=0x7f8d3be811f0) at app_dial.c:1131
#4  0x00007f8fcddf2576 in dial_exec_full (chan=0x7f8f7861f858, data=<value optimized out>,
   peerflags=0x7f8d3be813b0, continue_exec=0x0) at app_dial.c:2552
#5  0x00007f8fcddf63d6 in dial_exec (chan=<value optimized out>, data=<value optimized out>)
   at app_dial.c:3061
#6  0x00000000004f8cab in pbx_exec (c=0x7f8f7861f858, app=0x55ac910,
   data=0x7f8d3be83540 "SIP/CHI-DGW02-OB/7870,300,tr") at pbx.c:1479


Kindly, let me know why the asterisk has crashed. As this is very critical issue for us and need to know the reason to fix it.
Comments:By: Asterisk Team (asteriskteam) 2017-11-09 17:55:15.852-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2017-11-09 18:02:45.961-0600

Per the Asterisk versions page [1], the maintenance (bug fix) support for the Asterisk branch you are using has ended. For continued maintenance support please move to a supported branch of Asterisk. After testing with a supported branch, if you find this problem has not been resolved, please open a new issue against the latest version of that Asterisk branch.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions