Bug 235365

Summary: Dolphin crashed after I typed the first letter of a folder and the hit enter to open it.
Product: [Applications] dolphin Reporter: Leonardo La Malfa <leonardo.la.malfa>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: DidierSalembier, dup_the_godless, frank78ac, gdfernandes, imaginationsway, info, kaysimon, leonardo.la.malfa, markreynoldsuk, moraru69, richts, russianneuromancer, S3Indiana, sebastian, tightcode, trueg, zegenie
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Leonardo La Malfa 2010-04-25 18:13:35 UTC
Application: dolphin (1.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic i686
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
I opened Dolphin with superuser privileges to drop a xorg.conf file, but couldn't reach the final location for, as explained in the title, it crashed.

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

Thread 3 (Thread 0xb560cb70 (LWP 1474)):
#0  0x00df9422 in __kernel_vsyscall ()
#1  0x00c7db86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x090404eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x090330ac in ?? () from /lib/libglib-2.0.so.0
#4  0x090334b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0164660f in QEventDispatcherGlib::processEvents (this=0x9611e00, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x01619059 in QEventLoop::processEvents (this=0xb560c290, flags=) at kernel/qeventloop.cpp:149
#7  0x016194aa in QEventLoop::exec (this=0xb560c290, flags=...) at kernel/qeventloop.cpp:201
#8  0x015155a8 in QThread::exec (this=0x960baa8) at thread/qthread.cpp:487
#9  0x015f8c1b in QInotifyFileSystemWatcherEngine::run (this=0x960baa8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0151832e in QThreadPrivate::start (arg=0x960baa8) at thread/qthread_unix.cpp:248
#11 0x009b596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x00c8ba0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb262ab70 (LWP 1526)):
[KCrash Handler]
#6  0x0151301b in QBasicAtomicInt::fetchAndAddOrdered (this=0xb58095c0) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:163
#7  QBasicAtomicInt::fetchAndAddAcquire (this=0xb58095c0) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:296
#8  QMutex::lock (this=0xb58095c0) at thread/qmutex.cpp:158
#9  0x0097a000 in ?? () from /usr/lib/libsopranoclient.so.1
#10 0x00a93a30 in Nepomuk::MainModel::executeQuery (this=0x958ca20, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../../nepomuk/core/nepomukmainmodel.cpp:213
#11 0x004b63cd in Soprano::FilterModel::executeQuery(QString const&, Soprano::Query::QueryLanguage, QString const&) const () from /usr/lib/libsoprano.so.4
#12 0x00a87335 in Nepomuk::ResourceData::determineUri (this=0xb5811920) at ../../../nepomuk/core/resourcedata.cpp:671
#13 0x00a886a0 in Nepomuk::ResourceData::load (this=0xb5811920) at ../../../nepomuk/core/resourcedata.cpp:414
#14 0x00a8919b in Nepomuk::ResourceData::property (this=0xb5811920, uri=...) at ../../../nepomuk/core/resourcedata.cpp:271
#15 0x00aa6cb7 in Nepomuk::Resource::property (this=0xb262a294, uri=...) at ../../../nepomuk/core/resource.cpp:280
#16 0x00aa9d41 in Nepomuk::Resource::rating (this=0xb262a294) at ../../../nepomuk/core/resource.cpp:800
#17 0x080aa1e9 in KLoadMetaDataThread::run (this=0x9872250) at ../../../../apps/dolphin/src/panels/information/kloadmetadatathread.cpp:95
#18 0x0151832e in QThreadPrivate::start (arg=0x9872250) at thread/qthread_unix.cpp:248
#19 0x009b596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#20 0x00c8ba0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7720710 (LWP 1428)):
#0  0x00df9422 in __kernel_vsyscall ()
#1  0x00c7db86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x05a89d60 in ?? () from /usr/lib/libxcb.so.1
#3  0x05a8b9b2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0x087bbf96 in _XReply () from /usr/lib/libX11.so.6
#5  0x087a954d in XQueryPointer () from /usr/lib/libX11.so.6
#6  0x043bb7f0 in QCursor::pos () at kernel/qcursor_x11.cpp:155
#7  0x04323d5c in QApplicationPrivate::sendSyntheticEnterLeave (this=0x92cb4e0, widget=0x944ee58) at kernel/qapplication.cpp:3031
#8  0x043839af in QWidget::setVisible (this=0x944ee58, visible=true) at kernel/qwidget.cpp:7421
#9  0x003236d0 in KUrlNavigator::Private::updateContent (this=0x944d058) at ../../kfile/kurlnavigator.cpp:497
#10 0x00324e81 in KUrlNavigator::setUrl (this=0x944d128, newUrl=...) at ../../kfile/kurlnavigator.cpp:1038
#11 0x00326854 in KUrlNavigator::qt_metacall (this=0x944d128, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbfbf9cf8) at ./kurlnavigator.moc:114
#12 0x0161fc9a in QMetaObject::metacall (object=0x944d128, cl=QMetaObject::ReadProperty, idx=34, argv=0xbfbf9cf8) at kernel/qmetaobject.cpp:237
#13 0x0162e3d5 in QMetaObject::activate (sender=0x9468668, m=0x1927c4, local_signal_index=1, argv=0xbfbf9cf8) at kernel/qobject.cpp:3293
#14 0x0014d553 in DolphinView::urlChanged (this=0x9468668, _t1=...) at ./dolphinview.moc:267
#15 0x001540ef in DolphinView::qt_metacall (this=0x9468668, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfbf9e18) at ./dolphinview.moc:187
#16 0x0161fc9a in QMetaObject::metacall (object=0x9468668, cl=QMetaObject::ReadProperty, idx=28, argv=0xbfbf9e18) at kernel/qmetaobject.cpp:237
#17 0x0162e3d5 in QMetaObject::activate (sender=0x94748f0, m=0x191e38, local_signal_index=0, argv=0xbfbf9e18) at kernel/qobject.cpp:3293
#18 0x0013ad93 in DolphinController::urlChanged (this=0x94748f0, _t1=...) at ./dolphincontroller.moc:150
#19 0x0013ba69 in DolphinController::setUrl (this=0x94748f0, url=...) at ../../../../apps/dolphin/src/dolphincontroller.cpp:51
#20 0x00152cf2 in DolphinView::updateView (this=0x9468668, url=..., rootUrl=...) at ../../../../apps/dolphin/src/dolphinview.cpp:488
#21 0x00152dd8 in DolphinView::setUrl (this=0x9468668, url=...) at ../../../../apps/dolphin/src/dolphinview.cpp:597
#22 0x080767a2 in DolphinViewContainer::slotItemTriggered (this=0x944e148, item=...) at ../../../../apps/dolphin/src/dolphinviewcontainer.cpp:503
#23 0x080775e9 in DolphinViewContainer::qt_metacall (this=0x944e148, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfbfa068) at ./dolphinviewcontainer.moc:129
#24 0x0161fc9a in QMetaObject::metacall (object=0x944e148, cl=QMetaObject::ReadProperty, idx=35, argv=0xbfbfa068) at kernel/qmetaobject.cpp:237
#25 0x0162e3d5 in QMetaObject::activate (sender=0x9468668, m=0x1927c4, local_signal_index=3, argv=0xbfbfa068) at kernel/qobject.cpp:3293
#26 0x0014d4b3 in DolphinView::itemTriggered (this=0x9468668, _t1=...) at ./dolphinview.moc:281
#27 0x0014e695 in DolphinView::triggerItem (this=0x9468668, item=...) at ../../../../apps/dolphin/src/dolphinview.cpp:919
#28 0x0015447d in DolphinView::qt_metacall (this=0x9468668, _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0xbfbfa1c8) at ./dolphinview.moc:229
#29 0x0161fc9a in QMetaObject::metacall (object=0x9468668, cl=QMetaObject::ReadProperty, idx=69, argv=0xbfbfa1c8) at kernel/qmetaobject.cpp:237
#30 0x0162e3d5 in QMetaObject::activate (sender=0x94748f0, m=0x191e38, local_signal_index=9, argv=0xbfbfa1c8) at kernel/qobject.cpp:3293
#31 0x0013a933 in DolphinController::itemTriggered (this=0x94748f0, _t1=...) at ./dolphincontroller.moc:212
#32 0x0013b8b1 in DolphinController::handleKeyPressEvent (this=0x94748f0, event=0xbfbfa9a4) at ../../../../apps/dolphin/src/dolphincontroller.cpp:188
#33 0x0014212b in DolphinIconsView::keyPressEvent (this=0x9474d38, event=0xbfbfa9a4) at ../../../../apps/dolphin/src/dolphiniconsview.cpp:311
#34 0x0437b503 in QWidget::event (this=0x9474d38, event=0xbfbfa9a4) at kernel/qwidget.cpp:8033
#35 0x04777fd3 in QFrame::event (this=0x9474d38, e=0xbfbfa9a4) at widgets/qframe.cpp:557
#36 0x04812d97 in QAbstractScrollArea::event (this=0x9474d38, e=0xbfbfa9a4) at widgets/qabstractscrollarea.cpp:989
#37 0x048bf82c in QAbstractItemView::event (this=0x9474d38, event=0xbfbfa9a4) at itemviews/qabstractitemview.cpp:1546
#38 0x048db474 in QListView::event (this=0x9474d38, e=0xbfbfa9a4) at itemviews/qlistview.cpp:1624
#39 0x0431d4dc in QApplicationPrivate::notify_helper (this=0x92cb4e0, receiver=0x9474d38, e=0xbfbfa9a4) at kernel/qapplication.cpp:4300
#40 0x04325b71 in QApplication::notify (this=0xbfbfb404, receiver=0x9474d38, e=0xbfbfa9a4) at kernel/qapplication.cpp:3763
#41 0x0107ef2a in KApplication::notify (this=0xbfbfb404, receiver=0x9474d38, event=0xbfbfa9a4) at ../../kdeui/kernel/kapplication.cpp:302
#42 0x0161aa3b in QCoreApplication::notifyInternal (this=0xbfbfb404, receiver=0x9474d38, event=0xbfbfa9a4) at kernel/qcoreapplication.cpp:704
#43 0x0431e2be in QCoreApplication::sendSpontaneousEvent (receiver=0x9474d38, event=0xffffffff) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#44 qt_sendSpontaneousEvent (receiver=0x9474d38, event=0xffffffff) at kernel/qapplication.cpp:5279
#45 0x043d7d90 in QKeyMapper::sendKeyEvent (keyWidget=0x9474d38, grab=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1861
#46 0x043da2f5 in QKeyMapperPrivate::translateKeyEvent (this=0x92f5050, keyWidget=0x9474d38, event=0xbfbfb06c, grab=true) at kernel/qkeymapper_x11.cpp:1831
#47 0x043ad757 in QApplication::x11ProcessEvent (this=0xbfbfb404, event=0xbfbfb06c) at kernel/qapplication_x11.cpp:3394
#48 0x043dd60a in x11EventSourceDispatch (s=0x92ceda8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#49 0x0902f5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0x090332d8 in ?? () from /lib/libglib-2.0.so.0
#51 0x090334b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#52 0x016465d5 in QEventDispatcherGlib::processEvents (this=0x92ac4a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#53 0x043dd135 in QGuiEventDispatcherGlib::processEvents (this=0x92ac4a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x01619059 in QEventLoop::processEvents (this=0xbfbfb364, flags=) at kernel/qeventloop.cpp:149
#55 0x016194aa in QEventLoop::exec (this=0xbfbfb364, flags=...) at kernel/qeventloop.cpp:201
#56 0x0161d69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#57 0x0431d577 in QApplication::exec () at kernel/qapplication.cpp:3579
#58 0x0807bbcf in main (argc=1, argv=0xbfbfb5e4) at ../../../../apps/dolphin/src/main.cpp:101

Possible duplicates by query: bug 235116, bug 228567, bug 222324.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2010-05-02 10:27:19 UTC
*** Bug 235632 has been marked as a duplicate of this bug. ***
Comment 2 Frank Reininghaus 2010-05-02 10:27:27 UTC
*** Bug 235878 has been marked as a duplicate of this bug. ***
Comment 3 Frank Reininghaus 2010-05-02 10:28:24 UTC
Thanks for the bug report! I think this is a duplicate of bug 234994/bug 235166.
Comment 4 Frank Reininghaus 2010-05-02 13:57:46 UTC
*** Bug 236024 has been marked as a duplicate of this bug. ***
Comment 5 Frank Reininghaus 2010-05-07 13:35:30 UTC
*** Bug 236655 has been marked as a duplicate of this bug. ***
Comment 6 Frank Reininghaus 2010-05-07 13:38:12 UTC
If the bug is reproducible for anyone, it would really help if we could get a backtrace with full Soprano debugging information (the crash seems to be related to Nepomuk/Soprano). To install the required package on Kubuntu enter

sudo apt-get install libsoprano-dbg

in a Konsole. You can also install it via KPackageKit - just enter "soprano" in the text box and select the "debugging symbols..." entry.

If you see this crash again, please paste the new backtrace here. Thanks!
Comment 7 Frank Reininghaus 2010-05-07 13:46:35 UTC
*** Bug 236653 has been marked as a duplicate of this bug. ***
Comment 8 Leonardo La Malfa 2010-05-07 14:13:07 UTC
On Friday 07 May 2010 13:38:17 Frank Reininghaus wrote:
> If the bug is reproducible for anyone, it would
> really help if we could get a backtrace with full Soprano debugging
> information (the crash seems to be related to Nepomuk/Soprano).

Alright, package installed. Should the crash occur again, I'll follow your 
instructions. Many thanks.
Comment 9 Leonardo La Malfa 2010-05-07 14:29:20 UTC
Created attachment 43335 [details]
New crash information added by DrKonqi

I've just had one of those crashes. I think I did everything I was supposed to, but, since I'm new to this bug reporting method, please let me know if there is anything else I can do.
Comment 10 Frank Reininghaus 2010-05-07 14:33:12 UTC
Thanks! I'll paste Thread 2 from the backtrace here and hope that Sebastian can get some useful information from it:

Thread 2 (Thread 0xb1dc8b70 (LWP 4527)):
[KCrash Handler]
#6  0x05772f39 in QMutex::lock (this=0xa9f4d00) at thread/qmutex.cpp:150
#7  0x00670000 in QMutexLocker::relock (this=0xa9f4ce0, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/include/qt4/QtCore/qmutex.h:120
#8  QMutexLocker (this=0xa9f4ce0, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/include/qt4/QtCore/qmutex.h:102
#9  Soprano::Client::ClientModel::executeQuery (this=0xa9f4ce0, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../client/clientmodel.cpp:103
#10 0x00148a30 in Nepomuk::MainModel::executeQuery (this=0x95dce50, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../../nepomuk/core/nepomukmainmodel.cpp:213
#11 0x001ec3cd in Soprano::FilterModel::executeQuery (this=0x92dd940, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../soprano/filtermodel.cpp:164
#12 0x0013c335 in Nepomuk::ResourceData::determineUri (this=0xaa059e0) at ../../../nepomuk/core/resourcedata.cpp:671
#13 0x0013d6a0 in Nepomuk::ResourceData::load (this=0xaa059e0) at ../../../nepomuk/core/resourcedata.cpp:414
#14 0x0013e19b in Nepomuk::ResourceData::property (this=0xaa059e0, uri=...) at ../../../nepomuk/core/resourcedata.cpp:271
#15 0x0015bcb7 in Nepomuk::Resource::property (this=0xb1dc8294, uri=...) at ../../../nepomuk/core/resource.cpp:280
#16 0x0015ed41 in Nepomuk::Resource::rating (this=0xb1dc8294) at ../../../nepomuk/core/resource.cpp:800
#17 0x080aa1e9 in KLoadMetaDataThread::run (this=0xa0f4ab8) at ../../../../apps/dolphin/src/panels/information/kloadmetadatathread.cpp:95
#18 0x0577832e in QThreadPrivate::start (arg=0xa0f4ab8) at thread/qthread_unix.cpp:248
#19 0x00c0b96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#20 0x00aafa0e in clone () from /lib/tls/i686/cmov/libc.so.6
Comment 11 Sebastian Trueg 2010-05-07 15:54:16 UTC
@Leonardo: could you please explain what you were doing when the crash occurred? Did you run Dolphin as root, too? Is your Nepomuk setup working properly?
Comment 12 Leonardo La Malfa 2010-05-07 17:03:03 UTC
On Friday 07 May 2010 15:54:19 Sebastian Trueg wrote:
> --- @Leonardo: could you please explain what you were doing when the crash
> occurred? Did you run Dolphin as root, too? Is your Nepomuk setup working
> properly?

Hi, sure. Today, no, I wasn't running Dolphin with superuser privileges. I had 
just dropped a folder containing a dozen mp3s from an external HD (where all 
the downloads end) to another (containing Amarok local collection), both 
formatted with EXT4 file system. I can't remember if I hit on the first HD tab 
to return to it, or if the crash occurred as soon as the file transfer 
completed.

As for Nepomuk, I honestly don't use it much (once or twice I tried the search 
function within Dolphin out of curiosity), for its scope is still largely 
unclear to me, although I've read extensively about it. Also, its icon sits in 
the system tray, and the application configuration is properly set to its 
default values, so I haven't customised it in anyway. I hope that helps.
Comment 13 Frank Reininghaus 2010-05-08 13:43:17 UTC
*** Bug 236845 has been marked as a duplicate of this bug. ***
Comment 14 Frank Reininghaus 2010-05-08 15:51:20 UTC
*** Bug 236862 has been marked as a duplicate of this bug. ***
Comment 15 Frank Reininghaus 2010-05-11 11:51:41 UTC
*** Bug 237201 has been marked as a duplicate of this bug. ***
Comment 16 Frank Reininghaus 2010-05-13 19:22:25 UTC
*** Bug 237477 has been marked as a duplicate of this bug. ***
Comment 17 JPD 2010-05-14 14:35:22 UTC
Created attachment 43583 [details]
New crash information added by DrKonqi

