Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#588 closed defect (fixed)

Mplayer crashes with the -ASS option

Reported by: ajaxas@… Owned by: beastd
Priority: normal Component: vo
Version: HEAD Severity: minor
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Mplayer crashes when -ass option is given whether it is an .MKV file with
ASS/SSA stream, or an .AVI file with external ASS/SSA subtitle file.

System: Suse 10.1
Kernel: 2.6.16.13-4-default
libc: libc-2.4
gcc: 4.1.0
ld: 2.16.91.0.5 20051219 (SUSE Linux)
as: 2.16.91.0.5 20051219 (SUSE Linux)

CPU: Athlon XP (Barton) 2500+
Video card: NVidia GeForce? FX 5200 128MB
Video driver: NVIDIA-Linux-x86-1.0-8762
Sound card: Creative SB128 with kernel OSS driver

GDB crash log:

ajaxas@r2d2:~/soft/make/mplayer> gdb ./mplayer
GNU gdb 6.4
Copyright 2005 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 "i586-suse-linux"...Using host libthread_db library
"/lib/libthread_db.so.1".

(gdb) run -v -ass /mnt/e/Air/Air_movie.mkv
Starting program: /home/ajaxas/soft/make/mplayer/mplayer -v -ass
/mnt/e/Air/Air_movie.mkv
[Thread debugging using libthread_db enabled]
[New Thread -1230841424 (LWP 15195)]
MPlayer dev-SVN-r20009-4.1.0 (C) 2000-2006 MPlayer Team
CPU: Athlon XP (Barton)2500+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Warning unknown option skin at line 16
get_path('codecs.conf') -> '/home/ajaxas/.mplayer/codecs.conf'
Reading /home/ajaxas/.mplayer/codecs.conf: Can't open
'/home/ajaxas/.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.
CommandLine?: '-v' '-ass' '/mnt/e/Air/Air_movie.mkv'
init_freetype
get_path('font/font.desc') -> '/home/ajaxas/.mplayer/font/font.desc'
font: can't open file: /home/ajaxas/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay?
Using nanosleep() timing
get_path('input.conf') -> '/home/ajaxas/.mplayer/input.conf'
Parsing input config file /home/ajaxas/.mplayer/input.conf
Input config file /home/ajaxas/.mplayer/input.conf parsed: 53 binds
get_path('Air_movie.mkv.conf') -> '/home/ajaxas/.mplayer/Air_movie.mkv.conf'

