Bug 199219

Summary: Dolphin crashed without any obvious reason (QAbstractScrollArea::viewport, KTreeView::KTreeViewPrivate::qt_metacall)
Product: [Applications] dolphin Reporter: Darek <gdarecki>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, davidsboogs, echidnaman, eljefedelito, frank78ac, kde-2011.08, marko.gabriel.cz, mnd999, moabi2000, skierpage, sylvain.garsault
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Sentry Crash Report:

Description Darek 2009-07-07 00:40:31 UTC
Application that crashed: dolphin
Version of the application: 1.2.80
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-13-generic i686
Distribution: Ubuntu 9.04

 -- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[KCrash Handler]
#6  0xb6dab11a in QAbstractScrollArea::viewport (this=0x9d5b8d0) at widgets/qabstractscrollarea.cpp:537
#7  0x080848d8 in KTreeView::KTreeViewPrivate::qt_metacall (this=0x9d5b8d0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfb4b368)
    at /build/buildd/kdebase-4.2.95/obj-i486-linux-gnu/apps/dolphin/src/ktreeview_p.moc:69
#8  0xb66b8ca8 in QMetaObject::activate (sender=0x9d5b908, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#9  0xb66b9932 in QMetaObject::activate (sender=0x9d5b908, m=0xb6795904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#10 0xb66f4717 in QTimer::timeout (this=0x9d5b908) at .moc/release-shared/moc_qtimer.cpp:128
#11 0xb66be6fe in QTimer::timerEvent (this=0x9d5b908, e=0xbfb4b7ec) at kernel/qtimer.cpp:261
#12 0xb66b315f in QObject::event (this=0x9d5b908, e=0xbfb4b7ec) at kernel/qobject.cpp:1082
#13 0xb68dae9c in QApplicationPrivate::notify_helper (this=0x9a16ea0, receiver=0x9d5b908, e=0xbfb4b7ec) at kernel/qapplication.cpp:4084
#14 0xb68e319e in QApplication::notify (this=0xbfb4ba84, receiver=0x9d5b908, e=0xbfb4b7ec) at kernel/qapplication.cpp:3631
#15 0xb76473dd in KApplication::notify (this=0xbfb4ba84, receiver=0x9d5b908, event=0xbfb4b7ec) at /build/buildd/kde4libs-4.2.95/kdeui/kernel/kapplication.cpp:302
#16 0xb66a2a3b in QCoreApplication::notifyInternal (this=0xbfb4ba84, receiver=0x9d5b908, event=0xbfb4b7ec) at kernel/qcoreapplication.cpp:602
#17 0xb66d1d71 in QTimerInfoList::activateTimers (this=0x9a13cfc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#18 0xb66ce4e0 in timerSourceDispatch (source=0x9a13cc8) at kernel/qeventdispatcher_glib.cpp:164
#19 0xb5e18b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb5e1c0eb in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb5e1c268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0xb66ce438 in QEventDispatcherGlib::processEvents (this=0x9a0f580, flags={i = -1078675096}) at kernel/qeventdispatcher_glib.cpp:323
#23 0xb697c365 in QGuiEventDispatcherGlib::processEvents (this=0x9a0f580, flags={i = -1078675048}) at kernel/qguieventdispatcher_glib.cpp:202
#24 0xb66a106a in QEventLoop::processEvents (this=0xbfb4ba10, flags={i = -1078674984}) at kernel/qeventloop.cpp:149
#25 0xb66a14aa in QEventLoop::exec (this=0xbfb4ba10, flags={i = -1078674920}) at kernel/qeventloop.cpp:200
#26 0xb66a3959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#27 0xb68dad17 in QApplication::exec () at kernel/qapplication.cpp:3553
#28 0x0807a8cf in main (argc=6, argv=0xbfb4bc34) at /build/buildd/kdebase-4.2.95/apps/dolphin/src/main.cpp:94

This bug may be a duplicate of or related to bug 198120

Reported using DrKonqi
Comment 1 Dario Andres 2009-07-07 01:03:17 UTC
This looks related to bug 198297. Thanks
Comment 2 Dario Andres 2009-08-12 20:27:16 UTC
*** Bug 203604 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-09-16 03:20:43 UTC
*** Bug 207466 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-10-03 21:14:12 UTC
- Have anyone experienced this crash again on KDE4.3 ?
Thanks
Comment 5 Jonathan Thomas 2009-10-03 21:16:56 UTC
My duplicate was filed against KDE 4.3.1.
Comment 6 Dario Andres 2009-10-03 21:17:41 UTC
Oops.. thanks
Comment 7 Dario Andres 2009-10-31 16:48:50 UTC
From bug 212516:
--
[KCrash Handler]
#5  0x00007f0526ba9bb4 in QAbstractScrollArea::viewport (this=0x16375c0) at
widgets/qabstractscrollarea.cpp:538
#6  0x0000000000442b97 in KTreeView::KTreeViewPrivate::startScrolling
(this=0x1639110) at
../../../../apps/dolphin/src/panels/folders/ktreeview.cpp:61
#7  0x0000000000442f08 in KTreeView::KTreeViewPrivate::qt_metacall
(this=0x1639110, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fff0f77f0f0) at ./ktreeview_p.moc:69
Comment 8 Dario Andres 2009-10-31 16:48:59 UTC
*** Bug 212516 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2010-01-02 23:04:41 UTC
From bug 220945:
---
What I was doing when the application crashed:
I tryed to share a folder.  I clicked on the Configure File Sharing button on
the share tab of its properties, and entered my password.  Then nothing
happened except the button disabling itself.  So I closed the dialog and tried
again.  This time the button disabling happened instantly (no password entry)
but still nothing else happened.  So I went to Konqueror to try and do it from
there and Dolphin crashed.
Comment 10 Dario Andres 2010-01-02 23:04:44 UTC
*** Bug 220945 has been marked as a duplicate of this bug. ***
Comment 11 Jonathan Thomas 2010-02-11 00:16:09 UTC
*** Bug 198297 has been marked as a duplicate of this bug. ***
Comment 12 Jonathan Thomas 2010-02-11 00:16:16 UTC
*** Bug 226219 has been marked as a duplicate of this bug. ***
Comment 13 Frank Reininghaus 2010-05-07 14:26:30 UTC
*** Bug 236223 has been marked as a duplicate of this bug. ***
Comment 14 Frank Reininghaus 2010-08-20 10:31:12 UTC
*** Bug 248472 has been marked as a duplicate of this bug. ***
Comment 15 Frank Reininghaus 2010-09-23 15:22:33 UTC
*** Bug 252117 has been marked as a duplicate of this bug. ***
Comment 16 Frank Reininghaus 2010-11-12 19:26:39 UTC
*** Bug 256682 has been marked as a duplicate of this bug. ***
Comment 17 Frank Reininghaus 2010-11-18 16:53:08 UTC
I think the problem is that KTreeView::KTreeViewPrivate::startScrolling() tries to access the parent's viewport() after the viewport may already have been destroyed (because startScrolling() is invoked by a timer with a 300 ms delay).

The code underwent some changes for KDE 4.6 - it could be that this fixed the crash.