[MPlayer-users] MPlayer crash on karaoke ass

Jeffery Palm palmje at gmail.com
Sun Jul 12 16:13:03 CEST 2009


Hi,

I am getting a problem with mplayer crashing  when playing a karaoke ass file.

I found the problem with MPlayer SVN-r29300-4.3.2 and did the debug
with MPlayer SVN-r29417-4.3.2 (problem still occurs).  The problem
occured under several video output drivers as well (x11, xv, gl, gl2
and the default).

File is on FTP: /MPlayer/incoming/kara.ass.gz
(ass file that causes the crash)

System:
Ubuntu 8.10
Linux ubuntu 2.6.27-11-generic #1 SMP Wed Apr 1 20:53:41 UTC 2009
x86_64 GNU/Linux
libc-2.8.90
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)
GNU ld (GNU Binutils for Ubuntu) 2.18.93.20081009
GNU assembler (GNU Binutils for Ubuntu) 2.18.93.20081009
nVidia Corporation GeForce 9500M GS (rev a1), driver: nvidia-180
Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03),
driver: HDA Intel, ALSA

CPU:
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 23
model name    : Intel(R) Core(TM)2 Duo CPU     T9300  @ 2.50GHz
stepping    : 6
cpu MHz        : 800.000
cache size    : 6144 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 2
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 10
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl pni
monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm ida
bogomips    : 4987.47
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 6
model        : 23
model name    : Intel(R) Core(TM)2 Duo CPU     T9300  @ 2.50GHz
stepping    : 6
cpu MHz        : 800.000
cache size    : 6144 KB
physical id    : 0
siblings    : 2
core id        : 1
cpu cores    : 2
apicid        : 1
initial apicid    : 1
fpu        : yes
fpu_exception    : yes
cpuid level    : 10
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl pni
monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm ida
bogomips    : 4987.45
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:


gdb output:
[Thread debugging using libthread_db enabled]
MPlayer SVN-r29417-4.3.2 (C) 2000-2009 MPlayer Team

Playing trimmed.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO:  []  1440x1080  24bpp  29.970 fps  9203.1 kbps (1123.4 kbyte/s)
Clip info:
 Software: MEncoder SVN-r29300-4.3.2
