Summary: | ASTERISK-18973: Asterisk core dumps in video | ||
Reporter: | David Cunningham (dcunningham) | Labels: | |
Date Opened: | 2011-12-06 15:14:59.000-0600 | Date Closed: | 2012-01-26 08:47:56.000-0600 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_sip/Video |
Versions: | 1.8.7.1 | Frequency of Occurrence | Frequent |
Related Issues: | |||
Environment: | CentOS release 5.5 (Final) | Attachments: | ( 0) backtrace.txt |
Description: | Asterisk randomly core dumps. The core file is attached, and I've put the output of a gdb 'bt' below. Could someone please advise? Thanks. (gdb) bt #0 0x0000003b7de6d747 in _IO_sgetn_internal () from /lib64/libc.so.6 #1 0x0000003b7de61dd2 in fread () from /lib64/libc.so.6 #2 0x00002aaab40b7c58 in h264_read (s=0x2aaac80e6d68, whennext=0x461f92dc) at format_h264.c:69 #3 0x00000000004ca46c in read_frame (s=0x2aaac80e6d68, whennext=0x461f92dc) at file.c:709 #4 0x00000000004ca886 in ast_readvideo_callback (s=0x2aaac80e6d68) at file.c:810 #5 0x00000000004caa5e in ast_fsread_video (data=0x2aaac80e6d68) at file.c:842 #6 0x00000000005435e5 in ast_sched_runq (con=0x2aaac80ef120) at sched.c:636 #7 0x00000000004cc416 in waitstream_core (c=0x2aaac80057c8, breakon=0x5878d4 "0123456789#*ABCD", forward=0x5a9594 "", reverse=0x5a9594 "", skip_ms=0, audiofd=-1, cmdfd=-1, context=0x0) at file.c:1314 #8 0x00000000004cc537 in ast_waitstream (c=0x2aaac80057c8, breakon=0x5878d4 "0123456789#*ABCD") at file.c:1330 #9 0x0000000000429d16 in ast_play_and_wait (chan=0x2aaac80057c8, fn=0x2aaac16d44bf "vm-deleted") at app.c:706 #10 0x00002aaac16c563e in vm_execmain (chan=0x2aaac80057c8, data=0x461fe6b3 "8886415@552,s") at app_voicemail.c:10364 #11 0x00000000004fdcd3 in pbx_exec (c=0x2aaac80057c8, app=0x3b769c0, data=0x461fe6b3 "8886415@552,s") at pbx.c:1421 #12 0x00002aaaab0e0960 in handle_exec (chan=0x2aaac80057c8, agi=0x461fefc0, argc=3, argv=0x461fe1d0) at res_agi.c:2498 #13 0x00002aaaab0e3190 in agi_handle_command (chan=0x2aaac80057c8, agi=0x461fefc0, buf=0x461fe6a0 "EXEC", dead=0) at res_agi.c:3382 #14 0x00002aaaab0e3c39 in run_agi (chan=0x2aaac80057c8, request=0x461fef20 "agi://127.0.0.1/enswitch?stype=internal", agi=0x461fefc0, pid=-1, status=0x461fefb4, dead=0, argc=1, argv=0x461fefe8) at res_agi.c:3573 #15 0x00002aaaab0e5048 in agi_exec_full (chan=0x2aaac80057c8, data=0x462016b0 "agi://127.0.0.1/enswitch?stype=internal", enhanced=0, dead=0) at res_agi.c:3865 #16 0x00002aaaab0e5193 in agi_exec (chan=0x2aaac80057c8, data=0x462016b0 "agi://127.0.0.1/enswitch?stype=internal") at res_agi.c:3899 #17 0x00000000004fdcd3 in pbx_exec (c=0x2aaac80057c8, app=0x2aaaac00a250, data=0x462016b0 "agi://127.0.0.1/enswitch?stype=internal") at pbx.c:1421 #18 0x00000000005071be in pbx_extension_helper (c=0x2aaac80057c8, con=0x0, context=0x2aaac8005d20 "from-internal", exten=0x2aaac8005d70 "*1", priority=1, label=0x0, callerid=0x2aaac801ed90 "", action=E_SPAWN, found=0x46203e90, combined_find_spawn=1) at pbx.c:4119 #19 0x0000000000508dac in ast_spawn_extension (c=0x2aaac80057c8, context=0x2aaac8005d20 "from-internal", exten=0x2aaac8005d70 "*1", priority=1, callerid=0x2aaac801ed90 "", found=0x46203e90, combined_find_spawn=1) at pbx.c:4744 #20 0x0000000000509843 in __ast_pbx_run (c=0x2aaac80057c8, args=0x0) at pbx.c:4842 #21 0x000000000050b5f2 in pbx_thread (data=0x2aaac80057c8) at pbx.c:5177 #22 0x000000000055f1cc in dummy_start (data=0x2aaac80e4790) at utils.c:1004 #23 0x0000003b7ea0673d in start_thread () from /lib64/libpthread.so.0 #24 0x0000003b7ded44bd in clone () from /lib64/libc.so.6 | ||
Comments: | By: David Cunningham (dcunningham) 2011-12-06 15:18:29.794-0600 The core file is too large to attach so you can get it here (11Mb): http://voisonics.com/core.5932.gz By: Richard Mudgett (rmudgett) 2011-12-06 15:50:19.739-0600 Core files are only usable by the machine that created them so they are not wanted in the issue tracker. See https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace to collect all the usual information for crashes. By: David Cunningham (dcunningham) 2011-12-06 15:58:30.191-0600 Thanks, here is the "bt full". By: Matt Jordan (mjordan) 2011-12-07 08:13:35.143-0600 This looks very similar to ASTERISK-18682, which was fixed in the 1.8 branch. Can you retest using a checkout of 1.8? The crash in that case was usually reproduced easily by pressing a DTMF key while a video stream was being played back in VoiceMailMain. By: David Cunningham (dcunningham) 2011-12-07 14:53:40.992-0600 Thanks you - is this available from any particular Asterisk release, or must I use the latest from subversion? By: Matt Jordan (mjordan) 2011-12-08 11:18:24.442-0600 This is only in the 1.8 branch at this time. Please let us know if testing with the 1.8 branch resolves this issue for you. By: David Cunningham (dcunningham) 2011-12-09 16:54:32.236-0600 Thanks, we are asking the customer to try the latest code. By: Matt Jordan (mjordan) 2012-01-26 08:47:56.192-0600 Suspending for now as this appears to be resolved in ASTERISK-18682. If this is still an issue please let a bug marshall know in #asterisk-bugs and we will reopen this issue. |