Bug 289571 - Dolphin crash when toggling Show hidden files twice after layout change
Summary: Dolphin crash when toggling Show hidden files twice after layout change
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 1.99
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 09:49 UTC by JR
Modified: 2011-12-22 10:02 UTC (History)
1 user (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 JR 2011-12-22 09:49:15 UTC
Application: dolphin (1.99)
KDE Platform Version: 4.7.90 (4.8 Beta2 (4.7.90)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Kubuntu 11.10 amd64, KDE 4.7.90 from kubuntu-beta ppa. dolphin --version reports v1.99.

- What I was doing when the application crashed:
After altering the layout of Dolphin I wanted to check the current directory for hidden content, and Dolphin crashed upon toggling Show hidden files on -> off.

- How to reproduce:
1. In Dolphin, toggle Menubar *or* toggle the toolbar. It doesn't seem to matter to which state you toggle as long as it redraws the layout
2. Toggle Show hidden files (at which point no hidden files get shown unless you change directory or restart application, different bug but may be the cause behind this one)
3. Toggle Show hidden files again
4. Observe crash

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f4cd284a700 (LWP 11513)):
#0  0x00007f4ce4a37773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4cdd12cf68 in g_main_context_poll (n_fds=1, fds=0x7f4ccc0024a0, timeout=-1, context=0x7f4ccc0009a0, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2  g_main_context_iterate (context=0x7f4ccc0009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0x00007f4cdd12d429 in g_main_context_iteration (context=0x7f4ccc0009a0, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#4  0x00007f4ce0e44f3e in QEventDispatcherGlib::processEvents (this=0x7f4ccc0008b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f4ce0e18cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4ce0e18ef7 in QEventLoop::exec (this=0x7f4cd2849dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f4ce0d3027f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f4ce0dfbcbf in QInotifyFileSystemWatcherEngine::run (this=0xe41640) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f4ce0d32d05 in QThreadPrivate::start (arg=0xe41640) at thread/qthread_unix.cpp:331
#10 0x00007f4cdd5feefc in start_thread (arg=0x7f4cd284a700) at pthread_create.c:304
#11 0x00007f4ce4a4389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4ce5157780 (LWP 11512)):
[KCrash Handler]
#6  QUrl::QUrl (this=0x7ffff1f03b80, other=...) at io/qurl.cpp:4174
#7  0x00007f4ce1271da9 in KUrl::KUrl (this=0x7ffff1f03b80, _u=<optimized out>) at ../../kdecore/io/kurl.cpp:490
#8  0x00007f4ce2a88420 in KFileItem::url (this=<optimized out>) at ../../kio/kio/kfileitem.cpp:1368
#9  0x00007f4ce3d946fe in qHash (item=...) at /usr/include/KDE/../kfileitem.h:654
#10 QHash<KFileItem, QHashDummyValue>::findNode (this=0xeffd58, akey=..., ahp=0x0) at /usr/include/qt4/QtCore/qhash.h:880
#11 0x00007f4ce3d948af in QHash<KFileItem, QHashDummyValue>::remove (this=0xeffd58, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:789
#12 0x00007f4ce3d929c3 in remove (value=..., this=0xeffd58) at /usr/include/qt4/QtCore/qset.h:84
#13 KFileItemModelRolesUpdater::resolvePendingRoles (this=0xeffd10) at ../../../dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp:431
#14 0x00007f4ce3d9322c in KFileItemModelRolesUpdater::qt_metacall (this=0xeffd10, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffff1f03dd0) at ./kfileitemmodelrolesupdater.moc:93
#15 0x00007f4ce0e2ceba in QMetaObject::activate (sender=0xeff0a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#16 0x00007f4ce0e30789 in QObject::event (this=0xeff0a0, e=<optimized out>) at kernel/qobject.cpp:1181
#17 0x00007f4ce181a424 in notify_helper (e=0x7ffff1f04330, receiver=0xeff0a0, this=0xc3efe0) at kernel/qapplication.cpp:4486
#18 QApplicationPrivate::notify_helper (this=0xc3efe0, receiver=0xeff0a0, e=0x7ffff1f04330) at kernel/qapplication.cpp:4458
#19 0x00007f4ce181f291 in QApplication::notify (this=0x7ffff1f04630, receiver=0xeff0a0, e=0x7ffff1f04330) at kernel/qapplication.cpp:4365
#20 0x00007f4ce252e466 in KApplication::notify (this=0x7ffff1f04630, receiver=0xeff0a0, event=0x7ffff1f04330) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f4ce0e19afc in QCoreApplication::notifyInternal (this=0x7ffff1f04630, receiver=0xeff0a0, event=0x7ffff1f04330) at kernel/qcoreapplication.cpp:787
#22 0x00007f4ce0e46d62 in sendEvent (event=0x7ffff1f04330, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0xc419d0) at kernel/qeventdispatcher_unix.cpp:603
#24 0x00007f4ce0e44514 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#25 0x00007f4cdd12ca5d in g_main_dispatch (context=0xc41800) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#26 g_main_context_dispatch (context=0xc41800) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#27 0x00007f4cdd12d258 in g_main_context_iterate (context=0xc41800, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#28 0x00007f4cdd12d429 in g_main_context_iteration (context=0xc41800, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#29 0x00007f4ce0e44ed6 in QEventDispatcherGlib::processEvents (this=0xc20a00, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007f4ce18c207e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f4ce0e18cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f4ce0e18ef7 in QEventLoop::exec (this=0x7ffff1f045c0, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f4ce0e1d789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#34 0x00007f4ce4d48e3d in kdemain (argc=5, argv=0x7ffff1f04b98) at ../../../dolphin/src/main.cpp:91
#35 0x00007f4ce498330d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=5, ubp_av=0x7ffff1f04b98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff1f04b88) at libc-start.c:226
#36 0x0000000000400671 in _start ()

Possible duplicates by query: bug 288781, bug 282108.

Reported using DrKonqi
Comment 1 JR 2011-12-22 09:51:49 UTC
It seems to only occur in Icon and Compact views.
Comment 2 Peter Penz 2011-12-22 10:02:26 UTC
Thanks for the report, this has been fixed just recently.