[MPlayer-users] subtitle reader crashes on Solaris

Götz Waschk waschk at informatik.uni-rostock.de
Wed Jul 2 14:08:18 CEST 2003


Hi everyone,

the subtitle reader that automatically tries to open a matching
subtitle file for your video, crashes on Solaris. This happens
everytime there is a .txt file in the same directory as the video
file.

I have:
Solaris 2.7
/users/ra04/waschk -> uname -a
SunOS sake 5.7 Generic_106541-17 sun4u sparc
/users/ra04/waschk -> gcc -v
Reading specs from /opt/p.egcs/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/users/ra04/waschk -> ld -v
GNU ld version 2.10.1 (with BFD 2.10.1)

as is from Solaris

Here's the gdb output:
MPlayer dev-CVS-030702-13:34-2.95.2 (C) 2000-2003 Árpád Gereöffy (see DOCS)

Reading config file /users/ra04/waschk/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /users/ra04/waschk/.mplayer/config
Reading /users/ra04/waschk/.mplayer/codecs.conf: can't open '/users/ra04/waschk/.mplayer/codecs.conf': No such file or directory
Reading /users/ra04/waschk/etc/mplayer/codecs.conf: 60 audio & 149 video codecs
CommandLine: '/users/ra04/waschk/download/videos/Oruchuban Ebichu - Episode 09 & 10.avi' '-ao' 'null' '-v'
get_path('font/font.desc') -> '/users/ra04/waschk/.mplayer/font/font.desc'
Font /users/ra04/waschk/.mplayer/font/font.desc loaded successfully! (206 chars)Using Unoptimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/users/ra04/waschk/.mplayer/input.conf'
Parsing input config file /users/ra04/waschk/.mplayer/input.conf
Input config file /users/ra04/waschk/.mplayer/input.conf parsed : 53 binds
get_path('Oruchuban Ebichu - Episode 09 & 10.avi.conf') -> '/users/ra04/waschk/.mplayer/Oruchuban Ebichu - Episode 09 & 10.avi.conf'

Playing /users/ra04/waschk/download/videos/Oruchuban Ebichu - Episode 09 & 10.avi
Not an URL!
[file] File size is 133197824 bytes
STREAM: [file] /users/ra04/waschk/download/videos/Oruchuban Ebichu - Episode 09 & 10.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23,976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 27212   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  512 x 384
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: sdiv   FCC: 3vid (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 2397600/100000 = 23,976
Start: 0   Len: 27212
Suggested BufferSize: 72926
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 512
  biHeight 384
  biPlanes 1
  biBitCount 24
  biCompression 861292868='3VID'
  biSizeImage 589824
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: sdua   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 44100/1152 = 38,281
Start: 0   Len: 43447
Suggested BufferSize: 1442
Quality -1
Sample size: 0
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 16001
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=256
mp3.fdwFlags=0x2000000
mp3.nBlockSize=41217
mp3.nFramesPerBlock=256
mp3.nCodecDelay=0
list_end=0x2292
list_end=0x2322
hdr=Software  size=15
Software  : Nandub v1.0rc2
hdr=Name  size=12
Name      : ebichu09-10
hdr=Subject  size=12
Subject   : ebichu09-10
hdr=Artist  size=1
Artist    : 
hdr=Copyright  size=40
Copyright : http://animempeg.mushhaven.net/fansubs/
hdr=Comments  size=1
Comments  : 
Broken chunk?  chunksize=1238  (id=KNUJ)
list_end=0x7DF2C76
Found movie at 0x280C - 0x7DF2C76
Reading INDEX block, 70659 chunks for 27212 frames (fpos=0)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x5AE)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=113316667 (27212) audio size=18160097 (43448)
VIDEO:  [3VID]  512x384  24bpp  23,98 fps  798,7 kbps (97,5 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:512x384  fps:23,98  ftime:=0,0417
Clip info:
 Software: Nandub v1.0rc2
 Name: ebichu09-10
 Subject: ebichu09-10
 Artist: 
 Copyright: http://animempeg.mushhaven.net/fansubs/
 Comments: 
get_path('sub/') -> '/users/ra04/waschk/.mplayer/sub/'

Program received signal SIGSEGV, Segmentation fault.
0xfedb6f54 in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0  0xfedb6f54 in strlen () from /usr/lib/libc.so.1
#1  0xfee01900 in _doprnt () from /usr/lib/libc.so.1
#2  0xfee03634 in sprintf () from /usr/lib/libc.so.1
#3  0x41da8 in sub_filenames (
    path=0x597df0 "/users/ra04/waschk/.mplayer/sub/", 
    fname=0x7 <Address 0x7 out of bounds>) at subreader.c:1684
