Bug 421494 - Dolphin crashes when creating new folder with existing folder name
Summary: Dolphin crashes when creating new folder with existing folder name
Status: RESOLVED UPSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.04.0
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-14 01:53 UTC by sm.emon002
Modified: 2020-06-05 00:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
trace file with debugging symbol on (9.12 KB, text/plain)
2020-05-19 08:51 UTC, sm.emon002
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sm.emon002 2020-05-14 01:53:05 UTC
SUMMARY
Trying to create new folder with existing folder name, dolphin crashes.

STEPS TO REPRODUCE
1. Create new folder with existing folder name
2. May not crash at first try.
3. For me crashed almost every second or first try.

OBSERVED RESULT

Dolphin Crashes.


EXPECTED RESULT

Show warning about existing folder.

SOFTWARE/OS VERSIONS
Linus: Manjaro 20.04
Linux/KDE Plasma: Linux (x86_64) release 5.6.11-1-MANJARO
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2 (built against 5.14.2)

ADDITIONAL INFORMATION

Terminal output:

[smie@smie-pc ~]$ dolphin
kf5.kio.core: We got some errors while running testparm "Error loading services."
kf5.kio.core: We got some errors while running 'net usershare info'
kf5.kio.core: "Can't load /etc/samba/smb.conf - run testparm to debug it\n"
"A folder named /home/smie/a already exists."
"A folder named /home/smie/a already exists."
Segmentation fault (core dumped)
Comment 1 Julian Steinmann 2020-05-17 09:06:54 UTC
I cannot reproduce this behavior with Dolphin 20.07.70 on Neon Unstable, despite trying multiple times. If you still experience the behavior, we'd need a backtrace (with debug symbols if possible) to further diagnose and fix the issue.
Comment 2 sm.emon002 2020-05-18 01:39:33 UTC
I am using Dolphin 20.04.0. Still it happens. For some folder it takes 8~9 try, for some folder it takes 1~2 tries. For me creating 'Desktop' folder crashes almost after 1~2 try. I opened Dolphin, pressed F10, typed 'Desktop' and pressed ENTER. Try with my version dolphin.

If it doesn't recreate the crash, then I think it will take someday to provide you with the information you need. Because, currently I am using Arch Linux. After searching internet, I found there is no debug symbol in arch. So the only way is to compile it my self. I have compiled some program by my self. But I didn't compiled with debug option enable. Currently I am trying to learn. Thank you for your time.
Comment 3 Julian Steinmann 2020-05-18 06:22:13 UTC
I have now tried ~20 times, but never succeeded in reproducing the crash.

It's not a problem if we have to wait a bit, take your time.
Comment 4 sm.emon002 2020-05-19 05:37:23 UTC
Did you want this?

Starting program: /home/smie/Documents/dolphin-20.04.0/bin/dolphin 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff02e4700 (LWP 15701)]
[New Thread 0x7fffef7a3700 (LWP 15702)]
[New Thread 0x7fffec947700 (LWP 15706)]
[New Thread 0x7fffdabd5700 (LWP 15707)]
[New Thread 0x7fffd23d4700 (LWP 15708)]
[New Thread 0x7fffda3d4700 (LWP 15709)]
[New Thread 0x7fffd9019700 (LWP 15710)]
[Detaching after fork from child process 15713]
[Detaching after fork from child process 15787]
kf5.kio.core: We got some errors while running testparm "Error loading services."
[Detaching after fork from child process 15788]
kf5.kio.core: We got some errors while running 'net usershare info'
kf5.kio.core: "Can't load /etc/samba/smb.conf - run testparm to debug it\n"
"A folder named /home/smie/Desktop already exists."
"A folder named /home/smie/Desktop already exists."
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2958, resource id: 56808183, major code: 40 (TranslateCoords), minor code: 0

Thread 1 "dolphin" received signal SIGSEGV, Segmentation fault.
0x00007ffff5a199d0 in QObjectPrivate::maybeSignalConnected(unsigned int) const () from /usr/lib/libQt5Core.so.5
Comment 5 sm.emon002 2020-05-19 08:51:57 UTC
Created attachment 128607 [details]
trace file with debugging symbol on
Comment 6 sm.emon002 2020-05-19 09:39:06 UTC
May be this is the right backtrace

