Bug 306147 - Dolphin crashes when clicking back, go forward or reload while in rename inline
Summary: Dolphin crashes when clicking back, go forward or reload while in rename inline
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 2.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: reproducible
: 306823 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-02 02:08 UTC by Frank Souza
Modified: 2012-09-17 22:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.2


Attachments
New crash information added by DrKonqi (12.68 KB, text/plain)
2012-09-17 22:48 UTC, ubiklain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Souza 2012-09-02 02:08:43 UTC
While renaming any file in inline mode, clicking back, go forward or reload folder, the dolphin crash

Reproducible: Always

Steps to Reproduce:
1. rename any file or folder in inline mode
2. before rename click in back or forward or reload
Actual Results:  
dolphin crashes

Expected Results:  
respond to the command, and ignore the rename inline
Comment 1 Jekyll Wu 2012-09-02 10:37:13 UTC
Please *always* provide a backtrace when you report a crash 

Application: dolphin (2.1)
KDE Platform Version: 4.9.80 (Compiled from sources)
Qt Version: 4.8.3
Operating System: Linux 3.5.3-gentoo+ i686
Distribution: "NAME=Gentoo"

-- Information about the crash:
Start inline renaming, then refresh the view before finishing inline renaming

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb55a8740 (LWP 7856))]