Playing /mnt/e/Air/Air_movie.mkv.
get_path('sub/') -> '/home/ajaxas/.mplayer/sub/'
[file] File size is 1433475637 bytes
STREAM: [file] /mnt/e/Air/Air_movie.mkv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo?
Checking for REAL
Checking for SMJPEG
[mkv] Found the head...
[mkv] + a segment...
[mkv] /---- [ parsing seek head ] ---------
[mkv] /---- [ parsing seek head ] ---------
[mkv] \---- [ parsing seek head ] ---------
[mkv] /---- [ parsing cues ] -----------
[mkv] \---- [ parsing cues ] -----------
[mkv] /---- [ parsing chapters ] ---------
[mkv] Chapter 0 from 00:00:00.000 to 00:00:50.551, 01. Journey
[mkv] Chapter 1 from 00:00:50.551 to 00:06:37.981, 02. The poem of the bird
[mkv] Chapter 2 from 00:06:37.981 to 00:09:40.038, 03. The legend of the Yokujin
[mkv] Chapter 3 from 00:09:40.038 to 00:14:25.532, 04. Meeting
[mkv] Chapter 4 from 00:14:25.532 to 00:16:52.679, 05. Yukito
[mkv] Chapter 5 from 00:16:52.679 to 00:21:27.538, 06. The Kamio House
[mkv] Chapter 6 from 00:21:27.538 to 00:22:52.247, 07. Cherry Blossoms Palace
[mkv] Chapter 7 from 00:22:52.247 to 00:26:05.232, 08. Field work
[mkv] Chapter 8 from 00:26:05.232 to 00:27:27.689, 09. Illness
[mkv] Chapter 9 from 00:27:27.689 to 00:31:27.471, 10. Shrine
[mkv] Chapter 10 from 00:31:27.471 to 00:35:33.509, 11. Captivity
[mkv] Chapter 11 from 00:35:33.509 to 00:38:32.229, 12. Haruko
[mkv] Chapter 12 from 00:38:32.229 to 00:44:43.559, 13. Sora
[mkv] Chapter 13 from 00:44:43.559 to 00:49:31.930, 14. Princess Kanna
[mkv] Chapter 14 from 00:49:31.930 to 00:51:54.448, 15. Misuzu
[mkv] Chapter 15 from 00:51:54.448 to 00:55:10.644, 16. Resolve
[mkv] Chapter 16 from 00:55:10.644 to 00:59:55.971, 17. Mother and daughter
[mkv] Chapter 17 from 00:59:55.971 to 01:04:12.060, 18. Before dawn
[mkv] Chapter 18 from 01:04:12.060 to 01:05:42.442, 19. Festival
[mkv] Chapter 19 from 01:05:42.442 to 01:13:07.262, 20. Father
[mkv] Chapter 20 from 01:13:07.262 to 01:18:47.853, 21. Flight
[mkv] Chapter 21 from 01:18:47.853 to 01:21:34.895, 22. Confession
[mkv] Chapter 22 from 01:21:34.895 to 01:22:59.855, 23. After that
[mkv] Chapter 23 from 01:22:59.855 to 01:27:15.903, 24. Azure sky
[mkv] Chapter 24 from 01:27:15.903 to 00:00:00.000, 25. Farewell Song
[mkv] \---- [ parsing chapters ] ---------
[mkv] \---- [ parsing seek head ] ---------
[mkv] |+ segment information...
[mkv] | + timecode scale: 1000000
[mkv] | + duration: 5480.534s
[mkv] |+ segment tracks...
[mkv] | + a track...
[mkv] | + Track number: 1
[mkv] | + Track type: Video
[mkv] | + Default flag: 1
[mkv] | + Codec ID: V_MS/VFW/FOURCC
[mkv] | + CodecPrivate?, length 40
[mkv] | + Default duration: 41.708ms ( = 23.976 fps)
[mkv] | + Language: und
[mkv] | + Name: H264 Video Stream
[mkv] | + Video track
[mkv] | + Pixel width: 704
[mkv] | + Pixel height: 464
[mkv] | + Display width: 825
[mkv] | + Display height: 464
[mkv] | + a track...
[mkv] | + Track number: 2
[mkv] | + Track type: Audio
[mkv] | + Default flag: 1
[mkv] | + Codec ID: A_AC3
[mkv] | + Default duration: 32.000ms ( = 31.250 fps)
[mkv] | + Language: jpn
[mkv] | + Name: Original 5.1 (AC3)
[mkv] | + Audio track
[mkv] | + Sampling frequency: 48000.000000
[mkv] | + Channels: 6
[mkv] | + a track...
[mkv] | + Track number: 3
[mkv] | + Track type: Audio
[mkv] | + Default flag: 0
[mkv] | + Codec ID: A_AAC/MPEG4/LC/SBR
[mkv] | + Default duration: 42.667ms ( = 23.438 fps)
[mkv] | + Language: jpn
[mkv] | + Name: Director's Commentary (AAC)
[mkv] | + Audio track
[mkv] | + Sampling frequency: 24000.000000
[mkv] | + Channels: 2
[mkv] | + a track...
[mkv] | + Track number: 4
[mkv] | + Track type: Subtitle
[mkv] | + Default flag: 1
[mkv] | + Codec ID: S_TEXT/SSA
[mkv] | + CodecPrivate?, length 1328
[mkv] | + Language: eng
[mkv] | + Name: English SSA Subtitles + Karaoke
[mkv] | + a track...
[mkv] | + Track number: 5
[mkv] | + Track type: Subtitle
[mkv] | + Default flag: 0
[mkv] | + Codec ID: S_TEXT/SSA
[mkv] | + CodecPrivate?, length 1327
[mkv] | + Language: fre
[mkv] | + Name: French SSA Subtitles + Karaoke
[mkv] /---- [ parsing attachments ] ---------
[mkv] | + an attachment...
[mkv] | + FileName?: ARIDI_.TTF
[mkv] | + FileMimeType?: application/x-truetype-font
[mkv] | + FileData?, length 159776
[mkv] Attachment: ARIDI
_.TTF, application/x-truetype-font, 159776 bytes
[mkv] | + an attachment...
[mkv] | + FileName?: BANCIL.TTF
[mkv] | + FileMimeType?: application/x-truetype-font
[mkv] | + FileData?, length 47028
[mkv] Attachment: BANCIL
.TTF, application/x-truetype-font, 47028 bytes
[mkv] | + an attachment...
[mkv] | + FileName?: HUMASNB_.TTF
[mkv] | + FileMimeType?: application/x-truetype-font
[mkv] | + FileData?, length 47624
[mkv] Attachment: HUMASNB_.TTF, application/x-truetype-font, 47624 bytes
[mkv] | + an attachment...
[mkv] | + FileName?: Koriib.ttf
[mkv] | + FileMimeType?: application/x-truetype-font
[mkv] | + FileData?, length 50684
[mkv] Attachment: Koriib
.ttf, application/x-truetype-font, 50684 bytes
[mkv] | + an attachment...
[mkv] | + FileName?: Koriil.ttf
[mkv] | + FileMimeType?: application/x-truetype-font
[mkv] | + FileData?, length 50252
[mkv] Attachment: Koriil
.ttf, application/x-truetype-font, 50252 bytes
[mkv] | + an attachment...
[mkv] | + FileName?: PIOUHI.TTF
[mkv] | + FileMimeType?: application/x-truetype-font
[mkv] | + FileData?, length 93428
[mkv] Attachment: PIOUHI
.TTF, application/x-truetype-font, 93428 bytes
[mkv] \---- [ parsing attachments ] ---------
[mkv] |+ found cluster, headers are parsed completely :)
==> Found video stream: 1
[mkv] Aspect: 1.778017
[mkv] Track ID 1: video (V_MS/VFW/FOURCC) "H264 Video Stream", -vid 0
==> Found audio stream: 2
[mkv] Track ID 2: audio (A_AC3) "Original 5.1 (AC3)", -aid 0, -alang jpn
==> Found audio stream: 3
[mkv] Track ID 3: audio (A_AAC/MPEG4/LC/SBR) "Director's Commentary (AAC)", -aid
1, -alang jpn
[mkv] Track ID 4: subtitles (S_TEXT/SSA) "English SSA Subtitles + Karaoke", -sid
0, -slang eng
[mkv] Track ID 5: subtitles (S_TEXT/SSA) "French SSA Subtitles + Karaoke", -sid
1, -slang fre
[mkv] Will play video track 1
[0x876c2d8] Style: TitleFat?,PiousHenryITC
TT,90,5294290,0,0,0,1,0,1,8.0,2,2,0,0,2,0,0
[0x876c2d8] Style: TitleAir?,KoriganITC
TT,14,15198175,0,0,0,0,0,1,0,0,2,125,0,100,0,0
[0x876c2d8] Style: Default,Humana Sans ITC
TT,18,&H00FEE1DA,0,0,&H003E2722,1,0,1,1.3,1.3,2,18,18,9,0,0
[0x876c2d8] Style: TN,KoriganITC TT,13,&H00A5BED1,0,0,0,1,0,1,1,0.8,6,18,18,7,0,0
[0x876c2d8] Style: Top,Humana Sans ITC
TT,18,&HFFFFFF,&H000000,&He7e7df,&H000000,1,0,1,2,0,6,0,0,30,0,0
[0x876c2d8] Style: karaoke,AridITC
TT,25,&HFFFFFF,&H000000,0,&H00B36251,1,0,2,1.0,1.0,6,10,10,10,0,0
[0x876c2d8] Style: translation,BancoITC
TT,25,&H00AFEDED,0,0,0,1,0,1,1,1,2,20,20,10,0,0
[0x876c2d8] Style: CredSty1,PiousHenryITC
TT,25,&HFFFFFF,0,0,0,1,0,1,2.0,2,9,30,0,30,0,0
[0x876c2d8] Style: CredSty2,KoriganITC
TT,11,&HFFFFFF,0,0,0,1,0,1,2.0,2,9,30,0,30,0,0
[0x876c2d8] Style: CredSty1R,PiousHenryITC
TT,25,&HFFFFFF,0,0,0,1,0,1,2.0,2,7,30,30,80,0,0
[0x876c2d8] Style: CredSty2R,KoriganITC
TT,11,&HFFFFFF,0,0,0,1,0,1,2.0,2,7,30,30,80,0,0
[0x876c9a8] Style: TitleFat?,PiousHenryITC
TT,90,5294290,0,0,0,1,0,1,8.0,2,2,0,0,2,0,0
[0x876c9a8] Style: TitleAir?,KoriganITC
TT,14,15198175,0,0,0,0,0,1,0,0,2,125,0,100,0,0
[0x876c9a8] Style: Default,Humana Sans ITC
TT,18,&H00FEE1DA,0,0,&H003E2722,1,0,1,1.3,1.3,2,18,18,9,0,0
[0x876c9a8] Style: TN,KoriganITC TT,13,&H00A5BED1,0,0,0,1,0,1,1,0.8,6,18,18,7,0,0
[0x876c9a8] Style: Top,Humana Sans ITC
TT,18,&HFFFFFF,&H000000,&He7e7df,&H000000,1,0,1,2,0,6,0,0,30,0,0
[0x876c9a8] Style: karaoke,AridITC
TT,25,&HFFFFFF,&H000000,0,&H00B36251,1,0,2,1.0,1.0,6,10,10,10,0,0
[0x876c9a8] Style: translation,BancoITC
TT,25,&H00AFEDED,0,0,0,1,0,1,1,1,2,20,20,10,0,0
[0x876c9a8] Style: CredSty1,PiousHenryITC
TT,25,&HFFFFFF,0,0,0,1,0,1,2.0,2,9,30,0,30,0,0
[0x876c9a8] Style: CredSty2,KoriganITC
TT,11,&HFFFFFF,0,0,0,1,0,1,2.0,2,9,30,0,30,0,0
[0x876c9a8] Style: CredSty1R,PiousHenryITC
TT,25,&HFFFFFF,0,0,0,1,0,1,2.0,2,7,30,30,80,0,0
[0x876c9a8] Style: CredSty2R,KoriganITC
TT,11,&HFFFFFF,0,0,0,1,0,1,2.0,2,7,30,30,80,0,0
[mkv] Will display subtitle track 4
Matroska file format detected.
VIDEO: [H264] 704x464 12bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31 fourcc:0x34363248 size:704x464 fps:23.98 ftime:=0.0417
get_path('sub/') -> '/home/ajaxas/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 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] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x0101fe).
[xv common] Maximum source image dimensions: 2046x2046
[vo] query(Planar YV12) -> 3
[ass] auto-open
get_path('subfont.ttf') -> '/home/ajaxas/.mplayer/subfont.ttf'
get_path('fonts') -> '/home/ajaxas/.mplayer/fonts'
[ass] Updating font cache

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1230841424 (LWP 15195)]
0xb79c87a1 in FcConfigAddConfigDir? () from /usr/lib/libfontconfig.so.1
(gdb) bt
#0 0xb79c87a1 in FcConfigAddConfigDir? () from /usr/lib/libfontconfig.so.1
#1 0xb79c8ae9 in FcConfigAddFontDir? () from /usr/lib/libfontconfig.so.1
#2 0xb79cef02 in FcDirScanConfig? () from /usr/lib/libfontconfig.so.1
#3 0xb79cf048 in FcDirScan? () from /usr/lib/libfontconfig.so.1
#4 0x084d1df5 in fontconfig_init (dir=0x87762b0 "/home/ajaxas/.mplayer/fonts",
family=0x0, path=0x8776288 "/home/ajaxas/.mplayer/subfont.ttf")

