Bug 297832

Summary: Dolphin crash when removing a partition / file system in KDE Partition Manager
Product: [Unmaintained] kfile Reporter: Volker Lanz <vl>
Component: kfileplacesviewAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: afiestas, nate
Priority: NOR    
Version: 4.8.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Volker Lanz 2012-04-10 10:29:57 UTC
Application: dolphin (2.0)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
While working on KDE Partition Manager I deleted a partition from a memory stick (the file system obviously was not mounted, but I _think_  it had been mounted previously) and Dophin (which had been sitting in the background) crashed with this backtrace.

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

Thread 2 (Thread 0x7f77b075e700 (LWP 30406)):
#0  0x00007f77c4028473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f77bc6d4f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f77bc6d5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f77c040fc26 in QEventDispatcherGlib::processEvents (this=0x25045c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f77c03df402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f77c03df657 in QEventLoop::exec (this=0x7f77b075ddb0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f77c02df067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f77c03bf17f in QInotifyFileSystemWatcherEngine::run (this=0x2526a00) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f77c02e208b in QThreadPrivate::start (arg=0x2526a00) at thread/qthread_unix.cpp:298
#9  0x00007f77bcba6efc in start_thread (arg=0x7f77b075e700) at pthread_create.c:304
#10 0x00007f77c403459d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f77c47467a0 (LWP 30403)):
[KCrash Handler]
#6  0x0000000002d3167a in ?? ()
#7  0x00007f77bfa2c63c in operator= (o=<optimized out>, this=0x2d762a8) at /usr/include/qt4/QtCore/qshareddata.h:182
#8  Solid::Device::operator= (this=0x2d762a8, device=<optimized out>) at ../../../solid/solid/device.cpp:93
#9  0x00007f77c3d07a0b in KFilePlacesItem::device (this=0x2d76270) at ../../kfile/kfileplacesitem.cpp:108
#10 0x00007f77c3d09b13 in KFilePlacesModel::deviceForIndex (this=<optimized out>, index=<optimized out>) at ../../kfile/kfileplacesmodel.cpp:244
#11 0x00007f77c3d11c9e in KFilePlacesViewDelegate::sizeHint (this=0x229f4a0, option=..., index=<optimized out>) at ../../kfile/kfileplacesview.cpp:132
#12 0x00007f77c13177cc in QListViewPrivate::itemSize (this=0x253e7e0, option=..., index=...) at itemviews/qlistview.cpp:1783
#13 0x00007f77c1317ccb in itemSize (idx=..., opt=..., this=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qlistview_p.h:478
#14 QListModeViewBase::indexToListViewItem (this=0x229eec0, index=...) at itemviews/qlistview.cpp:2287
#15 0x00007f77c131e7a3 in QListViewPrivate::indexToListViewItem (this=0x253e7e0, index=...) at itemviews/qlistview.cpp:1728
#16 0x00007f77c131f021 in rectForIndex (index=..., this=0x253e7e0) at ../../include/QtGui/private/../../../src/gui/itemviews/qlistview_p.h:346
#17 rectForIndex (index=..., this=0x253e7e0) at itemviews/qlistview.cpp:1218
#18 QListView::rectForIndex (this=<optimized out>, index=...) at itemviews/qlistview.cpp:1220
#19 0x00007f77c131f1de in QListView::visualRect (this=<optimized out>, index=<optimized out>) at itemviews/qlistview.cpp:561
#20 0x00007f77c131d85e in QListView::paintEvent (this=0x253cde0, e=<optimized out>) at itemviews/qlistview.cpp:979
#21 0x00007f77c3d115b9 in KFilePlacesView::paintEvent (this=0x253cde0, event=<optimized out>) at ../../kfile/kfileplacesview.cpp:798
#22 0x00007f77c0e248c6 in QWidget::event (this=0x253cde0, event=0x7fff51de44a0) at kernel/qwidget.cpp:8507
#23 0x00007f77c11e2636 in QFrame::event (this=0x253cde0, e=0x7fff51de44a0) at widgets/qframe.cpp:557
#24 0x00007f77c12f6cab in QAbstractItemView::viewportEvent (this=0x253cde0, event=0x7fff51de44a0) at itemviews/qabstractitemview.cpp:1644
#25 0x00007f77c03e07a8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x229b390, event=0x7fff51de44a0) at kernel/qcoreapplication.cpp:986
#26 0x00007f77c0dd40cf in notify_helper (e=0x7fff51de44a0, receiver=0x229b390, this=0x2230250) at kernel/qapplication.cpp:4551
#27 QApplicationPrivate::notify_helper (this=0x2230250, receiver=0x229b390, e=0x7fff51de44a0) at kernel/qapplication.cpp:4527
#28 0x00007f77c0dd8f83 in QApplication::notify (this=0x7fff51de6230, receiver=0x229b390, e=0x7fff51de44a0) at kernel/qapplication.cpp:4416
#29 0x00007f77c1b06bf6 in KApplication::notify (this=0x7fff51de6230, receiver=0x229b390, event=0x7fff51de44a0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f77c03e061c in QCoreApplication::notifyInternal (this=0x7fff51de6230, receiver=0x229b390, event=0x7fff51de44a0) at kernel/qcoreapplication.cpp:876
#31 0x00007f77c0e20566 in sendSpontaneousEvent (event=0x7fff51de44a0, receiver=0x229b390) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#32 QWidgetPrivate::drawWidget (this=0x253ee90, pdev=0x2652a10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22cf360) at kernel/qwidget.cpp:5584
#33 0x00007f77c0e211df in QWidgetPrivate::paintSiblingsRecursive (this=0x253e7e0, pdev=0x2652a10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22cf360) at kernel/qwidget.cpp:5793
#34 0x00007f77c0e2029c in QWidgetPrivate::drawWidget (this=0x253e7e0, pdev=0x2652a10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22cf360) at kernel/qwidget.cpp:5637
#35 0x00007f77c0e211df in QWidgetPrivate::paintSiblingsRecursive (this=0x253d630, pdev=0x2652a10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22cf360) at kernel/qwidget.cpp:5793
#36 0x00007f77c0e2029c in QWidgetPrivate::drawWidget (this=0x253d630, pdev=0x2652a10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22cf360) at kernel/qwidget.cpp:5637
#37 0x00007f77c0e211df in QWidgetPrivate::paintSiblingsRecursive (this=0x2483490, pdev=0x2652a10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22cf360) at kernel/qwidget.cpp:5793
#38 0x00007f77c0e2029c in QWidgetPrivate::drawWidget (this=0x2483490, pdev=0x2652a10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22cf360) at kernel/qwidget.cpp:5637
#39 0x00007f77c0feecd8 in QWidgetBackingStore::sync (this=0x22cf360) at painting/qbackingstore.cpp:1373
#40 0x00007f77c0e17290 in QWidgetPrivate::syncBackingStore (this=0x2483490) at kernel/qwidget.cpp:1890
#41 0x00007f77c0e24ddc in QWidget::event (this=0x24964a0, event=0x28a0920) at kernel/qwidget.cpp:8654
#42 0x00007f77c11fc08b in QMainWindow::event (this=0x24964a0, event=0x28a0920) at widgets/qmainwindow.cpp:1478
#43 0x00007f77c1c03988 in KXmlGuiWindow::event (this=0x24964a0, ev=0x28a0920) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#44 0x00007f77c0dd4104 in notify_helper (e=0x28a0920, receiver=0x24964a0, this=0x2230250) at kernel/qapplication.cpp:4555
#45 QApplicationPrivate::notify_helper (this=0x2230250, receiver=0x24964a0, e=0x28a0920) at kernel/qapplication.cpp:4527
#46 0x00007f77c0dd8f83 in QApplication::notify (this=0x7fff51de6230, receiver=0x24964a0, e=0x28a0920) at kernel/qapplication.cpp:4416
#47 0x00007f77c1b06bf6 in KApplication::notify (this=0x7fff51de6230, receiver=0x24964a0, event=0x28a0920) at ../../kdeui/kernel/kapplication.cpp:311
#48 0x00007f77c03e061c in QCoreApplication::notifyInternal (this=0x7fff51de6230, receiver=0x24964a0, event=0x28a0920) at kernel/qcoreapplication.cpp:876
#49 0x00007f77c03e43ea in sendEvent (event=0x28a0920, receiver=0x24964a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2209fe0) at kernel/qcoreapplication.cpp:1500
#51 0x00007f77c040f793 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#52 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#53 0x00007f77bc6d4a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f77bc6d5258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f77bc6d5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f77c040fbbf in QEventDispatcherGlib::processEvents (this=0x220b4a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#57 0x00007f77c0e7928e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x00007f77c03df402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007f77c03df657 in QEventLoop::exec (this=0x7fff51de61c0, flags=...) at kernel/qeventloop.cpp:204
#60 0x00007f77c03e46e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#61 0x00007f77c4339fb7 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#62 0x00007f77c3f7230d in __libc_start_main (main=0x400640, argc=3, ubp_av=0x7fff51de6788, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff51de6778) at libc-start.c:226
#63 0x0000000000400671 in _start ()

Reported using DrKonqi
Comment 1 Nate Graham 2018-06-15 04:25:52 UTC
Crash in old unmaintained KF4 software with no duplicates from any Qt5/KF5 versions. If anyone can still reproduce using recent KF5 versions of KIO and Dolphin, please file a new bug. Thanks!