#4  0x2ca78 in main (argc=5, argv=0xffbef5f4) at mplayer.c:1565
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xfedb6f34 to 0xfedb6f74:
0xfedb6f34 <strlen+96>:	b,a   0xfedb6f84 <strlen+176>
0xfedb6f38 <strlen+100>:	bne,a   0xfedb6f44 <strlen+112>
0xfedb6f3c <strlen+104>:	inc  %o0
0xfedb6f40 <strlen+108>:	b,a   0xfedb6f84 <strlen+176>
0xfedb6f44 <strlen+112>:	sethi  %hi(0x7efefc00), %o3
0xfedb6f48 <strlen+116>:	or  %o3, 0x2ff, %o3	! 0x7efefeff
0xfedb6f4c <strlen+120>:	sethi  %hi(0x81010000), %o4
0xfedb6f50 <strlen+124>:	or  %o4, 0x100, %o4	! 0x81010100
0xfedb6f54 <strlen+128>:	ld  [ %o1 ], %o2
0xfedb6f58 <strlen+132>:	add  %o1, 4, %o1
0xfedb6f5c <strlen+136>:	add  %o2, %o3, %o5
0xfedb6f60 <strlen+140>:	xor  %o5, %o2, %o5
0xfedb6f64 <strlen+144>:	and  %o5, %o4, %o5
0xfedb6f68 <strlen+148>:	cmp  %o5, %o4
0xfedb6f6c <strlen+152>:	be,a   0xfedb6f54 <strlen+128>
0xfedb6f70 <strlen+156>:	add  %o0, 4, %o0
End of assembler dump.
(gdb) info all-registers
g0             0x0	0
g1             0x21000	135168
g2             0x263db8	2506168
g3             0x263ba0	2505632
g4             0x0	0
g5             0x0	0
g6             0x0	0
g7             0x39bb10	3783440
o0             0x0	0
o1             0x0	0
o2             0x7fffffff	2147483647
o3             0x7efefeff	2130640639
o4             0x81010100	-2130640640
o5             0x598c90	5868688
sp             0xffbed478	-4270984
o7             0xfee018f8	-18867976
l0             0x7efefeff	2130640639
l1             0x81010100	-2130640640
l2             0xff000000	-16777216
l3             0xff0000	16711680
l4             0xff00	65280
l5             0x81010000	-2130640896
l6             0x0	0
l7             0x0	0
i0             0x263dd5	2506197
i1             0x0	0
i2             0x0	0
i3             0x0	0
i4             0xfee35ad4	-18654508
i5             0x1c8	456
fp             0xffbee1c8	-4267576
i7             0xfee0362c	-18860500
f0             0	(raw 0x00000000)	0
f1             0	(raw 0x00000000)
f2             0	(raw 0x00000000)	0
f3             0	(raw 0x00000000)
f4             0	(raw 0x00000000)	0
f5             0	(raw 0x00000000)
f6             0	(raw 0x00000000)	0
f7             0	(raw 0x00000000)
f8             0	(raw 0x00000000)	0
f9             0	(raw 0x00000000)
f10            0	(raw 0x00000000)	0
f11            0	(raw 0x00000000)
f12            0	(raw 0x00000000)	0
f13            0	(raw 0x00000000)
f14            0	(raw 0x00000000)	0
f15            0	(raw 0x00000000)
f16            0.0522452481	(raw 0x3d55ff1d)	3.1258977919678314e-13
f17            -4.19064324e+25	(raw 0xea0aa821)
f18            1.25678436e+20	(raw 0x60da0470)	3.5720762275431817e+158
f19            -0.232141539	(raw 0xbe6db683)
f20            -4.6541454e-10	(raw 0xafffdd46)	-1.7199121137364559e-77
f21            6.4390853e+15	(raw 0x59b70283)
f22            9.41360413e-05	(raw 0x38c56ae7)	3.2225614489185159e-35
f23            3.30104387e+34	(raw 0x78cb714a)
f24            0.249355927	(raw 0x3e7f5729)	1.1675236708770537e-07
f25            5.25048104e+17	(raw 0x5ce92b0f)
f26            4.47989116e-26	(raw 0x155dd55e)	9.2923774521531378e-206
f27            -0.00165493647	(raw 0xbad8ea74)
f28            -1.0487984e-29	(raw 0x8f54b8ba)	-8.1464186496940028e-235f29            -6.41375583e+27	(raw 0xeda5caad)
f30            0	(raw 0x00000000)	0
f31            0	(raw 0x00000000)
y              0x0	0
psr            0xfe401003	-29356029	icc:-Z--, pil:0, s:0, ps:0, et:0, cwp:3
wim            0x0	0
tbr            0x0	0
pc             0xfedb6f54	-19173548
npc            0xfedb6f58	-19173544
fpsr           0x820	2080	rd:N, tem:0, ns:0, ver:0, ftt:0, qne:0, fcc:>, aexc:1, cexc:0
cpsr           0x0	0

-- 
What difference does it make to the dead, the orphans and the
homeless, whether the mad destruction is wrought under the name of
totalitarianism or the holy name of liberty or democracy?
    Mahatma Gandhi (1869 - 1948), "Non-Violence in Peace and War"



More information about the MPlayer-users mailing list