[Home]

Summary:ASTERISK-12049: asterisk crashing with mixmonitor thread
Reporter:Fabiano Heringer (fabianoheringer)Labels:
Date Opened:2008-05-19 21:38:51Date Closed:2011-06-07 14:01:06
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_mixmonitor
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Asterisk is crashing for some reason, Im using mixmonitor to record calls, and it´s sometime get crash

****** ADDITIONAL INFORMATION ******

#0  0xb7e9355f in memcpy () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x08100f3a in ast_slinfactory_read (sf=0x8408f34, buf=0xb2652ff0, samples=160) at slinfactory.c:120
       frame_ptr = (struct ast_frame *) 0x841efc8
       sofar = 0
       ineed = 160
       remain = 255592476
       frame_data = (short int *) 0x841f188
       offset = (short int *) 0xb2652ff0
#2  0x080749f3 in audiohook_read_frame_both (audiohook=0x8408400, samples=160) at audiohook.c:237
       i = 0
       usable_read = 1
       usable_write = 1
       buf1 = {0, 0}
       buf2 = {-157, 338}
       read_buf = (short int *) 0xb2653140
       write_buf = (short int *) 0x0
       final_buf = (short int *) 0x0
       data1 = (short int *) 0x0
       data2 = (short int *) 0x0
       frame = {frametype = AST_FRAME_VOICE, subclass = 64, datalen = 320, samples = 160, mallocd = 0, mallocd_hdr_len = 0, offset = 0, src = 0x0, data = 0x0, delivery = {
   tv_sec = 0, tv_usec = 0}, frame_list = {next = 0x0}, flags = 0, ts = 0, len = 0, seqno = 0}
       __PRETTY_FUNCTION__ = "audiohook_read_frame_both"
#3  0x08074cf5 in ast_audiohook_read_frame (audiohook=0x8408400, samples=160, direction=AST_AUDIOHOOK_DIRECTION_BOTH, format=64) at audiohook.c:284
       read_frame = (struct ast_frame *) 0x0
       final_frame = (struct ast_frame *) 0x0
#4  0xb61fc84e in mixmonitor_thread (obj=0x8408400) at app_mixmonitor.c:166
       fr = (struct ast_frame *) 0x0
       mixmonitor = (struct mixmonitor *) 0x8408400
       fs = (struct ast_filestream *) 0x83fc238
       oflags = 577
       ext = 0x84099d7 "ð\004è\004å\004êDô¼þ¼\nü\021ü\025ü\024ü\023¼\016\034\a¬\001D÷Dñ\004í\004ïDõÔý<\b¼\016ü\022ü\020<\f\034\005\220ÿD÷\004ï\004é\004é\004ðdû<\vü\026ü\032ü\024\034\a¤úDôÄõ\224ý\234\005<\t\034\006$üÄó\004ë\004æ\004èÄðdú\\\006<\017ü\023ü\024ü\023ü\021¼\t\034\004¤ûÄò\004î\004îÄò¤ú\\\005¼\fü\020ü\020¼\r¼\aT\001¤úÄñ\004ë\004è\004ìÄ÷\034\aü\024ü\031ü\026<\v´ýÄõDõ¤ûÜ\003<\bÜ\0064þDõ\004í\004æ\004æ\004ïDø\234\003¼\rü"...
       errflag = 0
       __PRETTY_FUNCTION__ = "mixmonitor_thread"
ASTERISK-1  0x08110b8c in dummy_start (data=0x83a02c8) at utils.c:865
       _buffer = {__routine = 0x806a2c7 <ast_unregister_thread>, __arg = 0xb2653bb0, __canceltype = 138117512, __prev = 0x0}
       ret = (void *) 0xb7f51694
       a = {start_routine = 0xb61fc77b <mixmonitor_thread>, data = 0x8408400,
 name = 0x83baae8 "mixmonitor_thread    started at [  286] app_mixmonitor.c launch_monitor_thread()"}
       lock_info = (struct thr_lock_info *) 0x83b78b0
       mutex_attr = {__mutexkind = 1}
ASTERISK-2  0xb7f9720e in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
ASTERISK-3  0xb7ef10de in clone () from /lib/tls/libc.so.6
No symbol table info available.
Comments:By: Joshua C. Colp (jcolp) 2008-05-19 21:40:47

This issue has already been fixed and will be out in 1.4.20