[Mplayer-advusers] xvidix crashes when playing more than one file

Attila Kinali kinali at gmx.net
Thu May 2 23:49:25 CEST 2002


Moin,

---schnipp---
GNU gdb 2002-04-01-cvs
Copyright 2002 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-linux"...
(gdb) run -vo xvidix -v *
Starting program: /home/attila/src/mplayer/main/mplayer -vo xvidix -v *
[New Thread 1024 (LWP 17256)]


MPlayer CVS-020502-22:25-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 SSE
Reading /root/.mplayer/codecs.conf: 34 audio & 91 video codecs
CommandLine: '-vo' 'xvidix' '-v' 'Angel_Sanctuary-Opening.mpg' 'Card Captor Sakura-op1-Catch You Catch Me.avi' 'DANCINGB.AVI' 'Digi_Charat_X-mas_OP.mpeg' 'EHTVOP2.mpg' 'EVA_ED.avi' 'Fortune_Quest_L_Opn.mpeg' 'Gundam_0083-2nd_Opening.avi' 'Hand Maid May - op.mpeg' 'Iketeru Futari - op.avi' 'Infinite_Ryvius-Opening.mpg' 'InitialD-op.avi' 'InuYasha-ed.avi' 'Karakuri-Zoushi_Ayatsuri_Sakon_Opn.mpeg' 'Mamote_Shugo_Getten-Opening.mpeg' 'Maze_Ending[1].mpeg' 'Maze_Opening[1].mpeg' 'Moncelle_Knights_ED2.mpeg' 'Moncelle_Knights_Opn1.mpg' 'Ojamajo Doremi OP.mpg' 'Rurouni_Kenshin_Opening.mpg' 'Saiyuki_ED2.mpg' 'Saiyuki_Opn2.mpg' 'Saiyuki_opn.mpeg' 'Sakura_Taisen_op.avi' 'Serial Experiment Lain-00-Intro.avi' 'Shaman King OP.mpg' 'Slayers_op.mpeg' 'Tales of Eternia opening.mpg' 'Tenchi Muyo OAV Intro.avi' 'Those_Who_Hunt_Elves_OP.mpg' 'Trigun_op.mpg' 'Trouble Chocolate ED2.mpg' 'Trouble Chocolate OP.mpg' 'Vandread - Ending.avi' 'Vandread ~The Second Stage~ OP.avi' 'Vandread-Opening.avi' 'WeissKreuz_opB.mpeg' 'Yami_no_Matsuei.mpg' 'ccsakura_opening_2.mpeg' 'fy_op.avi' 'generator_gawl_opening.mpg' 'karekano_opening.mpeg' 'kenshin-ed.avi' 'md5sum' 'niea_7_opening.avi' 'orphen_opening.mpeg' 'outlaw_star_opening.mpg' 'ran_opening.mpeg' 'sg_yamamoto_yoko_opening[1].mpeg'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
Font /root/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing Angel_Sanctuary-Opening.mpg
Not an URL!
File size is 48051666 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82efe38  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82efe38  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82efe38  
Checking for MOV
DEMUXER: freeing demuxer at 0x82efe38  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x82efe38  
Checking for REAL
DEMUXER: freeing demuxer at 0x82efe38  
DEMUXER: freeing demuxer at 0x82efe38  
DEMUXER: freeing demuxer at 0x82efe38  
DEMUXER: freeing demuxer at 0x82efe38  
DEMUXER: freeing demuxer at 0x82efe38  
DEMUXER: freeing demuxer at 0x82efe38  
system stream synced at 0xB (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG1  320x240  (aspect 1)  24.00 fps  2621.5 kbps (327.7 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:320x240  fps:24.00  ftime:=0.0417
get_path('sub/') -> '/root/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer II, 44100 Hz 128 kbit Stereo, BPF: 418
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 16000->176400
No vidix driver name provided, probing available ones!
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/genfb_vid.so
[genfb] probe
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mach64_vid.so
[mach64] Found chip: Rage Mobility P/M AGP 2x
vidixlib: /usr/local/lib/mplayer/vidix/mach64_vid.so probed o'k
vidixlib: will use /usr/local/lib/mplayer/vidix/mach64_vid.so driver
vidixlib: Attempt to initialize driver at: 0x40015c18
[mach64] version CVS-020430-09:21-2.95.4 
[mach64] Video memory = 4Mb
[mach64] Set write-combining type of video memory
[mach64] Planar YUV formats are supported :)
vidixlib: '/usr/local/lib/mplayer/vidix/mach64_vid.so'successfully loaded
vosub_vidix: Using: BES driver for Mach64/3DRage cards by Nick Kurshev and Michael Niedermayer
==========================================================================
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240, 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 MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 320 x 240, Planar YV12  
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x433 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [xvidix] 320x240 => 320x240 Planar YV12 
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":0.0" => local display)
[xvidix] image properties: 320x240 depth: 12
[xvidix] dcx: 6 dcy: 27 dx: 0 dy: 0 dw: 320 dh: 240
[mach64] ecp: 0
[mach64] vertical stretching factor= 65536
vosub_vidix: using 1 buffers
[xvidix] window properties: pos: 6x27, size: 320x240
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
Can't open audio device /dev/dsp: Device or resource busy  -> no sound
couldn't open/init audio device -> NOSOUND
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
[xvidix] dcx: 6 dcy: 27 dx: 0 dy: 0 dw: 320 dh: 240
[xvidix] window properties: pos: 6x27, size: 320x240
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
MPEG Stream reached EOF 2454278%  0.0% 0 0 0%
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
EOF code: 1     0%  0%  0.0% 0 0 0%