I believe I am suffering from this same bug.
Dolphin crashes randomly, it seems related to clicking on things or performing actions within Dolphin.
I have disabled previewing and the problem persists. At times it makes Dolphin entirely unuseable.
I have only tried with Dolphin running under a standard user.
The QuickAccess Plasmoid does not suffer from this problem.
I have not customized nepomuk/soprano, although I tried turning off File Indexing to see if it helped. It appeared to at first but is crashing just as often now.
(I cannot replicate the problem under Gentoo with the same versions)
Comment 18 Frank Reininghaus 2010-07-20 13:02:28 UTC
*** Bug 245188 has been marked as a duplicate of this bug. ***
Comment 19 info 2012-01-16 13:36:58 UTC
Created attachment 67888 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:

Moving group of files between multiple tabs opened in the same window suddenly Dolphin crashed.
I had other 2 Dolphin's windows open and was transfering files.

-- Backtrace (Reduced):
#14 0xb52380b9 in XFreeGC () from /usr/lib/i386-linux-gnu/libX11.so.6
#15 0xb61ff0e7 in QX11PaintEngine::end (this=0x9b8e088) at painting/qpaintengine_x11.cpp:583
#16 0xb6142f50 in QPainter::end (this=0xbfd451e0) at painting/qpainter.cpp:1948
#17 0xb61430f8 in QPainter::~QPainter (this=0xbfd451e0, __in_chrg=<optimized out>) at painting/qpainter.cpp:1504
#18 0xb645970f in QMainWindow::event (this=0x9874020, event=0xbfd455a4) at widgets/qmainwindow.cpp:1356
Comment 20 Lilian A. Moraru 2012-01-31 15:39:57 UTC
First, I'm just a simple user.
Second, can you please try again with the new Dolphin 2 in KDE 4.8?
Comment 21 Peter Penz 2012-01-31 15:46:10 UTC
I'm closing this bug now: The crash from the original reporter cannot occur anymore in Dolphin 4.8 (parsing of metadata is done in a custom process, so even a crash there would not crash Dolphin).
Comment 22 Frank Reininghaus 2012-09-13 09:08:03 UTC
*** Bug 306724 has been marked as a duplicate of this bug. ***