Opened 10 years ago

Closed 10 years ago

#1573 closed defect (fixed)

Unable to play any AVI files.

Reported by: alex@… Owned by: r_togni@…
Priority: important Component: core
Version: HEAD Severity: blocker
Keywords: Cc: alex@…
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Not sure why this problem has manifested itself all of a sudden. I am running Kubuntu on x86_64 architecture, kernel rev 2.6.31

Usually I am able to pull the source via svn and build it and have no dramas. I have run mplayer under this same config before, with no issues, so I am dumbfounded. Perhaps something has changed in the mplayer code since last time.

Here is what happens:

alex@desktop:~/data/mplayer$ mplayer /home/alex/downloads/Labyrinth.avi
MPlayer SVN-r29705-4.3.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/alex/downloads/Labyrinth.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [DIV3] 640x288 24bpp 25.000 fps 855.3 kbps (104.4 kbyte/s)
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[msmpeg4 @ 0xb39800]codec type or id mismatches
Could not open codec.

MPlayer interrupted by signal 11 in module: init_video_codec

  • MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
  • MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug.

=======================

Its the same thing no matter which avi file I try to play.

I have read the document on reporting crashes to the mplayer team. Here is the information you request.

=======================

alex@desktop:~/downloads$ gdb mplayer
GNU gdb 6.8-debian
Copyright (C) 2008 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 "x86_64-linux-gnu"...
(gdb) run -v Labyrinth.avi
Starting program: /usr/bin/mplayer -v Labyrinth.avi
[Thread debugging using libthread_db enabled]
[New Thread 0x7f775c4607b0 (LWP 21419)]
MPlayer SVN-r29705-4.3.3 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel? max cpuid level: 13
CPU: Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz (Family: 6, Model: 23, Stepping: 10)
extended cpuid-level: 8
extended cache-info: 402686016
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
get_path('codecs.conf') -> '/home/alex/.mplayer/codecs.conf'
Reading /home/alex/.mplayer/codecs.conf: Can't open '/home/alex/.mplayer/codecs.conf': No such file or directory
Reading /usr/etc/mplayer/codecs.conf: Can't open '/usr/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr --enable-debug --disable-mencoder
CommandLine?: '-v' 'Labyrinth.avi'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay?
get_path('fonts') -> '/home/alex/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/alex/.mplayer/input.conf'
Can't open input config file /home/alex/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
get_path('Labyrinth.avi.conf') -> '/home/alex/.mplayer/Labyrinth.avi.conf'

