[MPlayer-users] Crash on a bit unusual MJpeg file

Oliver Seitz info at vtnd.de
Thu Nov 19 12:24:27 CET 2009


> A gdb backtrace might help. And are those images really supposed to be
> 368x80?

To be complete: No, the pictures should be 368x68.

My first unexperienced glance at the backtrace gets attracted to those
zeroes in variables named like frame_time. This makes me think the problem
could be the unusual high frame rate, no?

Greets,
Kiste

GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run Sample_slomo_kiste.avi
Starting program: /usr/local/bin/mplayer Sample_slomo_kiste.avi
[Thread debugging using libthread_db enabled]
MPlayer SVN-r29934-4.3.2 (C) 2000-2009 MPlayer Team

Playing Sample_slomo_kiste.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
AVI: No audio stream found -> no sound.
VIDEO:  [MJPG]  368x68  24bpp  98.241 fps  3171.1 kbps (387.1 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG)
==========================================================================
Audio: no sound
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 5.41:1 - prescaling to correct movie aspect.
[swscaler @ 0x888df60]BICUBIC scaler, from yuv422p to yuv420p using MMX2
VO: [xv] 368x68 => 368x68 Planar YV12
[New Thread 0xb73346c0 (LWP 21481)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb73346c0 (LWP 21481)]
0x080eb393 in control (request=13, data=0xb9bdbcb8) at libvo/vo_xv.c:472
472	    if (mpi->flags & MP_IMGFLAG_DIRECT)
(gdb) bt full
#0  0x080eb393 in control (request=13, data=0xb9bdbcb8) at libvo/vo_xv.c:472
No locals.
#1  0x08153b34 in put_image (vf=0x8e85428, mpi=0xb9bdbcb8, pts=0) at
libmpcodecs/vf_vo.c:183
No locals.
#2  0x081225c9 in filter_video (sh_video=0x8e7af58, frame=0x8ed5288,
pts=0) at libmpcodecs/dec_video.c:412
	t2 = 2119768156
	vf = (vf_instance_t *) 0x8e8bfa8
	ret = <value optimized out>
#3  0x0809c451 in main (argc=2, argv=0xbfd81174) at mplayer.c:2363
	frame_time = 0
	aq_sleep_time = 0
	time_frame = 0
	frame_time_remaining = <value optimized out>
	blit_frame = 0
	mem_ptr = <value optimized out>
	opt_exit = <value optimized out>
	i = <value optimized out>
	last_heartbeat = 0
(gdb) info registers
eax            0xd	13
ecx            0xb9bdbcb8	-1178747720
edx            0x8e85428	149443624
ebx            0xb9bdbcb8	-1178747720
esp            0xbfd7de30	0xbfd7de30
ebp            0xbfd7de68	0xbfd7de68
esi            0x8e7af58	149401432
edi            0x7e59185c	2119768156
eip            0x80eb393	0x80eb393 <control+563>
eflags         0x210287	[ CF PF SF IF RF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
(gdb) x/16i $pc
0x80eb393 <control+563>:	mov    (%ecx),%edx
0x80eb395 <control+565>:	test   $0x20,%dh
0x80eb398 <control+568>:	jne    0x80eb458 <control+760>
0x80eb39e <control+574>:	test   $0x10,%dh
0x80eb3a1 <control+577>:	lea    0x0(%esi,%eiz,1),%esi
0x80eb3a8 <control+584>:	jne    0x80eb19d <control+61>
0x80eb3ae <control+590>:	test   $0x1,%dh
0x80eb3b1 <control+593>:	jne    0x80eb495 <control+821>
0x80eb3b7 <control+599>:	xor    %eax,%eax
0x80eb3b9 <control+601>:	and    $0x2,%dh
0x80eb3bc <control+604>:	lea    0x0(%esi,%eiz,1),%esi
0x80eb3c0 <control+608>:	je     0x80eb180 <control+32>
0x80eb3c6 <control+614>:	mov    0x88d4408,%eax
0x80eb3cb <control+619>:	mov    0xc(%ebp),%esi
0x80eb3ce <control+622>:	mov    0xc(%ebp),%ecx
0x80eb3d1 <control+625>:	mov    0x88d4474(,%eax,4),%edx
(gdb) q




More information about the MPlayer-users mailing list