VLC randomly crashes in Fedora 12

*nix specific usage questions
Xinerama
New Cone
New Cone
Posts: 5
Joined: 03 Dec 2009 09:15

VLC randomly crashes in Fedora 12

Postby Xinerama » 03 Dec 2009 09:18

Whenever I play any type of video it just dies. Streams, avi, wmv, ...
I'm using Gnome with out the box Compiz under Fedora 12 with an nvidia card and using PulseAudio out the box with no problem (knock on wood).
I also went into the Prefences ---> Video ----> and choose "X11 video output" and still nothing.

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: VLC randomly crashes in Fedora 12

Postby thannoy » 03 Dec 2009 11:58

Which VLC version is it?
Can you start VLC using command_line and -vvv parameter (full verbose)? Can you past interesting/last lines here (using "code" button above please)

Can you try this to get more accurate crash details:

Code: Select all

# install GNU debugger package if you have not yet installed it yum install gdb # install debug symbols if they are provided: yum install vlc-dbg # start vlc program from the debugger gdb --args "$(which vlc)" run # make vlc crash, it will show you the debugger prompt # copy lines printed when the crash occurs (like "SIGSEGV at file.c:line on thread 0x123456") # copy result of command "bt full" and or "thread apply all bt full"

Xinerama
New Cone
New Cone
Posts: 5
Joined: 03 Dec 2009 09:15

Re: VLC randomly crashes in Fedora 12

Postby Xinerama » 03 Dec 2009 15:46

Okay, vlc -vvv gives me

Code: Select all

