[MPlayer-dev-eng] Re: [bug report] assertion "iter->stack_size > 0" failed: file "playtree.c", line 468
Rémi Guyomarch
rguyom at pobox.com
Tue Apr 23 00:25:47 CEST 2002
On Tue, Apr 23, 2002 at 12:05:11AM +0200, Alban Bedel wrote:
> Hi Rémi Guyomarch,
>
> on Mon, 22 Apr 2002 23:39:53 +0200 you wrote:
>
> > MPlayer produce this error each time an .avi ends. It doesn't matter
> > which type of .avi it plays. If I hit 'q' before the end of the movie,
> > it doesn't output this error, it's just when an .avi ends by itself.
>
> Look like an old bug. Are you sure you don't have an old version of
> playtree.c ?
Yes :
rguyom at diabolic-cow ~/src/mplayer # grep playtree.c CVS/Entries
/playtree.c/1.13/Wed Apr 17 07:15:49 2002//
rguyom at diabolic-cow ~/src/mplayer # cvs log playtree.c | head -15
RCS file: /cvsroot/mplayer/main/playtree.c,v
Working file: playtree.c
head: 1.13
branch:
locks: strict
access list:
symbolic names:
mp: 1.2
keyword substitution: kv
total revisions: 13; selected revisions: 13
description:
----------------------------
revision 1.13
date: 2002/04/16 17:41:28; author: pontscho; state: Exp; lines: +3 -0
rguyom at diabolic-cow ~/src/mplayer # cvs diff -r 1.13 playtree.c
rguyom at diabolic-cow ~/src/mplayer #
> If you have a "true" last cvs send a full bugreport on
> -user as I can't reproduce it.
Ok :
rguyom at diabolic-cow ~/src/mplayer # gdb mplayer
GNU gdb 4.18
Copyright 1998 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-unknown-freebsd"...
(gdb) set args -v -nofs ~/sample2.avi
(gdb) run
Starting program: /usr/home/rguyom/src/mplayer/mplayer -v -nofs ~/sample2.avi
MPlayer CVS-020422-23:49-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX 3DNow
/home/rguyom/.mplayer/config(2): option: vo
/home/rguyom/.mplayer/config(2): parameter: xv
/home/rguyom/.mplayer/config(3): option: fs
/home/rguyom/.mplayer/config(3): parameter: 1
/home/rguyom/.mplayer/config(4): option: quiet
/home/rguyom/.mplayer/config(4): parameter: 1
/home/rguyom/.mplayer/config(5): option: framedrop
/home/rguyom/.mplayer/config(5): parameter: 1
/home/rguyom/.mplayer/config(6): option: osdlevel
/home/rguyom/.mplayer/config(6): parameter: 0
/home/rguyom/.mplayer/config(8): option: dvd-device
/home/rguyom/.mplayer/config(8): parameter: /dev/acd1c
/home/rguyom/.mplayer/config(9): option: fsmode
/home/rguyom/.mplayer/config(9): parameter: 1
Reading /home/rguyom/.mplayer/codecs.conf: 34 audio & 86 video codecs
CommandLine: '-v' '-nofs' '/home/rguyom/sample2.avi'
get_path('font/font.desc') -> '/home/rguyom/.mplayer/font/font.desc'
Font /home/rguyom/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/rguyom/.mplayer/input.conf'
Can't open input config file /home/rguyom/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing /home/rguyom/sample2.avi
Can't open IFO file: No such file or directory
Not an URL!
File size is 15528468 bytes
Detected AVI file format!
list_end=0xD4
======= AVI Header =======
us/frame: 40000 (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames total: 536 initial: 0
streams: 1
Suggested BufferSize: 0
Size: 720 x 576
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 250000/10000 = 25.000
Start: 0 Len: 536
Suggested BufferSize: 98404
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 720
biHeight 576
biPlanes 1
biBitCount 24
biCompression 268435458=''
biSizeImage 1244160
===========================
Broken chunk? chunksize=1828 (id=JUNK)
list_end=0xECD08C
Found movie at 0x80C - 0xECD08C
Reading INDEX block, 536 chunks for 536 frames
Broken chunk? chunksize=0 (id=idx1)
Reading INDEX block, 536 chunks for 536 frames
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x4874)
Auto-selected AVI video ID = 0
AVI_NI: No Audio stream found... ->nosound
AVI: Searching for audio stream (id:-1)
AVI: No Audio stream found... ->nosound
AVI video length=15513544
VIDEO: [] 720x576 24bpp 25.00 fps 5788.6 kbps (706.6 kbyte/s)
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 3) 25.00 fps 9375.0 kbps (1171.9 kbyte/s)
[V] filefmt:3 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/rguyom/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0.0" => local display)
==========================================================================
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576, Mpeg PES
[PP] Sorry, postprocessing is not available
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Couldn't find matching colorspace - retrying with -vop scale...
SwScale: -1 x -1
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMX for IDCT transform
libmpeg2: Using 3DNOW for motion compensation
VDec: vo config request - 720 x 576, Planar YV12
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x437 (i=0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
video_out->init(720x576->1024x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 1024x576 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 55 for hw scaling
[xv] dcx: 0 dcy: 20 dx: 0 dy: 0 dw: 1024 dh: 576
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
X11 Window 0x20-1024x576
X11 Window 0x20-1024x576
X11 Window 0x20-1024x576
[xv] dcx: 0 dcy: 20 dx: 0 dy: 0 dw: 1024 dh: 576
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1
assertion "iter->stack_size > 0" failed: file "playtree.c", line 468
Program received signal SIGABRT, Aborted.
0x282a8b30 in kill () from /usr/lib/libc_r.so.4
(gdb) bt
#0 0x282a8b30 in kill () from /usr/lib/libc_r.so.4
#1 0x282f316a in abort () from /usr/lib/libc_r.so.4
#2 0x282cdaa7 in __assert () from /usr/lib/libc_r.so.4
#3 0x806ceef in play_tree_iter_free (iter=0x83e2100) at playtree.c:468
#4 0x806678f in main (argc=4, argv=0xbfbff5fc, envp=0xbfbff610) at mplayer.c:2916
#5 0x8061abd in _start ()
(gdb) frame 3
#3 0x806ceef in play_tree_iter_free (iter=0x83e2100) at playtree.c:468
468 assert(iter->stack_size > 0);
(gdb) list
463 assert(iter != NULL);
464 #endif
465
466 if(iter->status_stack) {
467 #ifdef MP_DEBUG
468 assert(iter->stack_size > 0);
469 #endif
470 free(iter->status_stack);
471 }
472
(gdb) q
The program is running. Exit anyway? (y or n) y
--
Rémi
More information about the MPlayer-dev-eng
mailing list