Page 1 of 1

stale vlc-0.8.6f player [RESOLVED]

Posted: 20 Apr 2008 19:50
by gibus92
Hello,

Starting from latest vlc-0.8.6f-8.1.src.rpm package from D. Leuenberger, I recompiled it after some openSUSE 10.3 packages updates.

Whenever I want to play something, the item appears under "general" in the playlist but nothing happens. I have relaunched vlc with traces options and I got these ones :


gilles@linux-vy8u:~> vlc -vvv /donnees/pub/Musique/Art\ Garfunkel-\ what\ a\ wonderful\ world.mp3
VLC media player 0.8.6f Janus
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /home/gilles/.vlc/cache/plugins-04081e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/lib64/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 231 modules
[00000001] main private debug: opening config file /home/gilles/.vlc/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000300] main playlist debug: waiting for thread completion
[00000300] main playlist debug: thread 9833808 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000301] main private debug: waiting for thread completion
[00000301] main private debug: thread 10077216 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000302] main interface debug: looking for interface module: 1 candidate
[00000302] main interface debug: using interface module "hotkeys"
[00000302] main interface debug: thread 10151824 (interface) created at priority 0 (interface/interface.c:231)
[00000304] main interface debug: looking for interface module: 1 candidate
[00000304] main interface debug: using interface module "screensaver"
[00000304] main interface debug: thread 10149392 (interface) created at priority 0 (interface/interface.c:231)
[00000300] main playlist debug: adding playlist item `/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3' ( /donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3 )
[00000306] main interface debug: looking for interface module: 5 candidates
[00000306] main interface debug: using interface module "wxwidgets"
[00000306] main interface debug: thread 10557312 (manager) created at priority 0 (interface/interface.c:216)
[00000306] wxwidgets interface debug: Using last windows config '(-1,0,0,1280,1024)(0,114,151,434,81)(1,799,80,419,819)(6,0,0,-1,150)'
[00000306] wxwidgets interface debug: id=0 p=(114,151) s=(434,81)
[00000306] wxwidgets interface debug: id=1 p=(799,80) s=(419,819)
[00000306] wxwidgets interface debug: id=6 p=(0,0) s=(-1,150)

** (.:5256): CRITICAL **: gtk_pizza_set_size: assertion `pizza != NULL' failed


[stale vlc player] - no more traces.
==========================================================================
When I closed it :


