[MPlayer-dev-eng] Fw: Re: [MPlayer-users] MPlayer interrupted by signal 11 in module: uninit_spudec

Attila Kinali kinali at gmx.net
Sat Jan 19 22:21:28 CET 2002


Hi,

Please someone check this, looks like video_out is freed to early

		Attila Kinali

Begin forwarded message:

Date: Sat, 19 Jan 2002 16:00:24 +0100
From: Andreas Weigl <Andreas.Weigl at asamnet.de>
To: mplayer-users at mplayer.dev.hu
Subject: Re: [MPlayer-users] MPlayer interrupted by signal 11 in module: uninit_spudec


[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Hi

On Saturday, 19. January 2002 13:46, Attila Kinali wrote:
> Does this bug still exist ? if yes, please print the value of
> video_out ("print video_out"). And also provide _all_ system
> information acording to bugreport.html.

Yes, it still exists.

Here the Inormations:
-------------------------------------------------------------------
1. The system info what we always want:

SuSE 7.3
weigla at hex:/big/tmp> uname -a
Linux hex 2.4.16-4GB #1 Wed Dec 19 09:08:41 GMT 2001 i686 unknown
weigla at hex:/big/tmp> ls -l /lib/libc[.-]*
-rwxr-xr-x    1 root     root      1384040 Dez 18 17:24 /lib/libc.so.6
weigla at hex:/big/tmp> X -version
XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
Build Operating System: SuSE Linux [ELF] SuSE
Module Loader present
weigla at hex:/big/tmp> gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
gcc version 2.95.3 20010315 (SuSE)
weigla at hex:/big/tmp> ld -v
GNU ld version 2.11.90.0.29 (with BFD 2.11.90.0.29)
weigla at hex:/big/tmp> as --version
GNU assembler 2.11.90.0.29
-------------------------------------------------------------------
2. Hardware & drivers:
weigla at hex:/big/tmp> cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 2
model name      : AMD Athlon(tm) Processor
stepping        : 2
cpu MHz         : 800.044
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 1595.80

ASUS V7700
Driver       "nv"

Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
Subsystem: Creative Labs CT4760 SBLive!
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at 9800 [size=32]
Capabilities: [dc] Power Management version 1

-------------------------------------------------------------------
gdp-output

weigla at hex:/big/tmp/MPlayer-20020119> gdb ./mplayer
GNU gdb 20010316
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux"...
(gdb) run -v ../test.avi
Starting program: /big/tmp/MPlayer-20020119/./mplayer -v ../test.avi
[New Thread 1024 (LWP 25703)]


MPlayer CVS-020119-06:00-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon K75 Pluto,Orion (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
/etc/mplayer.conf(11): option: osdlevel
/etc/mplayer.conf(11): parameter: 0
/etc/mplayer.conf(15): option: ao
/etc/mplayer.conf(15): parameter: sdl
/etc/mplayer.conf(18): option: fs
/etc/mplayer.conf(18): parameter: yes
/etc/mplayer.conf(52): option: gui
/etc/mplayer.conf(52): parameter: yes
/etc/mplayer.conf(60): option: skin
/etc/mplayer.conf(60): parameter: BlueHeart
/etc/mplayer.conf(128): option: framedrop
/etc/mplayer.conf(128): parameter: yes
/etc/mplayer.conf(135): option: cache
/etc/mplayer.conf(135): parameter: 8192
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1152x864 with depth 16 and 16 bits/pixel (":0.0" => local 
display)
Reading /home/weigla/.mplayer/codecs.conf: can't open 
'/home/weigla/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 28 audio & 74 video codecs
CommandLine: '-v' '../test.avi'
get_path('font/font.desc') -> '/home/weigla/.mplayer/font/font.desc'
font: can't open file: /home/weigla/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
get_path('Skin') -> '/home/weigla/.mplayer/Skin'
SKIN dir 1: '/home/weigla/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
[ws] Display name: :0.0 => local display.
[ws] Screen depth: 16
[ws]  size: 1152x864
[ws]  red mask: 0xf800
[ws]  green mask: 0x7e0
[ws]  blue mask: 0x1f
[ws] XShm version is 1.1
[ws] XShape version is 1.0
[ws] Initialized converter: rgb32 to rgb16
[ws] atomname: _VIDEO_REMOTE
[ws] window is created. ( ViDEO ).
[ws] atomname: _MPLAYER_REMOTE
[ws] window is created. ( MPlayer ).
[ws] atomname: _MPLAYER_MENU_REMOTE
[ws] window is created. ( MPlayer menu ).
[menu.h] menu: 0x2000011
[main] Depth on screen: 16
[main] parent: 0x200000b
[main] sub: 0x2000004
Linux RTC init: open: Permission denied
Using usleep() timing
Playing ../test.avi
Not an URL!
File size is 492047 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:492047
Cache fill:  5.87% (492047 bytes)    Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for REAL
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 107  p101: 107  PES: 0
Detected MPEG-ES file format!
==> Found video stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG1  352x240  (aspect 12)  30.00 fps  1372.0 kbps (171.5 kbyte/s)
[V] filefmt:1  fourcc:0x10000001  size:352x240  fps:30.00  ftime:=0.0333
get_path('sub/') -> '/home/weigla/.mplayer/sub/'
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 352x240 => 352x264 Planar YV12 fs
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
video_out->init(352x240->352x264,flags=1,'MPlayer',0x32315659)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 42 for hw scaling
[xv] dcx: 400 dcy: 312 dx: 0 dy: 0 dw: 352 dh: 240
INFO: Video OUT driver init OK!
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
user_data: len= 29  43 72 65 61 'Created by XingCD Version 1.2'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[xv] dcx: 400 dcy: 312 dx: 0 dy: 0 dw: 352 dh: 240
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1
uninit video: 1
*** free_stream() called ***

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 25703)]
0x08061586 in uninit_player (mask=65535) at mplayer.c:303
303         video_out->uninit();
(gdb) bt
#0  0x08061586 in uninit_player (mask=65535) at mplayer.c:303
#1  0x0806164f in exit_player (how=0x812b734 "Exit") at mplayer.c:349
#2  0x080c6e83 in mplMsgHandle (msg=Cannot access memory at address 0x310
) at mw.h:212
Cannot access memory at address 0x2d0
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x8061566 to 0x80615a6:
0x8061566 <uninit_player+34>:   movl   $0x8118a20,0x8164b98
0x8061570 <uninit_player+44>:   add    $0xfffffff4,%esp
0x8061573 <uninit_player+47>:   push   %eax
0x8061574 <uninit_player+48>:   call   0x8077108 <spudec_free>
0x8061579 <uninit_player+53>:   add    $0x10,%esp
0x806157c <uninit_player+56>:   test   $0x1,%bl
0x806157f <uninit_player+59>:   je     0x806159c <uninit_player+88>
0x8061581 <uninit_player+61>:   mov    0x8164a84,%eax
0x8061586 <uninit_player+66>:   mov    0x20(%eax),%eax
0x8061589 <uninit_player+69>:   andb   $0xfe,0x8164b9c
0x8061590 <uninit_player+76>:   movl   $0x8118a2e,0x8164b98
0x806159a <uninit_player+86>:   call   *%eax
0x806159c <uninit_player+88>:   test   $0x2,%bl
0x806159f <uninit_player+91>:   je     0x80615bc <uninit_player+120>
0x80615a1 <uninit_player+93>:   mov    0x8164a88,%eax
End of assembler dump.
(gdb) print video_out
$1 = (vo_functions_t *) 0x0
(gdb) quit
-- 
You are only young once, but you can stay immature indefinitely.

_______________________________________________
RTFM!!!  http://www.MPlayerHQ.hu/DOCS
Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users



-- 
I am a moslem, i am a terrorist.



More information about the MPlayer-dev-eng mailing list