Page 1 of 1

vlc crash at start play any video (I provide debug info...)

Posted: 16 Sep 2009 05:14
by alexqwesa
vlc crash at start play any video.
(and I can provide more debug info)

Code: Select all

vlc /nedia/1.avi VLC media player 1.0.1 Goldeneye [0x804f3a8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::begin: Paint device returned engine == 0, type: 1 Segmentation fault
I try to debug vlc and found:
it crash at line (in file: modules/misc/freetype.c):

Code: Select all

fmt.p_palette->i_entries = 16;
fmt.p_palette have zero value (see in debugger),
and when i look at code, i not see where fmt.p_palette is initialized:

Code: Select all

static int Render( filter_t *p_filter, subpicture_region_t *p_region, line_desc_t *p_line, int i_width, int i_height ) { static const uint8_t pi_gamma[16] = {0x00, 0x52, 0x84, 0x96, 0xb8, 0xca, 0xdc, 0xee, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; uint8_t *p_dst; video_format_t fmt; int i, x, y, i_pitch; uint8_t i_y; /* YUV values, derived from incoming RGB */ int8_t i_u, i_v; /* Create a new subpicture region */ memset( &fmt, 0, sizeof(video_format_t) ); fmt.i_chroma = VLC_FOURCC('Y','U','V','P'); fmt.i_aspect = 0; fmt.i_width = fmt.i_visible_width = i_width + 4; fmt.i_height = fmt.i_visible_height = i_height + 4; if( p_region->fmt.i_visible_width > 0 ) fmt.i_visible_width = p_region->fmt.i_visible_width; if( p_region->fmt.i_visible_height > 0 ) fmt.i_visible_height = p_region->fmt.i_visible_height; fmt.i_x_offset = fmt.i_y_offset = 0; assert( !p_region->p_picture ); p_region->p_picture = picture_New( fmt.i_chroma, fmt.i_width, fmt.i_height, fmt.i_aspect ); if( !p_region->p_picture ) return VLC_EGENERIC; p_region->fmt = fmt; /* Calculate text color components */ i_y = (uint8_t)(( 66 * p_line->i_red + 129 * p_line->i_green + 25 * p_line->i_blue + 128) >> 8) + 16; i_u = (int8_t)(( -38 * p_line->i_red - 74 * p_line->i_green + 112 * p_line->i_blue + 128) >> 8) + 128; i_v = (int8_t)(( 112 * p_line->i_red - 94 * p_line->i_green - 18 * p_line->i_blue + 128) >> 8) + 128; /* Build palette */ fmt.p_palette->i_entries = 16;
last string - crash app
(part of modules/misc/freetype.c)


stack:

Code: Select all

0 Render freetype.c 683 1 RenderText freetype.c 1383 2 spu_RenderSubpictures vout_subpictures.c 1086 3 vout_RenderPicture vout_pictures.c 382 4 RunThread video_output.c 1195 5 start_thread /lib/libpthread.so.0 0 6 clone /lib/libc.so.6 0


vlc in verbose mode:

Code: Select all

/usr/bin/vlc /nedia/Sem_nevest_dlya_semi_bratiev_\[torrents.ru\].avi -vvv VLC media player 1.0.1 Goldeneye [0x804f3a8] main libvlc debug: VLC media player - version 1.0.1 Goldeneye - (c) 1996-2009 the VideoLAN team [0x804f3a8] main libvlc debug: libvlc was configured with ./configure '--host=i686-suse-linux-gnu' '--build=i686-suse-linux-gnu' '--target=i686-suse-linux' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--enable-galaktos' '--enable-a52' '--enable-aa' '--enable-alsa' '--enable-asademux' '--enable-caca' '--enable-cddax' '--enable-cmml' '--enable-dca' '--enable-dvb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-dvdread' '--enable-faad' '--enable-fast-install' '--enable-fb' '--enable-flac' '--enable-freetype' '--enable-fribidi' '--enable-glx' '--enable-gnomevfs' '--enable-gnutls' '--enable-httpd' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libcddb' '--enable-libcdio' '--enable-libmpeg2' '--enable-libproxy' '--enable-lirc' '--enable-live555' '--enable-lua' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mozilla' '--enable-ncurses' '--enable-ogg' '--enable-optimizations' '--enable-oss' '--enable-pulse' '--enable-pvr' '--enable-real' '--enable-realrtsp' '--enable-release' '--enable-smb' '--enable-sout' '--enable-speex' '--enable-taglib' '--enable-theora' '--enable-v4l' '--enable-v4l2' '--enable-vcd' '--enable-vcdx' '--enable-visual' '--enable-vorbis' '--enable-waveout' '--enable-x11' '--enable-xosd' '--enable-xvideo' '--with-live555-tree=/usr/lib/live' 'build_alias=i686-suse-linux-gnu' 'host_alias=i686-suse-linux-gnu' 'target_alias=i686-suse-linux' 'CFLAGS=-march=i686 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' 'CXXFLAGS=-march=i686 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' [0x804f3a8] main libvlc debug: translation test: code is "C" [0x804f3a8] main libvlc debug: checking plugin modules [0x804f3a8] main libvlc debug: loading plugins cache file /home/alex/.cache/vlc/plugins-04041e.dat [0x804f3a8] main libvlc warning: This doesn't look like a valid plugins cache (language changed) [0x804f3a8] main libvlc debug: recursively browsing `/usr/lib/vlc' [0x804f3a8] main libvlc debug: module bank initialized (379 modules) [0x804f3a8] main libvlc debug: opening config file (/home/alex/.config/vlc/vlcrc) [0x804f3a8] main libvlc debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT SSE SSE2 FPU [0x804f3a8] main libvlc debug: looking for memcpy module: 4 candidates [0x804f3a8] main libvlc debug: using memcpy module "memcpymmxext" [0x819ae48] main input debug: Creating an input for 'Media Library' [0x819ae48] main input debug: Input is a meta file: disabling unneeded options [0x819ae48] main input debug: using timeshift granularity of 50 MBytes [0x819ae48] main input debug: using timeshift path '/tmp' [0x819ae48] main input debug: `file/xspf-open:///home/alex/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/alex/.local/share/vlc/ml.xspf' [0x819ae48] main input debug: creating demux: access='file' demux='xspf-open' path='/home/alex/.local/share/vlc/ml.xspf' [0x81a12b0] main demux debug: looking for access_demux module: 1 candidate [0x81a12b0] main demux warning: no access_demux module matching "file" could be loaded [0x81a12b0] main demux debug: TIMER module_need() : 0.321 ms - Total 0.321 ms / 1 intvls (Avg 0.321 ms) [0x819ae48] main input debug: creating access 'file' path='/home/alex/.local/share/vlc/ml.xspf' [0x81a12b0] main access debug: looking for access module: 3 candidates [0x81a12b0] access_file access debug: opening file `/home/alex/.local/share/vlc/ml.xspf' [0x81a12b0] main access debug: using access module "access_file" [0x81a12b0] main access debug: TIMER module_need() : 0.459 ms - Total 0.459 ms / 1 intvls (Avg 0.459 ms) [0x81a1ad8] main stream debug: Using AStream*Stream [0x81a1ad8] main stream debug: pre buffering [0x81a1ad8] main stream debug: received first data after 0 ms [0x81a1ad8] main stream debug: pre-buffering done 314 bytes in 0s - 2737 kbytes/s [0x81a2380] main stream debug: looking for stream_filter module: 4 candidates [0x81a2380] main stream debug: TIMER module_need() : 0.182 ms - Total 0.182 ms / 1 intvls (Avg 0.182 ms) [0x81a2380] main stream debug: looking for stream_filter module: 1 candidate [0x81a2380] main stream debug: using stream_filter module "stream_filter_record" [0x81a2380] main stream debug: TIMER module_need() : 0.198 ms - Total 0.198 ms / 1 intvls (Avg 0.198 ms) [0x819ae48] main input debug: creating demux: access='file' demux='xspf-open' path='/home/alex/.local/share/vlc/ml.xspf' [0x81a2b58] main demux debug: looking for demux module: 1 candidate [0x81a2b58] playlist demux debug: using XSPF playlist reader [0x81a2b58] main demux debug: using demux module "playlist" [0x81a2b58] main demux debug: TIMER module_need() : 0.301 ms - Total 0.301 ms / 1 intvls (Avg 0.301 ms) [0x819ae48] main input debug: `file/xspf-open:///home/alex/.local/share/vlc/ml.xspf' successfully opened [0x819f3e0] main xml debug: looking for xml module: 2 candidates [0x819f3e0] main xml debug: using xml module "xml" [0x819f3e0] main xml debug: TIMER module_need() : 0.256 ms - Total 0.256 ms / 1 intvls (Avg 0.256 ms) [0x81a2b58] playlist demux debug: parsed 0 tracks successfully [0x819f3e0] main xml debug: removing module "xml" [0x819ae48] main input debug: EOF reached [0x81a2b58] main demux debug: removing module "playlist" [0x81a2380] main stream debug: removing module "stream_filter_record" [0x81a12b0] main access debug: removing module "access_file" [0x819ae48] main input debug: TIMER input launching for 'Media Library' : 10.442 ms - Total 10.442 ms / 1 intvls (Avg 10.442 ms) [0x816e7b0] main playlist debug: Activated [0x819ba98] main interface debug: looking for interface module: 1 candidate [0x819ba98] main interface debug: using interface module "hotkeys" [0x819ba98] main interface debug: TIMER module_need() : 0.427 ms - Total 0.427 ms / 1 intvls (Avg 0.427 ms) [0x819ba98] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x819fac0] main interface debug: looking for interface module: 1 candidate [0x819fac0] main interface debug: using interface module "inhibit" [0x819fac0] main interface debug: TIMER module_need() : 4.949 ms - Total 4.949 ms / 1 intvls (Avg 4.949 ms) [0x819fac0] main interface debug: thread started [0x819fac0] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x81a2198] main interface debug: looking for interface module: 1 candidate [0x81a2198] main interface debug: using interface module "screensaver" [0x81a2198] main interface debug: TIMER module_need() : 0.278 ms - Total 0.278 ms / 1 intvls (Avg 0.278 ms) [0x81a2198] main interface debug: thread started [0x81a2198] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x816e7b0] main playlist debug: adding item `Sem_nevest_dlya_semi_bratiev_[torrents.ru].avi' ( /nedia/Sem_nevest_dlya_semi_bratiev_[torrents.ru].avi ) [0x819ba98] main interface debug: thread started [0x816e7b0] main playlist debug: rebuilding array of current - root Playlist [0x816e7b0] main playlist debug: rebuild done - 0 items, index -1 [0x819b6c8] main interface debug: looking for interface module: 1 candidate [0x819b6c8] main interface debug: using interface module "signals" [0x819b6c8] main interface debug: TIMER module_need() : 0.409 ms - Total 0.409 ms / 1 intvls (Avg 0.409 ms) [0x819b6c8] main interface debug: thread started [0x819b6c8] main interface debug: thread ended [0x819b6c8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x81a1a68] main interface debug: looking for interface module: 1 candidate [0x81a1a68] main interface debug: using interface module "globalhotkeys" [0x81a1a68] main interface debug: TIMER module_need() : 45.081 ms - Total 45.081 ms / 1 intvls (Avg 45.081 ms) [0x81a1a68] main interface debug: thread started [0x81a1a68] main interface debug: thread ended [0x81a1a68] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x804f3a8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x81a4628] main interface debug: looking for interface module: 5 candidates [0x81a4628] main interface debug: using interface module "qt4" [0x81a4628] main interface debug: TIMER module_need() : 602.393 ms - Total 602.393 ms / 1 intvls (Avg 602.393 ms) [0x81a4628] main interface debug: thread started [0x81a4628] main interface debug: thread ended [0x81a4628] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x816e7b0] main playlist debug: rebuilding array of current - root Playlist [0x816e7b0] main playlist debug: rebuild done - 1 items, index -1 [0x816e7b0] main playlist debug: processing request item null node Playlist skip 0 [0x816e7b0] main playlist debug: starting new item [0x816e7b0] main playlist debug: creating new input thread [0x823b7d0] main input debug: Creating an input for 'Sem_nevest_dlya_semi_bratiev_[torrents.ru].avi' [0x823b7d0] main input debug: thread (input) created at priority 10 (input/input.c:230) [0x823b7d0] main input debug: thread started [0x823b7d0] main input debug: using timeshift granularity of 50 MBytes [0x823b7d0] main input debug: using timeshift path '/tmp' [0x823b7d0] main input debug: `/nedia/Sem_nevest_dlya_semi_bratiev_[torrents.ru].avi' gives access `' demux `' path `/nedia/Sem_nevest_dlya_semi_bratiev_[torrents.ru].avi' [0x823b7d0] main input debug: creating demux: access='' demux='' path='/nedia/Sem_nevest_dlya_semi_bratiev_[torrents.ru].avi' [0x8200480] main demux debug: looking for access_demux module: 7 candidates [0x81a4628] qt4 interface debug: Error while initializing qt-specific localization [0x8200480] main demux debug: TIMER module_need() : 89.304 ms - Total 89.304 ms / 1 intvls (Avg 89.304 ms) [0x823b7d0] main input debug: creating access '' path='/nedia/Sem_nevest_dlya_semi_bratiev_[torrents.ru].avi' [0x827b718] main access debug: looking for access module: 9 candidates [0x827b718] vcd access debug: trying .cue file: /nedia/Sem_nevest_dlya_semi_bratiev_[torrents.ru].cue [0x827b718] vcd access debug: could not find .cue file [0x81a4628] qt4 interface debug: IM: Setting an input [0x81a4628] qt4 interface debug: Updating the geometry [0x81a4628] qt4 interface debug: Updating the geometry [0x827b718] access_file access debug: opening file `/nedia/Sem_nevest_dlya_semi_bratiev_[torrents.ru].avi' [0x827b718] main access debug: using access module "access_file" [0x827b718] main access debug: TIMER module_need() : 35.984 ms - Total 35.984 ms / 1 intvls (Avg 35.984 ms) [0x8347430] main stream debug: Using AStream*Stream [0x8347430] main stream debug: pre buffering [0x8347430] main stream debug: received first data after 0 ms [0x8347430] main stream debug: pre-buffering done 1024 bytes in 0s - 3521 kbytes/s [0x82b13a8] main stream debug: looking for stream_filter module: 4 candidates [0x82b13a8] main stream debug: TIMER module_need() : 0.136 ms - Total 0.136 ms / 1 intvls (Avg 0.136 ms) [0x836b998] main stream debug: looking for stream_filter module: 1 candidate [0x836b998] main stream debug: using stream_filter module "stream_filter_record" [0x836b998] main stream debug: TIMER module_need() : 0.076 ms - Total 0.076 ms / 1 intvls (Avg 0.076 ms) [0x823b7d0] main input debug: creating demux: access='' demux='' path='/nedia/Sem_nevest_dlya_semi_bratiev_[torrents.ru].avi' [0x8200480] main demux debug: looking for demux module: 48 candidates [0x836b998] avi stream debug: found Chunk fourcc:46464952 (RIFF) size:1339523636 pos:0 [0x836b998] avi stream debug: found LIST chunk: 'AVI ' [0x836b998] avi stream debug: <list 'AVI '> [0x836b998] avi stream debug: found Chunk fourcc:5453494c (LIST) size:316 pos:12 [0x836b998] avi stream debug: found LIST chunk: 'hdrl' [0x836b998] avi stream debug: <list 'hdrl'> [0x836b998] avi stream debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 [0x836b998] avi stream debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 720x480 [0x836b998] avi stream debug: found Chunk fourcc:5453494c (LIST) size:116 pos:88 [0x836b998] avi stream debug: found LIST chunk: 'strl' [0x836b998] avi stream debug: <list 'strl'> [0x836b998] avi stream debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 [0x836b998] avi stream debug: strh: type:vids handler:0x64697678 samplesize:0 25.00fps [0x836b998] avi stream debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 [0x836b998] avi stream debug: strf: video:XVID 720x480 planes:1 24bpp [0x836b998] avi stream debug: </list 'strl'> [0x836b998] avi stream debug: found Chunk fourcc:5453494c (LIST) size:106 pos:212 [0x836b998] avi stream debug: found LIST chunk: 'strl' [0x836b998] avi stream debug: <list 'strl'> [0x836b998] avi stream debug: found Chunk fourcc:68727473 (strh) size:56 pos:224 [0x836b998] avi stream debug: strh: type:auds handler:0x00000000 samplesize:1 28000.00fps [0x836b998] avi stream debug: found Chunk fourcc:66727473 (strf) size:30 pos:288 [0x836b998] avi stream debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 218kb/s [0x836b998] avi stream debug: </list 'strl'> [0x836b998] avi stream debug: found Chunk fourcc:6d676573 (segm) size:1 pos:326 [0x836b998] avi stream warning: unknown chunk (not loaded) [0x836b998] avi stream debug: </list 'hdrl'> [0x836b998] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:7848 pos:336 [0x836b998] avi stream debug: found Chunk fourcc:5453494c (LIST) size:1334622844 pos:8192 [0x836b998] avi stream debug: skipping movi chunk [0x836b998] avi stream debug: found Chunk fourcc:31786469 (idx1) size:4892592 pos:1334631044 [0x836b998] avi stream debug: idx1: index entry:305787 [0x836b998] avi stream debug: </list 'AVI '> [0x836b998] avi stream debug: * LIST-root size:1339523644 pos:0 [0x836b998] avi stream debug: + RIFF-AVI size:1339523636 pos:0 [0x836b998] avi stream debug: | + LIST-hdrl size:316 pos:12 [0x836b998] avi stream debug: | | + avih size:56 pos:24 [0x836b998] avi stream debug: | | + LIST-strl size:116 pos:88 [0x836b998] avi stream debug: | | | + strh size:56 pos:100 [0x836b998] avi stream debug: | | | + strf size:40 pos:164 [0x836b998] avi stream debug: | | + LIST-strl size:106 pos:212 [0x836b998] avi stream debug: | | | + strh size:56 pos:224 [0x836b998] avi stream debug: | | | + strf size:30 pos:288 [0x836b998] avi stream debug: | | + segm size:1 pos:326 [0x836b998] avi stream debug: | + JUNK size:7848 pos:336 [0x836b998] avi stream debug: | + LIST-movi size:1334622844 pos:8192 [0x836b998] avi stream debug: | + idx1 size:4892592 pos:1334631044 [0x8200480] avi demux debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED [0x8200480] avi demux debug: stream[0] rate:25 scale:1 samplesize:0 [0x8200480] avi demux debug: stream[0] video(XVID) 720x480 24bpp 25.000000fps [0x823b7d0] main input debug: selecting program id=0 [0x8200480] avi demux debug: stream[1] rate:28000 scale:1 samplesize:1 [0x8200480] avi demux debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits [0x8200480] avi demux debug: no key frame set for track 1 [0x8200480] avi demux debug: stream[0] created 152906 index entries [0x8200480] avi demux debug: stream[1] created 152881 index entries [0x8200480] avi demux debug: stream[0] length:6116 (based on index) [0x8200480] avi demux debug: stream[1] length:6116 (based on index) [0x8200480] main demux debug: using demux module "avi" [0x8200480] main demux debug: TIMER module_need() : 243.186 ms - Total 243.186 ms / 1 intvls (Avg 243.186 ms) [0x81a4628] qt4 interface debug: Updating the geometry [0x823b7d0] main input debug: looking for a subtitle file in /nedia/ [0x84008b8] main decoder debug: looking for decoder module: 30 candidates [0x84008b8] avcodec decoder debug: libavcodec initialized (interface 0x342300) [0x84008b8] avcodec decoder debug: using direct rendering [0x84008b8] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) started [0x84008b8] main decoder debug: using decoder module "avcodec" [0x84008b8] main decoder debug: TIMER module_need() : 3.576 ms - Total 3.576 ms / 1 intvls (Avg 3.576 ms) [0x84008b8] main decoder debug: thread started [0x84008b8] main decoder debug: thread (decoder) created at priority 0 (input/decoder.c:315) [0x8207790] main decoder debug: looking for decoder module: 30 candidates [0x8207790] main decoder debug: using decoder module "mpeg_audio" [0x8207790] main decoder debug: TIMER module_need() : 0.416 ms - Total 0.416 ms / 1 intvls (Avg 0.416 ms) [0x8207790] main decoder debug: thread started [0x8207790] main decoder debug: thread (decoder) created at priority 5 (input/decoder.c:315) [0x823b7d0] main input debug: `/nedia/Sem_nevest_dlya_semi_bratiev_[torrents.ru].avi' successfully opened [0x823b7d0] main input debug: Buffering 0% [0x8207790] mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:224 [0x823b7d0] main input debug: creating aout [0x8276e60] main audio output debug: looking for audio output module: 5 candidates [0x823b7d0] main input debug: Buffering 8% [0x81a4628] qt4 interface debug: Updating the geometry [0x81a4628] qt4 interface debug: Updating the geometry [0x81a4628] qt4 interface debug: Updating the geometry [0x81a4628] qt4 interface debug: Updating the geometry [0x81a4628] qt4 interface debug: Updating the geometry [0x823b7d0] main input debug: no usable vout present, spawning one [0xb1a930e0] main spu text debug: looking for text renderer module: 2 candidates [0x81a4628] qt4 interface debug: Updating the geometry [0x81a4628] qt4 interface debug: Updating the geometry [0x81a4628] qt4 interface debug: Updating the geometry [0x81a4628] qt4 interface debug: Updating the geometry [0xb1a9c118] main generic debug: thread started [0x81a4628] qt4 interface debug: New caching: 8 [0x81a4628] qt4 interface debug: New caching: 8 [0xb1a9c118] freetype generic debug: Building font database... [0xb1a9c118] freetype generic debug: Finished building font database. [0xb1a9c118] freetype generic debug: Took 3289 microseconds [0xb1a9c118] main generic debug: thread (fontlist builder) created at priority 0 (freetype.c:473) [0xb1a930e0] freetype spu text debug: using fontsize: 2 [0xb1a930e0] main spu text debug: using text renderer module "freetype" [0xb1a930e0] main spu text debug: TIMER module_need() : 10.687 ms - Total 10.687 ms / 1 intvls (Avg 10.687 ms) [0xb1aa5518] main scale debug: looking for video filter2 module: 20 candidates [0xb1aa5518] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality) [0xb1aa5518] main scale debug: using video filter2 module "swscale" [0xb1aa5518] main scale debug: TIMER module_need() : 1.162 ms - Total 1.162 ms / 1 intvls (Avg 1.162 ms) [0xb1a9c118] main generic debug: thread ended [0x84160a8] main scale debug: looking for video filter2 module: 20 candidates [0x84160a8] yuvp scale debug: YUVP to YUVA converter [0x84160a8] main scale debug: using video filter2 module "yuvp" [0x84160a8] main scale debug: TIMER module_need() : 0.431 ms - Total 0.431 ms / 1 intvls (Avg 0.431 ms) [0xb1a8f568] main video output debug: window size: 720x480 [0xb1a8f568] main video output debug: looking for video output module: 7 candidates [0x823b7d0] main input debug: Buffering 16% [0x823b7d0] main input debug: Buffering 25% [0x823b7d0] main input debug: Buffering 33% [0x823b7d0] main input debug: Buffering 41% [0x823b7d0] main input debug: Buffering 50% [0x823b7d0] main input debug: Buffering 58% [0x823b7d0] main input debug: Buffering 66% [0x823b7d0] main input debug: Buffering 75% [0x823b7d0] main input debug: Buffering 83% [0x823b7d0] main input debug: Buffering 91% [0x823b7d0] main input debug: Buffering 100% [0x823b7d0] main input debug: Stream buffering done (325 ms in 21 ms) [0x81a4628] qt4 interface debug: New caching: 100 [0x81a4628] qt4 interface debug: New caching: 100 [0x8276e60] alsa audio output debug: opening ALSA device `default' [0xb1a8f568] xvideo video output debug: adaptor 0, port 133, format 0x32315659 (YV12) planar [0x8276e60] main audio output debug: thread (aout) created at priority 15 (alsa.c:687) [0x8276e60] main audio output debug: using audio output module "alsa" [0x8276e60] main audio output debug: TIMER module_need() : 140.627 ms - Total 140.627 ms / 1 intvls (Avg 140.627 ms) [0x8276e60] main audio output debug: output 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes [0x8276e60] main audio output debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes [0x8276e60] main audio output debug: no need for any filter [0x8276e60] main audio output debug: looking for audio mixer module: 3 candidates [0x8276e60] main audio output debug: using audio mixer module "float32_mixer" [0x8276e60] main audio output debug: TIMER module_need() : 0.129 ms - Total 0.129 ms / 1 intvls (Avg 0.129 ms) [0x8276e60] main audio output debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/969 bytes [0x82f28b8] main audio filter debug: looking for audio filter module: 1 candidate [0x82f28b8] scaletempo audio filter warning: bad input or output format [0x82f28b8] main audio filter warning: no audio filter module matching "scaletempo" could be loaded [0x82f28b8] main audio filter debug: TIMER module_need() : 0.101 ms - Total 0.101 ms / 1 intvls (Avg 0.101 ms) [0x82f28b8] main audio filter debug: looking for audio filter module: 1 candidate [0x82f28b8] scaletempo audio filter debug: format: 48000 rate, 2 nch, 4 bps, fl32 [0x82f28b8] scaletempo audio filter debug: params: 30 stride, 0.200 overlap, 14 search [0x82f28b8] scaletempo audio filter debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode [0x82f28b8] main audio filter debug: using audio filter module "scaletempo" [0x82f28b8] main audio filter debug: TIMER module_need() : 0.290 ms - Total 0.290 ms / 1 intvls (Avg 0.290 ms) [0x8276e60] main audio output debug: filter(s) 'mpga'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo [0x833d788] main audio output debug: looking for audio filter module: 24 candidates [0x833d788] main audio output debug: using audio filter module "mpgatofixed32" [0x833d788] main audio output debug: TIMER module_need() : 0.105 ms - Total 0.105 ms / 1 intvls (Avg 0.105 ms) [0x8276e60] main audio output debug: found a filter for the whole conversion [0x8276e60] main audio output debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo [0x8348d10] main audio output debug: looking for audio filter module: 24 candidates [0x8348d10] main audio output debug: using audio filter module "bandlimited_resampler" [0x8348d10] main audio output debug: TIMER module_need() : 0.181 ms - Total 0.181 ms / 1 intvls (Avg 0.181 ms) [0x8276e60] main audio output debug: found a filter for the whole conversion [0x8207790] main decoder debug: End of audio preroll [0x8276e60] main audio output debug: thread started [0x82701f0] main window debug: looking for xwindow module: 3 candidates [0x82701f0] qt4 window debug: requesting video... [0x81a4628] qt4 interface debug: Video was requested -1, -1 [0x81a4628] qt4 interface debug: Video is resizing to: 720 480 [0x82701f0] main window debug: using xwindow module "qt4" [0x82701f0] main window debug: TIMER module_need() : 2.887 ms - Total 2.887 ms / 1 intvls (Avg 2.887 ms) [0x81a4628] qt4 interface debug: Updating the geometry QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::begin: Paint device returned engine == 0, type: 1 [0xb1a8f568] xvideo video output debug: XShm video extension v1.1 (with pixmaps, opcode: 151) [0xb1a8f568] xvideo video output debug: Window manager supports NetWM [0xb1a8f568] xvideo video output debug: Window manager supports _NET_WM_STATE_FULLSCREEN [0xb1a8f568] xvideo video output debug: Window manager supports _NET_WM_STATE_ABOVE [0xb1a8f568] xvideo video output debug: Window manager supports _NET_WM_STATE_BELOW [0xb1a8f568] main video output debug: using video output module "xvideo" [0xb1a8f568] main video output debug: TIMER module_need() : 810.925 ms - Total 810.925 ms / 1 intvls (Avg 810.925 ms) [0xb1a8f568] main video output debug: Deinterlacing available [0xb1a8f568] main video output debug: got 16 direct buffer(s) [0xb1a8f568] main video output debug: pic render sz 720x480, of (0,0), vsz 720x480, 4cc I420, ar 3:2, sar 1:1, msk r0x0 g0x0 b0x0 [0xb1a8f568] main video output debug: pic in sz 720x480, of (0,0), vsz 720x480, 4cc I420, ar 3:2, sar 1:1, msk r0x0 g0x0 b0x0 [0xb1a8f568] main video output debug: pic out sz 720x480, of (0,0), vsz 720x480, 4cc I420, ar 3:2, sar 1:1, msk r0x0 g0x0 b0x0 [0xb1a8f568] main video output debug: direct render, mapping render pictures 0-14 to system pictures 1-15 [0xb1a8f568] qt4 video output debug: Qt: Entering Fullscreen [0x84008b8] main decoder debug: End of video preroll [0x84008b8] main decoder debug: Received first picture [0x823b7d0] main input debug: Decoder buffering done in 945 ms [0x8276e60] main audio output warning: PTS is out of range (-9964), dropping buffer [0x8276e60] main audio output warning: PTS is out of range (-33945), dropping buffer [0x8276e60] main audio output warning: PTS is out of range (-34931), dropping buffer [0x8276e60] mpgatofixed32 audio output debug: libmad error: bad main_data_begin pointer [0xb1a8f568] main video output debug: Post-processing available [0xb1a930e0] freetype spu text debug: using fontsize: 30 Segmentation fault
and also I can send strace, or some thing else...

Re: vlc crash at start play any video (I provide debug info...)

Posted: 17 Sep 2009 00:35
by Jean-Baptiste Kempf
Can you send your findings to vlc-devel?

Re: vlc crash at start play any video (I provide debug info...)

Posted: 17 Sep 2009 12:04
by alexqwesa
Can you send your findings to vlc-devel?
I also post this to irc(#videolan), but don't receive an answer.
and I not found vlc bugs tracker.

Re: vlc crash at start play any video (I provide debug info...)

Posted: 17 Sep 2009 14:46
by xtophe
p_region->fmt = fmt; is where fmt is defined.

So you need to inspect the *p_picture struct and/or trace from where it comes from

For that you'll need to recompile with --enable-debug or install a package with the debugging symbols if Suse provides one (like vlc-dbg on debian)

Edit:

Hmmm. i wrote total crap. please disreguard

Re: vlc crash at start play any video (I provide debug info...)

Posted: 23 Sep 2009 23:56
by alexqwesa
I also found:
If option "Enable OSD"(Preference->Subtitles & OSD) is OFF - vlc is NOT crash at start play any video
(if check this option when video already open - it too work),

vlc crash ONLY if option "Enable OSD" is ON