Bug 334655 - Crash after changing the name of an directory and unfolding it in tree view
Summary: Crash after changing the name of an directory and unfolding it in tree view
Status: RESOLVED DUPLICATE of bug 332102
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 4.13.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-12 12:16 UTC by sparhawk
Modified: 2014-05-12 12:22 UTC (History)
0 users

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 sparhawk 2014-05-12 12:16:14 UTC
Application: dolphin (4.13.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
I had just changed the file name while in tree view. Then, I attempted to unfold a directory with the right arrow. As per the possible supposedly-fixed dupe (Bug 294616), the "folder view tree becomes garbled". Some directories were in the wrong place, but I'm not sure exactly what, since it crashed immediately. Also, unlike the possible dupe, filtering was not on.

-- Backtrace:
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 0x7fd3cfbbd7c0 (LWP 3810))]

Thread 3 (Thread 0x7fd3b1fec700 (LWP 3811)):
#0  0x00007fd3cf4a3ec6 in pthread_mutex_lock (mutex=0x7fd3ac000a60) at forward.c:192
#1  0x00007fd3c643b991 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd3c63f90b0 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd3c63f9ea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd3c63fa0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd3cb4f97be in QEventDispatcherGlib::processEvents (this=0x7fd3ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fd3cb4cb0af in QEventLoop::processEvents (this=this@entry=0x7fd3b1febde0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd3cb4cb3a5 in QEventLoop::exec (this=this@entry=0x7fd3b1febde0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd3cb3c7c5f in QThread::exec (this=this@entry=0x14d0010) at thread/qthread.cpp:537
#9  0x00007fd3cb4ac823 in QInotifyFileSystemWatcherEngine::run (this=0x14d0010) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fd3cb3ca32f in QThreadPrivate::start (arg=0x14d0010) at thread/qthread_unix.cpp:349
#11 0x00007fd3c68d9182 in start_thread (arg=0x7fd3b1fec700) at pthread_create.c:312
#12 0x00007fd3cf49630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fd3b168c700 (LWP 3812)):
#0  0x00007fd3cf488fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd3c63f9fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd3c63fa0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd3cb4f97be in QEventDispatcherGlib::processEvents (this=0x7fd3a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fd3cb4cb0af in QEventLoop::processEvents (this=this@entry=0x7fd3b168be20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd3cb4cb3a5 in QEventLoop::exec (this=this@entry=0x7fd3b168be20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd3cb3c7c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007fd3cb3ca32f in QThreadPrivate::start (arg=0x1591360) at thread/qthread_unix.cpp:349
#8  0x00007fd3c68d9182 in start_thread (arg=0x7fd3b168c700) at pthread_create.c:312
#9  0x00007fd3cf49630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fd3cfbbd7c0 (LWP 3810)):
[KCrash Handler]
#6  0x00007fd3ce797792 in value (akey=..., this=0x19bde68) at /usr/include/qt4/QtCore/qhash.h:609
#7  KFileItemModel::expandedParentsCount (data=data@entry=0x1e80810) at ../../../dolphin/src/kitemviews/kfileitemmodel.cpp:1286
#8  0x00007fd3ce798fc0 in KFileItemModel::lessThan (this=this@entry=0x1547690, a=a@entry=0xbe21f0, b=0x1e80810) at ../../../dolphin/src/kitemviews/kfileitemmodel.cpp:1542
#9  0x00007fd3ce7a0bd1 in KFileItemModel::insertItems (this=0x1547690, newItems=...) at ../../../dolphin/src/kitemviews/kfileitemmodel.cpp:1126
#10 0x00007fd3ce7a121f in KFileItemModel::dispatchPendingItemsToInsert (this=0x1d8d0e8) at ../../../dolphin/src/kitemviews/kfileitemmodel.cpp:1065
#11 0x00007fd3ce7a13b2 in KFileItemModel::slotCompleted (this=0x1547690) at ../../../dolphin/src/kitemviews/kfileitemmodel.cpp:816
#12 0x00007fd3cb4e087a in QMetaObject::activate (sender=sender@entry=0x1547840, m=m@entry=0x7fd3cd6c9d60 <KDirLister::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff26589be0) at kernel/qobject.cpp:3539
#13 0x00007fd3cd33a6a5 in KDirLister::completed (this=this@entry=0x1547840, _t1=...) at ./kdirlister.moc:233
#14 0x00007fd3cd347a4f in KDirListerCache::emitItemsFromCache (this=0x14db210, cachedItemsJob=cachedItemsJob@entry=0x24b0750, lister=lister@entry=0x1547840, _url=..., _reload=_reload@entry=false, _emitCompleted=<optimized out>) at ../../kio/kio/kdirlister.cpp:356
#15 0x00007fd3cd347bca in KDirLister::Private::CachedItemsJob::done (this=0x24b0750) at ../../kio/kio/kdirlister.cpp:307
#16 0x00007fd3cb4e4c1e in QObject::event (this=0x24b0750, e=<optimized out>) at kernel/qobject.cpp:1194
#17 0x00007fd3cbebee2c in QApplicationPrivate::notify_helper (this=this@entry=0xa08f20, receiver=receiver@entry=0x24b0750, e=e@entry=0x1e6be40) at kernel/qapplication.cpp:4567
#18 0x00007fd3cbec54a0 in QApplication::notify (this=this@entry=0x7fff2658a410, receiver=receiver@entry=0x24b0750, e=e@entry=0x1e6be40) at kernel/qapplication.cpp:4353
#19 0x00007fd3ccbc9baa in KApplication::notify (this=0x7fff2658a410, receiver=0x24b0750, event=0x1e6be40) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007fd3cb4cc4dd in QCoreApplication::notifyInternal (this=0x7fff2658a410, receiver=receiver@entry=0x24b0750, event=event@entry=0x1e6be40) at kernel/qcoreapplication.cpp:953
#21 0x00007fd3cb4cfb3d in sendEvent (event=0x1e6be40, receiver=0x24b0750) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9d9120) at kernel/qcoreapplication.cpp:1577
#23 0x00007fd3cb4cffe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#24 0x00007fd3cb4f9f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#25 postEventSourceDispatch (s=0xa183e0) at kernel/qeventdispatcher_glib.cpp:287
#26 0x00007fd3c63f9e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fd3c63fa048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fd3c63fa0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fd3cb4f97a1 in QEventDispatcherGlib::processEvents (this=0x9daa00, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#30 0x00007fd3cbf60bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fd3cb4cb0af in QEventLoop::processEvents (this=this@entry=0x7fff2658a2e0, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007fd3cb4cb3a5 in QEventLoop::exec (this=this@entry=0x7fff2658a2e0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007fd3cb4d0b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#34 0x00007fd3cbebd37c in QApplication::exec () at kernel/qapplication.cpp:3828
#35 0x00007fd3cf7b14f7 in kdemain (argc=5, argv=0x7fff2658a548) at ../../../dolphin/src/main.cpp:93
#36 0x00007fd3cf3bcec5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=5, argv=0x7fff2658a548, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff2658a538) at libc-start.c:287
#37 0x00000000004006fe in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 294616.

Possible duplicates by query: bug 305283.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2014-05-12 12:22:14 UTC
Thanks for the bug report. This looks pretty much like bug 332102. There is a patch for that already, which we will hopefully get into Dolphin 4.13.2.

Please reopen this report if either

(a) You can test the patch from https://git.reviewboard.kde.org/r/118055/ and you still see the crash, or

(b) You can still reproduce the crash after you have updated your system to a future Dolphin version which contains the fix (probably 4.13.2).

Thanks for your help.

*** This bug has been marked as a duplicate of bug 332102 ***