at ass_fontconfig.c:170

#5 0x084cc643 in ass_init () at ass_render.c:213
#6 0x081253de in control (vf=0x8776218, request=142041776, data=0x0) at
vf_ass.c:362
#7 0x08084c1a in main (argc=4, argv=0xbf92f624) at mplayer.c:3824
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xb79c8781 to 0xb79c87c1:
0xb79c8781 <FcConfigAddConfigDir?+33>: call 0xb79c1e04 <FcStrSetAddFilename?@plt>
0xb79c8786 <FcConfigAddConfigDir?+38>: add $0x14,%esp
0xb79c8789 <FcConfigAddConfigDir?+41>: pop %ebx
0xb79c878a <FcConfigAddConfigDir?+42>: pop %ebp
0xb79c878b <FcConfigAddConfigDir?+43>: ret
0xb79c878c <FcConfigAddConfigDir?+44>: lea 0x0(%esi),%esi
0xb79c8790 <FcConfigAddConfigDir?+48>: push %ebp
0xb79c8791 <FcConfigAddConfigDir?+49>: mov %esp,%ebp
0xb79c8793 <FcConfigAddConfigDir?+51>: push %edi
0xb79c8794 <FcConfigAddConfigDir?+52>: mov %edx,%edi
0xb79c8796 <FcConfigAddConfigDir?+54>: push %esi
0xb79c8797 <FcConfigAddConfigDir?+55>: push %ebx
0xb79c8798 <FcConfigAddConfigDir?+56>: sub $0x8c,%esp
0xb79c879e <FcConfigAddConfigDir?+62>: mov %eax,0xffffff84(%ebp)
0xb79c87a1 <FcConfigAddConfigDir?+65>: mov 0xc(%eax),%eax
0xb79c87a4 <FcConfigAddConfigDir?+68>: call 0xb79c33b7
<FcFontSetNeededBytesAlign?@plt+227>
0xb79c87a9 <FcConfigAddConfigDir?+73>: add $0x28b0f,%ebx
0xb79c87af <FcConfigAddConfigDir?+79>: mov 0x4(%eax),%edx
0xb79c87b2 <FcConfigAddConfigDir?+82>: test %edx,%edx
0xb79c87b4 <FcConfigAddConfigDir?+84>: jle 0xb79c87fb <FcConfigAddConfigDir?+155>
0xb79c87b6 <FcConfigAddConfigDir?+86>: xor %esi,%esi
0xb79c87b8 <FcConfigAddConfigDir?+88>: jmp 0xb79c87ce <FcConfigAddConfigDir?+110>
0xb79c87ba <FcConfigAddConfigDir?+90>: lea 0x0(%esi),%esi
0xb79c87c0 <FcConfigAddConfigDir?+96>: mov 0xffffff84(%ebp),%edx
End of assembler dump.
(gdb) info all-registers
eax 0x0 0
ecx 0xb75c8140 -1218674368
edx 0x87762b0 142041776
ebx 0xb79f12b8 -1214311752
esp 0xbf92e0f0 0xbf92e0f0
ebp 0xbf92e188 0xbf92e188
esi 0x87762b0 142041776
edi 0x87762b0 142041776
eip 0xb79c87a1 0xb79c87a1 <FcConfigAddConfigDir?+65>
eflags 0x210286 2163334
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0 (raw 0x00000000000000000000)
st3 0 (raw 0x00000000000000000000)
st4 0 (raw 0x00000000000000000000)
st5 23.437500366210943222866625035294419 (raw 0x4003bb80003126e985b8)
st6 5480.5341796875 (raw 0x400bab44460000000000)
st7 1 (raw 0x3fff8000000000000000)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
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, 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}
xmm3 {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}
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, 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}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
---Type <return> to continue, or q <return> to quit---

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

