[MPlayer-users] Crash in put_h264_qpel8_h_lowpass_l2_ssse3 (libavcodec/i386/h264dsp_mmx.c)
cbreak
cbreak at the-color-black.net
Tue Jul 15 03:00:30 CEST 2008
This crash is sometimes reproducible. It happens when playing a movie
at certain spots, but not every time (So I can't give a proper example
file). I can give more info if requested. My platform is Mac OS X
10.5.4, the MPlayer is compiled with ./configure, no additional
parameters. I had to add -g3 manually for the debug version used
below. I hope I didn't forget anything.
artefact:mplayer cbreak$ gdb --args ./mplayer test.mkv
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49
UTC 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for
shared libraries .............
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-png.o" - no debug information
available for "png.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngset.o" - no debug information
available for "pngset.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngget.o" - no debug information
available for "pngget.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngrutil.o" - no debug information
available for "pngrutil.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngtrans.o" - no debug information
available for "pngtrans.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngwutil.o" - no debug information
available for "pngwutil.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngread.o" - no debug information
available for "pngread.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngrio.o" - no debug information
available for "pngrio.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngwio.o" - no debug information
available for "pngwio.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngwrite.o" - no debug information
available for "pngwrite.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngrtran.o" - no debug information
available for "pngrtran.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngwtran.o" - no debug information
available for "pngwtran.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngmem.o" - no debug information
available for "pngmem.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngerror.o" - no debug information
available for "pngerror.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
libpng-1.2.29/.libs/libpng12_la-pngpread.o" - no debug information
available for "pngpread.c".
......
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcatomic.o" - no debug information
available for "fcatomic.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcblanks.o" - no debug information
available for "fcblanks.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fccache.o" - no debug information available
for "fccache.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fccfg.o" - no debug information available
for "fccfg.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fccharset.o" - no debug information
available for "fccharset.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcdbg.o" - no debug information available
for "fcdbg.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcdefault.o" - no debug information
available for "fcdefault.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcdir.o" - no debug information available
for "fcdir.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcfreetype.o" - no debug information
available for "fcfreetype.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcfs.o" - no debug information available
for "fcfs.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcinit.o" - no debug information available
for "fcinit.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fclang.o" - no debug information available
for "fclang.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fclist.o" - no debug information available
for "fclist.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcmatch.o" - no debug information available
for "fcmatch.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcmatrix.o" - no debug information
available for "fcmatrix.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcname.o" - no debug information available
for "fcname.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcpat.o" - no debug information available
for "fcpat.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcserialize.o" - no debug information
available for "fcserialize.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcstr.o" - no debug information available
for "fcstr.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/fcxml.o" - no debug information available
for "fcxml.c".
warning: Could not find object file "/Volumes/Chronos/Installers/
fontconfig-2.6.0/src/.libs/ftglue.o" - no debug information available
for "ftglue.c".
........ done
(gdb) run
Starting program: /Volumes/Chronos/Installers/mplayer/mplayer test.mkv
Reading symbols for shared libraries +++++++++++++++++++++++++
+....................................................................
done
MPlayer dev-SVN-r27281-4.0.1 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Xeon(R) CPU E5462 @ 2.80GHz (Family: 6,
Model: 23, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
/System/Library/Fonts/Helvetica.dfont doesn't look like a bitmap font
description, ignoring.
Cannot load bitmap font: /System/Library/Fonts/Helvetica.dfont
Playing test.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang jpn
[mkv] Track ID 3: subtitles (S_TEXT/ASS), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [avc1] 1280x704 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Opening video filter: [scale]
[ass] auto-open
Opening video filter: [screenshot]
[ass] Init
=
=
========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
=
=
========================================================================
=
=
========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 640.0 kbit/41.67% (ratio: 80000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
=
=
========================================================================
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
AO: [macosx] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 704 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
[swscaler @ 0x81b3a0]No accelerated colorspace conversion found.
[swscaler @ 0x81b3a0]using unscaled yuv420p -> rgb24 special converter
VO: [macosx] 1280x704 => 1280x704 Packed YUY2
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
pts value <= previous: 0.116 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0
pts value <= previous: 0.139 ct: 0.000 0/ 0 ??% ??% ??,?% 1 0
pts value <= previous: 0.163 ct: 0.000 0/ 0 ??% ??% ??,?% 2 0
pts value <= previous: 0.163 ct: 0.000 0/ 0 ??% ??% ??,?% 3 0
pts value <= previous: 0.163 ct: 0.000 0/ 0 ??% ??% ??,?% 4 0
pts value <= previous: -0.032 ct: -0.015 0/ 0 ??% ??% ??,?% 0 0
pts value <= previous: -0.020 ct: -0.019 0/ 0 ??% ??% ??,?% 1 0
A: 108.4 V: 108.4 A-V: -0.002 ct: -0.144 0/ 0 40% 13% 7.7% 2 0
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x196b6fff
0x002e57b2 in put_h264_qpel8_h_lowpass_l2_ssse3 (dst=0x1a00f250
"66765445566777888888788888998977678
:::::::9998998::;;:::9::::;::;;;;;;;;;:::<<<<:;:", ';' <repeats 16
times>, ":::::9:;:99:;;;<::::;
9
::;<
<
;;;;:;;;<
<<<==;;;:;<=><<<<;;<<<<<=<;<;;=<;<<<<<<:<<;=====<==<;<<====<=>=>>"...,
src=0x196b7004 '+' <repeats 14 times>,
",,,,,-,,,,,,,,--,---------....,,,-,,+,----------./../
0././.-..---.......////
00000111231112334455443466456886689998898
:<
<
<
=AACEEFFFFGHFHJKKLNMNMMPPNMONQPOOOOPPQPOPPPPOPQRQSTUUSUUSTWWTTSSS"...,
src2=0x196b7004 '+' <repeats 14 times>,
",,,,,-,,,,,,,,--,---------....,,,-,,+,----------./../
0././.-..---.......////
00000111231112334455443466456886689998898
:<
<
<
=AACEEFFFFGHFHJKKLNMNMMPPNMONQPOOOOPPQPOPPPPOPQRQSTUUSUUSTWWTTSSS"...,
dstStride=1312, src2Stride=1312) at h264dsp_mmx.c:1892
1892 QPEL_H264_H_XMM(put_, PUT_OP, ssse3)
(gdb) bt full
#0 0x002e57b2 in put_h264_qpel8_h_lowpass_l2_ssse3 (dst=0x1a00f250
"66765445566777888888788888998977678
:::::::9998998::;;:::9::::;::;;;;;;;;;:::<<<<:;:", ';' <repeats 16
times>, ":::::9:;:99:;;;<::::;
9
::;<
<
;;;;:;;;<
<<<==;;;:;<=><<<<;;<<<<<=<;<;;=<;<<<<<<:<<;=====<==<;<<====<=>=>>"...,
src=0x196b7004 '+' <repeats 14 times>,
",,,,,-,,,,,,,,--,---------....,,,-,,+,----------./../
0././.-..---.......////
00000111231112334455443466456886689998898
:<
<
<
=AACEEFFFFGHFHJKKLNMNMMPPNMONQPOOOOPPQPOPPPPOPQRQSTUUSUUSTWWTTSSS"...,
src2=0x196b7004 '+' <repeats 14 times>,
",,,,,-,,,,,,,,--,---------....,,,-,,+,----------./../
0././.-..---.......////
00000111231112334455443466456886689998898
:<
<
<
=AACEEFFFFGHFHJKKLNMNMMPPNMONQPOOOOPPQPOPPPPOPQRQSTUUSUUSTWWTTSSS"...,
dstStride=1312, src2Stride=1312) at h264dsp_mmx.c:1892
h = 8
#1 0x002e5887 in put_h264_qpel16_h_lowpass_l2_ssse3 (dst=0x1a00f250
"66765445566777888888788888998977678
:::::::9998998::;;:::9::::;::;;;;;;;;;:::<<<<:;:", ';' <repeats 16
times>, ":::::9:;:99:;;;<::::;
9
::;<
<
;;;;:;;;<
<<<==;;;:;<=><<<<;;<<<<<=<;<;;=<;<<<<<<:<<;=====<==<;<<====<=>=>>"...,
src=Cannot access memory at address 0xc
) at h264dsp_mmx.c:1892
No locals.
Cannot access memory at address 0xc
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x2e5792 to 0x2e57d2:
0x002e5792 <put_h264_qpel8_h_lowpass_l2_ssse3+34>: out %eax,(%dx)
0x002e5793 <put_h264_qpel8_h_lowpass_l2_ssse3+35>: jmp *0xf(%esi)
0x002e5796 <put_h264_qpel8_h_lowpass_l2_ssse3+38>: outsl %ds:(%esi),
(%dx)
0x002e5797 <put_h264_qpel8_h_lowpass_l2_ssse3+39>: xor $0x730630,%eax
0x002e579c <put_h264_qpel8_h_lowpass_l2_ssse3+44>: mov $0x8,%ebp
0x002e57a1 <put_h264_qpel8_h_lowpass_l2_ssse3+49>: nopl 0x0(%eax)
0x002e57a8 <put_h264_qpel8_h_lowpass_l2_ssse3+56>: nopl 0x0(%eax,
%eax,1)
0x002e57b0 <put_h264_qpel8_h_lowpass_l2_ssse3+64>: mov %ebx,%ecx
0x002e57b2 <put_h264_qpel8_h_lowpass_l2_ssse3+66>: lddqu -0x5(%eax),
%xmm1
0x002e57b7 <put_h264_qpel8_h_lowpass_l2_ssse3+71>: movdqa %xmm1,%xmm0
0x002e57bb <put_h264_qpel8_h_lowpass_l2_ssse3+75>: punpckhbw %xmm7,%xmm1
0x002e57bf <put_h264_qpel8_h_lowpass_l2_ssse3+79>: punpcklbw %xmm7,%xmm0
0x002e57c3 <put_h264_qpel8_h_lowpass_l2_ssse3+83>: movdqa %xmm1,%xmm2
0x002e57c7 <put_h264_qpel8_h_lowpass_l2_ssse3+87>: movdqa %xmm1,%xmm3
0x002e57cb <put_h264_qpel8_h_lowpass_l2_ssse3+91>: movdqa %xmm1,%xmm4
0x002e57cf <put_h264_qpel8_h_lowpass_l2_ssse3+95>: movdqa %xmm1,%xmm5
End of assembler dump.
(gdb) info all-registers
eax 0x196b7004 426471428
ecx 0x1a00f250 436269648
edx 0x196b7004 426471428
ebx 0x1a00f250 436269648
esp 0xbfffddcc 0xbfffddcc
ebp 0x8 0x8
esi 0x520 1312
edi 0x520 1312
eip 0x2e57b2 0x2e57b2 <put_h264_qpel8_h_lowpass_l2_ssse3+66>
eflags 0x210286 2163334
cs 0x17 23
ss 0x1f 31
ds 0x1f 31
es 0x1f 31
fs 0x0 0
gs 0x37 55
st0 <invalid float value> (raw 0xffff0000000000000000)
st1 -nan(0x101010101010101) (raw 0xffff0101010101010101)
st2 -nan(0x09a9a9a9a) (raw 0xffff000000009a9a9a9a)
st3 -nan(0x09a9a9a9a) (raw 0xffff000000009a9a9a9a)
st4 -nan(0x09a9a9a9a) (raw 0xffff000000009a9a9a9a)
st5 -nan(0x09a9a9a9a) (raw 0xffff000000009a9a9a9a)
st6 -nan(0x20002000200020) (raw 0xffff0020002000200020)
st7 <invalid float value> (raw 0xffff0000000000000000)
fctrl 0x37f 895
fstat 0x21 33
ftag 0xaaaa 43690
fiseg 0x17 23
fioff 0x10f205 1110533
foseg 0x1f 31
fooff 0xbfffe5d0 -1073748528
fop 0x77c 1916
xmm0 {
v4_float = {4.04082209e-39, 3.94898659e-39, 3.94898659e-39,
3.85714969e-39},
v2_double = {7.7879409991978718e-308, 7.5098067668197124e-308},
v16_int8 = "\000,\000+\000+\000+\000+\000+\000*\000*",
v8_int16 = {44, 43, 43, 43, 43, 43, 42, 42},
v4_int32 = {2883627, 2818091, 2818091, 2752554},
v2_int64 = {12385083661680683, 12103608684904490},
uint128 = 0x002c002b002b002b002b002b002a002a
} (raw 0x2a002a002b002b002b002b002b002c00)
xmm1 {
v4_float = {7.80613769e-39, 7.80613769e-39, 7.98980868e-39,
7.98981008e-39},
v2_double = {4.6729470938895834e-307, 5.1179618656946376e-307},
v16_int8 = "\000U\000V\000U\000V\000W\000V\000W\000W",
v8_int16 = {85, 86, 85, 86, 87, 86, 87, 87},
v4_int32 = {5570646, 5570646, 5701718, 5701719},
v2_int64 = {23925742393163862, 24488692346716247},
uint128 = 0x00550056005500560057005600570057
} (raw 0x57005700560057005600550056005500)
xmm2 {
v4_float = {1.20430932e-25, 1.21238726e-25, 6.04560401e-13,
2.44666331e-12},
v2_double = {2.6901889130441597e-202, 9.3470035287585272e-101},
v16_int8 = "\026\025\026\026\026\026\026\026+*++,,++",
v8_int16 = {5653, 5654, 5654, 5654, 11050, 11051, 11308, 11051},
v4_int32 = {370480662, 370546198, 724183851, 741092139},
v2_int64 = {1591202327460976150, 3110345957077429035},
uint128 = 0x16151616161616162b2a2b2b2c2c2b2b
} (raw 0x2b2b2c2c2b2b2a2b1616161616161516)
xmm3 {
v4_float = {0, 0, 1.511401e-13, 2.44666331e-12},
v2_double = {0, 1.4262395521176952e-105},
v16_int8 = "\000\000\000\000\000\000\000\000**++,,++",
v8_int16 = {0, 0, 0, 0, 10794, 11051, 11308, 11051},
v4_int32 = {0, 0, 707406635, 741092139},
v2_int64 = {0, 3038288363039501099},
uint128 = 3110628535843891754
} (raw 0x2b2b2c2c2b2b2a2a0000000000000000)
xmm4 {
v4_float = {3.85715109e-39, 3.94898799e-39, 4.04082209e-39,
3.94898659e-39},
v2_double = {7.2316725345710724e-308, 7.7879409991978718e-308},
v16_int8 = "\000*\000+\000+\000,\000,\000+\000+\000+",
v8_int16 = {42, 43, 43, 44, 44, 43, 43, 43},
v4_int32 = {2752555, 2818092, 2883627, 2818091},
v2_int64 = {11822133708259372, 12385083661680683},
uint128 = 0x002a002b002b002c002c002b002b002b
} (raw 0x2b002b002b002c002c002b002b002a00)
xmm5 {
v4_float = {9.36736354e-39, 9.45919904e-39, 9.27552804e-39,
9.36736494e-39},
v2_double = {9.7910176075301652e-307, 9.3460028357251134e-307},
v16_int8 = "\000f\000f\000g\000f\000e\000f\000f\000g",
v8_int16 = {102, 102, 103, 102, 101, 102, 102, 103},
v4_int32 = {6684774, 6750310, 6619238, 6684775},
v2_int64 = {28710885717901414, 28429410741125223},
uint128 = 0x00660066006700660065006600660067
} (raw 0x67006600660065006600670066006600)
xmm6 {
v4_float = {4.59184487e-40, 4.59184487e-40, 4.59184487e-40,
4.59184487e-40},
v2_double = {6.9534619092435316e-309, 6.9534619092435316e-309},
v16_int8 =
"\000\005\000\005\000\005\000\005\000\005\000\005\000\005\000\005",
v8_int16 = {5, 5, 5, 5, 5, 5, 5, 5},
v4_int32 = {327685, 327685, 327685, 327685},
v2_int64 = {1407396358717445, 1407396358717445},
uint128 = 0x00050005000500050005000500050005
} (raw 0x05000500050005000500050005000500)
xmm7 {
v4_float = {0, 0, 0, 0},
v2_double = {0, 0},
v16_int8 = '\0' <repeats 15 times>,
v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
v4_int32 = {0, 0, 0, 0},
v2_int64 = {0, 0},
uint128 = 0
} (raw 0x00000000000000000000000000000000)
mxcsr 0x1fa7 8103
mm0 {
uint64 = 0,
v2_int32 = {0, 0},
v4_int16 = {0, 0, 0, 0},
v8_int8 = "\000\000\000\000\000\000\000"
} (raw 0x0000000000000000)
mm1 {
uint64 = 72340172838076673,
v2_int32 = {16843009, 16843009},
v4_int16 = {257, 257, 257, 257},
v8_int8 = "\001\001\001\001\001\001\001\001"
} (raw 0x0101010101010101)
mm2 {
uint64 = 2593823386,
v2_int32 = {-1701143910, 0},
v4_int16 = {-25958, -25958, 0, 0},
v8_int8 = "????\000\000\000"
} (raw 0x000000009a9a9a9a)
mm3 {
uint64 = 2593823386,
v2_int32 = {-1701143910, 0},
v4_int16 = {-25958, -25958, 0, 0},
v8_int8 = "????\000\000\000"
} (raw 0x000000009a9a9a9a)
mm4 {
uint64 = 2593823386,
v2_int32 = {-1701143910, 0},
v4_int16 = {-25958, -25958, 0, 0},
v8_int8 = "????\000\000\000"
} (raw 0x000000009a9a9a9a)
mm5 {
uint64 = 2593823386,
v2_int32 = {-1701143910, 0},
v4_int16 = {-25958, -25958, 0, 0},
v8_int8 = "????\000\000\000"
} (raw 0x000000009a9a9a9a)
mm6 {
uint64 = 9007336695791648,
v2_int32 = {2097184, 2097184},
v4_int16 = {32, 32, 32, 32},
v8_int8 = " \000 \000 \000 "
} (raw 0x0020002000200020)
mm7 {
uint64 = 0,
v2_int32 = {0, 0},
v4_int16 = {0, 0, 0, 0},
v8_int8 = "\000\000\000\000\000\000\000"
} (raw 0x0000000000000000)
(gdb)
More information about the MPlayer-users
mailing list