Starting program: /home/smie/Documents/dolphin-20.04.0/bin/dolphin 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff02d0700 (LWP 29495)]
[New Thread 0x7fffef78f700 (LWP 29496)]
[New Thread 0x7fffec933700 (LWP 29498)]
[New Thread 0x7fffdabd5700 (LWP 29499)]
[New Thread 0x7fffd23d4700 (LWP 29500)]
[New Thread 0x7fffda3d4700 (LWP 29501)]
[New Thread 0x7fffd9009700 (LWP 29502)]
[Detaching after fork from child process 29504]
[Detaching after fork from child process 29584]
kf5.kio.core: We got some errors while running testparm "Error loading services."
[Detaching after fork from child process 29585]
kf5.kio.core: We got some errors while running 'net usershare info'
kf5.kio.core: "Can't load /etc/samba/smb.conf - run testparm to debug it\n"
"A folder named /home/smie/Desktop already exists."
"A folder named /home/smie/Desktop already exists."
"A folder named /home/smie/Desktop already exists."
"A folder named /home/smie/Desktop already exists."

Thread 1 "dolphin" received signal SIGSEGV, Segmentation fault.
0x00007ffff5a117fe in ?? () from /usr/lib/libQt5Core.so.5
(gdb) thread apply all backtrace

Thread 8 (Thread 0x7fffd9009700 (LWP 29502)):
#0  0x00007ffff531aabf in poll () from /usr/lib/libc.so.6
#1  0x00007ffff3df64a0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff3df6571 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff5a34890 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff59db05c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff57ffc62 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ffff5800dd6 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007ffff4e7e46f in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007ffff53253d3 in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fffda3d4700 (LWP 29501)):
#0  0x00007ffff4e84cf5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fffed83365c in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007fffed832e08 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007ffff4e7e46f in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007ffff53253d3 in clone () from /usr/lib/libc.so.6
--Type <RET> for more, q to quit, c to continue without paging--c

Thread 6 (Thread 0x7fffd23d4700 (LWP 29500)):
#0  0x00007ffff4e84cf5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fffed83365c in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007fffed832e08 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007ffff4e7e46f in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007ffff53253d3 in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fffdabd5700 (LWP 29499)):
#0  0x00007ffff4e84cf5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fffed83365c in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007fffed832e08 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007ffff4e7e46f in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007ffff53253d3 in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fffec933700 (LWP 29498)):
#0  0x00007ffff4e84cf5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fffed83365c in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007fffed832e08 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007ffff4e7e46f in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007ffff53253d3 in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fffef78f700 (LWP 29496)):
#0  0x00007ffff531aabf in poll () from /usr/lib/libc.so.6
#1  0x00007ffff3df64a0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff3df6571 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff5a34890 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff59db05c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff57ffc62 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ffff6b13b28 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007ffff5800dd6 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007ffff4e7e46f in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ffff53253d3 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7ffff02d0700 (LWP 29495)):
#0  0x00007ffff531aabf in poll () from /usr/lib/libc.so.6
#1  0x00007ffff477863b in ?? () from /usr/lib/libxcb.so.1
#2  0x00007ffff477a37b in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007ffff0499e01 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ffff5800dd6 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff4e7e46f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff53253d3 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff08becc0 (LWP 29491)):
#0  0x00007ffff5a117fe in ?? () from /usr/lib/libQt5Core.so.5
#1  0x00007ffff5e4a8d7 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/libQt5Gui.so.5
#2  0x00007ffff5e4f8db in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#3  0x00007ffff5e27c5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#4  0x00007ffff049ae2c in ?? () from /usr/lib/libQt5XcbQpa.so.5
#5  0x00007ffff3df46be in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6  0x00007ffff3df6531 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0x00007ffff3df6571 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0x00007ffff5a34890 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#9  0x00007ffff59db05c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#10 0x00007ffff59e3066 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#11 0x00007ffff7e91f23 in kdemain (argc=1, argv=0x7fffffffdec8) at /home/smie/Documents/dolphin-20.04.0/src/main.cpp:189
#12 0x000055555555517b in main (argc=1, argv=0x7fffffffdec8) at /home/smie/Documents/dolphin-20.04.0/src/dolphin_dummy.cpp:3
Comment 7 Bug Janitor Service 2020-06-03 04:33:11 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 8 Christoph Feck 2020-06-05 00:11:51 UTC
The backtrace does not reveal an issue in Dolphin; it crashes in Qt event processing.