[MPlayer-users] msadpcm crash with Solaris/SPARC

Götz Waschk waschk at informatik.uni-rostock.de
Wed Oct 23 13:54:02 CEST 2002


Hi,

I forgot to compile with debug support, here's some more useful
output:

(gdb) run -v -vc null -vo null -ao null ~/public*/3*
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /users/ra04/waschk/cvs/MPlayer/./mplayer -v -vc null -vo null -ao null ~/public*/3*
[New LWP    2        ]
[New LWP    3        ]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/lib/locale/
Current domain: mplayer
Current dirname: /users/ra04/waschk/share/locale
[New LWP    4        ]


MPlayer CVS-021023-09:35-2.95.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

/users/ra04/waschk/.mplayer/config(2): option: vo
/users/ra04/waschk/.mplayer/config(2): parameter: sdl
/users/ra04/waschk/.mplayer/config(3): option: framedrop
/users/ra04/waschk/.mplayer/config(3): parameter: yes
/users/ra04/waschk/.mplayer/config(4): option: osdlevel
/users/ra04/waschk/.mplayer/config(4): parameter: 1
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: 38 audio & 110 video codecs
CommandLine: '-v' '-vc' 'null' '-vo' 'null' '-ao' 'null' '/users/ra04/waschk/public_html/3px_bcn10inv.avi'
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

Playing /users/ra04/waschk/public_html/3px_bcn10inv.avi
Not an URL!
File size is 1403744 bytes
Detected AVI file format!
list_end=0x15A
======= AVI Header =======
us/frame: 40000  (fps=25,000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (16) HAS_INDEX
frames  total: 420   initial: 18
streams: 2
Suggested BufferSize: 32768
Size:  320 x 240
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: sdiv   FCC: 4GPM (3447504D)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25,000
Start: 0   Len: 420
Suggested BufferSize: 230400
Quality 7500
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 877088845='4GPM'
  biSizeImage 230400
===========================
Regenerating keyframe table for M$ mpg4v1 video
list_end=0x15A
==> Found audio stream: 1
======= STREAM Header =======
Type: sdua   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 18
Rate: 11155/512 = 21,787
Start: 0   Len: 366
Suggested BufferSize: 11264
Quality 10000
Sample size: 512
found 'wf', 50 bytes of 18
======= WAVE Format =======
Format Tag: 2 (0x2)
Channels: 1
Samplerate: 22050
avg byte/sec: 11155
Block align: 512
bits/sample: 4
cbSize: 32
Unknown extra header dump: [f4] [3] [7] [0] [0] [1] [0] [0] [0] [2] [0] [ff] [0] [0] [0] [0] [c0] [0] [40] [0] [f0] [0] [0] [0] [cc] [1] [30] [ff] [88] [1] [18] [ff] 
Broken chunk?  chunksize=2048  (id=KNUJ)
list_end=0x155008
Found movie at 0x96E - 0x155008
Reading INDEX block, 437 chunks for 420 frames (fpos=0)
AVI index offset: 0x96A (movi=0x96E idx0=0x4 idx1=0x2A0C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=1390476
VIDEO:  [4GPM]  320x240  24bpp  25,00 fps  662,1 kbps (80,8 kbyte/s)
[V] filefmt:3  fourcc:0x3447504D  size:320x240  fps:25,00  ftime:=0,0400
get_path('sub/') -> '/users/ra04/waschk/.mplayer/sub/'
==========================================================================
Opening audio decoder: [msadpcm] MS ADPCM audio decoder
dec_audio: Allocating 512 bytes for input buffer
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer
AUDIO: 22050 Hz, 1 ch, 16 bit (0x20), ratio: 11155->44100 (89,2 kbit)
Selected audio codec: [msadpcm] afm:msadpcm (MS ADPCM)
==========================================================================
==========================================================================
Forced video codec: null
Opening video decoder: [null] Null video decoder
VDec: vo config request - 320 x 240 (preferred csp: BGR 24-bit)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [null] 320x240 => 320x240 Planar YV12 
VO: Description: Null video output
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Selected video codec: [null] vfm:null (NULL codec (no decoding!))
==========================================================================
AO: [null] 22050Hz 1ch Signed 16-bit (Big-Endian)
AO: Description: Null audio output
AO: Author: Tobias Diedrich
Building audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000020 and bps = 2
[channels] Changing number of channels to 2
[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000020 and bps = 2
Start playing...

Program received signal SIGBUS, Bus error.
0x52ed0 in ms_adpcm_decode_block (output=0x3c8be8, input=0x3c89e0 "\004\020", 
    channels=1, block_size=512) at ad_msadpcm.c:131
131	  idelta[0] = LE_16(&input[stream_ptr]);
(gdb) bt
#0  0x52ed0 in ms_adpcm_decode_block (output=0x3c8be8, 
    input=0x3c89e0 "\004\020", channels=1, block_size=512) at ad_msadpcm.c:131
#1  0x53240 in decode_audio (sh_audio=0x38f698, buf=0x3c8be8 "", minlen=32766, 
    maxlen=67584) at ad_msadpcm.c:210
#2  0x51118 in decode_audio (sh_audio=0x38f698, buf=0x3d93f0 "", minlen=32766, 
    maxlen=65536) at dec_audio.c:321