Thread 3 (Thread 0xb0bf7b40 (LWP 7859)):
#0  0xb6c084e8 in __pthread_mutex_lock (mutex=0xb0200550) at pthread_mutex_lock.c:92
#1  0xb59b57a0 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#2  0xb5975135 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0xb59755f2 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb59757b1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6dcf58f in QEventDispatcherGlib::processEvents (this=0xb0200468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb6d9b80d in QEventLoop::processEvents (this=0xb0bf7240, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6d9baa9 in QEventLoop::exec (this=0xb0bf7240, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6c84d5c in QThread::exec (this=0x8f69c18) at thread/qthread.cpp:501
#9  0xb6d78b8d in QInotifyFileSystemWatcherEngine::run (this=0x8f69c18) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6c88290 in QThreadPrivate::start (arg=0x8f69c18) at thread/qthread_unix.cpp:307
#11 0xb6c05f38 in start_thread (arg=0xb0bf7b40) at pthread_create.c:305
#12 0xb5fd29fe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xaecc9b40 (LWP 7860)):
#0  0xb77b3424 in __kernel_vsyscall ()
#1  0xb5fc7ef5 in *__GI___poll (fds=0xae301138, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb598320b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb597565e in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb59757b1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6dcf58f in QEventDispatcherGlib::processEvents (this=0xae300468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb6d9b80d in QEventLoop::processEvents (this=0xaecc9240, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6d9baa9 in QEventLoop::exec (this=0xaecc9240, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6c84d5c in QThread::exec (this=0x9036818) at thread/qthread.cpp:501
#9  0xb6d78b8d in QInotifyFileSystemWatcherEngine::run (this=0x9036818) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6c88290 in QThreadPrivate::start (arg=0x9036818) at thread/qthread_unix.cpp:307
#11 0xb6c05f38 in start_thread (arg=0xaecc9b40) at pthread_create.c:305
#12 0xb5fd29fe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb55a8740 (LWP 7856)):
[KCrash Handler]
#7  0xb5095f4a in QString (other=..., this=0xbfd4409c) at /usr/include/qt4/QtCore/qstring.h:725
#8  KFileItem::text (this=0xbfd44094) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kio/kio/kfileitem.cpp:1393
#9  0xb1ad1624 in DolphinView::slotRoleEditingFinished (this=0x8f88ca0, index=14, role=..., value=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/views/dolphinview.cpp:1325
#10 0xb1ad6be9 in qt_static_metacall (_a=0xbfd441d0, _id=69, _o=0x8f88ca0, _c=<optimized out>) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/dolphinview.moc:263
#11 DolphinView::qt_static_metacall (_o=0x8f88ca0, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfd441d0) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/dolphinview.moc:187
#12 0xb6db3761 in QMetaObject::activate (sender=0x8f7d0b8, m=0xb1b198a8 <KItemListView::staticMetaObject>, local_signal_index=10, argv=0xbfd441d0) at kernel/qobject.cpp:3547
#13 0xb1aa1e85 in KItemListView::roleEditingFinished (this=0x8f7d0b8, _t1=14, _t2=..., _t3=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kitemlistview.moc:300
#14 0xb1aa1eca in KItemListView::slotRoleEditingFinished (this=0x8f7d0b8, index=14, role=..., value=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kitemlistview.cpp:1438
#15 0xb1aa8ee7 in qt_static_metacall (_a=0xbfd44300, _id=29, _o=0x8f7d0b8, _c=<optimized out>) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kitemlistview.moc:152
#16 KItemListView::qt_static_metacall (_o=0x8f7d0b8, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfd44300) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kitemlistview.moc:117
#17 0xb6db3761 in QMetaObject::activate (sender=0x928c550, m=0xb1b19ab4 <KItemListWidget::staticMetaObject>, local_signal_index=1, argv=0xbfd44300) at kernel/qobject.cpp:3547
#18 0xb1aab985 in KItemListWidget::roleEditingFinished (this=0x928c550, _t1=14, _t2=..., _t3=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kitemlistwidget.moc:146
#19 0xb1ab661c in KStandardItemListWidget::slotRoleEditingFinished (this=0x928c550, index=14, role=..., value=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kstandarditemlistwidget.cpp:710
#20 0xb1ab6767 in KStandardItemListWidget::qt_static_metacall (_o=0x928c550, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd44430) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kstandarditemlistwidget.moc:56
#21 0xb6db3761 in QMetaObject::activate (sender=0x95abf90, m=0xb1b1a6e4 <KItemListRoleEditor::staticMetaObject>, local_signal_index=0, argv=0xbfd44430) at kernel/qobject.cpp:3547
#22 0xb1abde75 in KItemListRoleEditor::roleEditingFinished (this=0x95abf90, _t1=14, _t2=..., _t3=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kitemlistroleeditor.moc:107
#23 0xb1abdefd in emitRoleEditingFinished (this=0x95abf90) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/private/kitemlistroleeditor.cpp:140
#24 KItemListRoleEditor::emitRoleEditingFinished (this=0x95abf90) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/private/kitemlistroleeditor.cpp:137
#25 0xb1abdf8d in KItemListRoleEditor::event (this=0x95abf90, event=0xbfd44860) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/private/kitemlistroleeditor.cpp:81
#26 0xb62a2cf4 in notify_helper (e=0xbfd44860, receiver=0x95abf90, this=0x8d7ec10) at kernel/qapplication.cpp:4557
#27 QApplicationPrivate::notify_helper (this=0x8d7ec10, receiver=0x95abf90, e=0xbfd44860) at kernel/qapplication.cpp:4529
#28 0xb62a8bea in QApplication::notify (this=0x8d7ec10, receiver=0x95abf90, e=0xbfd44860) at kernel/qapplication.cpp:4522
#29 0xb7528f11 in KApplication::notify (this=0xbfd47168, receiver=0x95abf90, event=0xbfd44860) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#30 0xb6d9cf5e in QCoreApplication::notifyInternal (this=0xbfd47168, receiver=0x95abf90, event=0xbfd44860) at kernel/qcoreapplication.cpp:915
#31 0xb62a0e4a in sendEvent (event=0xbfd44860, receiver=0x95abf90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QApplicationPrivate::setFocusWidget (focus=0x8e4eb28, reason=Qt::OtherFocusReason) at kernel/qapplication.cpp:2258
#33 0xb62ee4e3 in QWidget::setFocus (this=0x8e4eb28, reason=Qt::OtherFocusReason) at kernel/qwidget.cpp:6459
#34 0xb1ab65d1 in setFocus (this=<optimized out>) at /usr/include/qt4/QtGui/qwidget.h:429
#35 KStandardItemListWidget::closeRoleEditor (this=0x928c550) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kstandarditemlistwidget.cpp:1259
#36 0xb1ab65fc in KStandardItemListWidget::slotRoleEditingFinished (this=0x928c550, index=14, role=..., value=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kstandarditemlistwidget.cpp:709
#37 0xb1ab6767 in KStandardItemListWidget::qt_static_metacall (_o=0x928c550, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd44a40) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kstandarditemlistwidget.moc:56
#38 0xb6db3761 in QMetaObject::activate (sender=0x95abf90, m=0xb1b1a6e4 <KItemListRoleEditor::staticMetaObject>, local_signal_index=0, argv=0xbfd44a40) at kernel/qobject.cpp:3547
#39 0xb1abde75 in KItemListRoleEditor::roleEditingFinished (this=0x95abf90, _t1=14, _t2=..., _t3=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kitemlistroleeditor.moc:107
#40 0xb1abdefd in emitRoleEditingFinished (this=0x95abf90) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/private/kitemlistroleeditor.cpp:140
#41 KItemListRoleEditor::emitRoleEditingFinished (this=0x95abf90) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/private/kitemlistroleeditor.cpp:137
#42 0xb1abdfff in KItemListRoleEditor::eventFilter (this=0x95abf90, watched=0x90217b8, event=0xbfd44f7c) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/private/kitemlistroleeditor.cpp:70
#43 0xb6d9d0f6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8d7ec10, receiver=0x90217b8, event=0xbfd44f7c) at kernel/qcoreapplication.cpp:1025
#44 0xb62a2cc2 in notify_helper (e=0xbfd44f7c, receiver=0x90217b8, this=0x8d7ec10) at kernel/qapplication.cpp:4553
#45 QApplicationPrivate::notify_helper (this=0x8d7ec10, receiver=0x90217b8, e=0xbfd44f7c) at kernel/qapplication.cpp:4529
#46 0xb62a8bea in QApplication::notify (this=0x8d7ec10, receiver=0x90217b8, e=0xbfd44f7c) at kernel/qapplication.cpp:4522
#47 0xb7528f11 in KApplication::notify (this=0xbfd47168, receiver=0x90217b8, event=0xbfd44f7c) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#48 0xb6d9cf5e in QCoreApplication::notifyInternal (this=0xbfd47168, receiver=0x90217b8, event=0xbfd44f7c) at kernel/qcoreapplication.cpp:915
#49 0xb6346e2e in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#50 QWidgetPrivate::setGeometry_sys (this=0x90217d0, x=3, y=3, w=-1076605060, h=625, isMove=true) at kernel/qwidget_x11.cpp:2656
#51 0xb62f5db5 in QWidget::setGeometry (this=0x90217b8, r=...) at kernel/qwidget.cpp:6969
#52 0xb6789173 in QAbstractScrollAreaPrivate::layoutChildren (this=0x901edb8) at widgets/qabstractscrollarea.cpp:480
#53 0xb678a375 in QAbstractScrollArea::event (this=0x8e4eb28, e=0xbfd45638) at widgets/qabstractscrollarea.cpp:924
#54 0xb62a2cf4 in notify_helper (e=0xbfd45638, receiver=0x8e4eb28, this=0x8d7ec10) at kernel/qapplication.cpp:4557
#55 QApplicationPrivate::notify_helper (this=0x8d7ec10, receiver=0x8e4eb28, e=0xbfd45638) at kernel/qapplication.cpp:4529
#56 0xb62a8bea in QApplication::notify (this=0x8d7ec10, receiver=0x8e4eb28, e=0xbfd45638) at kernel/qapplication.cpp:4522
#57 0xb7528f11 in KApplication::notify (this=0xbfd47168, receiver=0x8e4eb28, event=0xbfd45638) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#58 0xb6d9cf5e in QCoreApplication::notifyInternal (this=0xbfd47168, receiver=0x8e4eb28, event=0xbfd45638) at kernel/qcoreapplication.cpp:915
#59 0xb62f5b5a in sendEvent (event=0xbfd45638, receiver=0x8e4eb28) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#60 QWidget::setContentsMargins (this=0x8e4eb28, left=3, top=3, right=3, bottom=3) at kernel/qwidget.cpp:7198
#61 0xb66f470f in QFrame::setFrameRect (this=0x8e4eb28, r=...) at widgets/qframe.cpp:469
#62 0xb678947a in QAbstractScrollAreaPrivate::layoutChildren (this=0x901edb8) at widgets/qabstractscrollarea.cpp:403
#63 0xb6789fc0 in QAbstractScrollArea::setVerticalScrollBarPolicy (this=0x8e4eb28, policy=Qt::ScrollBarAsNeeded) at widgets/qabstractscrollarea.cpp:619
#64 0xb1a9341d in KItemListContainer::updateScrollOffsetScrollBarPolicy (this=0x8e4eb28) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kitemlistcontainer.cpp:389
#65 0xb1a936e4 in KItemListContainer::updateScrollOffsetScrollBar (this=0x8e4eb28) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kitemlistcontainer.cpp:286
#66 0xb1a93738 in qt_static_metacall (_a=0xbfd45a74, _id=4, _o=0x8e4eb28, _c=<optimized out>) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kitemlistcontainer.moc:64
#67 KItemListContainer::qt_static_metacall (_o=0x8e4eb28, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd45a74) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kitemlistcontainer.moc:54
#68 0xb6db3761 in QMetaObject::activate (sender=0x8f7d0b8, m=0xb1b198a8 <KItemListView::staticMetaObject>, local_signal_index=2, argv=0xbfd45a74) at kernel/qobject.cpp:3547
#69 0xb1aa17cd in KItemListView::maximumScrollOffsetChanged (this=0x8f7d0b8, _t1=0, _t2=2456) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kitemlistview.moc:244
#70 0xb1aa19e4 in KItemListView::emitOffsetChanges (this=0x8f7d0b8) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kitemlistview.cpp:1793
#71 0xb1aa52d5 in KItemListView::doLayout (this=0x8f7d0b8, hint=KItemListView::NoAnimation, changedIndex=0, changedCount=-104) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kitemlistview.cpp:1547
#72 0xb1aa7de5 in KItemListView::slotItemsRemoved (this=0x8f7d0b8, itemRanges=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kitemlistview.cpp:1098
#73 0xb1a76eaa in KFileItemListView::slotItemsRemoved (this=0x8f7d0b8, itemRanges=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kfileitemlistview.cpp:295
#74 0xb1a771c2 in KFileItemListView::qt_static_metacall (_o=0x8f7d0b8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd45e78) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kfileitemlistview.moc:60
#75 0xb6db3761 in QMetaObject::activate (sender=0x8f88d08, m=0xb1b19b54 <KItemModelBase::staticMetaObject>, local_signal_index=1, argv=0xbfd45e78) at kernel/qobject.cpp:3547
#76 0xb1aac9b5 in KItemModelBase::itemsRemoved (this=0x8f88d08, _t1=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/kitemmodelbase.moc:127
#77 0xb1a86955 in KFileItemModel::slotClear (this=0x8f88d08) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kfileitemmodel.cpp:871
#78 0xb1a86a8b in KFileItemModel::clear (this=0x8f88d08) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/kitemviews/kfileitemmodel.cpp:362
#79 0xb1ad4944 in setUrl (url=..., this=0x8f88ca0) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/views/dolphinview.cpp:597
#80 DolphinView::setUrl (this=0x8f88ca0, url=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/views/dolphinview.cpp:582
#81 0xb1c63db9 in DolphinViewContainer::slotUrlNavigatorLocationChanged (this=0x8eaea30, url=...) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/dolphinviewcontainer.cpp:558
#82 0xb6db3761 in QMetaObject::activate (sender=0x8f6f848, m=0xb1bfcc7c <KUrlNavigator::staticMetaObject>, local_signal_index=1, argv=0xbfd460a8) at kernel/qobject.cpp:3547
#83 0xb1bdd5d5 in KUrlNavigator::urlChanged (this=0x8f6f848, _t1=...) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999_build/kfile/kurlnavigator.moc:174
#84 0xb1be0c3e in KUrlNavigator::goBack (this=0x8f6f848) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kfile/kurlnavigator.cpp:858
#85 0xb1c51183 in DolphinMainWindow::goBack (this=0x8e93e08) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/dolphinmainwindow.cpp:926
#86 0xb1c60434 in qt_static_metacall (_a=0xbfd46248, _id=34, _o=0x8e93e08, _c=<optimized out>) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/dolphinmainwindow.moc:216
#87 DolphinMainWindow::qt_static_metacall (_o=0x8e93e08, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbfd46248) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999_build/dolphin/src/dolphinmainwindow.moc:175
#88 0xb6db3761 in QMetaObject::activate (sender=0x8e7a760, m=0xb6bdfa78 <QAction::staticMetaObject>, local_signal_index=1, argv=0xbfd46248) at kernel/qobject.cpp:3547
#89 0xb629b3ad in QAction::triggered (this=0x8e7a760, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#90 0xb629b64b in QAction::activate (this=0x8e7a760, event=QAction::Trigger) at kernel/qaction.cpp:1257
#91 0xb6782f50 in trigger (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#92 QToolButton::nextCheckState (this=0x9095580) at widgets/qtoolbutton.cpp:1144
#93 0xb66a8a8b in QAbstractButtonPrivate::click (this=0x9087760) at widgets/qabstractbutton.cpp:530
#94 0xb66a8d86 in QAbstractButton::mouseReleaseEvent (this=0x9095580, e=0xbfd46a08) at widgets/qabstractbutton.cpp:1123
#95 0xb6782fed in QToolButton::mouseReleaseEvent (this=0x9095580, e=0xbfd46a08) at widgets/qtoolbutton.cpp:718
#96 0xb62ff84c in QWidget::event (this=0x9095580, event=0xbfd46a08) at kernel/qwidget.cpp:8371
#97 0xb66a8009 in QAbstractButton::event (this=0x9095580, e=0xbfd46a08) at widgets/qabstractbutton.cpp:1082
#98 0xb678475c in QToolButton::event (this=0x9095580, event=0xbfd46a08) at widgets/qtoolbutton.cpp:1160
#99 0xb62a2cf4 in notify_helper (e=0xbfd46a08, receiver=0x9095580, this=0x8d7ec10) at kernel/qapplication.cpp:4557
#100 QApplicationPrivate::notify_helper (this=0x8d7ec10, receiver=0x9095580, e=0xbfd46a08) at kernel/qapplication.cpp:4529
#101 0xb62a9838 in QApplication::notify (this=0x8d7ec10, receiver=0x9095580, e=0xbfd46a08) at kernel/qapplication.cpp:4100
#102 0xb7528f11 in KApplication::notify (this=0xbfd47168, receiver=0x9095580, event=0xbfd46a08) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#103 0xb6d9cf5e in QCoreApplication::notifyInternal (this=0xbfd47168, receiver=0x9095580, event=0xbfd46a08) at kernel/qcoreapplication.cpp:915
#104 0xb62a3cf5 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#105 QApplicationPrivate::sendMouseEvent (receiver=0x9095580, event=0xbfd46a08, alienWidget=0x9095580, nativeWidget=0x90e2078, buttonDown=0xb6bfcc94 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3168
#106 0xb632bb47 in QETWidget::translateMouseEvent (this=0x90e2078, event=0xbfd46de0) at kernel/qapplication_x11.cpp:4507
#107 0xb632a6e6 in QApplication::x11ProcessEvent (this=0xbfd47168, event=0xbfd46de0) at kernel/qapplication_x11.cpp:3630
#108 0xb63558fc in x11EventSourceDispatch (s=0x8d833c0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#109 0xb5975336 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#110 0xb59756d8 in ?? () from /usr/lib/libglib-2.0.so.0
#111 0xb59757b1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#112 0xb6dcf58f in QEventDispatcherGlib::processEvents (this=0x8d447e8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#113 0xb635551a in QGuiEventDispatcherGlib::processEvents (this=0x8d447e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#114 0xb6d9b80d in QEventLoop::processEvents (this=0xbfd470d4, flags=...) at kernel/qeventloop.cpp:149
#115 0xb6d9baa9 in QEventLoop::exec (this=0xbfd470d4, flags=...) at kernel/qeventloop.cpp:204
#116 0xb6da0f1a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#117 0xb62a03b4 in QApplication::exec () at kernel/qapplication.cpp:3818
#118 0xb1c6a26c in kdemain (argc=5, argv=0x8d38d50) at /tmp/portage/kde-base/dolphin-9999/work/dolphin-9999/dolphin/src/main.cpp:89
#119 0x0804fc84 in launch (argc=<optimized out>, _name=0x8d34f84 "/usr/bin/dolphin", args=<optimized out>, cwd=0x0, envc=1, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8d34fd4 "gentoo;1346572444;206120;4840_TIME67827283") at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kinit/kinit.cpp:734
#120 0x08050dd4 in handle_launcher_request (sock=<optimized out>, who=<optimized out>) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kinit/kinit.cpp:1226
#121 0x080512b9 in handle_requests (waitForPid=<optimized out>) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kinit/kinit.cpp:1419
#122 0x0804c9aa in main (argc=154960128, argv=0x95abf90, envp=0xa) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kinit/kinit.cpp:1907
Comment 2 Frank Souza 2012-09-02 13:05:12 UTC
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f03461fd7c0 (LWP 4660))]