*** free_stream() called ***
uninit video: 1  
DEMUXER: freeing demuxer at 0x82efe38  
DEMUXER: freeing sh_audio at 0x82f3388  
DEMUXER: freeing sh_video at 0x82f2ad0  
Playing Card Captor Sakura-op1-Catch You Catch Me.avi
Not an URL!
File size is 10811392 bytes
Detected AVI file format!
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 1926   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  320 x 240
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976/1000 = 23.976
Start: 0   Len: 1926
Suggested BufferSize: 29667
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 230400
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 12000/1 = 12000.000
Start: 0   Len: 964224
Suggested BufferSize: 6106
Quality -1
Sample size: 1
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 12000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=288
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
list_end=0x2292
Broken chunk?  chunksize=1382  (id=JUNK)
list_end=0xA47080
Found movie at 0x280C - 0xA47080
Reading INDEX block, 2087 chunks for 1926 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 2087 chunks for 1926 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x14CC)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=9785540
VIDEO:  [DIV3]  320x240  24bpp  23.98 fps  974.5 kbps (119.0 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:320x240  fps:23.98  ftime:=0.0417
get_path('sub/') -> '/root/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer III, 48000 Hz 96 kbit Joint-Stereo, BPF: 288
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 12000->192000
No vidix driver name provided, probing available ones!
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/genfb_vid.so
[genfb] probe
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mach64_vid.so
[mach64] Found chip: Rage Mobility P/M AGP 2x
vidixlib: /usr/local/lib/mplayer/vidix/mach64_vid.so probed o'k
vidixlib: will use /usr/local/lib/mplayer/vidix/mach64_vid.so driver
vidixlib: Attempt to initialize driver at: 0x40015c18
[mach64] version CVS-020430-09:21-2.95.4 
[mach64] Video memory = 4Mb
[mach64] Set write-combining type of video memory
[mach64] Planar YUV formats are supported :)
vidixlib: '/usr/local/lib/mplayer/vidix/mach64_vid.so'successfully loaded
vosub_vidix: Using: BES driver for Mach64/3DRage cards by Nick Kurshev and Michael Niedermayer
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext sse
INFO: libavcodec init OK!
Detected video codec: [ffdivx] drv:5 prio:0 (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
Can't open audio device /dev/dsp: Device or resource busy  -> no sound
couldn't open/init audio device -> NOSOUND
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
VDec: vo config request - 320 x 240, Planar YV12  
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x433 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [xvidix] 320x240 => 320x240 Planar YV12 
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
FATAL: Cannot initialize video driver!

FATAL: Couldn't initialize video filters (-vop) or video output (-vo) !

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 17256)]
0x40145c8d in XGetScreenSaver () from /usr/X11R6/lib/libX11.so.6
(gdb) bt
#0  0x40145c8d in XGetScreenSaver () from /usr/X11R6/lib/libX11.so.6
#1  0x08066495 in saver_on (mDisplay=0x83052e8) at x11_common.c:627
#2  0x08077c51 in uninit () at vo_xvidix.c:424
#3  0x0804e9ff in uninit_player (mask=3) at mplayer.c:300
#4  0x08053970 in main (argc=54, argv=0xbffff574, envp=0xbffff650)
    at mplayer.c:2942
(gdb) up
#1  0x08066495 in saver_on (mDisplay=0x83052e8) at x11_common.c:627
627             XGetScreenSaver(mDisplay, &dummy, &interval, &prefer_blank, &allow_exp);
(gdb) p mDisplay
$2 = (Display *) 0x83052e8
(gdb) p (int) mDisplay[0]
$3 = -512
(gdb) p dummy
$4 = 137459752
(gdb) p interval
$5 = 176
(gdb) p prefer_blank
$6 = -1073749364
(gdb) p allow_exp
$7 = 134712866
---schnapp---


-- 
Israel, where the first genocide of this century takes place.



More information about the MPlayer-advusers mailing list