Bug 176030 - Segmentation Fault when launching Dolphin or 'open' dialog
Summary: Segmentation Fault when launching Dolphin or 'open' dialog
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
: 171552 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-25 04:06 UTC by Andrew Garrett
Modified: 2009-02-22 12:15 UTC (History)
3 users (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 Andrew Garrett 2008-11-25 04:06:21 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

Backtrace:
Application: Dolphin (dolphin), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb5e596c0 (LWP 6219)]
[KCrash handler]
#6  Solid::StorageAccess::isAccessible (this=0x0)
    at /build/buildd/kde4libs-4.1.2/solid/solid/storageaccess.cpp:56
#7  0xb7451eeb in KFilePlacesItem::deviceData (this=0x9daf078, role=1)
    at /build/buildd/kde4libs-4.1.2/kfile/kfileplacesitem.cpp:147
#8  0xb74521a1 in KFilePlacesItem::data (this=0x9daf078, role=1)
    at /build/buildd/kde4libs-4.1.2/kfile/kfileplacesitem.cpp:96
#9  0xb7452be7 in KFilePlacesModel::data (this=0x9cbba30, index=@0xbfd7355c, 
    role=1) at /build/buildd/kde4libs-4.1.2/kfile/kfileplacesmodel.cpp:214
#10 0xb7452ebe in KFilePlacesModel::icon (this=0x9cbba30, index=@0xbfd7355c)
    at /build/buildd/kde4libs-4.1.2/kfile/kfileplacesmodel.cpp:157
#11 0xb745a9ad in KFilePlacesSelector::updateMenu (this=0x9e031e8)
    at /build/buildd/kde4libs-4.1.2/kfile/kfileplacesselector.cpp:78
#12 0xb745b1bb in KFilePlacesSelector::qt_metacall (this=0x9e031e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd73694)
    at /build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/kfile/kfileplacesselector_p.moc:76
#13 0xb75d4a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb75d57e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb760e9af in QAbstractItemModel::rowsInserted ()
   from /usr/lib/libQtCore.so.4
#16 0xb75bb383 in QAbstractItemModel::endInsertRows ()
   from /usr/lib/libQtCore.so.4
#17 0xb7454bfb in KFilePlacesModel::Private::_k_reloadBookmarks (
    this=0x9cbaba8)
    at /build/buildd/kde4libs-4.1.2/kfile/kfileplacesmodel.cpp:385
#18 0xb7455342 in KFilePlacesModel::Private::_k_initDeviceList (
    this=0x9cbaba8)
    at /build/buildd/kde4libs-4.1.2/kfile/kfileplacesmodel.cpp:291
#19 0xb74575d6 in KFilePlacesModel::qt_metacall (this=0x9cbba30, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd73928)
    at /build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/kfile/kfileplacesmodel.moc:84
#20 0xb75d4a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb75d57e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb75dadb7 in ?? () from /usr/lib/libQtCore.so.4
#23 0xb75daedc in ?? () from /usr/lib/libQtCore.so.4
#24 0xb75cf53f in QObject::event () from /usr/lib/libQtCore.so.4
#25 0xb6b608ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#26 0xb6b6876e in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0xb7a8e72d in KApplication::notify (this=0xbfd74054, receiver=0x9dbeac0, 
    event=0xbfd73dbc)
    at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311
#28 0xb75bfe61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#29 0xb75edd81 in ?? () from /usr/lib/libQtCore.so.4
#30 0xb75ea520 in ?? () from /usr/lib/libQtCore.so.4
#31 0xb62156f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb6218da3 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb6218f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb75ea478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#35 0xb6bfaee5 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb75be52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#37 0xb75be6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#38 0xb75c0da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#39 0xb6b60767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#40 0x0808519f in main (argc=1, argv=0xbfd74204)
    at /build/buildd/kdebase-4.1.2/apps/dolphin/src/main.cpp:94
#0  0xb7f72430 in __kernel_vsyscall ()
Comment 1 Dario Andres 2008-12-14 17:52:24 UTC
*** Bug 171552 has been marked as a duplicate of this bug. ***
Comment 2 malcolm macleod 2009-01-29 17:12:23 UTC
I get the same(Or very similar) crash on my gentoo amd64 system with kde4.2 when opening dolphin. I also experience a crash anytime I do something that attempts to show a file selection dialog.
Backtrace for dolphin is below.

Application: Dolphin (dolphin), signal SIGSEGV
0x00007f71bfb75d81 in nanosleep () from /lib/libc.so.6

Thread 1 (Thread 0x7f71c40a8750 (LWP 22472)):
[KCrash Handler]
#5  Solid::StorageAccess::d_func (this=0x0) at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs-4.2.0/solid/solid/storageaccess.h:45
#6  0x00007f71bf1cf369 in Solid::StorageAccess::isAccessible (this=0x0) at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs-4.2.0/solid/solid/storageaccess.cpp:55
#7  0x00007f71c37f51f0 in KFilePlacesItem::deviceData (this=<value optimized out>, role=1) at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs-4.2.0/kfile/kfileplacesitem.cpp:147
#8  0x00007f71c37f5432 in KFilePlacesItem::data (this=0x743fb0, role=1) at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs-4.2.0/kfile/kfileplacesitem.cpp:96
#9  0x00007f71c37f7cde in KFilePlacesModel::data (this=<value optimized out>, index=@0x7fffcc0e3550, role=1)
    at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs-4.2.0/kfile/kfileplacesmodel.cpp:214
