Summary: | media-video/mplayer-1.1.1-r1 crashes on playing avi files with ffmpeg-1.2.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Viktor Yu. Kovalskii <vityokster> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | droshalla, powerman-asdf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Video sample which crashes mplayer |
Description
Viktor Yu. Kovalskii
2013-07-25 17:05:34 UTC
gdb --args mplayer file.avi GNU gdb (Gentoo 7.6 p1) 7.6 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/mplayer...done. (gdb) run Starting program: /usr/bin/mplayer file.avi warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". MPlayer 1.1-4.7.3 (C) 2000-2012 MPlayer Team Playing file.avi. libavformat version 54.63.104 (external) AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 [aviheader] Audio stream found, -aid 2 VIDEO: [XVID] 720x384 12bpp 25.000 fps 1681.0 kbps (205.2 kbyte/s) Clip info: Software: VirtualDubMod 1.5.10.2 (build 2540/release) Load subtitles in ./ SUB: Added subtitle file (1): ./file.srt ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 54.92.100 (external) Unsupported AVPixelFormat 53 Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, floatle, 448.0 kbit/14.58% (ratio: 56000->384000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) ========================================================================== [New Thread 0xb1126b40 (LWP 2450)] AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample) Starting playback... [mpeg4 @ 0xb7397240]Invalid and inefficient vfw-avi packed B frames detected Movie-Aspect is 1.88:1 - prescaling to correct movie aspect. VO: [xv] 720x384 => 720x384 Planar YV12 Program received signal SIGSEGV, Segmentation fault. 0x081725ff in fast_memcpy_SSE (len=16, from=0x0, to=0xb0765000) at libvo/aclib_template.c:231 231 libvo/aclib_template.c: No such file or directory. (gdb) bt #0 0x081725ff in fast_memcpy_SSE (len=16, from=0x0, to=0xb0765000) at libvo/aclib_template.c:231 #1 fast_memcpy (to=<optimized out>, from=<optimized out>, from@entry=0x0, len=len@entry=720) at libvo/aclib.c:178 #2 0x08096599 in memcpy_pic2 (srcStride=0, dstStride=720, height=16, bytesPerLine=720, src=0x0, dst=<optimized out>, limit2width=<optimized out>) at libvo/fastmemcpy.h:91 #3 draw_slice (image=0xbfffd570, stride=0xbfffd580, w=720, h=16, x=0, y=0) at libvo/vo_xv.c:437 #4 0x08174e32 in draw_slice (s=0x832dd90, src=0x83518d4, offset=0xbfffd5f0, y=0, type=3, height=<optimized out>) at libmpcodecs/vd_ffmpeg.c:483 #5 0xb702db06 in ff_draw_horiz_band (avctx=0x832dd90, dsp=dsp@entry=0x835296c, cur=cur@entry=0x8352498, last=last@entry=0x83518d4, y=y@entry=0, h=<optimized out>, h@entry=16, picture_structure=3, first_field=0, draw_edges=1, low_delay=0, v_edge_pos=384, h_edge_pos=720) at /mnt/slag/portage/media-video/ffmpeg-1.2.1/work/ffmpeg-1.2.1/libavcodec/mpegvideo.c:2908 #6 0xb702ddec in ff_mpeg_draw_horiz_band (s=s@entry=0x8351520, y=0, h=h@entry=16) at /mnt/slag/portage/media-video/ffmpeg-1.2.1/work/ffmpeg-1.2.1/libavcodec/mpegvideo.c:2916 #7 0xb6edd76d in decode_slice (s=s@entry=0x8351520) at /mnt/slag/portage/media-video/ffmpeg-1.2.1/work/ffmpeg-1.2.1/libavcodec/h263dec.c:264 #8 0xb6ede6b9 in ff_h263_decode_frame (avctx=0x832dd90, data=0x832dbe0, got_frame=0xbfffd880, avpkt=0xbfffd79c) at /mnt/slag/portage/media-video/ffmpeg-1.2.1/work/ffmpeg-1.2.1/libavcodec/h263dec.c:682 #9 0xb70f8ab0 in avcodec_decode_video2 (avctx=avctx@entry=0x832dd90, picture=picture@entry=0x832dbe0, got_picture_ptr=got_picture_ptr@entry=0xbfffd880, avpkt=avpkt@entry=0xbfffd89c) at /mnt/slag/portage/media-video/ffmpeg-1.2.1/work/ffmpeg-1.2.1/libavcodec/utils.c:1690 #10 0x08175552 in decode (sh=0x831dbf0, data=0x832b5e8, len=3036, flags=0) at libmpcodecs/vd_ffmpeg.c:811 #11 0x080bf3c1 in decode_video (sh_video=sh_video@entry=0x831dbf0, start=0x832b5e8 "", in_size=in_size@entry=3036, drop_frame=0, pts=0, full_frame=full_frame@entry=0xbfffd9b0) at libmpcodecs/dec_video.c:393 #12 0x0806929f in update_video (blit_frame=blit_frame@entry=0xbfffdaa0) at mplayer.c:2463 #13 0x0805c9d6 in main (argc=2, argv=0xbfffeb64) at mplayer.c:3765 (gdb) quit Can reproduce the bug on AMD64, very upsetting. fast_memcpy_SSE is where it segfaults. Downgrade to media-video/ffmpeg-1.0.7 makes it work. With -vo gl2 I can play this file. But I can't rewind file becuase of mplayer crashes. any link to such a .avi file? does mplayer-9999 fail the same way? Created attachment 354472 [details]
Video sample which crashes mplayer
Compilation of media-video/mplayer-9999 is failed. Because of I can't reproduce on live version of mplayer. reproduced and should be fixed in the new snapshot 1.2_pre20130729 I've just updated ffmpeg from 1.0.8 to 1.2.6 and get a lot of crashes of mplayer 1.1.1-r1 on .avi files. Disgrading back to 1.0.8 fixed this. So, I'm afraid it's too early to close this bug. (In reply to Alexis Ballier from comment #7) > reproduced and should be fixed in the new snapshot 1.2_pre20130729 Sorry, I missed this. Looks like 1.2_pre20130729 works fine. Probably it should be marked stable at same time as ffmpeg-1.2.6. |