#3  0x288dc in main (argc=1794048, argv=0x1799a0) at mplayer.c:1399
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x52eb0 to 0x52ef0:
0x52eb0 <ms_adpcm_decode_block+128>:	ldub  [ %i1 + 1 ], %o0
0x52eb4 <ms_adpcm_decode_block+132>:	sll  %o0, 2, %o0
0x52eb8 <ms_adpcm_decode_block+136>:	ld  [ %l1 + %o0 ], %o2
0x52ebc <ms_adpcm_decode_block+140>:	ld  [ %l2 + %o0 ], %o1
0x52ec0 <ms_adpcm_decode_block+144>:	st  %o1, [ %fp + -44 ]
0x52ec4 <ms_adpcm_decode_block+148>:	st  %o2, [ %fp + -52 ]
0x52ec8 <ms_adpcm_decode_block+152>:	mov  2, %g1
0x52ecc <ms_adpcm_decode_block+156>:	sethi  %hi(0xfc00), %o0
0x52ed0 <ms_adpcm_decode_block+160>:	lduh  [ %i1 + %g1 ], %o1
0x52ed4 <ms_adpcm_decode_block+164>:	or  %o0, 0x300, %o3
0x52ed8 <ms_adpcm_decode_block+168>:	and  %o1, %o3, %o0
0x52edc <ms_adpcm_decode_block+172>:	and  %o1, 0xff, %o1
0x52ee0 <ms_adpcm_decode_block+176>:	sll  %o1, 8, %o1
0x52ee4 <ms_adpcm_decode_block+180>:	srl  %o0, 8, %o0
0x52ee8 <ms_adpcm_decode_block+184>:	or  %o1, %o0, %o1
0x52eec <ms_adpcm_decode_block+188>:	sethi  %hi(0x8000), %o2
End of assembler dump.
(gdb) info all-registers
g0             0x0	0
g1             0x1	1
g2             0xfffe	65534
g3             0x0	0
g4             0x1	1
g5             0x0	0
g6             0x0	0
g7             0x2f5de8	3104232
o0             0xfc00	64512
o1             0x10	16
o2             0x0	0
o3             0x0	0
o4             0xe	14
o5             0x3c89e0	3967456
sp             0xffbee178	-4267656
o7             0x9e248	647752
l0             0x0	0
l1             0x1b98e8	1808616
l2             0x1b98cc	1808588
l3             0x2f	47
l4             0x0	0
l5             0x0	0
l6             0x1	1
l7             0x0	0
i0             0x3c8be8	3967976
i1             0x3c89e0	3967456
i2             0x1	1
i3             0x200	512
i4             0x0	0
i5             0x2f5400	3101696
fp             0xffbee210	-4267504
i7             0x53238	340536
f0             7.83969043e-30	(raw 0x0f1f0200)	7.6189397313041844e-236
f1             2.20466161e-38	(raw 0x00f010ff)
f2             2.5465371e-29	(raw 0x10011ff1)	1.3787899847199736e-231
f3             2.20574005e-38	(raw 0x00f02f0f)
f4             1.83670992e-40	(raw 0x00020000)	2.7813424008652312e-309
f5             2.20465951e-38	(raw 0x00f010f0)
f6             8.85294239e-38	(raw 0x01f10001)	2.5384814479793585e-299
f7             -3.96529227e+28	(raw 0xef002021)
f8             7.83969043e-30	(raw 0x0f1f0200)	7.6189397313041844e-236
f9             2.20466161e-38	(raw 0x00f010ff)
f10            3.02485267e-39	(raw 0x0020f00f)	4.7109624850002535e-308
f11            2.54531804e-29	(raw 0x1001101e)
f12            1.08420217e-19	(raw 0x20000000)	1.4916681465873474e-154
f13            1.46936794e-39	(raw 0x00100000)
f14            -6.43436336e+29	(raw 0xf101f0e1)	-2.2817706506487139e+236f15            -1.59616894e+29	(raw 0xf000f000)
f16            -1.38583998e+11	(raw 0xd2011100)	-1.0609401115388064e+87
f17            9.50098797e-29	(raw 0x10f0e0f0)
f18            1.65305995e-39	(raw 0x0012000f)	2.5032399213019506e-308
f19            1.54429957e-39	(raw 0x0010d0e1)
f20            0	(raw 0x00000000)	5.5056995749352655e-318
f21            1.56155936e-39	(raw 0x001100fe)
f22            3.59259913e-11	(raw 0x2e1e0112)	1.5082837758006365e-86
f23            2.54109884e-20	(raw 0x1ef00000)
f24            -1.47713582e+20	(raw 0xe1001f01)	-1.7706905337072364e+159f25            1.00604423e-28	(raw 0x10ff1001)
f26            -9.50768899e+30	(raw 0xf2f00200)	-4.3720837034184768e+245f27            9.79339471e-41	(raw 0x00011100)
f28            2.21381377e-38	(raw 0x00f1101f)	3.8877568233947593e-304
f29            1.37789117e-39	(raw 0x000f0100)
f30            1.83670992e-40	(raw 0x00020000)	2.7813634761075978e-309
f31            -2.35439184e+38	(raw 0xff311ff0)
y              0x0	0
psr            0xfe901001	-24113151	icc:N--C, pil:0, s:0, ps:0, et:0, cwp:1
wim            0x0	0
tbr            0x0	0
pc             0x52ed0	339664
npc            0x52ed4	339668
fpsr           0x20	32	rd:N, tem:0, ns:0, ver:0, ftt:0, qne:0, fcc:=, aexc:1, cexc:0
cpsr           0x0	0

-- 
   Götz Waschk <> master of computer science  <> University of Rostock    
 http://wwwtec.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
                         --> Logout Fascism! <--




More information about the MPlayer-users mailing list