Bug 299296 - Dolphin crashes when started
Summary: Dolphin crashes when started
Status: RESOLVED NOT A BUG
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.8
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-03 12:53 UTC by Luca Beltrame
Modified: 2012-05-17 08:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Beltrame 2012-05-03 12:53:11 UTC
Application: dolphin (2.0.95)
KDE Platform Version: 4.8.3 (4.8.3) "release 30"
Qt Version: 4.8.1
Operating System: Linux 3.4.0-rc5-2-default x86_64
Distribution: "openSUSE 12.2 Milestone 4 (x86_64)"

-- Information about the crash:
Upon starting Dolphin, the application crashes with the attached backtrace (irrespectively of fresh configuration or old configuration).  This happens with the state from yesterday's git master.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f5aae795780 (LWP 5093))]

Thread 3 (Thread 0x7f5a9bcc1700 (LWP 5094)):
#0  0x00007f5aae0760df in poll () from /lib64/libc.so.6
#1  0x00007f5aa55c9694 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5aa55c97b4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5aab12b186 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f5aab0faf02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f5aab0fb157 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f5aaaffb457 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f5aab0dacef in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f5aaaffe47b in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f5aa6f3ee0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f5aae07e25d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5a99161700 (LWP 5098)):
#0  0x00007f5aae0760df in poll () from /lib64/libc.so.6
#1  0x00007f5aa55c9694 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5aa55c97b4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5aab12b186 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f5aab0faf02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f5aab0fb157 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f5aaaffb457 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f5aab0dacef in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f5aaaffe47b in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f5aa6f3ee0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f5aae07e25d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5aae795780 (LWP 5093)):
[KCrash Handler]
#5  0x00007f5aab5d93f2 in KServiceTypeTrader::defaultOffers (this=<optimized out>, serviceType=..., constraint=...) at /usr/src/debug/kdelibs-git/kdecore/services/kservicetypetrader.cpp:116
#6  0x00007f5aab5d9801 in KServiceTypeTrader::query (this=0x28657c0, serviceType=..., constraint=...) at /usr/src/debug/kdelibs-git/kdecore/services/kservicetypetrader.cpp:141
#7  0x00007f5aad3f3709 in VersionControlObserver::searchPlugin (this=0x3ecfe70, directory=...) at /usr/src/debug/kde-baseapps-git/dolphin/src/views/versioncontrol/versioncontrolobserver.cpp:293
#8  0x00007f5aad3f3aaf in VersionControlObserver::verifyDirectory (this=0x3ecfe70) at /usr/src/debug/kde-baseapps-git/dolphin/src/views/versioncontrol/versioncontrolobserver.cpp:168
#9  0x00007f5aab10ffe1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#10 0x00007f5aab114ed9 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#11 0x00007f5aaa202194 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x00007f5aaa207013 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x00007f5aabb508c6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#14 0x00007f5aab0fc11c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#15 0x00007f5aab12cf68 in ?? () from /usr/lib64/libQtCore.so.4
#16 0x00007f5aab12a96d in ?? () from /usr/lib64/libQtCore.so.4
#17 0x00007f5aab12a991 in ?? () from /usr/lib64/libQtCore.so.4
#18 0x00007f5aa55c92dc in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f5aa55c96f8 in ?? () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f5aa55c97b4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f5aab12b11f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#22 0x00007f5aaa2a57de in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007f5aab0faf02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#24 0x00007f5aab0fb157 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#25 0x00007f5aab0ffcb5 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#26 0x00007f5aae38a447 in kdemain (argc=1, argv=0x7fffe9a0cfb8) at /usr/src/debug/kde-baseapps-git/dolphin/src/main.cpp:89
#27 0x00007f5aadfbb455 in __libc_start_main () from /lib64/libc.so.6
#28 0x0000000000400731 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Luca Beltrame 2012-05-03 15:04:59 UTC
This bug does not only affect Dolphin, but it does affect other applications which rely on KServiceTypeTrader, including KMail, Kontact, the various Akonadi bits...
Comment 2 Luca Beltrame 2012-05-17 07:52:49 UTC
Paradoxically it was a local issue with the Soprano installation. Therefore, closing as INVALID.
Comment 3 Peter Penz 2012-05-17 08:40:18 UTC
@Luca: Thanks for the update. I'm curious as I had this issue too: How did you find out that the root-cause is related to Soprano?
Comment 4 Luca Beltrame 2012-05-17 08:44:51 UTC
Very unscientifically. I noticed that all crashes disappeared by disabling Nepomuk, but Nepomuk itself had little changes in that period (if any). Then I remembered that someone on IRC had similar issues and those stemmed up from a change that required rebuilding Soprano (which had seen some commit activity during that period). I did so myself and I tested all cases where Dolphin and the other applications crashed, and there were no more crashes at all.
Comment 5 Peter Penz 2012-05-17 08:49:52 UTC
Really interesting... I just updated Soprano and it also fixed the crash for me :-) Anyway I'm glad that the issue is fixed now, other people had similar crashes recently (see duplicates at bug 268064 )