[vlc-devel] Re: VLC crash with double shift-right press

Derk-Jan Hartman hartman at videolan.org
Wed Mar 1 14:22:05 CET 2006


It looks like the SVG renderer is corrupting the stack here.
A bug of course, but unfortunately the SVG renderer wasn't tested  
after the latest TextRender API changes. Who maintains this module???

The better question for you becomes: Why don't you have freetype2  
installed, or why isn't VLC using/detecting it. Because the Freetype  
renderer should be the default renderer used in this case.

DJ

On 28-feb-2006, at 16:24, Pavlov Konstantin wrote:

> Hey everyone.
>
> When pressing shift-right (or shift-left, doesnt matter) in  
> fullscreen vlc
> crashes.
>
> here goes the bt:
>
> (gdb) bt
> #0  0x3ab66292 in pthread_mutex_lock () from /lib/libpthread.so.0
> #1  0x3af08aca in free () from /lib/libc.so.6
> #2  0x3deb1ab0 in RenderText (p_filter=0x8498fb0,  
> p_region_out=0x8406260,
> p_region_in=0x8406260) at svg.c:483
> #3  0x3ac7079e in spu_RenderSubpictures (p_spu=0x843bee8,  
> p_fmt=0x843a620,
> p_pic_dst=0x843a664, p_pic_src=0x843a664, p_subpic=0x843bfcc,
>     i_scale_width_orig=1777, i_scale_height_orig=1776) at
> video_output/vout_subpictures.c:596
> #4  0x3ac6df23 in vout_RenderPicture (p_vout=0x843a298,  
> p_pic=0x843adb8,
> p_subpic=0x843c034) at video_output/vout_pictures.c:408
> #5  0x3ac6af67 in RunThread (p_vout=0x843a298) at
> video_output/video_output.c:900
> #6  0x3ab64f1b in pthread_start_thread () from /lib/libpthread.so.0
> #7  0x3af5f87a in clone () from /lib/libc.so.6
> (gdb)
>
> and here goes the vlc -vvv output:
>
> thresh at snowflake ~/downloads $ vlc -vvv pantera.avi
> VLC media player 0.8.5-svn Janus
> [00000001] main vlc debug: opening config file /home/thresh/.vlc/vlcrc
> [00000001] main vlc debug: checking builtin modules
> [00000001] main vlc debug: checking plugin modules
> [00000001] main vlc debug: loading plugins cache
> file /home/thresh/.vlc/cache/plugins-04041e.dat
> [00000001] main vlc debug: recursively browsing `modules'
> [00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
> [00000001] main vlc debug: recursively browsing `plugins'
> [00000001] main vlc debug: module bank initialized, found 233 modules
> [00000001] main vlc debug: opening config file /home/thresh/.vlc/vlcrc
> [00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT  
> SSE SSE2
> FPU
> [00000001] main vlc debug: looking for memcpy module: 3 candidates
> [00000001] main vlc debug: using memcpy module "memcpymmxext"
> [00000292] main playlist debug: waiting for thread completion
> [00000292] main playlist debug: thread 16386 (playlist) created at  
> priority 0
> (playlist/playlist.c:184)
> [00000293] main private debug: waiting for thread completion
> [00000293] main private debug: thread 32771 (preparser) created at  
> priority 0
> (playlist/playlist.c:210)
> [00000294] main interface debug: looking for interface module: 1  
> candidate
> [00000294] main interface debug: using interface module "hotkeys"
> [00000294] main interface debug: thread 49156 (interface) created  
> at priority
> 0 (interface/interface.c:229)
> [00000296] main interface debug: looking for interface module: 6  
> candidates
> [00000296] main interface debug: using interface module "screensaver"
> [00000296] main interface debug: thread 65541 (interface) created  
> at priority
> 0 (interface/interface.c:229)
> [00000292] main playlist debug: adding playlist item
> `pantera.avi' ( pantera.avi )
> [00000298] main interface debug: looking for interface module: 5  
> candidates
> [00000298] main interface debug: using interface module "wxwidgets"
> [00000298] main interface debug: thread 81926 (manager) created at  
> priority 0
> (interface/interface.c:214)
> [00000298] wxwidgets interface debug: Using last windows config
> '(-1,0,0,1024,768)(6,0,0,-1,150)'
> [00000298] wxwidgets interface debug: id=6 p=(0,0) s=(-1,150)
> [00000298] wxwidgets interface debug: last windows config is  
> invalid (ignored)
> [00000292] main playlist debug: creating statistics handler
> [00000292] main playlist debug: nothing requested, starting
> [00000292] main playlist debug: creating new input thread
> [00000302] main input debug: waiting for thread completion
> [00000302] main input debug: thread 98311 (input) created at  
> priority 0
> (input/input.c:260)
> [00000302] main input debug: `pantera.avi' gives access `' demux `'  
> path
> `pantera.avi'
> [00000302] main input debug: creating demux: access='' demux=''
> path='pantera.avi'
> [00000303] main demuxer debug: looking for access_demux module: 2  
> candidates
> [00000302] main input debug: creating access '' path='pantera.avi'
> [00000306] main access debug: looking for access2 module: 7 candidates
> [00000306] vcd access debug: trying .cue file: pantera.cue
> [00000306] access_file access debug: opening file `pantera.avi'
> [00000306] main access debug: using access2 module "access_file"
> [00000312] main private debug: pre buffering
> [00000312] main private debug: received first data for our buffer
> [00000312] main private debug: prebuffering done 1408981 bytes in  
> 0s - 39065
> kbytes/s
> [00000302] main input debug: creating demux: access='' demux=''
> path='pantera.avi'
> [00000313] main demuxer debug: looking for demux2 module: 42  
> candidates
> [00000312] avi private debug: found Chunk fourcc:46464952 (RIFF)
> size:737452930 pos:0
> [00000312] avi private debug: found LIST chunk: 'AVI '
> [00000312] avi private debug: <list 'AVI '>
> [00000312] avi private debug: found Chunk fourcc:5453494c (LIST)  
> size:8830
> pos:12
> [00000312] avi private debug: found LIST chunk: 'hdrl'
> [00000312] avi private debug: <list 'hdrl'>
> [00000312] avi private debug: found Chunk fourcc:68697661 (avih)  
> size:56
> pos:24
> [00000312] avi private debug: avih: streams:2 flags: HAS_INDEX  
> IS_INTERLEAVED
> 576x336
> [00000312] avi private debug: found Chunk fourcc:5453494c (LIST)  
> size:4244
> pos:88
> [00000312] avi private debug: found LIST chunk: 'strl'
> [00000312] avi private debug: <list 'strl'>
> [00000312] avi private debug: found Chunk fourcc:68727473 (strh)  
> size:56
> pos:100
> [00000312] avi private debug: strh: type:vids handler:0x64697678  
> samplesize:0
> 25.00fps
> [00000312] avi private debug: found Chunk fourcc:66727473 (strf)  
> size:40
> pos:164
> [00000312] avi private debug: strf: video:XVID 576x336 planes:1 12bpp
> [00000312] avi private debug: found Chunk fourcc:4b4e554a (JUNK)  
> size:4120
> pos:212
> [00000312] avi private debug: </list 'strl'>
> [00000312] avi private debug: found Chunk fourcc:5453494c (LIST)  
> size:4234
> pos:4340
> [00000312] avi private debug: found LIST chunk: 'strl'
> [00000312] avi private debug: <list 'strl'>
> [00000312] avi private debug: found Chunk fourcc:68727473 (strh)  
> size:56
> pos:4352
> [00000312] avi private debug: strh: type:auds handler:0x00000000  
> samplesize:1
> 16000.00fps
> [00000312] avi private debug: found Chunk fourcc:66727473 (strf)  
> size:30
> pos:4416
> [00000312] avi private debug: strf: audio:0x0055 channels:2 44100Hz
> 0bits/sample 125kb/s
> [00000312] avi private debug: found Chunk fourcc:4b4e554a (JUNK)  
> size:4120
> pos:4454
> [00000312] avi private debug: </list 'strl'>
> [00000312] avi private debug: found Chunk fourcc:5453494c (LIST)  
> size:260
> pos:8582
> [00000312] avi private debug: found LIST chunk: 'odml'
> [00000312] avi private debug: <list 'odml'>
> [00000312] avi private debug: found Chunk fourcc:686c6d64 (dmlh)  
> size:248
> pos:8594
> [00000312] avi private warning: unknown chunk (not loaded)
> [00000312] avi private debug: </list 'odml'>
> [00000312] avi private debug: </list 'hdrl'>
> [00000312] avi private debug: found Chunk fourcc:5453494c (LIST)  
> size:56
> pos:8850
> [00000312] avi private debug: found LIST chunk: 'INFO'
> [00000312] avi private debug: <list 'INFO'>
> [00000312] avi private debug: found Chunk fourcc:54465349 (ISFT)  
> size:44
> pos:8862
> [00000312] avi private debug: ISFT: software : VirtualDubMod  
> 1.5.10.2 (build
> 2540/release)
> [00000312] avi private debug: </list 'INFO'>
> [00000312] avi private debug: found Chunk fourcc:4b4e554a (JUNK)  
> size:1318
> pos:8914
> [00000312] avi private debug: found Chunk fourcc:5453494c (LIST)
> size:733209066 pos:10240
> [00000312] avi private debug: skipping movi chunk
> [00000312] avi private debug: found Chunk fourcc:31786469 (idx1)  
> size:4233616
> pos:733219314
> [00000312] avi private debug: idx1: index entry:264601
> [00000312] avi private debug: </list 'AVI '>
> [00000312] avi private debug: found Chunk fourcc:4b4e554a (JUNK)  
> size:1134
> pos:737452938
> [00000312] avi private debug: * LIST-root size:737454080 pos:0
> [00000312] avi private debug:      + RIFF-AVI  size:737452930 pos:0
> [00000312] avi private debug:      |    + LIST-hdrl size:8830 pos:12
> [00000312] avi private debug:      |    |    + avih size:56 pos:24
> [00000312] avi private debug:      |    |    + LIST-strl size:4244  
> pos:88
> [00000312] avi private debug:      |    |    |    + strh size:56  
> pos:100
> [00000312] avi private debug:      |    |    |    + strf size:40  
> pos:164
> [00000312] avi private debug:      |    |    |    + JUNK size:4120  
> pos:212
> [00000312] avi private debug:      |    |    + LIST-strl size:4234  
> pos:4340
> [00000312] avi private debug:      |    |    |    + strh size:56  
> pos:4352
> [00000312] avi private debug:      |    |    |    + strf size:30  
> pos:4416
> [00000312] avi private debug:      |    |    |    + JUNK size:4120  
> pos:4454
> [00000312] avi private debug:      |    |    + LIST-odml size:260  
> pos:8582
> [00000312] avi private debug:      |    |    |    + dmlh size:248  
> pos:8594
> [00000312] avi private debug:      |    + LIST-INFO size:56 pos:8850
> [00000312] avi private debug:      |    |    + ISFT size:44 pos:8862
> [00000312] avi private debug:      |    + JUNK size:1318 pos:8914
> [00000312] avi private debug:      |    + LIST-movi size:733209066  
> pos:10240
> [00000312] avi private debug:      |    + idx1 size:4233616 pos: 
> 733219314
> [00000312] avi private debug:      + JUNK size:1134 pos:737452938
> [00000313] avi demuxer debug: AVIH: 2 stream, flags  HAS_INDEX  
> IS_INTERLEAVED
> [00000313] avi demuxer debug: stream[0] rate:25 scale:1 samplesize:0
> [00000313] avi demuxer debug: stream[0] video(XVID) 576x336 12bpp  
> 25.000000fps
> [00000302] main input debug: selecting program id=0
> [00000313] avi demuxer debug: stream[1] rate:16000 scale:1  
> samplesize:1
> [00000313] avi demuxer debug: stream[1] audio(0x55) 2 channels  
> 44100Hz 0bits
> [00000313] avi demuxer debug: stream[0] created 132306 index entries
> [00000313] avi demuxer debug: stream[1] created 132295 index entries
> [00000313] avi demuxer debug: stream[0] length:5292 (based on index)
> [00000313] avi demuxer debug: stream[1] length:5292 (based on index)
> [00000313] main demuxer debug: using demux2 module "avi"
> [00000302] main input debug: looking for a subtitle file
> in /home/thresh/downloads/
> [00000315] main decoder debug: looking for decoder module: 27  
> candidates
> [00000315] ffmpeg decoder debug: libavcodec initialized (interface  
> 3277056 )
> [00000315] ffmpeg decoder debug: postprocessing disabled
> [00000315] ffmpeg decoder debug: using direct rendering
> [00000315] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) started
> [00000315] main decoder debug: using decoder module "ffmpeg"
> [00000315] main decoder debug: thread 114696 (decoder) created at  
> priority 0
> (input/decoder.c:159)
> [00000349] main decoder debug: looking for decoder module: 27  
> candidates
> [00000349] main decoder debug: using decoder module "mpeg_audio"
> [00000349] main decoder debug: thread 131081 (decoder) created at  
> priority 0
> (input/decoder.c:159)
> [00000302] main input debug: meta information:
> [00000302] main input debug:   - 'Настройки' = ' HAS_INDEX  
> IS_INTERLEAVED'
> [00000302] main input debug: `pantera.avi' successfully opened
> [00000313] avi demuxer debug: old:0 < new 0
> [00000315] main decoder debug: no usable vout present, spawning one
> [00000350] main video output debug: window size: 576x336
> [00000350] main video output debug: looking for video output  
> module: 11
> candidates
> [00000351] main private debug: Registering subpicture channel, ID: 2
> [00000351] main private debug: Registering subpicture channel, ID: 3
> [00000351] main private debug: Registering subpicture channel, ID: 4
> [00000351] main private debug: Registering subpicture channel, ID: 5
> [00000350] xvideo video output warning: no free XVideo port found  
> for format
> 0x30323449 (I420)
> [00000350] xvideo video output warning: no free XVideo port found  
> for format
> 0x32595559 (YUY2)
> [00000350] xvideo video output warning: no free XVideo port found  
> for format
> 0x36315652 (RV16)
> [00000350] x11 video output debug: Window manager supports NetWM
> [00000350] x11 video output debug: Window manager supports
> _NET_WM_STATE_FULLSCREEN
> [00000350] x11 video output debug: Window manager supports  
> _NET_WM_STATE_ABOVE
> [00000350] x11 video output debug: Window manager supports  
> _NET_WM_STATE_BELOW
> [00000350] x11 video output debug: Window manager supports
> _NET_WM_STATE_STAYS_ON_TOP
> [00000350] main video output debug: using video output module "x11"
> [00000350] x11 video output debug: x11 image size 576x336  
> (0,0,576x336)
> [00000350] main video output debug: got 2 direct buffer(s)
> [00000350] main video output debug: picture in 576x336  
> (0,0,576x336), chroma
> I420, ar 246857:144000, sar 1:1
> [00000350] main video output debug: picture user 576x336  
> (0,0,576x336), chroma
> I420, ar 246857:144000, sar 1:1
> [00000350] main video output debug: picture out 576x336  
> (0,0,576x336), chroma
> RV32, ar 246857:144000, sar 1:1
> [00000350] main video output debug: looking for chroma module: 9  
> candidates
> [00000350] main video output debug: using chroma module "i420_rgb_mmx"
> [00000350] main video output debug: indirect render, mapping render  
> pictures
> 0-7 to system pictures 2-9
> [00000350] main video output debug: waiting for thread completion
> [00000350] main video output debug: thread 147466 (video output)  
> created at
> priority 0 (video_output/video_output.c:421)
> [00000349] mpeg_audio decoder debug: MPGA channels:2 samplerate:44100
> bitrate:128
> [00000349] main decoder debug: no aout present, spawning one
> [00000354] main audio output debug: looking for audio output module: 7
> candidates
> [00000350] x11 video output debug: x11 image size 576x336  
> (0,0,576x336)
> [00000354] alsa audio output debug: opening ALSA device `default'
> [00000354] main audio output debug: thread 163851 (aout) created at  
> priority 0
> (alsa.c:662)
> [00000354] main audio output debug: using audio output module "alsa"
> [00000354] main audio output debug: output 'fl32' 44100 Hz Stereo  
> frame=1
> samples/8 bytes
> [00000354] main audio output debug: mixer 'fl32' 44100 Hz Stereo  
> frame=1
> samples/8 bytes
> [00000354] main audio output debug: no need for any filter
> [00000354] main audio output debug: looking for audio mixer module: 3
> candidates
> [00000354] main audio output debug: using audio mixer module  
> "float32_mixer"
> [00000354] main audio output debug: input 'mpga' 44100 Hz Stereo  
> frame=1152
> samples/1053 bytes
> [00000354] main audio output debug: filter(s) 'mpga'->'fl32' 44100  
> Hz->44100
> Hz Stereo->Stereo
> [00000356] main private debug: looking for audio filter module: 23  
> candidates
> [00000356] main private debug: using audio filter module  
> "mpgatofixed32"
> [00000354] main audio output debug: found a filter for the whole  
> conversion
> [00000354] main audio output debug: filter(s) 'fl32'->'fl32' 48510  
> Hz->44100
> Hz Stereo->Stereo
> [00000361] main private debug: looking for audio filter module: 23  
> candidates
> [00000361] main private debug: using audio filter module
> "bandlimited_resampler"
> [00000354] main audio output debug: found a filter for the whole  
> conversion
> [00000350] x11 video output debug: x11 image size 526x307  
> (0,0,526x307)
> [00000354] main audio output warning: PTS is out of range (75978),  
> dropping
> buffer
> [00000354] main audio output warning: PTS is out of range (51900),  
> dropping
> buffer
> [00000350] x11 video output debug: x11 image size 576x336  
> (0,0,576x336)
> [00000354] main audio output warning: PTS is out of range (31342),  
> dropping
> buffer
> [00000354] main audio output warning: PTS is out of range (12978),  
> dropping
> buffer
> [00000354] main audio output warning: PTS is out of range (-11174),  
> dropping
> buffer
> [00000354] main audio output warning: PTS is out of range (-35644),  
> dropping
> buffer
> [00000354] mpgatofixed32 audio output debug: libmad error: bad  
> main_data_begin
> pointer
> [00000354] mpgatofixed32 audio output debug: libmad error: bad  
> main_data_begin
> pointer
> [00000350] main video output warning: late picture skipped (87828)
> [00000350] main video output warning: late picture skipped (71071)
> [00000350] main video output warning: late picture skipped (174070)
> [00000350] main video output warning: late picture skipped (37043)
> [00000350] main video output warning: late picture skipped (20061)
> [00000350] x11 video output debug: entering fullscreen mode
> [00000350] x11 video output debug: x11 image size 1024x597  
> (0,0,1024x597)
> [00000350] main video output warning: late picture skipped (54309)
> [00000350] main video output warning: late picture skipped (14756)
> [00000350] main video output warning: late picture skipped (3807)
> [00000302] main input debug: control type=8
> [00000313] avi demuxer debug: seek requested: 7 secondes 0%
> [00000313] avi demuxer debug: old:4680000 < new 7625000
> [00000313] avi demuxer debug: seek: 12 seconds
> [00000349] mpeg_audio decoder debug: emulated startcode (no  
> startcode on
> following frame)
> [00000349] mpeg_audio decoder debug: emulated startcode
> [00000363] main private debug: looking for video blending module: 1  
> candidate
> [00000363] blend private debug: chroma: YUVP -> RV32
> [00000363] main private debug: using video blending module "blend"
> [00000365] main private debug: looking for text renderer module: 3  
> candidates
> [00000365] main private debug: using text renderer module "svg"
> [00000367] main private debug: looking for video filter2 module: 3  
> candidates
> [00000367] scale private debug: 32x32 -> 16x16
> [00000367] main private debug: using video filter2 module "scale"
> [00000350] main video output warning: late picture skipped (1314989)
> [00000350] main video output warning: late picture skipped (1276302)
> [00000350] main video output warning: late picture skipped (1236997)
> [00000350] main video output warning: late picture skipped (1197825)
> [00000350] main video output warning: late picture skipped (1158540)
> [00000350] main video output warning: late picture skipped (1119808)
> [00000350] main video output warning: late picture skipped (1182493)
> [00000350] main video output warning: late picture skipped (1103713)
> [00000350] main video output warning: late picture skipped (1093500)
> [00000302] main input debug: control type=8
> [00000313] avi demuxer debug: seek requested: 16 secondes 0%
> [00000313] avi demuxer debug: old:13600000 < new 16550000
> [00000313] avi demuxer debug: seek: 24 seconds
> [00000349] mpeg_audio decoder debug: emulated startcode (no  
> startcode on
> following frame)
> [00000350] main video output warning: late picture skipped (1196794)
> [00000349] mpeg_audio decoder debug: emulated startcode (no  
> startcode on
> following frame)
> [00000349] mpeg_audio decoder debug: emulated startcode
> [00000349] mpeg_audio decoder debug: emulated startcode (no  
> startcode on
> following frame)
> [00000302] main input debug: control type=8
> [00000313] avi demuxer debug: seek requested: 27 secondes 0%
> [00000313] avi demuxer debug: old:24080000 < new 27050000
> [00000313] avi demuxer debug: seek: 36 seconds
> [00000349] mpeg_audio decoder debug: emulated startcode (no  
> startcode on
> following frame)
> [00000349] mpeg_audio decoder debug: emulated startcode (no  
> startcode on
> following frame)
> [00000349] mpeg_audio decoder debug: emulated startcode
> [00000349] mpeg_audio decoder debug: emulated startcode
> [00000354] main audio output warning: buffer is 95497 in advance,  
> triggering
> downsampling
> zsh: killed     vlc -vvv pantera.avi
>
>
>
> -- 
> Pavlov Konstantin,
> CPMS Network,
> jid: thresh at altlinux.org
>
> --
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
>
>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list