Thread 3 (Thread 0x7f0329a3b700 (LWP 4662)):
#0  0x00007f033d39032d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f033d3905c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f033d354fe9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f033d355164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f034281e9e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f03427edf22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f03427ee177 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f03426ed057 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f03427cdc2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f03426f007b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f03358bb734 in ?? () from /usr/lib/libGL.so.1
#11 0x00007f033dc19e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#12 0x00007f0345ac54bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0323fff700 (LWP 4663)):
#0  0x00007f0345ab9b03 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f033d355036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f033d355164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f034281e9e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f03427edf22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f03427ee177 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f03426ed057 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f03427cdc2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f03426f007b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f03358bb734 in ?? () from /usr/lib/libGL.so.1
#10 0x00007f033dc19e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f0345ac54bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f03461fd7c0 (LWP 4660)):
[KCrash Handler]
#6  0x00007f03419338d9 in QWidget::hasFocus() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007f0344dfef24 in KStandardItemListWidget::closeRoleEditor() () from /usr/lib/libdolphinprivate.so.4
#8  0x00007f0344dfefc8 in KStandardItemListWidget::slotRoleEditingFinished(int, QByteArray const&, QVariant const&) () from /usr/lib/libdolphinprivate.so.4
#9  0x00007f0342803841 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f0344e058c8 in KItemListRoleEditor::roleEditingFinished(int, QByteArray const&, QVariant const&) () from /usr/lib/libdolphinprivate.so.4
#11 0x00007f0344e05919 in KItemListRoleEditor::emitRoleEditingFinished() () from /usr/lib/libdolphinprivate.so.4
#12 0x00007f0344e0597f in KItemListRoleEditor::event(QEvent*) () from /usr/lib/libdolphinprivate.so.4
#13 0x00007f03418f37b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007f03418f8583 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007f0343255456 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007f03427ef3ec in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f03418f1fce in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007f0341936d61 in QWidget::setFocus(Qt::FocusReason) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f0342808a06 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007f03419439eb in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007f03418f37b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007f03418f8583 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007f0343255456 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007f03427ef3ec in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007f03427f31ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007f034281e553 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007f033d354d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f033d3550a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f033d355164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f034281e97f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007f034199bcde in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007f03427edf22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007f03427ee177 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007f03427f34c7 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007f0345ddd047 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#36 0x00007f03459f476d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#37 0x0000000000400671 in _start ()
Comment 3 Frank Reininghaus 2012-09-02 13:59:31 UTC
Thanks for the bug report! This looks pretty much like bug 304524, which has been fixed recently. However, I'm a bit confused by Jekyll's backtrace, which looks different from the one I'm getting when I revert the fix for that bug, so I'm wondering if there is something else that needs to fixed.