VLC media player 1.0.3 Goldeneye [0x9ec18b0] main libvlc debug: VLC media player - version 1.0.3 Goldeneye - (c) 1996-2009 the VideoLAN team [0x9ec18b0] main libvlc debug: libvlc was configured with ./configure '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--target=i686-redhat-linux-gnu' '--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/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--disable-rpath' '--enable-release' '--with-binary-version=1.0.3-1.fc12' '--with-tuning=no' '--enable-switcher' '--enable-lua' '--enable-live555' '--enable-dv' '--enable-opencv' '--enable-pvr' '--enable-gnomevfs' '--enable-cddax' '--enable-wma-fixed' '--enable-shine' '--enable-faad' '--disable-faac' '--enable-twolame' '--enable-real' '--enable-realrtsp' '--enable-flac' '--enable-tremor' '--enable-speex' '--enable-tarkin' '--enable-theora' '--enable-dirac' '--enable-libass' '--enable-shout' '--enable-xcb' '--enable-svg' '--enable-snapshot' '--enable-svgalib' '--enable-xvmc' '--enable-directfb' '--enable-aa' '--enable-caca' '--enable-jack' '--enable-portaudio' '--enable-pulse' '--enable-ncurses' '--enable-xosd' '--enable-fbosd' '--enable-galaktos' '--enable-lirc' '--enable-loader' '--enable-mozilla' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'target_alias=i686-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig' [0x9ec18b0] main libvlc debug: translation test: code is "C" [0x9ec18b0] main libvlc debug: checking plugin modules [0x9ec18b0] main libvlc debug: loading plugins cache file /home/Elias/.cache/vlc/plugins-04041e.dat [0x9ec18b0] main libvlc debug: recursively browsing `/usr/lib/vlc' [0x9ec18b0] main libvlc debug: module bank initialized (408 modules) [0x9ec18b0] main libvlc debug: opening config file (/home/Elias/.config/vlc/vlcrc) [0x9ec18b0] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [0x9ec18b0] main libvlc debug: looking for memcpy module: 3 candidates [0x9ec18b0] main libvlc debug: using memcpy module "memcpymmxext" [0x9f62a40] main input debug: Creating an input for 'Media Library' [0x9f62a40] main input debug: Input is a meta file: disabling unneeded options [0x9f62a40] main input debug: selected subtitle language[0] en [0x9f62a40] main input debug: using timeshift granularity of 50 MBytes [0x9f62a40] main input debug: using timeshift path '/tmp' [0x9f62a40] main input debug: `file/xspf-open:///home/Elias/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/Elias/.local/share/vlc/ml.xspf' [0x9f62a40] main input debug: creating demux: access='file' demux='xspf-open' path='/home/Elias/.local/share/vlc/ml.xspf' [0x9f6fd48] main demux debug: looking for access_demux module: 1 candidate [0x9f6fd48] main demux warning: no access_demux module matching "file" could be loaded [0x9f6fd48] main demux debug: TIMER module_need() : 0.610 ms - Total 0.610 ms / 1 intvls (Avg 0.610 ms) [0x9f62a40] main input debug: creating access 'file' path='/home/Elias/.local/share/vlc/ml.xspf' [0x9f65a68] main access debug: looking for access module: 3 candidates [0x9f65a68] access_file access debug: opening file `/home/Elias/.local/share/vlc/ml.xspf' [0x9f65a68] main access debug: using access module "access_file" [0x9f65a68] main access debug: TIMER module_need() : 0.556 ms - Total 0.556 ms / 1 intvls (Avg 0.556 ms) [0x9f65b50] main stream debug: Using AStream*Stream [0x9f65b50] main stream debug: pre buffering [0x9f65b50] main stream debug: received first data after 0 ms [0x9f65b50] main stream debug: pre-buffering done 296 bytes in 0s - 13139 kbytes/s [0x9f66318] main stream debug: looking for stream_filter module: 4 candidates [0x9f66318] main stream debug: TIMER module_need() : 0.518 ms - Total 0.518 ms / 1 intvls (Avg 0.518 ms) [0x9f68750] main stream debug: looking for stream_filter module: 1 candidate [0x9f68750] main stream debug: using stream_filter module "stream_filter_record" [0x9f68750] main stream debug: TIMER module_need() : 0.213 ms - Total 0.213 ms / 1 intvls (Avg 0.213 ms) [0x9f62a40] main input debug: creating demux: access='file' demux='xspf-open' path='/home/Elias/.local/share/vlc/ml.xspf' [0x9f693e8] main demux debug: looking for demux module: 1 candidate [0x9f693e8] playlist demux debug: using XSPF playlist reader [0x9f693e8] main demux debug: using demux module "playlist" [0x9f693e8] main demux debug: TIMER module_need() : 0.274 ms - Total 0.274 ms / 1 intvls (Avg 0.274 ms) [0x9f62a40] main input debug: `file/xspf-open:///home/Elias/.local/share/vlc/ml.xspf' successfully opened [0x9f67900] main xml debug: looking for xml module: 2 candidates [0x9f67900] main xml debug: using xml module "xml" [0x9f67900] main xml debug: TIMER module_need() : 0.532 ms - Total 0.532 ms / 1 intvls (Avg 0.532 ms) [0x9f693e8] playlist demux debug: parsed 0 tracks successfully [0x9f67900] main xml debug: removing module "xml" [0x9f62a40] main input debug: EOF reached [0x9f693e8] main demux debug: removing module "playlist" [0x9f68750] main stream debug: removing module "stream_filter_record" [0x9f65a68] main access debug: removing module "access_file" [0x9f62a40] main input debug: TIMER input launching for 'Media Library' : 6.471 ms - Total 6.471 ms / 1 intvls (Avg 6.471 ms) [0x9f617f8] main playlist debug: rebuilding array of current - root Playlist [0x9f617f8] main playlist debug: rebuild done - 0 items, index -1 [0x9f617f8] main playlist debug: Activated [0x9f693d8] main interface debug: looking for interface module: 1 candidate [0x9f693d8] main interface debug: using interface module "hotkeys" [0x9f693d8] main interface debug: TIMER module_need() : 0.368 ms - Total 0.368 ms / 1 intvls (Avg 0.368 ms) [0x9f693d8] main interface debug: thread started [0x9f693d8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9f64968] main interface debug: looking for interface module: 1 candidate [0x9f64968] main interface debug: using interface module "inhibit" [0x9f64968] main interface debug: TIMER module_need() : 3.280 ms - Total 3.280 ms / 1 intvls (Avg 3.280 ms) [0x9f64968] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9f6faf8] main interface debug: looking for interface module: 1 candidate [0x9f6faf8] main interface debug: using interface module "screensaver" [0x9f64968] main interface debug: thread started [0x9f6faf8] main interface debug: TIMER module_need() : 0.235 ms - Total 0.235 ms / 1 intvls (Avg 0.235 ms) [0x9f6faf8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9f6faf8] main interface debug: thread started [0x9f643d0] main interface debug: looking for interface module: 1 candidate [0x9f643d0] main interface debug: using interface module "signals" [0x9f643d0] main interface debug: TIMER module_need() : 9.300 ms - Total 9.300 ms / 1 intvls (Avg 9.300 ms) [0x9f643d0] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9f643d0] main interface debug: thread started [0x9f643d0] main interface debug: thread ended [0x9f7c000] main interface debug: looking for interface module: 1 candidate [0x9f7c000] main interface debug: using interface module "globalhotkeys" [0x9f7c000] main interface debug: TIMER module_need() : 9.218 ms - Total 9.218 ms / 1 intvls (Avg 9.218 ms) [0x9f7c000] main interface debug: thread started [0x9f7c000] main interface debug: thread ended [0x9f7c000] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9f7e270] main interface debug: looking for interface module: 1 candidate [0x9f7e270] qt4 interface debug: Error while initializing qt-specific localization [0x9f7e270] main interface debug: using interface module "qt4" [0x9f7e270] main interface debug: TIMER module_need() : 266.687 ms - Total 266.687 ms / 1 intvls (Avg 266.687 ms) [0x9f7e270] main interface debug: thread started [0x9f7e270] main interface debug: thread ended [0x9f7e270] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151)
I had no idea what the "interesting" lines were.
I can't find the debug symbols for VLC in Fedora 12 unfortunately. So I don't know how to debug it?

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: VLC randomly crashes in Fedora 12

