https://bugs.kde.org/show_bug.cgi?id=383531

            Bug ID: 383531
           Summary: Crashes when cancelling two copy jobs both waiting for
                    user input
           Product: frameworks-kio
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: k...@privat.broulik.de
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

1.) Open Dolphin
2.) Select a file and do Ctrl+C, Ctrl+V, this will copy the file into the same
location asking to overwrite it
3.) Do the same thing again with another file

You now have two "overwrite?" prompts and two jobs in Plasma's notification
area

4.) Open Plasma notifications applet
5.) Cancel the first job
6.) Cancel the second job

Dolphin will crash after cancelling the second job.

Thread 1 (Thread 0x7f2348e268c0 (LWP 19309)):
[KCrash Handler]
#6  0x00007f2343441740 in QArrayData::shared_null () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f2346c776d4 in KIO::CopyJobPrivate::slotResultErrorCopyingFiles
(this=this@entry=0x246e440, job=job@entry=0x21f5cd0) at
/workspace/build/src/core/copyjob.cpp:1449
#8  0x00007f2346c79d49 in KIO::CopyJob::slotResult (this=0x245f010,
job=0x21f5cd0) at /workspace/build/src/core/copyjob.cpp:2121
#9  0x00007f2343366c19 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f234445c0cc in KJob::result(KJob*, KJob::QPrivateSignal) () from
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#11 0x00007f234445cbe1 in KJob::finishJob(bool) () from
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#12 0x00007f2346cca552 in KIO::SimpleJob::slotFinished
(this=this@entry=0x21f5cd0) at /workspace/build/src/core/simplejob.cpp:233
#13 0x00007f2346cce16e in KIO::StatJob::slotFinished (this=0x21f5cd0) at
/workspace/build/src/core/statjob.cpp:167
#14 0x00007f2346ccd671 in KIO::StatJob::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/workspace/build/obj-x86_64-linux-gnu/src/core/moc_statjob.cpp:105
#15 0x00007f2343366c19 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f2346ca3fa1 in KIO::SlaveInterface::dispatch (this=0x247e740,
_cmd=<optimized out>, rawdata=...) at
/workspace/build/src/core/slaveinterface.cpp:160
#17 0x00007f2346ca25c7 in KIO::SlaveInterface::dispatch (this=0x247e740) at
/workspace/build/src/core/slaveinterface.cpp:89
#18 0x00007f2346ca7651 in KIO::Slave::gotInput (this=0x247e740) at
/workspace/build/src/core/slave.cpp:399
#19 0x00007f2346d34705 in KIO::Slave::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/workspace/build/obj-x86_64-linux-gnu/src/core/moc_slave.cpp:89
#20 0x00007f2343366c19 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f2346c43f30 in KIO::Connection::readyRead (this=<optimized out>) at
/workspace/build/obj-x86_64-linux-gnu/src/core/moc_connection_p.cpp:144
#22 KIO::ConnectionPrivate::dequeue (this=0x23cf880) at
/workspace/build/src/core/connection.cpp:46
#23 0x00007f2343367c59 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f2343ca23fc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f2343ca9e07 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f234333a798 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f234333cf7b in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f2343390323 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f233d474197 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f233d4743f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f233d47449c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f234338f92f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f23433387ca in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f2343341704 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f2348b0466d in kdemain () from
/usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#36 0x00000000004007e8 in main ()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to