@Jekyll: Did you get that crash with a recent checkout of the 4.9 or master branch, or with a version that does not contain the fix for 304524 yet?
Comment 4 Jekyll Wu 2012-09-02 14:21:13 UTC
@Frank

I built dolphin based upon commit 6892d39d, which comes after the commit for bug 304524 .

It is easy to reproduce. Just prefer F2 to start inline renaming, then press F5.
Comment 5 Frank Reininghaus 2012-09-03 11:31:43 UTC
Thanks Jekyll, I can indeed reproduce the crash with the current master branch. It looks like the items are first removed from the model, and then DolphinView tries to start the renaming, which fails because there is no valid KFileItem any more.
Comment 6 Frank Reininghaus 2012-09-11 17:43:11 UTC
Strange, I can reproduce the crash on one machine, but not on the other one. Maybe it's because the order in which some slots are invoked by the same signal (which is undefined) matters here.

Anyway, I've got a patch that fixes the crash for me.
Comment 7 Frank Reininghaus 2012-09-11 17:46:29 UTC
Git commit ea3ed1d9e5409af7d374c66d53dbb2ff68a5fe70 by Frank Reininghaus.
Committed on 11/09/2012 at 19:43.
Pushed by freininghaus into branch 'KDE/4.9'.

Fix possible crash when refreshing the view while renaming inline

