cannot start vlc with skins2 (segmentation fault)

*nix specific usage questions
obelix
New Cone
New Cone
Posts: 2
Joined: 04 Jul 2005 20:13

cannot start vlc with skins2 (segmentation fault)

Postby obelix » 04 Jul 2005 20:26

Hi,
i have compiled vlc with all depending libraries from scratch for GoboLinux. Everything seems to work fine but skins2. Everytime i want to start svlc it crashes with segmentation fault. But there is no further hint, which tells me what is probably wrong.

svlc -vvvv
VLC media player 0.8.2 Janus
[00000001] main vlc debug: opening config file /Users/obelix/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /Users/obelix/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/Programs/VLC/0.8.2/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 193 modules
[00000001] main vlc debug: opening config file /Users/obelix/.vlc/vlcrc
zsh: segmentation fault svlc -vvvv

Can somebody help me, please?
Do i need some special libraries for the skins2 interface? (GTK?)

Thanks

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 04 Jul 2005 20:27

could you try deleting ~/.vlc (just to be sure)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Guest

Postby Guest » 04 Jul 2005 21:17

then i'll get the following:

svlc -vvvv
VLC media player 0.8.2 Janus
[00000001] main vlc debug: opening config file /Users/obelix/.vlc/vlcrc
[00000001] main vlc warning: config file /Users/obelix/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /Users/obelix/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/Programs/VLC/0.8.2/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 193 modules
[00000001] main vlc debug: opening config file /Users/obelix/.vlc/vlcrc
[00000001] main vlc warning: config file /Users/obelix/.vlc/vlcrc does not exist yet
[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 --prefix=/Programs/VLC/0.8.2 --sysconfdir=/Programs/VLC/Settings --localstatedir=/Programs/VLC/Variable --enable-dvb --enable-faad --enable-theora --enable-goom --enable-v4l --enable-skins2 --with-included-gettext
[00000001] main vlc debug: translation test: code is "de"
[00000001] main vlc debug: opening config file /Users/obelix/.vlc/vlcrc
[00000001] main vlc warning: config file /Users/obelix/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /Users/obelix/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/Programs/VLC/0.8.2/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 193 modules
[00000001] main vlc debug: opening config file /Users/obelix/.vlc/vlcrc
[00000001] main vlc warning: config file /Users/obelix/.vlc/vlcrc does not exist yet
[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"
[00000243] main playlist debug: waiting for thread completion
[00000243] main playlist debug: thread 16386 (playlist) created at priority 0 (src/playlist/playlist.c:152)
[00000244] main private debug: waiting for thread completion
[00000244] main private debug: thread 32771 (preparser) created at priority 0 (src/playlist/playlist.c:174)
[00000245] main interface debug: looking for interface module: 1 candidate
[00000060] main module debug: using interface module "hotkeys"
[00000245] main interface debug: interface initialized
[00000245] main interface debug: thread 49156 (interface) created at priority 0 (src/interface/interface.c:211)
[00000247] main interface debug: looking for interface module: 1 candidate
[00000247] skins2 interface debug: Using character encoding: ISO-8859-1
[00000250] main dialogs provider debug: looking for dialogs provider module: 1 candidate
[00000026] main module debug: using dialogs provider module "wxwindows"
[00000250] main dialogs provider debug: waiting for thread completion
[00000250] main dialogs provider debug: thread 65541 (Skins Dialogs Thread) created at priority 0 (wxwindows.cpp:257)
[00000247] skins2 interface debug: Cannot open directory /Users/obelix/.vlc/skins2
[00000247] skins2 interface debug: Cannot open directory share/skins2
[00000247] skins2 interface debug: found skin /Programs/VLC/0.8.2/share/vlc/skins2/default.vlt
[00000023] main module debug: using interface module "skins2"
[00000247] main interface debug: interface initialized
[00000247] main interface debug: thread 81926 (manager) created at priority 0 (src/interface/interface.c:196)
[00000247] skins2 interface debug: Using skin file: /Users/obelix/.vlc/skins2/default.vlt
[00000253] main private debug: looking for xml module: 2 candidates
[00000050] main module debug: using xml module "xml"
[00000247] skins2 interface debug: Using catalog /Programs/VLC/0.8.2/share/vlc/skins2/skin.catalog
[00000247] skins2 interface debug: Using DTD /Programs/VLC/0.8.2/share/vlc/skins2/skin.dtd
[00000247] main interface debug: creating access '' path='/Users/obelix/.vlc/skins2/default.vlt'
[00000255] main access debug: looking for access2 module: 4 candidates
[00000255] access_file access warning: cannot stat() file `/Users/obelix/.vlc/skins2/default.vlt' (Datei oder Verzeichnis nicht gefunden)
[00000255] cdda access warning: could not open /Users/obelix/.vlc/skins2/default.vlt
[00000247] main interface error: no suitable access module for `/Users/obelix/.vlc/skins2/default.vlt'
[00000247] skins2 interface error: Failed to open /Users/obelix/.vlc/skins2/default.vlt for reading
[00000247] skins2 interface error: Failed to parse /Users/obelix/.vlc/skins2/default.vlt
[00000050] main module debug: unlocking module "xml"
[00000247] skins2 interface debug: Using skin file: share/skins2/default.vlt
[00000261] main private debug: looking for xml module: 2 candidates
[00000050] main module debug: using xml module "xml"
[00000247] main interface debug: creating access '' path='share/skins2/default.vlt'
[00000262] main access debug: looking[00000262] cdda access warning: could not open share/skins2/default.vlt
[00000247] main interface error: no suitable access module for `share/skins2/default.vlt'
[00000247] skins2 interface error: Failed to open share/skins2/default.vlt for reading
[00000247] skins2 interface error: Failed to parse share/skins2/default.vlt
[00000050] main module debug: unlocking module "xml"
[00000247] skins2 interface debug: Using skin file: /System/Variable/tmp/vltPN4kTu/theme.xml
[00000263] main private debug: looking for xml module: 2 candidates
[00000050] main module debug: using xml module "xml"
[00000247] main interface debug: creating access '' path='/System/Variable/tmp/vltPN4kTu/theme.xml'
[00000264] main access debug: looking for access2 module: 4 candidates
[00000264] vcd access debug: trying .cue file: /System/Variable/tmp/vltPN4kTu/theme.cue
[00000264] access_file access debug: opening file `/System/Variable/tmp/vltPN4kTu/theme.xml'
[00000138] main module debug: using access2 module "access_file"
[00000265] main private debug: pre buffering
[00000265] main private debug: received first data for our buffer
[00000247] skins2 interface: skin: VLC OSX Interface author: BigBen
[00000247] skins2 interface debug: Unable to open the font /Users/obelix/.vlc/skins2/fonts/FreeSans.ttf
[00000247] skins2 interface debug: Unable to open the font share/skins2/fonts/FreeSans.ttf
[00000247] skins2 interface debug: Loading font /Programs/VLC/0.8.2/share/vlc/skins2/fonts/FreeSans.ttf
[00000266] main decoder debug: looking for decoder module: 19 candidates
[00000266] ffmpeg decoder debug: libavcodec initialized (interface 4731 )
[00000266] ffmpeg decoder debug: postprocessing disabled
[00000266] ffmpeg decoder debug: ffmpeg codec (PNG Image) started
[00000013] main module debug: using decoder module "ffmpeg"
[00000283] main private debug: looking for video filter2 module: 2 candidates
[00000283] ffmpeg private debug: input: 424x152 RV24 -> 424x152 RV32
[00000283] ffmpeg private debug: libavcodec already initialized
[00000017] main module debug: using video filter2 module "ffmpeg"
zsh: segmentation fault svlc -vvvv
for access2 module: 4 candidates
[00000262] access_file access warning: cannot stat() file `share/skins2/default.vlt' (Datei oder Verzeichnis nicht gefunden)

obelix
New Cone
New Cone
Posts: 2
Joined: 04 Jul 2005 20:13

Postby obelix » 12 Jul 2005 08:29

i have found the problem. I have to compile vlc with -lm because the ping library is using the math library.

thanks

deboutv

Postby deboutv » 17 Jul 2005 21:03

I have exactly the same problem but compiling with -lm does not solve my issue.

Can somebody help me, please?

nemesi

Postby nemesi » 20 Jul 2005 09:38

i have found the problem. I have to compile vlc with -lm because the ping library is using the math library.

thanks
Can you explain me this? What do you mean with "-lm"?

./configure -lm or what?

Have a nice day

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 22 Jul 2005 19:30

Compiling with -lm actually means linking with the math library. It cannot be done with a configure switch, you need to edit the vlc-config file after configuring, and before running make. But i really doubt that it would change anything...

Something much more useful would be to have a backtrace of the crash.
On Unix, you can do the following:
- compile vlc in debug mode if possible
- run 'ulimit -c unlimited' to make sure vlc generates a core file when it crashes
- start vlc, and make it crash --> this generates a core file
- run 'gdb vlc core' where vlc is the path to the vlc executable, and core is the path to the generated core file
- type 'bt' in gdb
- post the results here

deboutv

Postby deboutv » 24 Jul 2005 13:07

Hello,

The result with gdb:

(gdb) bt
#0 0x4023f9d6 in ff_rac_terminate () from /usr/lib/libavcodec.so
#1 0x00000078 in ?? ()
#2 0x4485cb50 in ?? ()
#3 0x0824dda1 in ?? ()
#4 0x4485d0a8 in ?? ()
#5 0x00000000 in ?? ()
#6 0x0825ba30 in ?? ()
#7 0x4485d0a8 in ?? ()
#8 0x0825ba30 in ?? ()
#9 0x4023fcd1 in ff_rac_terminate () from /usr/lib/libavcodec.so
#10 0x00000078 in ?? ()
#11 0x00000003 in ?? ()
#12 0x0825ba30 in ?? ()
#13 0x0825ba30 in ?? ()
#14 0x0825bf50 in ?? ()
#15 0x08259d50 in ?? ()
#16 0x0825ba30 in ?? ()
#17 0x4023ffa8 in ff_rac_terminate () from /usr/lib/libavcodec.so
#18 0x00000010 in ?? ()
#19 0x00002000 in ?? ()
#20 0x00000000 in ?? ()
#21 0x402402fb in ff_rac_terminate () from /usr/lib/libavcodec.so
#22 0x0825ba3c in ?? ()
#23 0x0825bf50 in ?? ()
#24 0x4049a3de in _IO_file_seekoff () from /lib/tls/libc.so.6
Previous frame inner to this frame (corrupt stack?)
(gdb)

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 24 Jul 2005 14:19

So the crash is in the ffmpeg library.
You should try compiling with more recent versions of ffmpeg (or older?)...

deboutv

Postby deboutv » 26 Jul 2005 16:51

Thanks for your help, now it runs.

But, I have another question: I am installing VLC for the FreePlayer tool ( http://adsl.free.fr/tv/freeplayer/) and I need the options "--sout-ts-pid-*". I have configured VLC with "./configure --prefix=/usr --enable-wxwindows --enable-debug --enable-release"
but the options "--sout-ts-pid-video" is unknown.
Can you help me?

Thanks

deboutv

Postby deboutv » 26 Jul 2005 18:43

I have found the solution: I need the library libdvbpsi.

Thanks


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

Who is online

Users browsing this forum: No registered users and 9 guests