Bug 411503

Summary: Dolphin crashes when entering a folder
Product: [Applications] dolphin Reporter: Marcus U <unclemarcus91>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: elvis.angelaccio, justin.zobel
Priority: NOR Keywords: drkonqi
Version: 18.08.0   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Valgrind (memcheck) log

Description Marcus U 2019-09-01 17:06:23 UTC
Application: dolphin (18.08.0)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.19.0-5-amd64 x86_64
Distribution: Debian GNU/Linux 10 (buster)

-- Information about the crash:
Dolphin crashes very consistently when entering a folder by clicking its icon. Most of the time I can't make it more than 2-3 clicks deep before a crash, rendering the program essentially unusable. For some reason crashes are most frequent when clicking a folder icon, using Back / Forward buttons, or clicking a folder name in the breadcrumb trail / location bar. Crashes are far less frequent when entering a folder through a sidebar entry (e.g. a folder I have added to Places, or a removable device). There does not appear to be a pattern to the kinds of folders this happens with (containing any particular types of files, being located on a specific physical device / partition). I have not managed to reproduce this crash by entering any path into the location bar directly. No other file manager (tried both Konqueror and pcmanfm) exhibits any kind of odd behaviour. I have run debsums with no errors and dropped all caches to eliminate memory corruption as a potential cause, neither of which helped.

The crash can be reproduced every time.

-- 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 0x7f09031f1840 (LWP 8254))]