#10 0x00007f71c37f8a8c in KFilePlacesModel::icon (this=0x99fb40, index=@0x0) at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs-4.2.0/kfile/kfileplacesmodel.cpp:157
#11 0x00007f71c37fd1d7 in KFilePlacesSelector::updateMenu (this=0x839c50) at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs-4.2.0/kfile/kfileplacesselector.cpp:78
#12 0x00007f71c37fd340 in KFilePlacesSelector::qt_metacall (this=0x839c50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcc0e3730)
    at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs_build/kfile/kfileplacesselector_p.moc:76
#13 0x00007f71c14264c9 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f71c145df24 in QAbstractItemModel::rowsInserted () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f71c140e4c6 in QAbstractItemModel::endInsertRows () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f71c37f7489 in KFilePlacesModel::Private::_k_reloadBookmarks (this=0x785a50) at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs-4.2.0/kfile/kfileplacesmodel.cpp:343
#17 0x00007f71c37f7a78 in KFilePlacesModel::Private::_k_initDeviceList (this=0x785a50) at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs-4.2.0/kfile/kfileplacesmodel.cpp:291
#18 0x00007f71c37f7c5a in KFilePlacesModel::qt_metacall (this=0x754720, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcc0e3cf0)
    at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs_build/kfile/kfileplacesmodel.moc:84
#19 0x00007f71c14264c9 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f71c142cc1f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f71c1420e45 in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007f71c075094d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f71c075854a in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007f71c21fbc11 in KApplication::notify (this=0x7fffcc0e4930, receiver=0x776540, event=0x7fffcc0e4390)
    at /var/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307
#25 0x00007f71c14123e8 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007f71c143c3b9 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f71c143cdf8 in QEventDispatcherUNIX::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f71c07de062 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007f71c1411755 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007f71c14118aa in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007f71c14136f9 in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#32 0x000000000043ef7d in main (argc=1, argv=0x7fffcc0e4e28) at /var/tmp/portage/kde-base/dolphin-4.2.0/work/dolphin-4.2.0/apps/dolphin/src/main.cpp:94

Comment 3 malcolm macleod 2009-01-30 20:33:52 UTC
Deleting the .kde4 directory and letting it get regenerated seems to have fixed this for me somehow.
Comment 4 Dario Lucia 2009-02-14 18:06:00 UTC
Same behaviour here: Dolphin crashs when I try to launch it

Applicazione: Dolphin (dolphin), segnale SIGSEGV

Thread 1 (Thread 0xb606f700 (LWP 4946)):
[KCrash Handler]
#6  0xb6795965 in Solid::StorageAccess::isAccessible () from /usr/lib/libsolid.so.4
#7  0xb7dd970b in KFilePlacesItem::deviceData () from /usr/lib/libkfile.so.4
#8  0xb7dd99c1 in KFilePlacesItem::data () from /usr/lib/libkfile.so.4
#9  0xb7dda837 in KFilePlacesModel::data () from /usr/lib/libkfile.so.4
#10 0xb7ddab0e in KFilePlacesModel::icon () from /usr/lib/libkfile.so.4
#11 0xb7de266d in KFilePlacesSelector::updateMenu () from /usr/lib/libkfile.so.4
#12 0xb7de2e4b in KFilePlacesSelector::qt_metacall () from /usr/lib/libkfile.so.4
#13 0xb6c8477b in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb6c84cd2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb6cba09f in QAbstractItemModel::rowsInserted () from /usr/lib/libQtCore.so.4
#16 0xb6c6aa13 in QAbstractItemModel::endInsertRows () from /usr/lib/libQtCore.so.4
#17 0xb7ddca3b in KFilePlacesModel::Private::_k_reloadBookmarks () from /usr/lib/libkfile.so.4
#18 0xb7ddd127 in KFilePlacesModel::Private::_k_initDeviceList () from /usr/lib/libkfile.so.4
#19 0xb7ddf326 in KFilePlacesModel::qt_metacall () from /usr/lib/libkfile.so.4
#20 0xb6c8477b in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb6c84cd2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb6c8b777 in ?? () from /usr/lib/libQtCore.so.4
#23 0x09991960 in ?? ()
#24 0xb6d0e448 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00000000 in ?? ()

KDE 4.2 from Archlinux repositories, fresh installation
Comment 5 Kevin Ottens 2009-02-22 12:15:44 UTC
SVN commit 929837 by ervin:

Not sure how this situation happened, but can't hurt to check the access
pointer first to avoid such crashes in the future.

BUG: 176030


 M  +1 -1      kfileplacesitem.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=929837