VLC causes segmentation fault in Fedora KDE

*nix specific usage questions
Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

VLC causes segmentation fault in Fedora KDE

Postby Kevin Hoang » 05 Apr 2011 08:47

I open vlc in the following details:

- Open terminal
- Type vlc, it open vlc gui application
- Select a file to play by File > Open File ... (my example is a .mov file)

When I click 'Close button' it show the following error message in Terminal:

Code: Select all

Program received signal SIGSEGV, Segmentation fault. 0x0000003cc8040e8b in ?? () from /usr/lib64/libQtDBus.so.4
Backtrace when I run vlc in gdb

Code: Select all

Program received signal SIGSEGV, Segmentation fault. 0x0000003cc8040e8b in ?? () from /usr/lib64/libQtDBus.so.4 (gdb) bt #0 0x0000003cc8040e8b in ?? () from /usr/lib64/libQtDBus.so.4 #1 0x0000003cc80411d5 in ?? () from /usr/lib64/libQtDBus.so.4 #2 0x0000003cc097004f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #3 0x0000003cc097055f in QObject::destroyed(QObject*) () from /usr/lib64/libQtCore.so.4 #4 0x0000003cc0972967 in QObject::~QObject() () from /usr/lib64/libQtCore.so.4 #5 0x0000003f7df7dea9 in KIO::Scheduler::~Scheduler() () from /usr/lib64/libkio.so.5 #6 0x0000003f7df832db in ?? () from /usr/lib64/libkio.so.5 #7 0x0000003cbc4369f1 in exit () from /lib64/libc.so.6 #8 0x0000003cbc41ee64 in __libc_start_main () from /lib64/libc.so.6 #9 0x0000000000401039 in ?? () #10 0x00007fffffffe128 in ?? () #11 0x000000000000001c in ?? () #12 0x0000000000000001 in ?? () #13 0x00007fffffffe438 in ?? () #14 0x0000000000000000 in ?? () (gdb)
My computer details:
Fedora 14, KDE 4.6.1, Qt 4.7.1

I think this is a bug in VLC program, ...

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: VLC causes segmentation fault in Fedora KDE

Postby Sébastien Escudier » 05 Apr 2011 09:56


Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

Re: VLC causes segmentation fault in Fedora KDE

Postby Kevin Hoang » 05 Apr 2011 12:51

I think this is a bug in Qt Module. The Qt frameworks destroy all of child widgets automatically, so if you have code like this:

Code: Select all

/** * QObject in this code can be: QWidget, QList, and etc. */ //In parent Object or main code QObject sObject(...); QObject* object; object = &sObject; //and some where we change parent of object object.setParent(mainObject); //OR layout->addWidget(object);
The code is exactly correct and does not have problem in pure C++, but in Qt will cause segment fault like above.

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

Re: VLC causes segmentation fault in Fedora KDE

Postby Rémi Denis-Courmont » 05 Apr 2011 15:50

The crash occur in the destructor of a static C++ object from KDE. This cannot be a bug in the Qt module.
https://bugs.kde.org/show_bug.cgi?id=234484
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

hussam
New Cone
New Cone
Posts: 8
Joined: 22 Sep 2011 22:26

Re: VLC causes segmentation fault in Fedora KDE

Postby hussam » 22 Aug 2013 00:17

still happens in vlc from git under kde 4.11

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

Re: VLC causes segmentation fault in Fedora KDE

Postby Rémi Denis-Courmont » 22 Aug 2013 18:31

Well, KDE people blamed the bug on QtDbus, and QtDbus people never bothered to fix it.

Complaining here will not solve anything, I am afraid.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


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

Who is online

Users browsing this forum: No registered users and 24 guests