VLC 2.0.3 seg-faults after some time....!?!?!

*nix specific usage questions
spamrefuse
New Cone
New Cone
Posts: 2
Joined: 23 Sep 2012 03:04

VLC 2.0.3 seg-faults after some time....!?!?!

Postby spamrefuse » 23 Sep 2012 03:31

Hi,

This is on Fedora Linux kernel 3.5.4-1.fc17.x86_64.

Summary:
Vlc stops with a segfault, after a new user has been working on the linux system for a while.
My conjecture is that certain files or directories are created in a user's home directory, which cause vlc to segfault.
A brand new user does not yet have these files/directories and thus vlc works fine; but then after a while, when those troublesome files appear, vlc does not work anymore.
I wish I knew which files and/or directories could do this!!!


Here are a few more details:
When I create a new user and the new user logs in, vlc works just fine:

$ vlc
VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e)
[0x2640328] main interface error: no suitable interface module
[0x256f108] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x256f108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
$

...and the vlc GUI appears and everything is great. However, after doing all sorts of works (internet browsing, etc.), then when I try to start vlc again, it crashes with a segmentation fault:

$ vlc
VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e)
[0x1217e98] main interface error: no suitable interface module
[0x1147108] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x1147108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Segmentation fault (core dumped)
$

This can start to happen after a day or so. I experienced this with XFCE and Gnome window managers.

I then try:
$ vlc --reset-config --reset-plugins-cache
VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e)
[0x1a5e718] main interface error: no suitable interface module
[0x18d1108] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x18d1108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Segmentation fault (core dumped)
$

I also have removed the directory in $HOME/.config/vlc/ and be sure there is no vlc directory in $HOME/.local/ . Even then, the same crash occurs. But when I type "vlc --help", I do get the full help text.

1. What could cause vlc to suddenly have a segmentation fault? Is it related to libre-office? Or to Google-chrome? Or to gimp?

2. What can I do to track down the reasons for this problem?

Thanks!

Rob.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: VLC 2.0.3 seg-faults after some time....!?!?!

Postby edwardw » 24 Sep 2012 03:54

Could you install vlc's debugging symbols and use gdb to give us the crash backtrace?

spamrefuse
New Cone
New Cone
Posts: 2
Joined: 23 Sep 2012 03:04

Re: VLC 2.0.3 seg-faults after some time....!?!?!

Postby spamrefuse » 24 Sep 2012 06:54

Hi,

How do I install the debugging symbols?

I can run and show the gdb on the vlc executable I have from the RPM package. Could that give a clue?

Rob.

$ gdb /usr/bin/vlc
[...]
Reading symbols from /usr/bin/vlc...(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install vlc-core-2.0.3-1.fc17.x86_64
(gdb) run
Starting program: /usr/bin/vlc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e)
Detaching after fork from child process 18044.
Detaching after fork from child process 18045.
Detaching after fork from child process 18046.
Detaching after fork from child process 18047.
[New Thread 0x7ffff13b6700 (LWP 18048)]
[0x6d5e98] main interface error: no suitable interface module
[0x605108] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x605108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[New Thread 0x7ffff0e7c700 (LWP 18049)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff0e7c700 (LWP 18049)]
0x0000003f64c05f76 in open_path () from /lib64/ld-linux-x86-64.so.2
(gdb) backtrace
#0 0x0000003f64c05f76 in open_path () from /lib64/ld-linux-x86-64.so.2
#1 0x0000003f64c08424 in _dl_map_object () from /lib64/ld-linux-x86-64.so.2
#2 0x0000003f64c12ffc in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#3 0x0000003f64c0ecb6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#4 0x0000003f64c12b2c in _dl_open () from /lib64/ld-linux-x86-64.so.2
#5 0x0000003f65801016 in dlopen_doit () from /usr/lib64/libdl.so.2
#6 0x0000003f64c0ecb6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#7 0x0000003f6580162c in _dlerror_run () from /usr/lib64/libdl.so.2
#8 0x0000003f658010b1 in dlopen@@GLIBC_2.2.5 () from /usr/lib64/libdl.so.2
#9 0x0000003f779682bc in ?? () from /usr/lib64/libQtCore.so.4
#10 0x0000003f7796500a in ?? () from /usr/lib64/libQtCore.so.4
#11 0x0000003f778d4595 in ?? () from /usr/lib64/libQtCore.so.4
#12 0x0000003f7789b42b in QLocalePrivate::updateSystemPrivate() () from /usr/lib64/libQtCore.so.4
#13 0x0000003f7789b71b in ?? () from /usr/lib64/libQtCore.so.4
#14 0x0000003f7789b749 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x0000003f7789b87a in QLocale::QLocale() () from /usr/lib64/libQtCore.so.4
#16 0x0000003f77923a0a in ?? () from /usr/lib64/libQtCore.so.4
#17 0x0000003f7794ba20 in ?? () from /usr/lib64/libQtCore.so.4
#18 0x0000003f7794bc7e in ?? () from /usr/lib64/libQtCore.so.4
#19 0x0000003f779074e2 in QFileInfo::QFileInfo(QString const&) () from /usr/lib64/libQtCore.so.4
#20 0x0000003f77902e22 in QFile::exists(QString const&) () from /usr/lib64/libQtCore.so.4
#21 0x0000003f778728b3 in ?? () from /usr/lib64/libQtCore.so.4
#22 0x0000003f77872a76 in ?? () from /usr/lib64/libQtCore.so.4
#23 0x0000003f77872b04 in ?? () from /usr/lib64/libQtCore.so.4
#24 0x0000003f77872d0e in QLibraryInfo::location(QLibraryInfo::LibraryLocation) ()
from /usr/lib64/libQtCore.so.4
#25 0x0000003f7797874e in QCoreApplication::libraryPaths() () from /usr/lib64/libQtCore.so.4
#26 0x0000003f77978f08 in QCoreApplication::init() () from /usr/lib64/libQtCore.so.4
#27 0x0000003f779790de in QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) ()
from /usr/lib64/libQtCore.so.4
#28 0x0000003f77fd2d6d in QApplication::QApplication(int&, char**, bool, int) ()
from /usr/lib64/libQtGui.so.4
#29 0x00007ffff0eeb0c3 in ?? () from /usr/lib64/vlc/plugins/gui/libqt4_plugin.so
#30 0x0000003f65407d14 in start_thread () from /usr/lib64/libpthread.so.0
#31 0x0000003f650f167d in clone () from /usr/lib64/libc.so.6
(gdb)

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 2.0.3 seg-faults after some time....!?!?!

Postby Rémi Denis-Courmont » 26 Sep 2012 20:51

You've installed or configured something that makes Qt crash, apparently a Qt plugin. It's not possible to say what from the stack trace, you're going to have to figure that out from what you've done.

It's almost certainly got nothing to do with VLC as such, and thus it is extremely unlikely that it can be fixed on this forum.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

kwizart
Cone that earned his stripes
Cone that earned his stripes
Posts: 164
Joined: 18 Dec 2006 03:43

Re: VLC 2.0.3 seg-faults after some time....!?!?!

Postby kwizart » 26 Sep 2012 22:46

Which repository do you have installed (yum repolist)
Is there any repositories known to be incompatible with RPM Fusion ?


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

Who is online

Users browsing this forum: Google [Bot] and 20 guests