[ass] Added subtitle file: enc/Asura 02 OP.ass (13 styles, 844 events)
SUB: Added subtitle file (1): enc/Asura 02 OP.ass
[ass] auto-open
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1440 x 1080 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
[New Thread 0x7f6b02a3d730 (LWP 27639)]
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1440 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1440x1080 => 1920x1080 Planar YV12  [fs] [zoom]
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
[ass] fontconfig: Selected font is not the requested one: 'DejaVu Sans
Bold' != 'Viner Hand ITC'
[ass] fontconfig: Selected font is not the requested one: 'DejaVu Sans
Bold' != 'Interstate Mono'
[ass] Glyph 0x6642 not found, selecting one more font for (Interstate
Mono, 200, 0)
[ass] fontconfig: Selected font is not the requested one: 'AR PL UMing
HK' != 'Interstate Mono'
[ass] fontconfig: Selected font is not the requested one: 'DejaVu Sans
Bold' != 'Lucida Calligra'
A:  70.0 V:  70.0 A-V:  0.000 ct:  0.042 2100/2100 41% 13%  0.5% 0 0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f6b02a3d730 (LWP 27639)]
put_image (vf=0x28ea810, mpi=<value optimized out>,
pts=70.069999694824219) at libmpcodecs/vf_ass.c:235
235                        *(dst + k) = val;
(gdb) bt
#0  put_image (vf=0x28ea810, mpi=<value optimized out>,
pts=70.069999694824219) at libmpcodecs/vf_ass.c:235
#1  0x00000000004f503c in filter_video (sh_video=<value optimized
out>, frame=0x2be3580, pts=70.069999694824219) at
libmpcodecs/dec_video.c:412
#2  0x0000000000476924 in main (argc=<value optimized out>,
argv=<value optimized out>) at mplayer.c:2295
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x5ecbdc to 0x5ecc1c:
0x00000000005ecbdc <put_image+492>:    add    %al,(%rax)
0x00000000005ecbde <put_image+494>:    je     0x5ecbe8 <put_image+504>
0x00000000005ecbe0 <put_image+496>:    cmpb   $0x0,0x1(%rax,%r8,1)
0x00000000005ecbe6 <put_image+502>:    jne    0x5ecc2d <put_image+573>
0x00000000005ecbe8 <put_image+504>:    xor    %edx,%edx
0x00000000005ecbea <put_image+506>:    mov    0x7c(%rbp),%eax
0x00000000005ecbed <put_image+509>:    test   %eax,%eax
0x00000000005ecbef <put_image+511>:    jle    0x5ecc2d <put_image+573>
0x00000000005ecbf1 <put_image+513>:    nopl   0x0(%rax)
0x00000000005ecbf8 <put_image+520>:    movzbl (%rdi,%rdx,1),%eax
0x00000000005ecbfc <put_image+524>:    mov    %al,(%rcx,%rdx,2)
0x00000000005ecbff <put_image+527>:    mov    %al,0x1(%rcx,%rdx,2)
0x00000000005ecc03 <put_image+531>:    mov    %al,(%rsi,%rdx,2)
0x00000000005ecc06 <put_image+534>:    mov    %al,0x1(%rsi,%rdx,2)
0x00000000005ecc0a <put_image+538>:    lea    0x1(%rdx),%eax
0x00000000005ecc0d <put_image+541>:    mov    0x38(%rsp),%r15
0x00000000005ecc12 <put_image+546>:    inc    %rdx
0x00000000005ecc15 <put_image+549>:    mov    0x230(%r15),%rbp
End of assembler dump.
(gdb) info all-registers
rax            0x35    53
rbx            0x10    16
rcx            0x7f6b01b83e50    140097567080016
rdx            0x0    0
rsi            0x7f6b01b843f0    140097567081456
rdi            0x7f6b00bbb2d0    140097550529232
rbp            0x289eae0    0x289eae0
rsp            0x7fff135225c0    0x7fff135225c0
r8             0xfffffffffffffffa    -6
r9             0x0    0
r10            0x7f6b01b84990    140097567082896
r11            0xb40    2880
r12            0xfffffffffffff4c0    -2880
r13            0x2d0    720
r14            0x80808081    2155905153
r15            0x28e9ec0    42901184
rip            0x5ecbfc    0x5ecbfc <put_image+524>
eflags         0x10202    [ IF RF ]
cs             0x33    51
ss             0x2b    43
ds             0x0    0
es             0x0    0
fs             0x0    0
gs             0x0    0
st0            -nan(0x8281808181818081)    (raw 0xffff8281808181818081)
st1            -nan(0x82008100800081)    (raw 0xffff0082008100800081)
st2            -nan(0x8381818283818182)    (raw 0xffff8381818283818182)
st3            -nan(0x83008100810082)    (raw 0xffff0083008100810082)
st4            -nan(0x8281818382818183)    (raw 0xffff8281818382818183)
st5            -nan(0x82008100810083)    (raw 0xffff0082008100810083)
st6            -nan(0x8281818282818182)    (raw 0xffff8281818282818182)
st7            -nan(0x82008100810082)    (raw 0xffff0082008100810082)
fctrl          0x37f    895
fstat          0x20    32
ftag           0xffff    65535
fiseg          0x7f6b    32619
fioff          0x601e047    100786247
foseg          0x7fff    32767
---Type <return> to continue, or q <return> to quit---
fooff          0x135224e8    324150504
fop            0x51f    1311
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 =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x7e, 0x7e,
0x7d, 0x7d, 0x7d, 0x7e,
    0x7d, 0x7e, 0x7b, 0x7c, 0x7c, 0x7c, 0x7c, 0x7c, 0x7c, 0x7b},
v8_int16 = {0x7e7e, 0x7d7d, 0x7e7d, 0x7e7d, 0x7c7b, 0x7c7c, 0x7c7c,
0x7b7c}, v4_int32 = {
    0x7d7d7e7e, 0x7e7d7e7d, 0x7c7c7c7b, 0x7b7c7c7c}, v2_int64 =
{0x7e7d7e7d7d7d7e7e, 0x7b7c7c7c7c7c7c7b}, uint128 =
0x7b7c7c7c7c7c7c7b7e7d7e7d7d7d7e7e}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0x7a, 0x79,
0x79, 0x79, 0x79, 0x79,
    0x79, 0x79, 0x79, 0x79, 0x79, 0x7a, 0x7a, 0x7b, 0x7b, 0x7b},