[00000001] main private debug: removing all interfaces
[00000306] main interface debug: thread 10557312 joined (interface/interface.c:258)
[00000306] main interface debug: removing module "wxwidgets"
[00000300] main playlist debug: nothing requested, starting
[00000300] main playlist debug: creating new input thread
[00000309] main input debug: waiting for thread completion
[00000309] main input debug: creating statistics handler
[00000309] main input debug: `/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3' gives access `' demux `' path `/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3'
[00000309] main input debug: creating demux: access='' demux='' path='/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3'
[00000311] main demuxer debug: looking for access_demux module: 2 candidates
[00000309] main input debug: creating access '' path='/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3'
[00000314] main access debug: looking for access2 module: 8 candidates
[00000314] vcd access debug: trying .cue file: /donnees/pub/Musique/Art Garfunkel- what a wonderful world.cue
[00000314] vcd access debug: could not find .cue file
[00000314] access_file access debug: opening file `/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3'
[00000314] main access debug: using access2 module "access_file"
[00000320] main private debug: pre-buffering...
[00000320] main private debug: received first data for our buffer
[00000320] main private debug: pre-buffering done 1408981 bytes in 0s - 948936 kbytes/s
[00000309] main input debug: creating demux: access='' demux='' path='/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3'
[00000321] main demuxer debug: ID3v2.3 revision 0 tag found, skipping 1920 bytes
[00000321] main demuxer debug: looking for demux2 module: 45 candidates
[00000336] main packetizer debug: looking for packetizer module: 17 candidates
[00000336] main packetizer debug: using packetizer module "mpeg_audio"
[00000336] mpeg_audio packetizer debug: MPGA channels:2 samplerate:44100 bitrate:128
[00000309] main input debug: selecting program id=0
[00000321] main demuxer debug: looking for id3 module: 1 candidate
[00000321] id3tag demuxer debug: checking for ID3 tag
[00000321] id3tag demuxer debug: found ID3v1 tag
[00000321] id3tag demuxer debug: found ID3v2 tag
[00000321] main demuxer debug: using id3 module "id3tag"
[00000321] main demuxer debug: removing module "id3tag"
[00000321] main demuxer debug: using demux2 module "mpga"
[00000309] main input debug: looking for a subtitle file in /donnees/pub/Musique/
[00000365] main decoder debug: looking for decoder module: 26 candidates
[00000365] main decoder debug: using decoder module "mpeg_audio"
[00000365] main decoder debug: thread 13630608 (decoder) created at priority 10 (input/decoder.c:159)
[00000309] main input debug: meta information:
[00000309] main input debug: - 'Titre' = 'What A Wonderful World'
[00000309] main input debug: - 'Artiste' = 'Paul Simon, James Taylor, & Ar'
[00000309] main input debug: - 'Genre' = 'Blues'
[00000309] main input debug: - 'Numéro de piste' = '00'
[00000309] main input debug: - 'Length' = '208000'
[00000309] main input debug: - 'Artiste' = 'Paul Simon, James Taylor, & Art Garfunkel'
[00000309] main input debug: - 'Titre' = 'What A Wonderful World'
[00000309] main input debug: `/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3' successfully opened
[00000309] main input debug: thread 10557312 (input) created at priority 20 (input/input.c:265)
[00000365] mpeg_audio decoder debug: MPGA channels:2 samplerate:44100 bitrate:128
[00000365] main decoder debug: no aout present, spawning one
[00000369] main audio output debug: looking for audio output module: 5 candidates
[00000369] alsa audio output debug: opening ALSA device `default'
[00000369] main audio output debug: thread 11851408 (aout) created at priority 30 (alsa.c:662)
[00000369] main audio output debug: using audio output module "alsa"
[00000369] main audio output debug: output 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
[00000369] main audio output debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
[00000369] main audio output debug: no need for any filter
[00000369] main audio output debug: looking for audio mixer module: 3 candidates
[00000369] main audio output debug: using audio mixer module "trivial_mixer"
[00000369] main audio output debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes
[00000369] main audio output debug: filter(s) 'mpga'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo
[00000373] main private debug: looking for audio filter module: 23 candidates
[00000373] main private debug: using audio filter module "mpgatofixed32"
[00000369] main audio output debug: found a filter for the whole conversion
[00000369] main audio output debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
[00000378] main private debug: looking for audio filter module: 23 candidates
[00000378] main private debug: using audio filter module "bandlimited_resampler"
[00000369] main audio output debug: found a filter for the whole conversion
[00000304] main interface debug: thread 10149392 joined (interface/interface.c:258)
[00000304] main interface debug: removing module "screensaver"
[00000302] main interface debug: thread 10151824 joined (interface/interface.c:258)
[00000302] main interface debug: removing module "hotkeys"
[00000001] main private debug: removing playlist handler
[00000301] main private debug: thread 10077216 joined (playlist/playlist.c:247)
[00000309] main input debug: control type=0
[00000309] main input debug: control: stopping input
[00000309] main input debug: closing input
[00000336] main packetizer debug: removing module "mpeg_audio"
[00000321] main demuxer debug: removing module "mpga"
[00000314] main access debug: removing module "access_file"
[00000365] main decoder debug: removing module "mpeg_audio"
[00000365] main decoder debug: thread 13630608 joined (input/decoder.c:191)
[00000365] main decoder debug: killing decoder fourcc `mpga', 1 PES in FIFO
[00000373] main private debug: removing module "mpgatofixed32"
[00000378] main private debug: removing module "bandlimited_resampler"
[00000369] main audio output debug: thread 11851408 joined (alsa.c:714)
[00000369] main audio output debug: removing module "alsa"
[00000369] main audio output debug: removing module "trivial_mixer"
[00000309] main input debug: thread 10557312 joined (input/input.c:412)
[00000300] main playlist debug: thread 9833808 joined (playlist/playlist.c:248)
[00000300] main playlist: stopping playback
[00000300] main playlist debug: deleting playlist item `/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3'
[00000001] main private debug: removing all video outputs
[00000001] main private debug: removing all audio outputs
[00000001] main private debug: removing module "memcpymmxext"
[00000001] main private debug: opening config file /home/gilles/.vlc/vlcrc
[00000001] main private debug: saving plugins cache file /home/gilles/.vlc/cache/plugins-04081e.dat

=======================================================================================
Original vlc package from videolan repository works great. After wxwidgets messages, normal traces show :

[00000285] main playlist debug: nothing requested, starting
[00000285] main playlist debug: creating new input thread
[00000294] main input debug: waiting for thread completion
[00000294] main input debug: creating statistics handler
[00000294] main input debug: `/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3' gives access `' demux `' path `/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3'
[00000294] main input debug: creating demux: access='' demux='' path='/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3'
[00000296] main demuxer debug: looking for access_demux module: 2 candidates
[00000294] main input debug: creating access '' path='/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3'
[00000299] main access debug: looking for access2 module: 8 candidates
[00000299] vcd access debug: trying .cue file: /donnees/pub/Musique/Art Garfunkel- what a wonderful world.cue
[00000299] vcd access debug: could not find .cue file
[00000299] access_file access debug: opening file `/donnees/pub/Musique/Art Garfunkel- what a wonderful world.mp3'


This is surely a distro related problem but maybe not : it could be a weakness around thread and/or signal management. I have no clue to continue further.

Re: stale vlc-0.8.6f player [RESOLVED]

Posted: 03 May 2008 08:44
by gibus92
You must configure vlc options with NO Portable GNU threads library and NO State Threads Library enabled : vlc 0.8.6f does not manage correctly object locking. Whether you use portable thread or state thread library, you got a deadlocked playlist.

So, I have changed packager's vlc.spec according to this :

--disable-pth
--disable-st

Note to the videolan packager : it seems you enable both portable threads and state threads configure options which is non sens since first : only one threading system should be used and second : it leads to a link error whenever you have both installed libraries.

Indeed, when both options are enabled, you take into account both pth.h and st.h headers at compilation time, but only -lst flag is taken into account and not -lpth flag at link time.

You got only a package binary which works because no threads library is installed into your build environment. Both are silently disabled at compile time by configure checking.

Re: stale vlc-0.8.6f player [RESOLVED]

Posted: 04 May 2008 14:53
by dimstar
Hello,

indeed, those two flags are ignored and I did not even realize it. I removed them from the spec and any upcoming version of the vlc packages will have the spec file corrected in the src rpms.

Thanks for the info