vlc 0.8.2: segmentation fault after the start. Bug?

*nix specific usage questions
vitaly_r
New Cone
New Cone
Posts: 2
Joined: 13 Oct 2005 10:20
Contact:

vlc 0.8.2: segmentation fault after the start. Bug?

Postby vitaly_r » 13 Oct 2005 10:24

I can't start the latest vlc (0.8.2) compiled from the sources.
The previous vlc version runs fine.

I see the following after issuing the command "vlc -vvv":

VLC media player 0.8.2 Janus
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 186 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000000] main root debug: VLC media player - version 0.8.2 Janus - (c) 1996-2005 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --enable-wxwindows --enable-debug
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 186 modules
[00000001] main vlc debug: opening config file /root/.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
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000233] main playlist debug: waiting for thread completion
[00000233] main playlist debug: thread 1026 (playlist) created at priority 0 (src/playlist/playlist.c:152)
[00000234] main private debug: waiting for thread completion
[00000234] main private debug: thread 2051 (preparser) created at priority 0 (src/playlist/playlist.c:174)
[00000235] main interface debug: looking for interface module: 1 candidate
[00000109] main module debug: using interface module "hotkeys"
[00000235] main interface debug: interface initialized
[00000235] main interface debug: thread 3076 (interface) created at priority 0 (src/interface/interface.c:211)
[00000237] main interface debug: looking for interface module: 2 candidates
[00000237] skins2 interface debug: Using character encoding: ANSI_X3.4-1968
[00000240] main dialogs provider debug: looking for dialogs provider module: 0 candidates
[00000240] main dialogs provider error: no dialogs provider module matched "any"
[00000237] skins2 interface error: No suitable dialogs provider found
[00000237] skins2 interface debug: Cannot open directory /root/.vlc/skins2
[00000237] skins2 interface debug: Cannot open directory share/skins2
[00000237] skins2 interface debug: found skin /usr/local/share/vlc/skins2/default.vlt
[00000151] main module debug: using interface module "skins2"
[00000237] main interface debug: interface initialized
[00000237] main interface debug: thread 4101 (manager) created at priority 0 (src/interface/interface.c:196)
[00000237] skins2 interface debug: Using skin file: /tmp/vltX8ywc6/theme.xml
[00000241] main private debug: looking for xml module: 1 candidate
[00000166] main module debug: using xml module "xtag"
[00000237] skins2 interface debug: Using catalog /usr/local/share/vlc/skins2/skin.catalog
[00000241] xtag private debug: catalog support not implemented
[00000237] skins2 interface debug: Using DTD /usr/local/share/vlc/skins2/skin.dtd
[00000237] main interface debug: creating access '' path='/tmp/vltX8ywc6/theme.xml'
[00000243] main access debug: looking for access2 module: 4 candidates
[00000243] vcd access debug: trying .cue file: /tmp/vltX8ywc6/theme.cue
[00000243] access_file access debug: opening file `/tmp/vltX8ywc6/theme.xml'
[00000023] main module debug: using access2 module "access_file"
[00000248] main private debug: pre buffering
[00000248] main private debug: received first data for our buffer
[00000237] skins2 interface: skin: VLC OSX Interface author: BigBen
[00000237] skins2 interface debug: Unable to open the font /root/.vlc/skins2/fonts/FreeSans.ttf
[00000237] skins2 interface debug: Unable to open the font share/skins2/fonts/FreeSans.ttf
[00000237] skins2 interface debug: Loading font /usr/local/share/vlc/skins2/fonts/FreeSans.ttf
[00000249] main decoder debug: looking for decoder module: 17 candidates
[00000249] ffmpeg decoder debug: libavcodec initialized (interface 4731 )
[00000249] ffmpeg decoder debug: postprocessing disabled
[00000249] ffmpeg decoder debug: ffmpeg codec (PNG Image) started
[00000014] main module debug: using decoder module "ffmpeg"
[00000265] main private debug: looking for video filter2 module: 2 candidates
[00000265] ffmpeg private debug: input: 424x152 RV24 -> 424x152 RV32
[00000265] ffmpeg private debug: libavcodec already initialized
[00000018] main module debug: using video filter2 module "ffmpeg"
Segmentation fault

What's the problem?

The problem is not related to permissions - result is the same for root and other users.

Thanks a lot for your help.
WBR & WBW, Vitaly

vitaly_r
New Cone
New Cone
Posts: 2
Joined: 13 Oct 2005 10:20
Contact:

vlc 0.8.2: segmentation fault after the start. Bug?

Postby vitaly_r » 13 Oct 2005 11:31

Hello!

New data: I've found the cause of this error:

main vlc warning: cannot load module '/usr/local/lib/vlc/gui/libwxwindows_plugin.so' (/usr/local/lib/libgtk-x11-2.0.so.0: undefined symbol: atk_object_add_relationship)
[00000001] main vlc warning: cannot load module `/usr/local/lib/vlc/gui/libwxwidgets_plugin.so' (/usr/local/lib/libgtk-x11-2.0.so.0: undefined symbol: atk_object_add_relationship)
[00000001] main vlc warning: cannot load module `/usr/local/lib/vlc/misc/libxml_plugin.so' (/usr/local/lib/vlc/misc/libxml_plugin.so: undefined symbol: xmlReaderForIO)

These messages can be read after calling vlc with "--reset-plugins-cache --verbose 4" options

If I issue the command "LD_PRELOAD=/usr/local/lib/ ... vlc " all is correct (OK). Hmm. Now I have the following questions:

1) How can I avoid 'LD_PRELOAD'? The output of 'ldd libwxwidgets_plugin.so | grep atk' is:

libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x40b61000)

But it should point to '/usr/local/lib/libatk-1.0.so.0'!
How can I do this? (There are two versions of atk/gtk/pango/glib on my system - I can't change this situation. Old versions are located in '/usr/lib' while new versions ae located in '/usr/local/lib')
2) Should I report a bug? It seems to me it is not a good behavior to get segmentation fault in this situation.
3) I see many warnings like the following:

main module warning: cannot find symbol "vlc_entry__0_8_2" in file `/usr/local/lib/vlc/codec/libspeex_plugin.so' (vlc: undefined symbol: _vlc_entry__0_8_2)
main module warning: cannot find symbol "vlc_entry__0_8_2" in file `/usr/local/lib/vlc/demux/libnsc_plugin.so' (vlc: undefined symbol: _vlc_entry__0_8_2)

What can I do with them?

Thanks a lot & Good bye!
WBR & WBW, Vitaly


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

Who is online

Users browsing this forum: No registered users and 27 guests