v8_int16 = {0x797a, 0x7979, 0x7979, 0x7979, 0x7979, 0x7a79, 0x7b7a,
0x7b7b}, v4_int32 = {
    0x7979797a, 0x79797979, 0x7a797979, 0x7b7b7b7a}, v2_int64 =
{0x797979797979797a, 0x7b7b7b7a7a797979}, uint128 =
0x7b7b7b7a7a797979797979797979797a}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x0}, v16_int8 = {0x7b, 0x7c, 0x7b, 0x7c, 0x7b,
0x7c, 0x7c, 0x7d, 0x80,
    0x7e, 0x7d, 0x80, 0x80, 0x7f, 0x7f, 0x81}, v8_int16 = {0x7c7b,
0x7c7b, 0x7c7b, 0x7d7c, 0x7e80, 0x807d, 0x7f80, 0x817f}, v4_int32 =
{0x7c7b7c7b,
    0x7d7c7c7b, 0x807d7e80, 0x817f7f80}, v2_int64 =
{0x7d7c7c7b7c7b7c7b, 0x817f7f80807d7e80}, uint128 =
0x817f7f80807d7e807d7c7c7b7c7b7c7b}
xmm4           {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}
xmm5           {v4_float = {0x0, 0x2, 0x0, 0x0}, v2_double = {0x2,
0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0,
    0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x4000, 0x0, 0x0, 0x0, 0x0},
v4_int32 = {0x0, 0x40000000, 0x0, 0x0}, v2_int64 =
{0x4000000000000000, 0x0},
  uint128 = 0x00000000000000004000000000000000}
xmm6           {v4_float = {0x0, 0xffffffff, 0x0, 0x0}, v2_double =
{0xffffffffffffffff, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0xf0, 0xbf, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0,
0xbff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0xbff00000, 0x0, 0x0},
v2_int64 = {
    0xbff0000000000000, 0x0}, uint128 = 0x0000000000000000bff0000000000000}
xmm7           {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x92, 0x91, 0x91, 0x91, 0x91, 0x91, 0xd1, 0x3f, 0x0,
0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x9192, 0x9191, 0x9191, 0x3fd1,
0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x91919192, 0x3fd19191, 0x0, 0x0},
v2_int64 = {
    0x3fd1919191919192, 0x0}, uint128 = 0x00000000000000003fd1919191919192}
xmm8           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x70, 0xc0, 0x45, 0x31, 0x63, 0x62, 0x5a, 0x3c, 0x0,
0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xc070, 0x3145, 0x6263, 0x3c5a,
0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x3145c070, 0x3c5a6263, 0x0, 0x0},
v2_int64 = {
    0x3c5a62633145c070, 0x0}, uint128 = 0x00000000000000003c5a62633145c070}
xmm9           {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x2f, 0x87, 0x29, 0xe8, 0x10, 0x11, 0x81, 0x3f, 0x0,
0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x872f, 0xe829, 0x1110, 0x3f81,
0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xe829872f, 0x3f811110, 0x0, 0x0},
v2_int64 = {
    0x3f811110e829872f, 0x0}, uint128 = 0x00000000000000003f811110e829872f}
xmm10          {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}
xmm11          {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x39, 0xe2, 0xd9, 0xed, 0x6b, 0xc1, 0x56, 0x3f, 0x0,
0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xe239, 0xedd9, 0xc16b, 0x3f56,
0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xedd9e239, 0x3f56c16b, 0x0, 0x0},
v2_int64 = {
    0x3f56c16bedd9e239, 0x0}, uint128 = 0x00000000000000003f56c16bedd9e239}
xmm12          {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe0, 0x3f, 0x0, 0x0,
0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3fe0, 0x0, 0x0, 0x0,
0x0}, v4_int32 = {0x0, 0x3fe00000, 0x0, 0x0}, v2_int64 =
{0x3fe0000000000000, 0x0},
---Type <return> to continue, or q <return> to quit---
  uint128 = 0x00000000000000003fe0000000000000}
xmm13          {v4_float = {0x53500000, 0x1, 0x0, 0x0}, v2_double =
{0x0, 0x0}, v16_int8 = {0x35, 0x55, 0x55, 0x55, 0x55, 0x55, 0xa5,
0x3f, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x5535, 0x5555, 0x5555,
0x3fa5, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x55555535, 0x3fa55555, 0x0,
0x0}, v2_int64 = {
    0x3fa5555555555535, 0x0}, uint128 = 0x00000000000000003fa5555555555535}
xmm14          {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}
xmm15          {v4_float = {0x51500000, 0x1, 0x0, 0x0}, v2_double =
{0x0, 0x0}, v16_int8 = {0x15, 0x55, 0x55, 0x55, 0x55, 0x55, 0xc5,
0x3f, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x5515, 0x5555, 0x5555,
0x3fc5, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x55555515, 0x3fc55555, 0x0,
0x0}, v2_int64 = {
    0x3fc5555555555515, 0x0}, uint128 = 0x00000000000000003fc5555555555515}
mxcsr          0x1fa0    [ PE IM DM ZM OM UM PM ]



If you require any further information, I wil be happy to help out in
any way I can.

Thanks.


More information about the MPlayer-users mailing list