Playing Labyrinth.avi.
get_path('sub/') -> '/home/alex/.mplayer/sub/'
[file] File size is 718942208 bytes
STREAM: [file] Labyrinth.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: AVI format
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 40000 (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 145450 initial: 0
streams: 2
Suggested BufferSize?: 0
Size: 640 x 288
==========================
list_end=0x10F4
==> Found video stream: 0
[aviheader] Video stream found, -vid 0

STREAM Header =====

Type: vids FCC: div3 (33766964)
Flags: 0
Priority: 0 Language: 0
InitialFrames?: 0
Rate: 25/1 = 25.000
Start: 0 Len: 145450
Suggested BufferSize?: 64557
Quality -1
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======

biSize 40
biWidth 640
biHeight 288
biPlanes 1
biBitCount 24
biCompression 861292868='DIV3'
biSizeImage 552960

===========================
Regenerating keyframe table for DIVX3 video.
list_end=0x2186
==> Found audio stream: 1
[aviheader] Audio stream found, -aid 1

STREAM Header =====

Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames?: 1
Rate: 16000/1 = 16000.000
Start: 0 Len: 93087742
Suggested BufferSize?: 8000
Quality -1
Sample size: 1
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=417
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
==========================================================================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=145450)
list_end=0x2AB3D5E0
Found movie at 0x280C - 0x2AB3D5E0
Reading INDEX block, 157086 chunks for 145450 frames (fpos=716428776).
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1F4C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=622001753 (145450) audio size=93087742 (93087742)
VIDEO: [DIV3] 640x288 24bpp 25.000 fps 855.3 kbps (104.4 kbyte/s)
Auto-selected AVI audio ID = 1
[V] filefmt:3 fourcc:0x33564944 size:640x288 fps:25.000 ftime:=0.0400
get_path('sub/') -> '/home/alex/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 3840x1200 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
[vdpau] Error when calling vdp_device_create_x11: 1
[VO_XV] Using Xv Adapter #0 (NV17 Video Texture)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[msmpeg4 @ 0xb39800]codec type or id mismatches
Could not open codec.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f775c4607b0 (LWP 21419)]
0x000000000070ba04 in MPV_common_end (s=0x32a6b20) at mpegvideo.c:650
650 for(i=0; i<s->avctx->thread_count; i++){
(gdb) bt
#0 0x000000000070ba04 in MPV_common_end (s=0x32a6b20) at mpegvideo.c:650
#1 0x0000000000740d70 in ff_h263_decode_end (avctx=<value optimized out>) at h263dec.c:131
#2 0x00000000006dfd47 in avcodec_close (avctx=0x32986d0) at utils.c:682
#3 0x0000000000602092 in uninit (sh=<value optimized out>) at libmpcodecs/vd_ffmpeg.c:436
#4 0x00000000006027c6 in init (sh=0x3287c80) at libmpcodecs/vd_ffmpeg.c:409
#5 0x0000000000502a2a in init_video (sh_video=0x3287c80, codecname=0x0, vfm=0x0, status=1, selected=0x7fffb075e768) at libmpcodecs/dec_video.c:261
#6 0x0000000000502c71 in init_best_video_codec (sh_video=0x3287c80, video_codec_list=0x7fffb075e750, video_fm_list=0x0) at libmpcodecs/dec_video.c:312
#7 0x00000000004769ea in reinit_video_chain () at mplayer.c:2221
#8 0x00000000004787aa in main (argc=0, argv=<value optimized out>) at mplayer.c:3530
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x70b9e4 to 0x70ba24:
0x000000000070b9e4: nopw %cs:0x0(%rax,%rax,1)
0x000000000070b9f0 <MPV_common_end+0>: push %r15
0x000000000070b9f2 <MPV_common_end+2>: push %r14
0x000000000070b9f4 <MPV_common_end+4>: push %r13
0x000000000070b9f6 <MPV_common_end+6>: push %r12
0x000000000070b9f8 <MPV_common_end+8>: mov %rdi,%r12
0x000000000070b9fb <MPV_common_end+11>: push %rbp
0x000000000070b9fc <MPV_common_end+12>: push %rbx
0x000000000070b9fd <MPV_common_end+13>: sub $0x38,%rsp
0x000000000070ba01 <MPV_common_end+17>: mov (%rdi),%rdx
0x000000000070ba04 <MPV_common_end+20>: mov 0x2d8(%rdx),%r9d
0x000000000070ba0b <MPV_common_end+27>: test %r9d,%r9d
0x000000000070ba0e <MPV_common_end+30>: jle 0x70baff <MPV_common_end+271>
0x000000000070ba14 <MPV_common_end+36>: mov %rdi,%r13
0x000000000070ba17 <MPV_common_end+39>: xor %ebp,%ebp
0x000000000070ba19 <MPV_common_end+41>: nopl 0x0(%rax)
0x000000000070ba20 <MPV_common_end+48>: mov 0xf8(%r13),%rbx
End of assembler dump.
(gdb) info all-registers
rax 0x740d60 7605600
rbx 0x32986d0 53053136
rcx 0x0 0
rdx 0x0 0
rsi 0x7f77633489d0 140150742223312
rdi 0x32a6b20 53111584
rbp 0x32986d0 0x32986d0
rsp 0x7fffb075e5d0 0x7fffb075e5d0
r8 0xffffffff 4294967295
r9 0x7f77633489d0 140150742223312
r10 0x7f775c4607b0 140150625929136
r11 0x246 582
r12 0x32a6b20 53111584
r13 0xea8aa0 15370912
r14 0xe9e1e0 15327712
r15 0xa504d4 10814676
rip 0x70ba04 0x70ba04 <MPV_common_end+20>
eflags 0x10202 [ IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0 (raw 0x00000000000000000000)
st3 0 (raw 0x00000000000000000000)
st4 0 (raw 0x00000000000000000000)
st5 0 (raw 0x00000000000000000000)
st6 0 (raw 0x00000000000000000000)
st7 0 (raw 0x00000000000000000000)
fctrl 0x37f 895
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
---Type <return> to continue, or q <return> to quit---
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm2 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3ff00000, 0x0, 0x0}, v2_int64 = {0x3ff0000000000000,
0x0}, uint128 = 0x00000000000000003ff0000000000000}

xmm3 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xef, 0x39, 0xfa, 0xfe, 0x42, 0x2e, 0xe6, 0x3f, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x39ef, 0xfefa, 0x2e42, 0x3fe6, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xfefa39ef, 0x3fe62e42, 0x0, 0x0}, v2_int64 = {
0x3fe62e42fefa39ef, 0x0}, uint128 = 0x00000000000000003fe62e42fefa39ef}

xmm4 {v4_float = {0x0, 0xfffffffd, 0x0, 0x0}, v2_double = {0xffffffffffffffd2, 0x0}, v16_int8 = {0x5b, 0xaa, 0xa2, 0x2a, 0x9e, 0x6, 0x47,

0xc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xaa5b, 0x2aa2, 0x69e, 0xc047, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x2aa2aa5b, 0xc047069e,
0x0, 0x0}, v2_int64 = {0xc047069e2aa2aa5b, 0x0}, uint128 = 0x0000000000000000c047069e2aa2aa5b}