Thread 6 (Thread 0x7f08ebfff700 (LWP 8300)):
#0  __GI___libc_read (nbytes=16, buf=0x7f08ebffeb40, fd=19) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=19, buf=buf@entry=0x7f08ebffeb40, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f0906a19aa0 in read (__nbytes=16, __buf=0x7f08ebffeb40, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f08f40039a0) at ../../../glib/gwakeup.c:210
#4  0x00007f09069d3c0f in g_main_context_check (context=context@entry=0x7f08e0000bf0, max_priority=2147483647, fds=fds@entry=0x7f08e00049b0, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3698
#5  0x00007f09069d40e0 in g_main_context_iterate (context=context@entry=0x7f08e0000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3917
#6  0x00007f09069d425c in g_main_context_iteration (context=0x7f08e0000bf0, may_block=may_block@entry=1) at ../../../glib/gmain.c:3981
#7  0x00007f0908cb287b in QEventDispatcherGlib::processEvents (this=0x7f08e0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f0908c6027b in QEventLoop::exec (this=this@entry=0x7f08ebffed60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f0908aafec6 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f0908ab9aa7 in QThreadPrivate::start (arg=0x55636dad0b60) at thread/qthread_unix.cpp:367
#11 0x00007f09074a0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#12 0x00007f090ab904cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f08fa4ed700 (LWP 8299)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55636d6bf278) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55636d6bf228, cond=0x55636d6bf250) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55636d6bf250, mutex=0x55636d6bf228) at pthread_cond_wait.c:655
#3  0x00007f08fb593353 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f08fb5930a7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f09074a0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f090ab904cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f08fae2f700 (LWP 8298)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55636d9946f0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55636d9946a0, cond=0x55636d9946c8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55636d9946c8, mutex=0x55636d9946a0) at pthread_cond_wait.c:655
#3  0x00007f08fb593353 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f08fb5930a7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f09074a0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f090ab904cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f0901456700 (LWP 8275)):
#0  0x00007f090ab85819 in __GI___poll (fds=0x7f08f401b330, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f09069d4136 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f08f401b330, timeout=<optimized out>, context=0x7f08f4000bf0) at ../../../glib/gmain.c:4221
#2  g_main_context_iterate (context=context@entry=0x7f08f4000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3915
#3  0x00007f09069d425c in g_main_context_iteration (context=0x7f08f4000bf0, may_block=may_block@entry=1) at ../../../glib/gmain.c:3981
#4  0x00007f0908cb287b in QEventDispatcherGlib::processEvents (this=0x7f08f4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f0908c6027b in QEventLoop::exec (this=this@entry=0x7f0901455d30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f0908aafec6 in QThread::exec (this=this@entry=0x7f0908f88d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f0908f08545 in QDBusConnectionManager::run (this=0x7f0908f88d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f0908ab9aa7 in QThreadPrivate::start (arg=0x7f0908f88d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#9  0x00007f09074a0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#10 0x00007f090ab904cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f090242d700 (LWP 8270)):
#0  0x00007f090ab85819 in __GI___poll (fds=fds@entry=0x7f090242cc78, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0906815cf7 in poll (__timeout=-1, __nfds=1, __fds=0x7f090242cc78) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x55636d672030, cond=cond@entry=0x55636d672070, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:479
#3  0x00007f090681791a in xcb_wait_for_event (c=0x55636d672030) at ../../src/xcb_in.c:697
#4  0x00007f0902d9fd79 in QXcbEventReader::run (this=0x55636d657c00) at qxcbconnection.h:409
#5  0x00007f0908ab9aa7 in QThreadPrivate::start (arg=0x55636d657c00) at thread/qthread_unix.cpp:367
#6  0x00007f09074a0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#7  0x00007f090ab904cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f09031f1840 (LWP 8254)):
[KCrash Handler]
#6  0x00007f0902e5d80c in QAccessibleInterface::tableCellInterface (this=0x0) at ../../../include/QtGui/../../src/gui/accessible/qaccessible.h:509
#7  AtSpiAdaptor::tableInterface (this=0x55636dc67180, interface=0x55636dd5a740, function=..., message=..., connection=...) at atspiadaptor.cpp:2435
#8  0x00007f0902e602b9 in AtSpiAdaptor::handleMessage (this=this@entry=0x55636dc67180, message=..., connection=...) at atspiadaptor.cpp:1290
#9  0x00007f0908f17df9 in QDBusConnectionPrivate::activateObject (this=0x7f08f4014810, node=..., msg=..., pathStartPos=27) at qdbusconnection_p.h:345
#10 0x00007f0908f1a8ce in QDBusActivateObjectEvent::placeMetaCall (this=0x7f08f40866b0) at qdbusintegrator.cpp:1597
#11 0x00007f0908c8b182 in QObject::event (this=0x55636dc67180, e=<optimized out>) at kernel/qobject.cpp:1251
#12 0x00007f09096744b1 in QApplicationPrivate::notify_helper (this=this@entry=0x55636d6617a0, receiver=receiver@entry=0x55636dc67180, e=e@entry=0x7f08f40866b0) at kernel/qapplication.cpp:3726
#13 0x00007f090967b950 in QApplication::notify (this=0x7fff840260a0, receiver=0x55636dc67180, e=0x7f08f40866b0) at kernel/qapplication.cpp:3485
#14 0x00007f0908c615a9 in QCoreApplication::notifyInternal2 (receiver=0x55636dc67180, event=0x7f08f40866b0) at ../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#15 0x00007f0908c6459b in QCoreApplication::sendEvent (event=0x7f08f40866b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55636d65f7f0) at kernel/qcoreapplication.cpp:1744
#17 0x00007f0908cb3233 in postEventSourceDispatch (s=0x55636d6b84e0) at kernel/qeventdispatcher_glib.cpp:276
#18 0x00007f09069d3f2e in g_main_dispatch (context=0x7f08fc004ff0) at ../../../glib/gmain.c:3182
#19 g_main_context_dispatch (context=context@entry=0x7f08fc004ff0) at ../../../glib/gmain.c:3847
#20 0x00007f09069d41c8 in g_main_context_iterate (context=context@entry=0x7f08fc004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3920
#21 0x00007f09069d425c in g_main_context_iteration (context=0x7f08fc004ff0, may_block=may_block@entry=1) at ../../../glib/gmain.c:3981
#22 0x00007f0908cb2863 in QEventDispatcherGlib::processEvents (this=0x55636d6c0620, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#23 0x00007f0902e363e1 in QPAEventDispatcherGlib::processEvents (this=0x55636d6c0620, flags=...) at qeventdispatcher_glib.cpp:69
#24 0x00007f0908c6027b in QEventLoop::exec (this=this@entry=0x7fff84025fa0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#25 0x00007f0908c68262 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#26 0x00007f090909bbdc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1762
#27 0x00007f0909674425 in QApplication::exec () at kernel/qapplication.cpp:2900
#28 0x00007f090ac9cf80 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:166
#29 0x00007f090aabb09b in __libc_start_main (main=0x55636b8ea050 <main>, argc=1, argv=0x7fff84026228, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff84026218) at ../csu/libc-start.c:308
#30 0x000055636b8ea08a in _start ()
[Inferior 1 (process 8254) detached]

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2019-09-01 18:05:27 UTC
Please provide a valgrind log if you are able to reproduce this crash.
Comment 2 Marcus U 2019-09-02 04:52:18 UTC
Created attachment 122450 [details]
Valgrind (memcheck) log
Comment 3 Marcus U 2019-09-02 05:38:59 UTC
A note on reproducibility: this crash appears to have something to do with the screen reader (orca). Occasionally this bug occurs after the screen reader has been enabled, and at other times for a period of time after being disabled. Some combination of enabling / disabling the screen reader in the Screen Reader tab in Accessibility Options (KDE system settings) and the Speech tab in Orca configuration (orca -s) seems to trigger a state where I can reliably reproduce this crash (but I can't trigger the state particularly reliably). The screen reader was disabled at the time I reported the bug, but I had been playing around with it previously. I only investigated closer today when the bug appeared to have vanished overnight without any intervening restarts or any other forms of magic commonly known to fix systems.
Comment 4 Justin Zobel 2020-11-19 07:06:09 UTC
Thanks for the report Marcus. I've just tested on dolphin 20.08.3 and I cannot reproduce this issue.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 5 Bug Janitor Service 2020-12-04 04:34:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2020-12-19 04:35:46 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!