Summary:ASTERISK-11463: Randomly asterisk crash using MixMonitor (with ou without Chanspy)
Reporter:Fabiano Heringer (fabianoheringer)Labels:
Date Opened:2008-02-18 10:21:42.000-0600Date Closed:2011-06-07 14:00:46
Versions:Frequency of
Description:Asterisk crashes randomly using mixmonitor app, that´s look like an issue wich reports the same problem, but using chanspy and mixmonitor at same time, I tried using with ChanSpy active and without...in both cases asterisk crashes. Using asterisk 1.4.18-rc3, It´s look like something with Audiohooks.


Core was generated by `/usr/sbin/asterisk -f -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
#0  0x080f1363 in ast_slinfactory_read (sf=0x8376aa4, buf=0xb364a0a0, samples=160) at slinfactory.c:128
128                     if ((frame_ptr = AST_LIST_REMOVE_HEAD(&sf->queue, frame_list))) {
(gdb) bt full
#0  0x080f1363 in ast_slinfactory_read (sf=0x8376aa4, buf=0xb364a0a0, samples=160) at slinfactory.c:128
       cur = (struct ast_frame *) 0x80010
       sofar = 0
       ineed = 160
       remain = 4291624934
       frame_data = (short int *) 0x89fdff0
       offset = (short int *) 0xb364a0a0
#1  0x080715f8 in ast_audiohook_read_frame (audiohook=0x8376030, samples=160, direction=AST_AUDIOHOOK_DIRECTION_READ, format=64) at audiohook.c:213
       final_frame = (struct ast_frame *) 0x0
#2  0xb66ae630 in mixmonitor_thread (obj=0x8376030) at app_mixmonitor.c:166
       fr = (struct ast_frame *) 0xa0
       fs = (struct ast_filestream *) 0x854cf38
       oflags = 0
       ext = 0x0
       errflag = 0
       __PRETTY_FUNCTION__ = "mixmonitor_thread"
#3  0x080fda05 in dummy_start (data=0x8376aa4) at utils.c:852
       _buffer = {__routine = 0x80684b0 <ast_unregister_thread>, __arg = 0xb364abb0, __canceltype = 0, __prev = 0x0}
       ret = (void *) 0x8a012e8
       a = {start_routine = 0xb66ae4a0 <mixmonitor_thread>, data = 0x8376030,
 name = 0x8a012e8 "mixmonitor_thread    started at [  286] app_mixmonitor.c launch_monitor_thread()"}
#4  0xb7f8220e in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
ASTERISK-1  0xb7edc0de in clone () from /lib/tls/libc.so.6
No symbol table info available.
Comments:By: Joshua C. Colp (jcolp) 2008-02-18 10:26:17.000-0600

This issue has already been fixed in the released Asterisk 1.4.18