[MPlayer-dev-eng] [BUG] sig11 again in reading a JPEG file

Gabucino gabucino at mplayerhq.hu
Sat Dec 28 07:51:34 CET 2002


The file is displayed, but then MPlayer dies with sig11. It also doesn't work
with -vo null, -vc ijpg, etc.
However it does work with '-vop disable' i.e. not using -vop pp (on by default
in my config file)

AFAIR this should be already fixed, shouldn't it?

(gdb) run -mf on a.jpg
Starting program: /home/gabucino/mplayer/src/mplayer -mf on a.jpg
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer CVS-021228-07:17-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/gabucino/.mplayer/config
Reading /home/gabucino/.mplayer/codecs.conf: 49 audio & 123 video codecs
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Input config file /home/gabucino/.mplayer/input.conf parsed : 50 binds

Playing a.jpg

Cache fill:  0.00% (0 bytes)    
Cache fill:  0.00% (0 bytes)    forced mf.
[demuxer] mf support.
[mf] search expr: a.jpg*
[mf] number of files: 1 (4)
open: No such device
vo_mga: Couldn't open /dev/mga_vid
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Create window for WM detect ...
[x11] Unknown wm type...
Opening video filter: [pp]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
[PP] Using external postprocessing filter, max q = 6
Audio: no sound!!!
Start playing...
mjpeg: JFIF header found (version: 1.1)
VDec: vo config request - 1600 x 1200 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1600x1200 => 1600x1200 Planar YV12  [fs]
aspect: Warning: no suitable new res found!
[x11] Gnome style stay on top ( layer 1 ).
aspect: Warning: no suitable new res found!
[x11] Detected wm is WindowMaker style.
[x11] Detected wm is WindowMaker style.
[x11] Detected wm is WindowMaker style.
[x11] Detected wm is WindowMaker style.
[x11] Detected wm is WindowMaker style.
[x11] Detected wm is WindowMaker style.
[x11] Detected wm is WindowMaker style.
[x11] Detected wm is WindowMaker style.
[x11] Detected wm is WindowMaker style.
aspect: Warning: no suitable new res found!
V:   0.0    1   0%  0%  0.0% 0 6 0%
V:   0.0    1   0%  0%  0.0% 0 6 0%

[New Thread 1024 (LWP 14344)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 14344)]
0x403d8c1b in free () from /lib/libc.so.6
(gdb) bt
#0  0x403d8c1b in free () from /lib/libc.so.6
#1  0x403d8aa3 in free () from /lib/libc.so.6
#2  0x08160a6c in pp_free_context (vc=0x83f27c0) at postprocess.c:761
#3  0x080c2c12 in uninit (vf=0x83c7938) at vf_pp.c:56
#4  0x080c18f4 in vf_uninit_filter (vf=0x83c7938) at vf.c:418
#5  0x080c19dc in vf_uninit_filter_chain (vf=0x83c7938) at vf.c:429
#6  0x080b5145 in uninit_video (sh_video=0x83c53b8) at dec_video.c:145
#7  0x080682a7 in uninit_player (mask=65402) at mplayer.c:344
#8  0x0806db5e in main (argc=4, argv=0xbffffae4) at mplayer.c:3053
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x403d8bfb to 0x403d8c3b:
0x403d8bfb <free+511>:	inc    %ebp
0x403d8bfc <free+512>:	in     (%dx),%al
0x403d8bfd <free+513>:	add    %eax,(%eax)
0x403d8bff <free+515>:	add    %al,(%eax)
0x403d8c01 <free+517>:	mov    %edi,0xc(%ecx)
0x403d8c04 <free+520>:	mov    0xfffffffc(%ebp),%edx
0x403d8c07 <free+523>:	mov    %edi,0x10(%edx)
0x403d8c0a <free+526>:	mov    %ecx,0xc(%edi)
0x403d8c0d <free+529>:	mov    %ecx,0x8(%edi)
0x403d8c10 <free+532>:	jmp    0x403d8c24 <free+552>
0x403d8c12 <free+534>:	mov    0xfffffff4(%ebp),%eax
0x403d8c15 <free+537>:	mov    0xc(%eax),%esi
0x403d8c18 <free+540>:	mov    %ecx,0xffffffe8(%ebp)
0x403d8c1b <free+543>:	mov    %esi,0xc(%ecx)
0x403d8c1e <free+546>:	mov    0xffffffe8(%ebp),%edx
0x403d8c21 <free+549>:	mov    %edx,0x8(%esi)
0x403d8c24 <free+552>:	mov    0xfffffff8(%ebp),%ecx
0x403d8c27 <free+555>:	add    %edi,%ecx
0x403d8c29 <free+557>:	mov    %ecx,0xfffffff4(%ebp)
0x403d8c2c <free+560>:	jmp    0x403d8c39 <free+573>
0x403d8c2e <free+562>:	mov    %esi,%esi
0x403d8c30 <free+564>:	mov    0xfffffff0(%ebp),%eax
0x403d8c33 <free+567>:	mov    0xfffffff4(%ebp),%edx
0x403d8c36 <free+570>:	mov    %eax,0x4(%edx)
0x403d8c39 <free+573>:	mov    0xfffffff8(%ebp),%ecx
End of assembler dump.

-- 
Gabucino
MPlayer Core Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021228/77690373/attachment.pgp>


More information about the MPlayer-dev-eng mailing list