It is not reproducible on every machine for me, but it seems that it can
happen that DolphinView's slot slotRoleEditingFinished() is invoked
after the items have already been removed from the model. In that case,
we have to return from the slot immediately to prevent a crash.
FIXED-IN: 4.9.2

M  +4    -0    dolphin/src/views/dolphinview.cpp

http://commits.kde.org/kde-baseapps/ea3ed1d9e5409af7d374c66d53dbb2ff68a5fe70
Comment 8 Christoph Feck 2012-09-15 10:09:14 UTC
*** Bug 306823 has been marked as a duplicate of this bug. ***
Comment 9 ubiklain 2012-09-17 22:48:44 UTC
Created attachment 73988 [details]
New crash information added by DrKonqi

dolphin (2.1) on KDE Platform 4.9.1 using Qt 4.8.2

- What I was doing when the application crashed:
-renaming a file, then click back to change dolphin's pannel.
-dolphin crash.

-- Backtrace (Reduced):
#7  0x010ace2a in QString (other=..., this=0xbf9c319c) at /usr/include/qt4/QtCore/qstring.h:725
#8  KFileItem::text (this=0xbf9c3194) at ../../kio/kio/kfileitem.cpp:1393
#9  0x0022c864 in DolphinView::slotRoleEditingFinished (this=0x922c438, index=2, role=..., value=...) at ../../../dolphin/src/views/dolphinview.cpp:1317
#10 0x00231b69 in qt_static_metacall (_a=0xbf9c32d0, _id=69, _o=0x922c438, _c=<optimized out>) at ./dolphinview.moc:263
#11 DolphinView::qt_static_metacall (_o=0x922c438, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbf9c32d0) at ./dolphinview.moc:187