[Mplayer-advusers] a bugreport for alex :) (aka segfault on -vo xvidix:mga_vid.so resize)
Attila Kinali
kinali at gmx.net
Wed Jun 26 21:50:53 CEST 2002
Hi,
This happend while i resize the xvidix window to hight/width = 0
(gdb) run -v -vo xvidix /data/outsource/misc/Musik\ Videos/\[Yaoithrower\]White_reflection.SBC.avi
Starting program: /home/attila/src/mplayer/main/mplayer -v -vo xvidix /data/outsource/misc/Musik\ Videos/\[Yaoithrower\]White_reflection.SBC.avi
[New Thread 1024 (LWP 22924)]
MPlayer CVS-020415-15:32-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Family: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/stow/MPlayer-CVS-2002-06-26-21:13/share/mplayer/codecs.conf: 36 audio & 100 video codecs
CommandLine: '-v' '-vo' 'xvidix' '/data/outsource/misc/Musik Videos/[Yaoithrower]White_reflection.SBC.avi'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
Font /root/.mplayer/font/font.desc loaded successfully! (140 chars)
Using MMX 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
Can't open input config file /usr/local/stow/MPlayer-CVS-2002-06-26-21:13/share/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
Playing /data/outsource/misc/Musik Videos/[Yaoithrower]White_reflection.SBC.avi
Not an URL!
File size is 69050368 bytes
Detected AVI file format!
list_end=0x2292
======= AVI Header =======
us/frame: 33367 (fps=29.970)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 8457 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 640 x 480
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids FCC: div3 (33766964)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 29970/1000 = 29.970
Start: 0 Len: 8457
Suggested BufferSize: 107110
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 640
biHeight 480
biPlanes 1
biBitCount 24
biCompression 861292868='DIV3'
biSizeImage 921600
===========================
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: 20000/1 = 20000.000
Start: 0 Len: 5606990
Suggested BufferSize: 10000
Quality -1
Sample size: 1
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 20000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=480
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
list_end=0x2292
list_end=0x22B6
hdr=Software size=15
Software : Nandub v1.0rc2
Broken chunk? chunksize=1346 (id=JUNK)
list_end=0x4197F30
Found movie at 0x280C - 0x4197F30
Reading INDEX block, 16846 chunks for 8457 frames
Broken chunk? chunksize=0 (id=idx1)
Reading INDEX block, 16846 chunks for 8457 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x271C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=63027822
VIDEO: [DIV3] 640x480 24bpp 29.97 fps 1786.9 kbps (218.1 kbyte/s)
[V] filefmt:3 fourcc:0x33564944 size:640x480 fps:29.97 ftime:=0.0334
Clip info:
Software: Nandub v1.0rc2
get_path('sub/') -> '/root/.mplayer/sub/'
Detected audio codec: [mp3] afm:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Opening 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 160 kbit Joint-Stereo, BPF: 480
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 20000->192000 (160.0 kbit)
No vidix driver name provided, probing available ones!
vidixlib: PROBING: /usr/local/stow/MPlayer-CVS-2002-06-26-21:13/lib/mplayer/vidix/genfb_vid.so
[genfb] probe
vidixlib: PROBING: /usr/local/stow/MPlayer-CVS-2002-06-26-21:13/lib/mplayer/vidix/mach64_vid.so
[mach64] Can't find chip
vidixlib: PROBING: /usr/local/stow/MPlayer-CVS-2002-06-26-21:13/lib/mplayer/vidix/mga_crtc2_vid.so
[mga] probe
[mga] Found MGA G550
vidixlib: /usr/local/stow/MPlayer-CVS-2002-06-26-21:13/lib/mplayer/vidix/mga_crtc2_vid.so probed o'k
vidixlib: will use /usr/local/stow/MPlayer-CVS-2002-06-26-21:13/lib/mplayer/vidix/mga_crtc2_vid.so driver
vidixlib: Attempt to initialize driver at: 0x40016930
[mga] init
Matrox MGA G200/G400/G450 YUV Video interface v2.01 (c) Aaron Holtzman & A'rpi
[mga] detected RAMSIZE is 16 MB
[mga] hardware addresses: mmio: 0xe1000000, framebuffer: 0xe2000000
[mga] MMIO at 0x40019000, IRQ: -1, framebuffer: 0x40752000
[mga] Set write-combining type of video memory
syncfb (mga): IRQ disabled in mga_vid.c
vidixlib: '/usr/local/stow/MPlayer-CVS-2002-06-26-21:13/lib/mplayer/vidix/mga_crtc2_vid.so'successfully loaded
vosub_vidix: Using: Matrox MGA G200/G400 YUV Video by Aaron Holtzman, Arpad Gereoffy, Alex Beregszaszi, Nick Kurshev
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx
INFO: libavcodec init OK!
Detected video codec: [ffdivx] vfm:5 (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 48000Hz 2ch 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
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
Start playing...
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
[mga] query fourcc (32315659)
vo_debug: query(Planar YV12) returned 0x437 (i=0)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(640x480->640x480,flags=0,'MPlayer',0x32315659)
VO: [xvidix] 640x480 => 640x480 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 1152x864 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Create window for WM detect ...
[x11] Detected wm is IceWM.
[xvidix] dcx: 262 dcy: 219 dx: 0 dy: 0 dw: 640 dh: 480
[mga] playback off
[mga] Saved colorkey (ON: 1 01:01:FE)
c2offset = 0
[mga] Setting up a 640x480+262+219 video window (src 640x480) format 32315659
[mga] YUV buffer base: 0xf80000
c2offset = 1280
vosub_vidix: using 1 buffer(s)
[mga] playback on
[xvidix] window properties: pos: 262x219, size: 640x480
*** [vo] Exporting mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
[x11] Detected wm is IceWM.
[x11] Detected wm is IceWM.
[xvidix] dcx: 262 dcy: 219 dx: 0 dy: 0 dw: 640 dh: 480
[xvidix] window properties: pos: 262x219, size: 640x480
XXX initial v_pts=0.000 a_pos=10000 (0.500) 1 0% 0% 0.0% 0 0 0%
[xvidix] dcx: 262 dcy: 219 dx: 0 dy: 0 dw: 454 dh: 369 3% 6.3% 9 0 0%
[mga] playback off
c2offset = 1280
[mga] Setting up a 454x369+262+219 video window (src 640x480) format 32315659
[mga] YUV buffer base: 0xf80000
c2offset = 1280
vosub_vidix: using 1 buffer(s)
[mga] playback on
[xvidix] window properties: pos: 262x219, size: 454x369
[xvidix] dcx: 262 dcy: 219 dx: 0 dy: 0 dw: 270 dh: 247 2% 6.1% 12 0 0%
[mga] playback off
c2offset = 1280
[mga] Setting up a 270x247+262+219 video window (src 640x480) format 32315659
[mga] YUV buffer base: 0xf80000
c2offset = 1280
vosub_vidix: using 1 buffer(s)
[mga] playback on
[xvidix] window properties: pos: 262x219, size: 270x247
[xvidix] dcx: 262 dcy: 219 dx: 0 dy: 0 dw: 124 dh: 131 2% 5.9% 12 0 0%
[mga] playback off
c2offset = 1280
[mga] Setting up a 124x131+262+219 video window (src 640x480) format 32315659
[mga] YUV buffer base: 0xf80000
c2offset = 1280
vosub_vidix: using 1 buffer(s)
[mga] playback on
[xvidix] window properties: pos: 262x219, size: 124x131
[xvidix] dcx: 262 dcy: 219 dx: 0 dy: 0 dw: 52 dh: 813% 2% 5.9% 12 0 0%
[mga] playback off
c2offset = 1280
[mga] Setting up a 52x81+262+219 video window (src 640x480) format 32315659
[mga] YUV buffer base: 0xf80000
c2offset = 1280
vosub_vidix: using 1 buffer(s)
[mga] playback on
[xvidix] window properties: pos: 262x219, size: 52x81
[xvidix] dcx: 262 dcy: 219 dx: 0 dy: 0 dw: 26 dh: 633% 2% 5.9% 12 0 0%
[mga] playback off
c2offset = 1280
[mga] Setting up a 26x63+262+219 video window (src 640x480) format 32315659
[mga] YUV buffer base: 0xf80000
c2offset = 1280
vosub_vidix: using 1 buffer(s)
[mga] playback on
[xvidix] window properties: pos: 262x219, size: 26x63
[xvidix] dcx: 262 dcy: 219 dx: 0 dy: 0 dw: 1 dh: 1743% 2% 5.8% 12 0 0%
[mga] playback off
c2offset = 1280
[mga] Setting up a 1x17+262+219 video window (src 640x480) format 32315659
[mga] Invalid src/dest dimensions
vosub_vidix: Can't configure playback: Invalid argument
Can't initialize VIDIX driver: (null): Success
[mga] playback off
c2offset = 1280
[mga] destroy
[mga] Restoring colorkey (ON: 1 01:01:FE)
c2offset = 1280
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 22924)]
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x08181f8a in vdlPlaybackOff (handle=0x82898f0) at vidixlib.c:273
#2 0x08080af4 in vidix_stop () at vosub_vidix.c:132
#3 0x08080b54 in vidix_term () at vosub_vidix.c:144
#4 0x0807f918 in uninit () at vo_xvidix.c:409
#5 0x0807f1ea in set_window (force_update=0, info=0x81f0a80)
at vo_xvidix.c:170
#6 0x0807f866 in check_events () at vo_xvidix.c:362
#7 0x08052cd5 in main (argc=5, argv=0xbffff854, envp=0xbffff86c)
at mplayer.c:1759
(gdb) up
#1 0x08181f8a in vdlPlaybackOff (handle=0x82898f0) at vidixlib.c:273
273 return t_vdl(handle)->playback_off();
(gdb) l
268 return t_vdl(handle)->playback_on();
269 }
270
271 int vdlPlaybackOff(VDL_HANDLE handle)
272 {
273 return t_vdl(handle)->playback_off();
274 }
275
276 int vdlPlaybackFrameSelect(VDL_HANDLE handle, unsigned frame_idx )
277 {
(gdb) p handle
$1 = 0x0
(gdb) up
#2 0x08080af4 in vidix_stop () at vosub_vidix.c:132
132 if((err=vdlPlaybackOff(vidix_handler))!=0)
(gdb) l
127 }
128
129 int vidix_stop(void)
130 {
131 int err;
132 if((err=vdlPlaybackOff(vidix_handler))!=0)
133 {
134 printf("vosub_vidix: Can't stop playback: %s\n",strerror(err));
135 return -1;
136 }
(gdb) p vidix_handler
$2 = 0x82898f0
HTH
Attila Kinali
--
Israel, where the first genocide of this century takes place.
More information about the MPlayer-advusers
mailing list