xmm5 {v4_float = {0x0, 0xffffffff, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x17, 0x11, 0xbe, 0x76, 0x67, 0x6b, 0xd3, 0xbf, 0x0, 0x0,

0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x1117, 0x76be, 0x6b67, 0xbfd3, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x76be1117, 0xbfd36b67, 0x0, 0x0},

v2_int64 = {0xbfd36b6776be1117, 0x0}, uint128 = 0x0000000000000000bfd36b6776be1117}

xmm6 {v4_float = {0x0, 0xfffffffd, 0x0, 0x0}, v2_double = {0xffffffffffffffd3, 0x8000000000000000}, v16_int8 = {0xc0, 0x9, 0xf2, 0x16, 0xb5,

0xdf, 0x46, 0xc0, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, v8_int16 = {0x9c0, 0x16f2, 0xdfb5, 0xc046, 0xfffe, 0xffff, 0xffff, 0xffff},

v4_int32 = {0x16f209c0, 0xc046dfb5, 0xfffffffe, 0xffffffff}, v2_int64 = {0xc046dfb516f209c0, 0xfffffffffffffffe},
uint128 = 0xfffffffffffffffec046dfb516f209c0}

xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x54, 0xec, 0x35, 0x16, 0xb3, 0xe9, 0x8f, 0xbd, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xec54, 0x1635, 0xe9b3, 0xbd8f, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x1635ec54, 0xbd8fe9b3, 0x0, 0x0}, v2_int64 = {
0xbd8fe9b31635ec54, 0x0}, uint128 = 0x0000000000000000bd8fe9b31635ec54}

xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x29, 0xf2, 0x88, 0x6c, 0xa6, 0x49, 0xde, 0x3e, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xf229, 0x6c88, 0x49a6, 0x3ede, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x6c88f229, 0x3ede49a6, 0x0, 0x0}, v2_int64 = {
0x3ede49a66c88f229, 0x0}, uint128 = 0x00000000000000003ede49a66c88f229}

xmm9 {v4_float = {0x9689a800, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x8000000000000000}, v16_int8 = {0x6a, 0xa2, 0x65, 0x50, 0xf2, 0xea, 0x8f,

0xbd, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, v8_int16 = {0xa26a, 0x5065, 0xeaf2, 0xbd8f, 0xfffe, 0xffff, 0xffff, 0xffff}, v4_int32 = {
0x5065a26a, 0xbd8feaf2, 0xfffffffe, 0xffffffff}, v2_int64 = {0xbd8feaf25065a26a, 0xfffffffffffffffe}, uint128 = 0xfffffffffffffffebd8feaf25065a26a}

xmm10 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x6d, 0x7d, 0xbf, 0xbb, 0x27, 0xaf, 0xf5, 0x3f, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x7d6d, 0xbbbf, 0xaf27, 0x3ff5, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xbbbf7d6d, 0x3ff5af27, 0x0, 0x0}, v2_int64 = {
0x3ff5af27bbbf7d6d, 0x0}, uint128 = 0x00000000000000003ff5af27bbbf7d6d}

xmm11 {v4_float = {0x0, 0xfffffffd, 0x0, 0x0}, v2_double = {0xffffffffffffffd2, 0x8000000000000000}, v16_int8 = {0xe0, 0xe6, 0x35, 0x67, 0x9e,

0x6, 0x47, 0xc0, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, v8_int16 = {0xe6e0, 0x6735, 0x69e, 0xc047, 0xfffe, 0xffff, 0xffff, 0xffff},

---Type <return> to continue, or q <return> to quit---

v4_int32 = {0x6735e6e0, 0xc047069e, 0xfffffffe, 0xffffffff}, v2_int64 = {0xc047069e6735e6e0, 0xfffffffffffffffe},
uint128 = 0xfffffffffffffffec047069e6735e6e0}

xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xb3, 0x12, 0x58, 0x17, 0x64, 0x46, 0xe6, 0x3b, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x12b3, 0x1758, 0x4664, 0x3be6, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x175812b3, 0x3be64664, 0x0, 0x0}, v2_int64 = {
0x3be64664175812b3, 0x0}, uint128 = 0x00000000000000003be64664175812b3}

xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x46, 0x84, 0x24, 0x59, 0xd6, 0x3e, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x8446, 0x5924, 0x3ed6, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x84460000, 0x3ed65924, 0x0, 0x0}, v2_int64 = {
0x3ed6592484460000, 0x0}, uint128 = 0x00000000000000003ed6592484460000}

xmm15 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3ff00000, 0x0, 0x0}, v2_int64 = {0x3ff0000000000000,
0x0}, uint128 = 0x00000000000000003ff0000000000000}

mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]
(gdb)

Any ideas?

Change History (4)

comment:1 Changed 10 years ago by alex@…

  • Cc alex@… added

comment:2 Changed 10 years ago by alex@…

  • Component changed from demuxer to core

comment:3 Changed 10 years ago by alex@…

Looks like something in r29705 was causing it.. svn up to r29712 and the problem has gone....

comment:4 Changed 10 years ago by alex@…

  • Resolution set to fixed
  • Status changed from new to closed

Problem was only present in r29705 - closing bug.

Note: See TracTickets for help on using tickets.