[MPlayer-users] Crash on a video file

Michal Bukovjan bukovjan at mbox.dkm.cz
Wed Nov 13 10:36:02 CET 2002


mwmiller at columbus.rr.com wrote:
> On Tue, Nov 12, 2002 at 11:44:57PM +0100, Michal Bukovjan <bukovjan at mbox.dkm.cz> wrote:
> 
>>per instructions on bug reporting, I would like to report that the 
>>following file crashes mplayer:
>>http://www.trisestry.cz/Video/Tri_sestry_Pijanovka.mpg
>>here is what mplayer does (version 0.9.pre10):
> 
> ...
> 
>>Segmentation fault (core dumped)
> 
> 
> You should probably consult DOCS/bugreport.html for instructions on
> using gdb to get useful information about the crash out of that dumped
> core, and post that information from gdb to the list.

GDB reports this:

---------
Playing Tri_sestry_Pijanovka.mpg
Cache fill:  0,00% (0 bytes)    Detected QuickTime/MOV file format!
--------------
MOV track #0: 0 chunks, 0 samples
*** constant samplesize & variable duration not yet supported! ***
Contact the author if you have such sample file!
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x0818c066 in mov_check_file ()
(gdb) bt
#0  0x0818c066 in mov_check_file ()
#1  0x083ab8a0 in ?? ()
#2  0x0818d64e in mov_read_header ()

(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x818c046 to 0x818c086:
0x818c046 <mov_check_file+20582>:	inc    %ecx
0x818c047 <mov_check_file+20583>:	and    %cl,0xe8042444(%ecx)
0x818c04d <mov_check_file+20589>:	mov    $0x8bfffcf7,%edi
0x818c052 <mov_check_file+20594>:	jge    0x818c06c <mov_check_file+20620>
0x818c054 <mov_check_file+20596>:	mov    %eax,0xfffffe50(%ebp)
0x818c05a <mov_check_file+20602>:	mov    0xfffffe50(%ebp),%esi
0x818c060 <mov_check_file+20608>:	mov    0x38(%edi),%ecx
0x818c063 <mov_check_file+20611>:	mov    0x28(%edi),%eax
0x818c066 <mov_check_file+20614>:	movzbl 0x4a(%ecx),%ebx
0x818c06a <mov_check_file+20618>:	movzbl 0x4b(%ecx),%edx
0x818c06e <mov_check_file+20622>:	mov    %eax,0x8(%esi)
0x818c071 <mov_check_file+20625>:	shl    $0x8,%ebx
0x818c074 <mov_check_file+20628>:	or     %ebx,%edx
0x818c076 <mov_check_file+20630>:	mov    $0x4e,%ebx
0x818c07b <mov_check_file+20635>:	mov    %edx,0xfffffe4c(%ebp)
0x818c081 <mov_check_file+20641>:	mov    0x34(%edi),%edx
0x818c084 <mov_check_file+20644>:	cmp    $0x55,%edx
End of assembler dump.

(gdb) info all-registers
eax            0x0	0
ecx            0x0	0
edx            0x0	0
ebx            0x83ac240	138068544
esp            0xbfffe1e0	0xbfffe1e0
ebp            0xbfffe438	0xbfffe438
esi            0x83ac758	138069848
edi            0x83ac670	138069616
eip            0x818c066	0x818c066
eflags         0x210282	2163330
cs             0x23	35
ss             0x2b	43
ds             0x2b	43
es             0x2b	43
fs             0x0	0
gs             0x7	7
st0            0	(raw 0x00000000000000000000)
st1            0	(raw 0x00000000000000000000)
st2            0	(raw 0x00000000000000000000)
st3            0	(raw 0x00000000000000000000)
st4            0	(raw 0x00000000000000000000)
st5            0	(raw 0x00000000000000000000)
st6            30	(raw 0x4003f000000000000000)
st7            0	(raw 0x00000000000000000000)
fctrl          0x37f	895
fstat          0x100	256
ftag           0xffff	65535
fiseg          0x0	0
fioff          0x0	0
foseg          0x0	0
fooff          0x0	0
fop            0x0	0
xmm0           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {0, 0, 0, 0}}
xmm1           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {0, 0, 0, 0}}
xmm2           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {0, 0, 0, 0}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {0, 0, 0, 0}}
xmm4           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {0, 0, 0, 0}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {0, 0, 0, 0}}
xmm6           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {0, 0, 0, 0}}
xmm7           {f = {0x0, 0x0, 0x0, 0x0}}	{f = {0, 0, 0, 0}}
mxcsr          0x0	0
orig_eax       0xffffffff	-1

---------

I personally don't care that much about the crash, rather acting per 
instruction of the program; here is a sample file with constant 
samplesize & variable duration.

Michal





More information about the MPlayer-users mailing list