Bug 430378

Summary: Pasting a folder which requires 'apply to all' box ticking, causes crash
Product: [Applications] dolphin Reporter: l33l
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: elvis.angelaccio, kfm-devel, l12436.tw
Priority: NOR    
Version: 20.12.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description l33l 2020-12-14 14:51:47 UTC
SUMMARY
Pasting a folder which requires 'apply to all' box ticking, causes crash

STEPS TO REPRODUCE
1. Paste folder to overwrite an existing folder
2. 
3. 

OBSERVED RESULT
Copying (Failed)
Application closed unexpectedly.

EXPECTED RESULT
Ability to tick 'apply to all' tickbox and operation completes.

SOFTWARE/OS VERSIONS
Arch Linux/KDE Plasma
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 l33l 2020-12-14 14:52:49 UTC
systemd-coredump[3780]: Process 3701 (dolphin) of user 1000 dumped core.
                                                
                                                Stack trace of thread 3701:
                                                #0  0x00007fb8b8f3a8e5 _ZN7QAction10setEnabledEb (libQt5Widgets.so.5 + 0x1568e5)
                                                #1  0x00007fb8b84addd6 n/a (libQt5Core.so.5 + 0x2ecdd6)
                                                #2  0x00007fb8b902fd53 _ZN15QAbstractButton7clickedEb (libQt5Widgets.so.5 + 0x24bd53)
                                                #3  0x00007fb8b90306dc n/a (libQt5Widgets.so.5 + 0x24c6dc)
                                                #4  0x00007fb8b9032083 n/a (libQt5Widgets.so.5 + 0x24e083)
                                                #5  0x00007fb8b9032263 _ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent (libQt5Widgets.so.5 + 0x24e263)
                                                #6  0x00007fb8b8f7fb0e _ZN7QWidget5eventEP6QEvent (libQt5Widgets.so.5 + 0x19bb0e)
                                                #7  0x00007fb8b8f3e752 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15a752)
                                                #8  0x00007fb8b8f4587b _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x16187b)
                                                #9  0x00007fb8b8476a7a _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b5a7a)
                                                #10 0x00007fb8b8f4487e _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb (li>
                                                #11 0x00007fb8b8f98249 n/a (libQt5Widgets.so.5 + 0x1b4249)
                                                #12 0x00007fb8b8f9b63f n/a (libQt5Widgets.so.5 + 0x1b763f)
                                                #13 0x00007fb8b8f3e752 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15a752)
                                                #14 0x00007fb8b8476a7a _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b5a7a)
                                                #15 0x00007fb8b8850594 _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE (>
                                                #16 0x00007fb8b8825bb5 _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE >
                                                #17 0x00007fb8b2e3e16c n/a (libQt5XcbQpa.so.5 + 0x5f16c)
                                                #18 0x00007fb8b62f08f4 g_main_context_dispatch (libglib-2.0.so.0 + 0x528f4)
                                                #19 0x00007fb8b6344821 n/a (libglib-2.0.so.0 + 0xa6821)
                                                #20 0x00007fb8b62ef121 g_main_context_iteration (libglib-2.0.so.0 + 0x51121)
                                                #21 0x00007fb8b84cf6e1 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core>
                                                #22 0x00007fb8b84753fc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b43fc)
                                                #23 0x00007fb8b914220a _ZN7QDialog4execEv (libQt5Widgets.so.5 + 0x35e20a)
                                                #24 0x00007fb8ba065603 _ZN3KIO13JobUiDelegate13askFileRenameEP4KJobRK7QStringRK4QUrlS8_6QFlagsINS_19RenameDialog_Optio>
                                                #25 0x00007fb8b9dcc52d n/a (libKF5KIOCore.so.5 + 0x7552d)
                                                #26 0x00007fb8b84addd6 n/a (libQt5Core.so.5 + 0x2ecdd6)
                                                #27 0x00007fb8b966b51d _ZN4KJob6resultEPS_NS_14QPrivateSignalE (libKF5CoreAddons.so.5 + 0x3f51d)
                                                #28 0x00007fb8b966c05c _ZN4KJob9finishJobEb (libKF5CoreAddons.so.5 + 0x4005c)
                                                #29 0x00007fb8b84addd6 n/a (libQt5Core.so.5 + 0x2ecdd6)
                                                #30 0x00007fb8b9dec5e6 _ZN3KIO14SlaveInterface8dispatchEiRK10QByteArray (libKF5KIOCore.so.5 + 0x955e6)
                                                #31 0x00007fb8b9dead4a _ZN3KIO14SlaveInterface8dispatchEv (libKF5KIOCore.so.5 + 0x93d4a)
                                                #32 0x00007fb8b9dee84b _ZN3KIO5Slave8gotInputEv (libKF5KIOCore.so.5 + 0x9784b)
                                                #33 0x00007fb8b84addd6 n/a (libQt5Core.so.5 + 0x2ecdd6)
                                                #34 0x00007fb8b84a3582 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2e2582)
                                                #35 0x00007fb8b8f3e752 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15a752)
                                                #36 0x00007fb8b8476a7a _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b5a7a)
                                                #37 0x00007fb8b8479573 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2b>
                                                #38 0x00007fb8b84d00a4 n/a (libQt5Core.so.5 + 0x30f0a4)
                                                #39 0x00007fb8b62f08f4 g_main_context_dispatch (libglib-2.0.so.0 + 0x528f4)
                                                #40 0x00007fb8b6344821 n/a (libglib-2.0.so.0 + 0xa6821)
                                                #41 0x00007fb8b62ef121 g_main_context_iteration (libglib-2.0.so.0 + 0x51121)
                                                #42 0x00007fb8b84cf6e1 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core>
                                                #43 0x00007fb8b84753fc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b43fc)
                                                #44 0x00007fb8b847d894 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2bc894)
                                                #45 0x00007fb8ba5e8f43 kdemain (libkdeinit5_dolphin.so + 0x47f43)
                                                #46 0x00007fb8ba400152 __libc_start_main (libc.so.6 + 0x28152)
                                                #47 0x000055bf5889d05e _start (dolphin + 0x105e)
                                                
                                                Stack trace of thread 3706:
                                                #0  0x00007fb8b6d846a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
                                                #1  0x00007fb8a29bb72c n/a (iris_dri.so + 0x4ed72c)
                                                #2  0x00007fb8a29b9ef8 n/a (iris_dri.so + 0x4ebef8)
                                                #3  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #4  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
                                                
                                                Stack trace of thread 3708:
                                                #0  0x00007fb8b6d846a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
                                                #1  0x00007fb8a29bb72c n/a (iris_dri.so + 0x4ed72c)
                                                #2  0x00007fb8a29b9ef8 n/a (iris_dri.so + 0x4ebef8)
                                                #3  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #4  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
                                                
                                                Stack trace of thread 3710:
                                                #0  0x00007fb8b6d849c8 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf9c8)
                                                #1  0x00007fb8b8295058 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4058)
                                                #2  0x00007fb8b8292504 n/a (libQt5Core.so.5 + 0xd1504)
                                                #3  0x00007fb8b828ef0f n/a (libQt5Core.so.5 + 0xcdf0f)
                                                #4  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #5  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
                                                
                                                Stack trace of thread 3707:
                                                #0  0x00007fb8b6d846a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
                                                #1  0x00007fb8a29bb72c n/a (iris_dri.so + 0x4ed72c)
                                                #2  0x00007fb8a29b9ef8 n/a (iris_dri.so + 0x4ebef8)
                                                #3  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #4  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
                                                
                                                Stack trace of thread 3703:
                                                #0  0x00007fb8ba4cd46f __poll (libc.so.6 + 0xf546f)
                                                #1  0x00007fb8b63447af n/a (libglib-2.0.so.0 + 0xa67af)
                                                #2  0x00007fb8b62ef121 g_main_context_iteration (libglib-2.0.so.0 + 0x51121)
                                                #3  0x00007fb8b84cf6e1 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core>
                                                #4  0x00007fb8b84753fc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b43fc)
                                                #5  0x00007fb8b828dd22 _ZN7QThread4execEv (libQt5Core.so.5 + 0xccd22)
                                                #6  0x00007fb8b950d098 n/a (libQt5DBus.so.5 + 0x17098)
                                                #7  0x00007fb8b828ef0f n/a (libQt5Core.so.5 + 0xcdf0f)
                                                #8  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #9  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
                                                
                                                Stack trace of thread 3712:
                                                #0  0x00007fb8b6d849c8 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf9c8)
                                                #1  0x00007fb8b8295058 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4058)
                                                #2  0x00007fb8b8292504 n/a (libQt5Core.so.5 + 0xd1504)
                                                #3  0x00007fb8b828ef0f n/a (libQt5Core.so.5 + 0xcdf0f)
                                                #4  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #5  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
                                                
                                                Stack trace of thread 3702:
                                                #0  0x00007fb8ba4cd46f __poll (libc.so.6 + 0xf546f)
                                                #1  0x00007fb8b6daa63b n/a (libxcb.so.1 + 0xc63b)
                                                #2  0x00007fb8b6dac37b xcb_wait_for_event (libxcb.so.1 + 0xe37b)
                                                #3  0x00007fb8b2e3d131 n/a (libQt5XcbQpa.so.5 + 0x5e131)
                                                #4  0x00007fb8b828ef0f n/a (libQt5Core.so.5 + 0xcdf0f)
                                                #5  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #6  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
                                                
                                                Stack trace of thread 3704:
                                                #0  0x00007fb8ba4cfc96 pselect (libc.so.6 + 0xf7c96)
                                                #1  0x00007fb8b5ab7524 n/a (libusbmuxd-2.0.so.6 + 0x2524)
                                                #2  0x00007fb8b5ab88a9 n/a (libusbmuxd-2.0.so.6 + 0x38a9)
                                                #3  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #4  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
                                                
                                                Stack trace of thread 3709:
                                                #0  0x00007fb8b6d849c8 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf9c8)
                                                #1  0x00007fb8b8295058 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4058)
                                                #2  0x00007fb8b8292504 n/a (libQt5Core.so.5 + 0xd1504)
                                                #3  0x00007fb8b828ef0f n/a (libQt5Core.so.5 + 0xcdf0f)
                                                #4  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #5  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
                                                
                                                Stack trace of thread 3713:
                                                #0  0x00007fb8ba4cd46f __poll (libc.so.6 + 0xf546f)
                                                #1  0x00007fb8b63447af n/a (libglib-2.0.so.0 + 0xa67af)
                                                #2  0x00007fb8b62ef121 g_main_context_iteration (libglib-2.0.so.0 + 0x51121)
                                                #3  0x00007fb8b84cf6e1 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core>
                                                #4  0x00007fb8b84753fc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b43fc)
                                                #5  0x00007fb8b828dd22 _ZN7QThread4execEv (libQt5Core.so.5 + 0xccd22)
                                                #6  0x00007fb8b828ef0f n/a (libQt5Core.so.5 + 0xcdf0f)
                                                #7  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #8  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
                                                
                                                Stack trace of thread 3705:
                                                #0  0x00007fb8b6d846a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
                                                #1  0x00007fb8a29bb72c n/a (iris_dri.so + 0x4ed72c)
                                                #2  0x00007fb8a29b9ef8 n/a (iris_dri.so + 0x4ebef8)
                                                #3  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #4  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
                                                
                                                Stack trace of thread 3711:
                                                #0  0x00007fb8b6d849c8 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf9c8)
                                                #1  0x00007fb8b8295058 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4058)
                                                #2  0x00007fb8b8292504 n/a (libQt5Core.so.5 + 0xd1504)
                                                #3  0x00007fb8b828ef0f n/a (libQt5Core.so.5 + 0xcdf0f)
                                                #4  0x00007fb8b6d7e3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                #5  0x00007fb8ba4d8293 __clone (libc.so.6 + 0x100293)
Comment 2 TOM Harrison 2020-12-17 02:58:48 UTC
This issue seems lay in kio/src/widgets/renamedialog.cpp:696 which is 
    if (d->bOverwriteWhenOlder) {
        d->bOverwriteWhenOlder->setEnabled(applyAll);
    }

d->bOverwriteWhenOlder is incorrect memory address, it did not initialized in constructor
Comment 3 Elvis Angelaccio 2020-12-28 20:07:27 UTC

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