uint128 = 0x00000000000000000000000000000000}
xmm7 {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}
mxcsr 0x1f80 8064
mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm5 {uint64 = 0xbb80003126e985b8, v2_int32 = {0x26e985b8,
0xbb800031}, v4_int16 = {0x85b8, 0x26e9, 0x31, 0xbb80}, v8_int8 = {0xb8,

0x85, 0xe9, 0x26, 0x31, 0x0, 0x80, 0xbb}}

mm6 {uint64 = 0xab44460000000000, v2_int32 = {0x0, 0xab444600},
v4_int16 = {0x0, 0x0, 0x4600, 0xab44}, v8_int8 = {0x0, 0x0, 0x0, 0x0,

0x0, 0x46, 0x44, 0xab}}

mm7 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000},
v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0, 0x80}}

Attachments (2)

fc_suse_workaround.diff (561 bytes) - added by reimar 13 years ago.
workaround for SuSE fontconfig 2.3.94 bug
1.patch (619 bytes) - added by ajaxas@… 13 years ago.
patch for ass_fontconfig.c (rev. 20018)

Download all attachments as: .zip

Change History (13)

comment:1 Changed 13 years ago by ajaxas@…

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

(In reply to comment #0)
Okay, seems like the reason lies in fontconfig and SUSE, not mplayer.
Updating to fontconfig 1.4.x (only?) solves the problem, but inflicts heavy
damage on your brain with a great [not properly handled] crash after passing -vf
option to mplayer.

I'm so blue.
Gotta search for better solution, sorry for this all!

comment:2 Changed 13 years ago by reimar

Really weird. If you find out further details please tell us. I have an OpenSuSE
10.1 system, I'll try if I can reproduce it there.

comment:3 Changed 13 years ago by reimar

The fontconfig issue is SuSE bug, they once again include a beta version of
something...
Instead of updating I applied a workaround patch that I will attach shortly.
After that I had no further problems, so please open another bug if you still
have issues...

Changed 13 years ago by reimar

workaround for SuSE fontconfig 2.3.94 bug

comment:4 Changed 13 years ago by reimar

Changed 13 years ago by ajaxas@…

patch for ass_fontconfig.c (rev. 20018)

comment:5 Changed 13 years ago by ajaxas@…

comment:6 Changed 13 years ago by ajaxas@…

  • Resolution invalid deleted
  • Status changed from closed to reopened

(In reply to comment #5)

Created an attachment (id=272) [edit]
patch for ass_fontconfig.c (rev. 20018)

Evgeniy Stepanov has already sent me a patch (different from yours, but maybe
not that much different, i'm just a mere lawyer, not programmer, sorry), so I
went ahead and applied it a minute ago. And it works!

I've attached that patch next to yours, excuse me :)

comment:7 Changed 13 years ago by ajaxas@…

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

Consider it's FIXED.

comment:8 Changed 13 years ago by eugeni.stepanov@…

FcDirScanConfig? is an internal function, and is unavailable in 2.4.
Newer versions of FontConfig? don't need cache updating at all, so the whole
block of code could be put under #ifdef (replacing the current runtime check).

comment:9 Changed 13 years ago by ajaxas@…

Reimar-san's patch works as well, no problem found.

comment:10 Changed 13 years ago by reimar

FcDirScanConfig? is an internal function, and is unavailable in 2.4.
Newer versions of FontConfig? don't need cache updating at all, so the whole
block of code could be put under #ifdef (replacing the current runtime check).

The problem seems to be the 2.4 beta versions (2.3.9x), they seem to need cache
updating (not sure though), but FcDirScan? is broken.
FcDirScanConfig? may be internal but that is what their fc-cache program was
using and probably the reason why they didn't notice the bug (I call them idiots
for needlessly using an internal API function).
I'd suggest changing
FcGetVersion?() < 20400
to
FcGetVersion?() < 20390
and printing a warning that beta software is not supported for 20390 - 20399.

comment:11 Changed 13 years ago by reimar

Applied a patch that does as I suggested. People using 2.3.9x version might have
to use fc-cache to manually update font cache.

Note: See TracTickets for help on using tickets.