[MPlayer-users] signal 11 in decode_video
Dimitar Zhekov
jimmy at is-vn.bg
Thu Aug 8 10:13:01 CEST 2002
MPlayer crashes with signal 11 in module decode_video.
First, I haven't used the latest CVS. The bug always appears in
the 0.90 prereleases 5 and 6 and rarely in the snapshots. Sorry.
Second, I had to append -fomit-frame-pointer to the debug CFLAGS,
because the bug is specific to that compilation option only.
Third, the bug is also specific to k7/athlon-xp AFAIK. MPlayer
compiled with CFLAGS='-O4 -march=i686 -mcpu=i686 etc.' runs fine.
System Information
OS: ROCK-Linux-1.7.0-DEV-200206281630
kernel: Linux xos4 2.4.18 #1 Sat Jul 27 19:36:25 EEST 2002 i686 unknown
libc version: 2.2.5 (/lib/libc-2.2.5.so, /lib/libc.so.6 -> libc-2.2.5.so)
X version: none
gcc version: `gcc -v`
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../configure --prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --libdir=/usr/lib --datadir=/usr/share --infodir=/usr/info
--mandir=/usr/man --sysconfdir=/etc --localstatedir=/var --disable-profile
--disable-debug --disable-nls --disable-i18n --with-installed-readline
--enable-shared --disable-static --disable-debug --without-debug
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --with-gnu-as
--enable-version-specific-runtime-libs --with-gnu-ld --enable-threads=posix
--enable-shared --disable-multilib
Thread model: posix
gcc version 3.1
ld version: GNU ld version 2.12.90.0.9 20020526
binutils version: GNU assembler 2.12.90.0.9 20020526
Hardware & drivers
CPU info: `cat /proc/cpuinfo`
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : AMD Athlon(tm) XP 1700+
stepping : 2
cpu MHz : 1466.769
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 2929.45
Video card manifacturer & model: Gigabyte GeForce3 Ti200
Video driver type & version: svgalib-1.9.14 build-in GeForce driver
Sound card type & driver: Creative SBLive! with kernel OSS drivers
Verbose mplayer output: `mplayer -v /mnt/cdrom/alien\ resurrection.avi`
MPlayer 0.90pre6-3.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
/etc/mplayer.conf(3): option: framedrop
/etc/mplayer.conf(3): parameter: yes
/etc/mplayer.conf(4): option: pp
/etc/mplayer.conf(4): parameter: 0x7f
/etc/mplayer.conf(5): option: vo
/etc/mplayer.conf(5): parameter: svga:old
/etc/mplayer.conf(6): option: dr
/etc/mplayer.conf(6): parameter: 1
Reading /home/build/.mplayer/codecs.conf: can't open '/home/build/.mplayer/codecs.conf': No such file or directory
Reading /etc/codecs.conf: 38 audio & 104 video codecs
CommandLine:get_path('font/font.desc') -> '/home/build/.mplayer/font/font.desc'
'-v' '/mnt/cdrom/alien resurrection.avi'
font: can't open file: /home/build/.mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init error: No such file or directory
Using usleep() timing
get_path('input.conf') -> '/home/build/.mplayer/input.conf'
Can't open input config file /home/build/.mplayer/input.conf : No such file or directory
Can't open input config file /etc/input.conf : No such file or directory
Falling back on default (hardcoded) input config
Playing /mnt/cdrom/alien resurrection.avi
Not an URL!
File size is 723937280 bytes
Detected AVI file format!
list_end=0x2292
list_end=0x10F4
======= AVI Header =======
us/frame: 41708 (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 156410 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 560 x 240
==> Found video stream: 0
found 'bih', 40 bytes of 40
======= STREAM Header =======
Type: vids FCC: div3 (33766964)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 23976/1000 = 23.976
Start: 0 Len: 156410
Suggested BufferSize: 57639
Quality 10000
Sample size: 0
Regenerating keyframe table for DIVX 3 video
======= VIDEO Format ======
biSize 40
biWidth 560
biHeight 240
biPlanes 1
biBitCount 24
biCompression 861292868='DIV3'
biSizeImage 403200
===========================
list_end=0x2186
==> Found audio stream: 1
found 'wf', 30 bytes of 20
======= STREAM Header =======
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 16000/1 = 16000.000
Start: 0 Len: 104370432
Suggested BufferSize: 7133
Quality -1
Sample size: 1
list_end=0x2292
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
Broken chunk? chunksize=1382 (id=JUNK)
list_end=0x2ADA025C
Found movie at 0x280C - 0x2ADA025C
Reading INDEX block, 312799 chunks for 156410 frames
Broken chunk? chunksize=0 (id=idx1)
Reading INDEX block, 312799 chunks for 156410 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1BEA)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=612047456
VIDEO: [DIV3] 560x240 24bpp 23.98 fps 750.6 kbps (91.6 kbyte/s)
[V] filefmt:3 fourcc:0x33564944 size:560x240 fps:23.98 ftime:=0.0417
get_path('sub/') -> '/home/build/.mplayer/sub/'
SUB: Detected sub file: /mnt/cdrom/alien resurrection.sub
SUB: Detected subtitle file format: microdvd
SUB: Read 875 subtitles.
SUB: Adjusted 3 subtitle(s).
Detected audio codec: [mp3] afm:1 (mp3lib MPEG layer-2, layer-3)
Initializing audio codec...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->192000 (128.0 kbit)
==========================================================================
vo_svga: preinit - maxframes=0
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
libavcodec: CPU flags: mmx mmxext 3dnow
Detected video codec: [ffdivx] vfm:5 (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/sound/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
Start playing...
VDec: vo config request - 560 x 240 (preferred csp: Planar YV12)
Opening video filter: [pp]
Using nvidia driver, 65536KB, Type: GeForce (NV20).
svgalib 1.9.14
[vo] query(Planar YV12) -> 1
[vo] query(Planar I420) -> 0
[vo] query(Planar IYUV) -> 0
vo_debug: query(Planar YV12) returned 0xC01 (i=0)
vo_debug: query(Planar I420) returned 0xC01 (i=1)
vo_debug: query(Planar IYUV) returned 0xC01 (i=2)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(560x240->560x240,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401 req=0x0
VO: [svga] 560x240 => 560x240 Planar YV12
VO: Description: SVGAlib
VO: Author: Zoltan Mark Vician <se7en at sch.bme.hu>
Using MMX2 for colorspace transform
vo_svga: vo_dbpp == 0, bpp: 32
vo_svga: Looking for the best resolution...
vo_svga: req_w: 560, req_h: 240, bpp: 32
vo_svga: vid_mode: 4, 640x480 4bpp
vo_svga: vid_mode: 9, 640x480 1bpp
vo_svga: vid_mode: 10, 640x480 8bpp
vo_svga: vid_mode: 11, 800x600 8bpp
vo_svga: vid_mode: 12, 1024x768 8bpp
vo_svga: vid_mode: 17, 640x480 15bpp
vo_svga: vid_mode: 18, 640x480 16bpp
vo_svga: vid_mode: 20, 800x600 15bpp
vo_svga: vid_mode: 21, 800x600 16bpp
vo_svga: vid_mode: 23, 1024x768 15bpp
vo_svga: vid_mode: 24, 1024x768 16bpp
vo_svga: vid_mode: 34, 640x480 32bpp
vo_svga: vid_mode: 35, 800x600 32bpp
vo_svga: vid_mode: 36, 1024x768 32bpp
vo_svga: vid_mode: 39, 1152x864 8bpp
vo_svga: vid_mode: 40, 1152x864 15bpp
vo_svga: vid_mode: 41, 1152x864 16bpp
vo_svga: vid_mode: 43, 1152x864 32bpp
vo_svga: vid_mode: 65, 960x720 8bpp
vo_svga: vid_mode: 66, 960x720 15bpp
vo_svga: vid_mode: 67, 960x720 16bpp
vo_svga: vid_mode: 69, 960x720 32bpp
vo_svga: vid_mode: 90, 720x540 8bpp
vo_svga: vid_mode: 91, 720x540 15bpp
vo_svga: vid_mode: 92, 720x540 16bpp
vo_svga: vid_mode: 94, 720x540 32bpp
vo_svga: vid_mode: 146, 576x432 8bpp
vo_svga: vid_mode: 147, 576x432 15bpp
vo_svga: vid_mode: 148, 576x432 16bpp
vo_svga: vid_mode: 149, 576x432 32bpp
vo_svga: vid_mode: 150, 880x660 8bpp
vo_svga: vid_mode: 151, 880x660 15bpp
vo_svga: vid_mode: 152, 880x660 16bpp
vo_svga: vid_mode: 153, 880x660 32bpp
vo_svga: vid_mode: 149
*** [pp] Allocating mp_image_t, 560x240x12bpp YUV planar, 201600 bytes
vo_svga: SVGAlib resolution: 576x432 32bpp - No video scaling
A: 0.3 V: 0.0 A-V: 0.312 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%
XXX initial v_pts=0.000 a_pos=7133 (0.446)
A: 0.3 V: 0.0 A-V: 0.271 ct: 0.004 2/ 2 0% 0% 0.0% 1 0 0%
A: 0.3 V: 0.1 A-V: 0.230 ct: 0.008 3/ 3 0% 0% 0.0% 2 0 0%
A: 0.3 V: 0.1 A-V: 0.188 ct: 0.013 4/ 4 0% 0% 0.0% 3 0 0%
A: 0.3 V: 0.2 A-V: 0.146 ct: 0.017 5/ 5 0% 0% 0.0% 3 0 0%
A: 0.3 V: 0.2 A-V: 0.105 ct: 0.021 6/ 6 0% 0% 0.0% 4 0 0%
A: 0.3 V: 0.3 A-V: 0.063 ct: 0.025 7/ 7 0% 0% 0.0% 4 0 0%
A: 0.3 V: 0.3 A-V: 0.021 ct: 0.027 8/ 8 0% 0% 0.0% 4 0 0%
A: 0.3 V: 0.3 A-V: -0.020 ct: 0.025 9/ 9 0% 0% 0.0% 4 0 0%
A: 0.3 V: 0.4 A-V: -0.030 ct: 0.022 10/ 10 0% 0% 0.0% 4 0 0%
A: 0.4 V: 0.4 A-V: -0.021 ct: 0.020 11/ 11 0% 0% 0.0% 4 0 0%
A: 0.4 V: 0.5 A-V: -0.023 ct: 0.018 12/ 12 0% 0% 0.0% 4 0 0%
A: 0.5 V: 0.5 A-V: -0.015 ct: 0.016 13/ 13 60% 1% 0.5% 4 0 0%
A: 0.5 V: 0.5 A-V: -0.017 ct: 0.015 14/ 14 55% 1% 0.5% 4 0 0%
A: 0.6 V: 0.6 A-V: -0.018 ct: 0.013 15/ 15 51% 1% 0.5% 4 0 0%
A: 0.6 V: 0.6 A-V: -0.010 ct: 0.012 16/ 16 48% 1% 0.5% 4 0 0%
A: 0.7 V: 0.7 A-V: -0.012 ct: 0.011 17/ 17 45% 1% 0.5% 4 0 0%
A: 0.7 V: 0.7 A-V: -0.013 ct: 0.009 18/ 18 42% 1% 0.5% 4 0 0%
A: 0.7 V: 0.8 A-V: -0.005 ct: 0.009 19/ 19 40% 1% 0.5% 4 0 0%
A: 0.8 V: 0.8 A-V: -0.007 ct: 0.008 20/ 20 38% 1% 0.5% 4 0 0%
A: 0.8 V: 0.8 A-V: -0.009 ct: 0.007 21/ 21 36% 1% 0.5% 4 0 0%
A: 0.9 V: 0.9 A-V: -0.010 ct: 0.006 22/ 22 34% 1% 0.5% 4 0 0%
A: 0.9 V: 0.9 A-V: -0.002 ct: 0.006 23/ 23 32% 0% 0.5% 4 0 0%
A: 1.0 V: 1.0 A-V: -0.004 ct: 0.006 24/ 24 31% 0% 0.5% 4 0 0%
A: 1.0 V: 1.0 A-V: -0.005 ct: 0.005 25/ 25 30% 0% 0.5% 4 0 0%
A: 1.0 V: 1.0 A-V: -0.007 ct: 0.004 26/ 26 29% 0% 0.5% 4 0 0%
A: 1.1 V: 1.1 A-V: -0.009 ct: 0.003 27/ 27 27% 0% 0.4% 4 0 0%
A: 1.1 V: 1.1 A-V: -0.000 ct: 0.003 28/ 28 26% 0% 0.4% 4 0 0%
A: 1.2 V: 1.2 A-V: -0.002 ct: 0.003 29/ 29 25% 0% 0.4% 4 0 0%
A: 1.2 V: 1.2 A-V: -0.004 ct: 0.003 30/ 30 25% 0% 0.4% 4 0 0%
A: 1.2 V: 1.3 A-V: -0.006 ct: 0.002 31/ 31 24% 0% 0.4% 4 0 0%
A: 1.3 V: 1.3 A-V: -0.007 ct: 0.002 32/ 32 23% 0% 0.4% 4 0 0%
A: 1.3 V: 1.3 A-V: 0.001 ct: 0.002 33/ 33 22% 0% 0.4% 4 0 0%
A: 1.4 V: 1.4 A-V: -0.001 ct: 0.002 34/ 34 21% 0% 0.4% 4 0 0%
A: 1.4 V: 1.4 A-V: -0.002 ct: 0.001 35/ 35 21% 0% 0.4% 4 0 0%
A: 1.5 V: 1.5 A-V: -0.004 ct: 0.001 36/ 36 20% 0% 0.4% 4 0 0%
A: 1.5 V: 1.5 A-V: -0.006 ct: 0.000 37/ 37 20% 0% 0.4% 4 0 0%
A: 1.5 V: 1.5 A-V: 0.003 ct: 0.001 38/ 38 19% 0% 0.4% 4 0 0%
A: 1.6 V: 1.6 A-V: 0.001 ct: 0.001 39/ 39 19% 0% 0.4% 4 0 0%
A: 1.6 V: 1.6 A-V: -0.001 ct: 0.001 40/ 40 18% 0% 0.4% 4 0 0%
A: 1.7 V: 1.7 A-V: -0.003 ct: 0.000 41/ 41 18% 0% 0.4% 4 0 0%
A: 1.7 V: 1.7 A-V: -0.004 ct: -0.000 42/ 42 17% 0% 0.4% 4 0 0%
A: 1.8 V: 1.8 A-V: 0.004 ct: 0.000 43/ 43 17% 0% 0.4% 4 0 0%
A: 1.8 V: 1.8 A-V: 0.002 ct: 0.001 44/ 44 16% 0% 0.4% 4 0 0%
A: 1.8 V: 1.8 A-V: 0.001 ct: 0.001 45/ 45 16% 0% 0.4% 4 0 0%
A: 1.9 V: 1.9 A-V: -0.001 ct: 0.001 46/ 46 16% 0% 0.4% 4 0 0%
A: 1.9 V: 1.9 A-V: -0.003 ct: 0.000 47/ 47 15% 0% 0.4% 4 0 0%
A: 2.0 V: 2.0 A-V: -0.005 ct: -0.000 48/ 48 15% 0% 0.4% 4 0 0%
A: 2.0 V: 2.0 A-V: 0.004 ct: 0.000 49/ 49 15% 0% 0.4% 4 0 0%
A: 2.0 V: 2.0 A-V: 0.002 ct: 0.000 50/ 50 14% 0% 0.4% 4 0 0%
A: 2.1 V: 2.1 A-V: 0.000 ct: 0.000 51/ 51 14% 0% 0.4% 4 0 0%
A: 2.1 V: 2.1 A-V: -0.001 ct: 0.000 52/ 52 14% 0% 0.4% 4 0 0%
A: 2.2 V: 2.2 A-V: -0.003 ct: 0.000 53/ 53 13% 0% 0.4% 4 0 0%
A: 2.2 V: 2.2 A-V: -0.005 ct: -0.000 54/ 54 13% 0% 0.4% 4 0 0%
A: 2.3 V: 2.3 A-V: 0.004 ct: -0.000 55/ 55 13% 0% 0.4% 4 0 0%
A: 2.3 V: 2.3 A-V: 0.002 ct: 0.000 56/ 56 13% 0% 0.4% 4 0 0%
A: 2.3 V: 2.3 A-V: 0.000 ct: 0.000 57/ 57 12% 0% 0.4% 4 0 0%
A: 2.4 V: 2.4 A-V: -0.002 ct: -0.000 58/ 58 12% 0% 0.4% 4 0 0%
A: 2.4 V: 2.4 A-V: -0.003 ct: -0.000 59/ 59 12% 0% 0.4% 4 0 0%
*** [pp] Allocating mp_image_t, 560x240x12bpp YUV planar, 201600 bytes
*** [vo] Allocating mp_image_t, 560x240x12bpp YUV planar, 201600 bytes
svgalib: Signal 11: Segmentation fault received.
MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. For details, see DOCS/bugreports.html section 5.b.
- 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/bugreports.html and follow instructions there. We can't and won't help unless you provide these informations when reporting a possible bug.
using pp filters 0x7F
Tailed gdb `run -v "/mnt/cdrom/alien resurrection.avi"` output:
Program received signal SIGSEGV, Segmentation fault.
0x0814a5e7 in postProcess_MMX2 (
src=0x4503e040 "u`MPPMK\\\223\216\211\204\200zrlf_YQHA93,*&# \036\034\032\025\024\024\023\023\022\022\021", '\020' <repeats 160 times>..., srcStride=560,
dst=0x45070040 "ucRUURP_\217\213\206\202~yrmhb]VNHA<640.+)(&\"!! \037\037\036", '\035' <repeats 160 times>..., dstStride=560, width=560, height=240,
QPs=0x8255d00, QPStride=129, isColor=0, ppMode=0xbfffe640)
at postprocess_template.c:58
58 asm volatile(
Complete gdb `bt` output:
#0 0x0814a9df in postProcess_MMX2 (
src=0x4503e040 "u`MPPMK\\\223\216\211\204\200zrlf_YQHA93,*&# \036\034\032\025\024\024\023\023\022\022\021", '\020' <repeats 160 times>..., srcStride=560,
dst=0x45070040 "ucRUURP_\217\213\206\202~yrmhb]VNHA<640.+)(&\"!! \037\037\036", '\035' <repeats 160 times>..., dstStride=560, width=560, height=240,
QPs=0x8255940, QPStride=129, isColor=0, ppMode=0xbfffe6b0)
at postprocess_template.c:58
#1 0x45070040 in ?? ()
#2 0x5f505255 in ?? ()
Cannot access memory at address 0x55526375
Complete gdb `disass $eip-32 $eip+32` output:
Dump of assembler code from 0x814a9bf to 0x814a9ff:
0x814a9bf <postProcess_MMX2+10943>: lea (%eax,%eax,4),%ebx
0x814a9c2 <postProcess_MMX2+10946>: movq 0x81d3b50,%mm7
0x814a9c9 <postProcess_MMX2+10953>: movq 0x81d3b58,%mm6
0x814a9d0 <postProcess_MMX2+10960>: movq (%edx),%mm0
0x814a9d3 <postProcess_MMX2+10963>: movq (%eax),%mm1
0x814a9d6 <postProcess_MMX2+10966>: psubb %mm1,%mm0
0x814a9d9 <postProcess_MMX2+10969>: paddb %mm7,%mm0
0x814a9dc <postProcess_MMX2+10972>: pcmpgtb %mm6,%mm0
0x814a9df <postProcess_MMX2+10975>: movq (%eax,%eax,1),%mm2
0x814a9e3 <postProcess_MMX2+10979>: psubb %mm2,%mm1
0x814a9e6 <postProcess_MMX2+10982>: paddb %mm7,%mm1
0x814a9e9 <postProcess_MMX2+10985>: pcmpgtb %mm6,%mm1
0x814a9ec <postProcess_MMX2+10988>: paddb %mm1,%mm0
0x814a9ef <postProcess_MMX2+10991>: movq (%eax,%eax,2),%mm1
0x814a9f3 <postProcess_MMX2+10995>: psubb %mm1,%mm2
0x814a9f6 <postProcess_MMX2+10998>: paddb %mm7,%mm2
0x814a9f9 <postProcess_MMX2+11001>: pcmpgtb %mm6,%mm2
0x814a9fc <postProcess_MMX2+11004>: paddb %mm2,%mm0
End of assembler dump.
More information about the MPlayer-users
mailing list