Postby thannoy » 03 Dec 2009 15:58

- When VLC is not running, try to remove ~/.cache/vlc folder.
- Without debug symbols, gdb will give less accurate information but maybe it worth a try with the little information it can give.

Cager
New Cone
New Cone
Posts: 1
Joined: 07 Dec 2009 14:14

Re: VLC randomly crashes in Fedora 12

Postby Cager » 07 Dec 2009 14:20

In case it is related I too have problems with vlc 1.0.3 on Fed 12. It plays video correctly but I can't find any audio when playing DVDs. Also when I exit vlc I am informed that it crashed! This seems to happen every time. Colin

Xinerama
New Cone
New Cone
Posts: 5
Joined: 03 Dec 2009 09:15

Re: VLC randomly crashes in Fedora 12

Postby Xinerama » 07 Dec 2009 14:48

He mentions a Debug package. I saw a package in one of the non-standard repos but am leary about installing it, just because I don't want to break any libraries. They say it's not good to mix and match repos.
If you find a way to safely install it please tell me how. The package in question, or one of the possible ones, is vlc-debuginfo. I'm gonna ask about it on Fedora Forums.

Xinerama
New Cone
New Cone
Posts: 5
Joined: 03 Dec 2009 09:15

Re: VLC randomly crashes in Fedora 12

Postby Xinerama » 08 Dec 2009 15:35

thannoy --- I was finally able to install the debug program installed.
The packages that I have installed are as follows:

Code: Select all

vlc-1.0.3-1.fc12.i686 vlc-debuginfo-1.0.3-1.fc12.i686 vlc-core-1.0.3-1.fc12.i686
So how do I go about debugging this? I'm not a programmer so it's all new to me.
Thanks.

Xinerama
New Cone
New Cone
Posts: 5
Joined: 03 Dec 2009 09:15

Re: VLC randomly crashes in Fedora 12

Postby Xinerama » 08 Dec 2009 15:56

Okay well I started it with

Code: Select all

vlc -vvv
and loaded a URL and the only thing that it's complaining about, infrequently might I add, is this.

Code: Select all

[0xb7101ee8] main audio output debug: audio output is starving (21664), playing silence [0xb7101ee8] main audio output debug: audio output is starving (26724), playing silence [0xb710aee0] main video output warning: late picture skipped (56181 > -8) [0xb7101ee8] main audio output debug: audio output is starving (20857), playing silence [0xb7101ee8] main audio output debug: audio output is starving (20463), playing silence
I think that was one of the problems. The audio would stop then it would just crash. I haven't had a crash yet though.
So what do I .....

Well as I was typing this it did crash. It seems as if it can't handle when I'm multitasking.
Here's the output I received.

Code: Select all

[0xb710aee0] main video output warning: late picture skipped (44765 > -8) [0xb7101ee8] main audio output warning: resampling stopped after 17840066 usec (drift: -39226) [0xb710aee0] main video output warning: late picture skipped (21113 > -8) [0xb7101ee8] main audio output warning: output date isn't PTS date, requesting resampling (49530) [0xb7101ee8] main audio output warning: buffer is 89006 late, triggering upsampling [0xb7101ee8] main audio output warning: output date isn't PTS date, requesting resampling (52203) [0xb7101ee8] main audio output warning: audio drift is too big (124959), dropping buffer [0xb7101ee8] main audio output debug: audio output is starving (22147), playing silence [0xb7101ee8] main audio output warning: resampling stopped after 384011 usec (drift: -12959) [0xb7101ee8] main audio output debug: audio output is starving (29204), playing silence [0xb7101ee8] main audio output warning: output date isn't PTS date, requesting resampling (48306) [0xb7101ee8] main audio output warning: buffer is 61515 late, triggering upsampling [0xb7101ee8] main audio output debug: audio output is starving (20222), playing silence [0xb7101ee8] main audio output debug: audio output is starving (23441), playing silence [0xb7101ee8] main audio output debug: audio output is starving (21419), playing silence [0xb710aee0] main video output warning: late picture skipped (40740 > -7) [0xb7101ee8] main audio output warning: output date isn't PTS date, requesting resampling (61946261) [0xb7101ee8] main audio output warning: audio drift is too big (61983370), dropping buffer [0xb7101ee8] main audio output warning: audio drift is too big (61879370), dropping buffer [0xb7101ee8] main audio output warning: audio drift is too big (61751370), dropping buffer [0xb7101ee8] main audio output warning: audio drift is too big (61687370), dropping buffer [0xb7101ee8] main audio output warning: audio drift is too big (61559370), dropping buffer [0xb7101ee8] main audio output warning: audio drift is too big (61495370), dropping buffer ... [0xb710aee0] main video output warning: late picture skipped (66396 > -7) ... [0xb7101ee8] main audio output warning: audio drift is too big (50719370), dropping buffer [0xb7101ee8] main audio output warning: audio drift is too big (50591370), dropping buffer Not enough memory
Any clues??


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests