Bug 393249 - Dolphin crashes when copying files between tabs
Summary: Dolphin crashes when copying files between tabs
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 17.12.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-04-18 12:12 UTC by Angel
Modified: 2021-01-09 16:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
valgrind log (25.34 KB, text/plain)
2018-06-18 14:47 UTC, Angel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angel 2018-04-18 12:12:53 UTC
Application: dolphin (17.12.3)

Qt Version: 5.10.0
Frameworks Version: 5.45.0
Operating System: Linux 4.13.0-38-generic x86_64
Distribution: KDE neon User Edition 5.12

-- Information about the crash:
- What I was doing when the application crashed:

It's a very common crash on my system. I just drag and drop file(s) of any type, size, or whatever...between two tabs, and crash. The search does not show any duplicate bug, but from the "user side" looks like too much similar with my archived bugs to ignore it.

The crash can be reproduced sometimes.

-- 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 0x7f4f3abb88c0 (LWP 12967))]

Thread 10 (Thread 0x7f4f0a201700 (LWP 12978)):
#0  0x00007f4f3a4fa74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f4f2d4ed38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4f2d4ed49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4f347485cb in QEventDispatcherGlib::processEvents (this=0x7f4f040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f4f346ef64a in QEventLoop::exec (this=this@entry=0x7f4f0a200d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f4f3450f554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007f4f345146eb in QThreadPrivate::start (arg=0x26cab20) at thread/qthread_unix.cpp:376
#7  0x00007f4f2f82f6ba in start_thread (arg=0x7f4f0a201700) at pthread_create.c:333
#8  0x00007f4f3a50641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f4f0ddb8700 (LWP 12977)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4f1aa2958b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f4f1aa29298 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f4f2f82f6ba in start_thread (arg=0x7f4f0ddb8700) at pthread_create.c:333
#4  0x00007f4f3a50641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f4f0e5b9700 (LWP 12976)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4f1aa2958b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f4f1aa29298 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f4f2f82f6ba in start_thread (arg=0x7f4f0e5b9700) at pthread_create.c:333
#4  0x00007f4f3a50641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f4f0edba700 (LWP 12975)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4f1aa2958b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f4f1aa29298 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f4f2f82f6ba in start_thread (arg=0x7f4f0edba700) at pthread_create.c:333
#4  0x00007f4f3a50641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f4f0f5bb700 (LWP 12974)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4f1aa2958b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f4f1aa29298 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f4f2f82f6ba in start_thread (arg=0x7f4f0f5bb700) at pthread_create.c:333
#4  0x00007f4f3a50641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f4f0fdbc700 (LWP 12973)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4f1aa2958b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f4f1aa29298 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f4f2f82f6ba in start_thread (arg=0x7f4f0fdbc700) at pthread_create.c:333
#4  0x00007f4f3a50641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f4f105bd700 (LWP 12972)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4f1aa2958b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f4f1aa29298 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f4f2f82f6ba in start_thread (arg=0x7f4f105bd700) at pthread_create.c:333
#4  0x00007f4f3a50641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f4f19610700 (LWP 12971)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4f1aa2958b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f4f1aa29298 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f4f2f82f6ba in start_thread (arg=0x7f4f19610700) at pthread_create.c:333
#4  0x00007f4f3a50641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f4f20a26700 (LWP 12970)):
#0  0x00007f4f3a4fa74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f4f2d4ed38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4f2d4ed49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4f347485cb in QEventDispatcherGlib::processEvents (this=0x7f4f140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f4f346ef64a in QEventLoop::exec (this=this@entry=0x7f4f20a25cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f4f3450f554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007f4f34b6b2c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f4f345146eb in QThreadPrivate::start (arg=0x7f4f34ddfd60) at thread/qthread_unix.cpp:376
#8  0x00007f4f2f82f6ba in start_thread (arg=0x7f4f20a26700) at pthread_create.c:333
#9  0x00007f4f3a50641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f4f3abb88c0 (LWP 12967)):
[KCrash Handler]
#6  0x00007f4f346f3fd2 in QScopedPointerDeleter<QEvent>::cleanup (pointer=0x2cdbfc0) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:60
#7  QScopedPointer<QEvent, QScopedPointerDeleter<QEvent> >::~QScopedPointer (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#8  QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x21a90c0) at kernel/qcoreapplication.cpp:1716
#9  0x00007f4f346f4438 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1573
#10 0x00007f4f34748fa3 in postEventSourceDispatch (s=0x21ff1d0) at kernel/qeventdispatcher_glib.cpp:276
#11 0x00007f4f2d4ed197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f4f2d4ed3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f4f2d4ed49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f4f347485af in QEventDispatcherGlib::processEvents (this=this@entry=0x21fa0f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#15 0x00007f4f253591a1 in QPAEventDispatcherGlib::processEvents (this=0x21fa0f0, flags=...) at qeventdispatcher_glib.cpp:69
#16 0x00007f4f346ef64a in QEventLoop::exec (this=this@entry=0x7ffd130f9170, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#17 0x00007f4f346f8854 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332
#18 0x00007f4f3a80c91a in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#19 0x00007f4f3a41f830 in __libc_start_main (main=0x4006b0, argc=1, argv=0x7ffd130f9438, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd130f9428) at ../csu/libc-start.c:291
#20 0x00000000004006e9 in _start ()

Reported using DrKonqi
Comment 1 Julian Steinmann 2018-04-18 13:07:56 UTC
Thanks for reporting this crash! The backtrace looks a bit weird to me (many threads with driver related stuff...). Does this issue only happen when dragging files between tabs?
Comment 2 Angel 2018-04-18 13:47:14 UTC
(In reply to Julian Schraner from comment #1)
> Thanks for reporting this crash! The backtrace looks a bit weird to me (many
> threads with driver related stuff...). Does this issue only happen when
> dragging files between tabs?

You are welcome...and yes. Not always, but it happens very often in this single situation, drag & drop between tabs. Dolphin is stable and it's the only noticeable bug that I could ever find.
Comment 3 Julian Steinmann 2018-04-19 10:57:48 UTC
Thanks for the quick response, I edited the title to be more accurate. Even though it's not easy to fix crashes that only appear at random, we'll surely try to look into this bug.
Comment 4 Angel 2018-04-19 11:49:05 UTC
(In reply to Julian Schraner from comment #3)
> Thanks for the quick response, I edited the title to be more accurate. Even
> though it's not easy to fix crashes that only appear at random, we'll surely
> try to look into this bug.

I saw you and Elvis Angelaccio comment others bug I published here -Bugs 363131 and 364038-, it could be related? in all these cases -always from the user's perspective, I'm not computer engineer- I was basically trying to do the same thing.
Comment 5 Julian Steinmann 2018-04-19 12:32:17 UTC
Hmm, actually all of these bugs might have the same root cause. I suspect that they are all duplicates of bug 368199, but I am not entirely sure... The backtraces look similar & the same action caused the crash. 
@Elvis, could you confirm that the three bugs Angel mentioned (this one, bug 363131 & bug 364038) are dups of bug 368199? 

If that would be the case, it'd be helpful to have a valgrind log available.
Comment 6 Angel 2018-04-19 13:31:24 UTC
(In reply to Julian Schraner from comment #5)
> Hmm, actually all of these bugs might have the same root cause. I suspect
> that they are all duplicates of bug 368199, but I am not entirely sure...
> The backtraces look similar & the same action caused the crash. 
> @Elvis, could you confirm that the three bugs Angel mentioned (this one, bug
> 363131 & bug 364038) are dups of bug 368199? 
> 
> If that would be the case, it'd be helpful to have a valgrind log available.

Ok, now valgrind is installed and waiting for a crash.
Comment 7 Elvis Angelaccio 2018-04-22 15:12:23 UTC
This one could be a duplicate of bug 368199 (even though the stacktrace is different), the other two look unrelated to me.
Comment 8 Angel 2018-06-18 14:47:48 UTC
Created attachment 113410 [details]
valgrind log

After a long time trying, I think this may be the bug log which we were waiting for.
Comment 9 Elvis Angelaccio 2018-06-18 20:29:24 UTC
Almost there. Please install debug symbols for dolphin and then try to get a new valgrind log. Thanks!
Comment 10 Justin Zobel 2020-12-17 05:38:33 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 11 Angel 2020-12-18 21:49:09 UTC
(In reply to Justin Zobel from comment #10)
> Thank you for the crash report.
> 
> As it has been a while since this was reported, can you please test and
> confirm if this issue is still occurring or if this bug report can be marked
> as resolved.
> 
> I have set the bug status to "needsinfo" pending your response, please
> change back to "reported" or "resolved/worksforme" when you respond, thank
> you.

I haven't seen it again for a long time.
Comment 12 Bug Janitor Service 2021-01-02 04:34:10 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 13 Christoph Feck 2021-01-09 16:47:56 UTC
Thanks for the update; changing status.