Bug 222392 - Ark does not properly stop an archive creation
Summary: Ark does not properly stop an archive creation
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: HI crash
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
: 226931 230428 242770 250170 254228 255576 263515 270007 278228 278574 279496 279873 283074 288840 293631 297373 298296 300387 306015 326940 330687 336370 358937 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-12 16:05 UTC by Gavin Westwood
Modified: 2016-04-30 11:17 UTC (History)
29 users (show)

See Also:
Latest Commit:
Version Fixed In: 16.08.0
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (4.25 KB, text/plain)
2010-09-16 19:49 UTC, Anderson
Details
New crash information added by DrKonqi (4.76 KB, text/plain)
2011-12-03 17:35 UTC, Martin
Details
New crash information added by DrKonqi (5.13 KB, text/plain)
2012-03-21 13:22 UTC, radistaneva
Details
New crash information added by DrKonqi (5.06 KB, text/plain)
2014-05-09 23:36 UTC, Ondřej
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Westwood 2010-01-12 16:05:38 UTC
Application that crashed: ark
Version of the application: 2.13
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-3.slh.1-sidux-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
Crash occurred after opening the Wastebin (Trash) and just before accepting the dialog box to empty the trash.

 -- Backtrace:
Application: Ark (ark), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f3b26ab4750 (LWP 16718))]

Thread 2 (Thread 0x7f3b18399910 (LWP 16828)):
#0  0x00007f3b23edc783 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3b2025309c in g_main_context_poll (context=0xc4d9c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2904
#2  g_main_context_iterate (context=0xc4d9c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2586
#3  0x00007f3b202533e0 in IA__g_main_context_iteration (context=0xc4d9c0, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#4  0x00007f3b245fa3b6 in QEventDispatcherGlib::processEvents (this=0xc08670, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007f3b245d0562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f3b245d0934 in QEventLoop::exec (this=0x7f3b18398fd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f3b244e95a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f3b266b1d10 in Kerfuffle::ThreadExecution::run (this=<value optimized out>) at ../../../ark/kerfuffle/threading.cpp:43
#9  0x00007f3b244ec4a5 in QThreadPrivate::start (arg=0xc4d4b0) at thread/qthread_unix.cpp:188
#10 0x00007f3b1fffe73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f3b23ee76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3b26ab4750 (LWP 16718)):
[KCrash Handler]
#5  QString::operator= (this=0x100000092, other=...) at tools/qstring.cpp:1132
#6  0x00007f3b245b33b9 in QProcessPrivate::waitForFinished (this=0xc4df00, msecs=30000) at io/qprocess_unix.cpp:1166
#7  0x00007f3b245739fc in QProcess::waitForFinished (this=0xc2e720, msecs=30000) at io/qprocess.cpp:1318
#8  0x00007f3b266bdb32 in Kerfuffle::CliInterface::doKill (this=0xc2f7f0) at ../../../ark/kerfuffle/cliinterface.cpp:607
#9  0x00007f3b266af9dd in Kerfuffle::Job::doKill (this=0xc4ce40) at ../../../ark/kerfuffle/jobs.cpp:124
#10 0x00007f3b255cc569 in KJob::kill (this=0x100000092, verbosity=3806591136) at ../../kdecore/jobs/kjob.cpp:106
#11 0x00007f3b25b7fcd5 in KUiServerJobTracker::qt_metacall (this=0xc184d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe2e3fa90) at ./kuiserverjobtracker.moc:94
#12 0x00007f3b245e6df2 in QMetaObject::activate (sender=0xc50ce0, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x3) at kernel/qobject.cpp:3112
#13 0x00007f3b25ccadf0 in OrgKdeJobViewInterface::qt_metacall (this=0xc50ce0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe2e3fe70) at jobviewiface.moc:90
#14 0x00007f3b2214eb83 in QDBusConnectionPrivate::deliverCall (this=0xb2ef90, object=0xc50ce0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:891
#15 0x00007f3b2215635f in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#16 0x00007f3b245e16c8 in QObject::event (this=0xc50ce0, e=0xb2da90) at kernel/qobject.cpp:1110
#17 0x00007f3b24aa001d in QApplicationPrivate::notify_helper (this=0xa7fe40, receiver=0xc50ce0, e=0xb2da90) at kernel/qapplication.cpp:4065
#18 0x00007f3b24aa807a in QApplication::notify (this=0x7fffe2e40a90, receiver=0xc50ce0, e=0xb2da90) at kernel/qapplication.cpp:4030
#19 0x00007f3b25b84e06 in KApplication::notify (this=0x7fffe2e40a90, receiver=0xc50ce0, event=0xb2da90) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007f3b245d1c9c in QCoreApplication::notifyInternal (this=0x7fffe2e40a90, receiver=0xc50ce0, event=0xb2da90) at kernel/qcoreapplication.cpp:610
#21 0x00007f3b245d28e4 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0xa64950) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa64950) at kernel/qcoreapplication.cpp:1247
#23 0x00007f3b245fa7d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#24 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#25 0x00007f3b2024f8fe in g_main_dispatch (context=0xa82220) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#26 IA__g_main_context_dispatch (context=0xa82220) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#27 0x00007f3b202532b8 in g_main_context_iterate (context=0xa82220, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#28 0x00007f3b202533e0 in IA__g_main_context_iteration (context=0xa82220, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#29 0x00007f3b245fa39c in QEventDispatcherGlib::processEvents (this=0xa64160, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#30 0x00007f3b24b36f1f in QGuiEventDispatcherGlib::processEvents (this=0x100000092, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007f3b245d0562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f3b245d0934 in QEventLoop::exec (this=0x7fffe2e409e0, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f3b245d2ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0x0000000000409966 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../ark/app/main.cpp:209

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2010-01-12 16:42:55 UTC
Are you sure this happened _because_ you're accessing/emptying Wastebin? How was Ark launched?
Comment 2 Gavin Westwood 2010-01-13 10:58:40 UTC
Sorry, I've had so many crashes with Dolphin, and the message came up as I was emptying the Wastebin, I didn't look at it in enough detail and assumed that it was Dolphin, not Ark.

What I had done with Ark was to launch it from a context menu to zip about 32GB of files, and then decided to cancel it.  The error message took a little while to appear, so I had moved on to the Wastebin by that time, thus the confusion.

I hope this is more helpful. :-)
Comment 3 Raphael Kubo da Costa 2010-02-09 01:19:30 UTC
Thanks for the details, I'm marking the bug as NEW and changing its title.

Possible related backtrace:

Application: Ark (ark), signal: Aborted
[Current thread is 1 (Thread 0xb5048920 (LWP 4003))]

Thread 2 (Thread 0xb32efb70 (LWP 4029)):
#0  0xb5424de6 in clock_gettime () from /lib/librt.so.1
#1  0xb5cc90ee in qt_gettime () at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qcore_unix.cpp:109
#2  0xb5ccfa55 in QTimerInfoList::updateCurrentTime (this=0x9bca3c4) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventdispatcher_unix.cpp:340
#3  0xb5ccfddd in QTimerInfoList::timerWait (this=0x9bca3c4, tm=...) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventdispatcher_unix.cpp:443
#4  0xb5ccc20b in timerSourcePrepareHelper (src=0x9bca390, timeout=0xb32ef0bc) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:136
#5  0xb5ccc426 in idleTimerSourcePrepare (source=0x9f86cf8, timeout=0xb32ef0bc) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:214
#6  0xb53a8470 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb53a8811 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#8  0xb53a8d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb5ccd59c in QEventDispatcherGlib::processEvents (this=0x9c13e00, flags=...) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:414
#10 0xb5c92f8f in QEventLoop::processEvents (this=0xb32ef278, flags=...) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#11 0xb5c930d4 in QEventLoop::exec (this=0xb32ef278, flags=...) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#12 0xb5b7d3e4 in QThread::exec (this=0xa0cad98) at /home/kubo/kde4/src/qt-copy/src/corelib/thread/qthread.cpp:487
#13 0xb76e4bf8 in Kerfuffle::ThreadExecution::run (this=0xa0cad98) at /home/kubo/kde4/src/kdeutils/ark/kerfuffle/threading.cpp:47
#14 0xb5b7fd1c in QThreadPrivate::start (arg=0xa0cad98) at /home/kubo/kde4/src/qt-copy/src/corelib/thread/qthread_unix.cpp:248
#15 0xb5ac78ac in start_thread () from /lib/libpthread.so.0
#16 0xb591101e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5048920 (LWP 4003)):
[KCrash Handler]
#6  0xb76fe424 in __kernel_vsyscall ()
#7  0xb586d571 in raise () from /lib/libc.so.6
#8  0xb586ed72 in abort () from /lib/libc.so.6
#9  0xb5b74af3 in qt_message_output (msgType=QtFatalMsg, 
    buf=0x9e37040 "ASSERT: \"QThread::currentThread() != QApplication::instance()->thread()\" in file /home/kubo/kde4/src/kdeutils/ark/kerfuffle/cliinterface.cpp, line 423")
    at /home/kubo/kde4/src/qt-copy/src/corelib/global/qglobal.cpp:2227
#10 0xb5b74cb5 in qt_message (msgType=QtFatalMsg, msg=0xb5d14094 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfc07c14 "\024\234o\267\\\227o\267\247\001")
    at /home/kubo/kde4/src/qt-copy/src/corelib/global/qglobal.cpp:2273
#11 0xb5b750d3 in qFatal (msg=0xb5d14094 "ASSERT: \"%s\" in file %s, line %d") at /home/kubo/kde4/src/qt-copy/src/corelib/global/qglobal.cpp:2456
#12 0xb5b7468c in qt_assert (assertion=0xb76f9c14 "QThread::currentThread() != QApplication::instance()->thread()", file=0xb76f975c "/home/kubo/kde4/src/kdeutils/ark/kerfuffle/cliinterface.cpp", 
    line=423) at /home/kubo/kde4/src/qt-copy/src/corelib/global/qglobal.cpp:1990
#13 0xb76f23b0 in Kerfuffle::CliInterface::readStdout (this=0x9c2ee18, handleAll=false) at /home/kubo/kde4/src/kdeutils/ark/kerfuffle/cliinterface.cpp:423
#14 0xb76f3bcf in Kerfuffle::CliInterface::qt_metacall (this=0x9c2ee18, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfc07d30) at /home/kubo/kde4/src/build/kdeutils/ark/kerfuffle/cliinterface.moc:80
#15 0xb5c9d164 in QMetaObject::metacall (object=0x9c2ee18, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfc07d30) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#16 0xb5cb11be in QMetaObject::activate (sender=0x9add150, m=0xb5df67c8, local_signal_index=5, argv=0x0) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qobject.cpp:3267
#17 0xb5c2c49f in QProcess::readyReadStandardOutput (this=0x9add150) at .moc/debug-shared/moc_qprocess.cpp:162
#18 0xb5c29958 in QProcessPrivate::_q_canReadStandardOutput (this=0x9de93b8) at /home/kubo/kde4/src/qt-copy/src/corelib/io/qprocess.cpp:887
#19 0xb5c707b6 in QProcessPrivate::waitForFinished (this=0x9de93b8, msecs=30000) at /home/kubo/kde4/src/qt-copy/src/corelib/io/qprocess_unix.cpp:1119
#20 0xb5c2af61 in QProcess::waitForFinished (this=0x9add150, msecs=30000) at /home/kubo/kde4/src/qt-copy/src/corelib/io/qprocess.cpp:1688
#21 0xb76f3970 in Kerfuffle::CliInterface::doKill (this=0x9c2ee18) at /home/kubo/kde4/src/kdeutils/ark/kerfuffle/cliinterface.cpp:631
#22 0xb76e1b94 in Kerfuffle::Job::doKill (this=0x9b99fe0) at /home/kubo/kde4/src/kdeutils/ark/kerfuffle/jobs.cpp:112
#23 0xb6c205bc in KJob::kill (this=0x9b99fe0, verbosity=KJob::EmitResult) at /home/kubo/kde4/src/kdelibs/kdecore/jobs/kjob.cpp:106
#24 0xb6fc405a in KUiServerJobTracker::Private::_k_killJob (this=0x9d38a58) at /home/kubo/kde4/src/kdelibs/kdeui/jobs/kuiserverjobtracker.cpp:58
#25 0xb6fc5abe in KUiServerJobTracker::qt_metacall (this=0x9efcbe8, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfc08100) at /home/kubo/kde4/src/build/kdelibs/kdeui/kuiserverjobtracker.moc:100
#26 0xb5c9d164 in QMetaObject::metacall (object=0x9efcbe8, cl=QMetaObject::InvokeMetaMethod, idx=25, argv=0xbfc08100) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qmetaobject.cpp:237
#27 0xb5cb11be in QMetaObject::activate (sender=0x9ee34e0, m=0xb71b3024, local_signal_index=0, argv=0x0) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qobject.cpp:3267
#28 0xb713c81b in OrgKdeJobViewInterface::cancelRequested (this=0x9ee34e0) at /home/kubo/kde4/src/build/kdelibs/kdeui/jobviewiface.moc:119
#29 0xb713c62e in OrgKdeJobViewInterface::qt_metacall (this=0x9ee34e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfc081e4) at /home/kubo/kde4/src/build/kdelibs/kdeui/jobviewiface.moc:96
#30 0xb6abd2b2 in QDBusConnectionPrivate::deliverCall (this=0x9ab46d0, object=0x9ee34e0, msg=..., metaTypes=..., slotIdx=5) at /home/kubo/kde4/src/qt-copy/src/dbus/qdbusintegrator.cpp:904
#31 0xb6ac998e in QDBusCallDeliveryEvent::placeMetaCall (this=0x9bad538, object=0x9ee34e0) at /home/kubo/kde4/src/qt-copy/src/dbus/qdbusintegrator_p.h:101
#32 0xb5cad359 in QObject::event (this=0x9ee34e0, e=0x9bad538) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qobject.cpp:1240
#33 0xb5f9b96e in QApplicationPrivate::notify_helper (this=0x9a74108, receiver=0x9ee34e0, e=0x9bad538) at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qapplication.cpp:4297
#34 0xb5f990b0 in QApplication::notify (this=0xbfc08c98, receiver=0x9ee34e0, e=0x9bad538) at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qapplication.cpp:3701
#35 0xb6fc7da0 in KApplication::notify (this=0xbfc08c98, receiver=0x9ee34e0, event=0x9bad538) at /home/kubo/kde4/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#36 0xb5c95bb5 in QCoreApplication::notifyInternal (this=0xbfc08c98, receiver=0x9ee34e0, event=0x9bad538) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:704
#37 0xb5f8bdef in QCoreApplication::sendEvent (receiver=0x9ee34e0, event=0x9bad538) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215
#38 0xb5c96c69 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9a44a88) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1345
#39 0xb5c96921 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1238
#40 0xb60718dc in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:220
#41 0xb5ccc570 in postEventSourceDispatch (s=0x9a76318) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:276
#42 0xb53a5378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb53a8bf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#44 0xb53a8d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0xb5ccd57c in QEventDispatcherGlib::processEvents (this=0x9a740a8, flags=...) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:412
#46 0xb60707ea in QGuiEventDispatcherGlib::processEvents (this=0x9a740a8, flags=...) at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#47 0xb5c92f8f in QEventLoop::processEvents (this=0xbfc08c0c, flags=...) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#48 0xb5c930d4 in QEventLoop::exec (this=0xbfc08c0c, flags=...) at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#49 0xb5c96291 in QCoreApplication::exec () at /home/kubo/kde4/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:981
#50 0xb5f98cca in QApplication::exec () at /home/kubo/kde4/src/qt-copy/src/gui/kernel/qapplication.cpp:3576
#51 0x08050dfc in main (argc=5, argv=0xbfc090a4) at /home/kubo/kde4/src/kdeutils/ark/app/main.cpp:210
Comment 4 Raphael Kubo da Costa 2010-02-15 16:40:19 UTC
*** Bug 226931 has been marked as a duplicate of this bug. ***
Comment 5 Raphael Kubo da Costa 2010-03-12 16:27:22 UTC
*** Bug 230428 has been marked as a duplicate of this bug. ***
Comment 6 Raphael Kubo da Costa 2010-08-05 05:14:36 UTC
*** Bug 242770 has been marked as a duplicate of this bug. ***
Comment 7 Raphael Kubo da Costa 2010-09-12 03:43:32 UTC
*** Bug 250170 has been marked as a duplicate of this bug. ***
Comment 8 Anderson 2010-09-16 19:49:05 UTC
Created attachment 51727 [details]
New crash information added by DrKonqi

ark (2.15) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

I canceled the creation of the RAR file using Dolphin progress bar.

-- Backtrace (Reduced):
#6  KJob::emitResult (this=0x1745420) at ../../kdecore/jobs/kjob.cpp:305
#7  0x00007fc9ce591555 in Kerfuffle::AddToArchive::slotFinished (this=0x1745420, job=0x17574b0) at ../../../ark/kerfuffle/addtoarchive.cpp:216
#8  0x00007fc9ce584730 in Kerfuffle::AddToArchive::qt_metacall (this=0x1745420, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3affd3b0) at moc_addtoarchive.cpp:89
[...]
#10 0x00007fc9cc4df422 in KJob::result (this=0x1745420, _t1=0x17574b0) at ./kjob.moc:194
#11 0x00007fc9cc4df6c0 in KJob::emitResult (this=0x17574b0) at ../../kdecore/jobs/kjob.cpp:312
Comment 9 Raphael Kubo da Costa 2010-11-25 18:05:19 UTC
*** Bug 255576 has been marked as a duplicate of this bug. ***
Comment 10 Raphael Kubo da Costa 2010-12-08 02:19:17 UTC
Changing the default assignee in the currently open Ark bug reports to me.
Comment 11 Raphael Kubo da Costa 2011-01-21 21:26:11 UTC
*** Bug 263515 has been marked as a duplicate of this bug. ***
Comment 12 Raphael Kubo da Costa 2011-04-03 17:57:43 UTC
*** Bug 270007 has been marked as a duplicate of this bug. ***
Comment 13 Raphael Kubo da Costa 2011-05-11 23:35:41 UTC
*** Bug 254228 has been marked as a duplicate of this bug. ***
Comment 14 Raphael Kubo da Costa 2011-05-11 23:36:51 UTC
From bug 254228: it looks like the archive creation carries on (or at least
used to) depending on the format.
Comment 15 Raphael Kubo da Costa 2011-07-22 11:57:08 UTC
*** Bug 278228 has been marked as a duplicate of this bug. ***
Comment 16 Raphael Kubo da Costa 2011-07-26 23:47:24 UTC
*** Bug 278574 has been marked as a duplicate of this bug. ***
Comment 17 Raphael Kubo da Costa 2011-08-09 14:24:22 UTC
*** Bug 279496 has been marked as a duplicate of this bug. ***
Comment 18 Raphael Kubo da Costa 2011-08-11 12:27:34 UTC
*** Bug 279873 has been marked as a duplicate of this bug. ***
Comment 19 Martin 2011-12-03 17:35:55 UTC
Created attachment 66342 [details]
New crash information added by DrKonqi

ark (2.17) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

I cancelled a zip file creation using the stop button from the notification job. Bug is still valid in this version.

-- Backtrace (Reduced):
#6  isSignalConnected (signal_index=2, this=0x0) at kernel/qobject_p.h:221
[...]
#8  0x00007f43847af40f in KJob::finished (this=<optimized out>, _t1=0x12f2c40) at ./kjob.moc:173
#9  0x00007f43847af5e5 in KJob::emitResult (this=0x12f2c40) at ../../kdecore/jobs/kjob.cpp:310
#10 0x00007f438685a438 in Kerfuffle::AddToArchive::slotFinished(KJob*) () from /usr/lib/libkerfuffle.so.4
#11 0x00007f438684e260 in Kerfuffle::AddToArchive::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkerfuffle.so.4
Comment 20 Raphael Kubo da Costa 2011-12-12 20:54:48 UTC
*** Bug 283074 has been marked as a duplicate of this bug. ***
Comment 21 Raphael Kubo da Costa 2011-12-12 20:58:24 UTC
*** Bug 288840 has been marked as a duplicate of this bug. ***
Comment 22 Raphael Kubo da Costa 2012-02-08 12:47:45 UTC
*** Bug 293631 has been marked as a duplicate of this bug. ***
Comment 23 radistaneva 2012-03-21 13:22:51 UTC
Created attachment 69785 [details]
New crash information added by DrKonqi

ark (2.17) on KDE Platform 4.7.4 (4.7.4) "release 5" using Qt 4.7.4

- What I was doing when the application crashed:

I was archiving a folder, noticed that the progress stays empty and that the new file size is already 600 mb and pushed cancel. Ark crashed.

-- Backtrace (Reduced):
#6  isSignalConnected (signal_index=2, this=0x0) at kernel/qobject_p.h:224
[...]
#8  0x00007f02304fc4bf in KJob::finished(KJob*) () from /usr/lib64/libkdecore.so.5
#9  0x00007f02304fc695 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#10 0x00007f0232591918 in Kerfuffle::AddToArchive::slotFinished(KJob*) () from /usr/lib64/libkerfuffle.so.4
#11 0x00007f0232585750 in Kerfuffle::AddToArchive::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkerfuffle.so.4
Comment 24 Raphael Kubo da Costa 2012-04-03 12:02:41 UTC
*** Bug 297373 has been marked as a duplicate of this bug. ***
Comment 25 Raphael Kubo da Costa 2012-04-17 15:34:35 UTC
*** Bug 298296 has been marked as a duplicate of this bug. ***
Comment 26 Raphael Kubo da Costa 2012-05-24 20:17:29 UTC
*** Bug 300387 has been marked as a duplicate of this bug. ***
Comment 27 Raphael Kubo da Costa 2012-08-30 08:40:38 UTC
*** Bug 306015 has been marked as a duplicate of this bug. ***
Comment 28 Jekyll Wu 2013-10-31 15:25:58 UTC
*** Bug 326940 has been marked as a duplicate of this bug. ***
Comment 29 Raphael Kubo da Costa 2014-02-03 11:07:25 UTC
*** Bug 330687 has been marked as a duplicate of this bug. ***
Comment 30 Ondřej 2014-05-09 23:36:15 UTC
Created attachment 86551 [details]
New crash information added by DrKonqi

ark (2.19) on KDE Platform 4.13.0 using Qt 4.8.5

- What I was doing when the application crashed:

I just opened 100MB tar.bz2 file. Ark went down immidiatelly.

-- Backtrace (Reduced):
#6  0x00007f04cc004a55 in Kerfuffle::ReadOnlyArchiveInterface::entry(QHash<int, QVariant> const&) () from /usr/lib64/libkerfuffle.so.4
#7  0x00007f04b9e27d42 in LibArchiveInterface::emitEntryFromArchiveEntry(archive_entry*) () from /usr/lib64/kde4/kerfuffle_libarchive.so
#8  0x00007f04b9e28bad in LibArchiveInterface::list() () from /usr/lib64/kde4/kerfuffle_libarchive.so
#9  0x00007f04cc005524 in Kerfuffle::ListJob::doWork() () from /usr/lib64/libkerfuffle.so.4
#10 0x00007f04cc005251 in Kerfuffle::Job::Private::run() () from /usr/lib64/libkerfuffle.so.4
Comment 31 Raphael Kubo da Costa 2014-06-18 10:47:53 UTC
*** Bug 336370 has been marked as a duplicate of this bug. ***
Comment 32 kdebugs 2015-01-26 11:25:52 UTC
It's not just the eventual crash that's ugly with this bug, it's the hideous wordless error popup (just says "Error - Ark" in the title bar and shows a big red X)  and the fact that the operation continues on until you close that popup.

In theory, what we want is for it to stop immediately, give no error, and prompt us whether it should delete the partial file.

(Observed on Ark version 2.19 / KDE 4.14.2 / Kubuntu 14.04 32-bit.)
Comment 33 Elvis Angelaccio 2015-12-08 21:26:50 UTC
Git commit d059701e0a07bc8214e6e0a4104732d09c05cf35 by Elvis Angelaccio.
Committed on 08/12/2015 at 21:09.
Pushed by elvisangelaccio into branch 'Applications/15.12'.

Do not show a messagebox with empty error message

When the user stops an AddToArchive job (e.g. from the Notifications plasmoid),
the errorText() of the stopped AddJob is empty and a meaningless KMessageBox is
displayed. With this patch, the messagebox is created only if there is an error to show.

As a side effect, Ark stops crashing when using cliplugins, because emitResult() is not
blocked anymore by the messagebox. For the same reason, the end of the cliplugin's
QProcess is not anymore delayed until the user closes the messagebox.

Note that if there would be an error message, Ark would crash anyway.

M  +2    -2    kerfuffle/addtoarchive.cpp

http://commits.kde.org/ark/d059701e0a07bc8214e6e0a4104732d09c05cf35
Comment 34 Elvis Angelaccio 2015-12-13 09:55:42 UTC
I don't know why this report was closed, but the actual bug is not fixed yet. My latest patch is unrelated and it's only a workaround.
Plus, when creating an archive with the libarchive plugin, it's not possible at all to stop the job. That's why I'm also changing the title of this report.
Comment 35 Elvis Angelaccio 2016-02-03 10:12:56 UTC
*** Bug 358937 has been marked as a duplicate of this bug. ***
Comment 36 Elvis Angelaccio 2016-02-03 10:15:12 UTC
The backtrace in duplicate #358937 is likely more updated than the OP's.
Comment 37 Elvis Angelaccio 2016-04-23 13:22:27 UTC
Git commit 8c21ca3ae9326d772e2f037c4f79ba9ca10af6ad by Elvis Angelaccio.
Committed on 23/04/2016 at 13:20.
Pushed by elvisangelaccio into branch 'Applications/16.04'.

libarchive: properly stop all jobs

We use the m_abortOperation flag in the same way ListJob does (see commit
acb455da04).

We also need to remove the disconnect() in the Job destructor, which makes Ark
crash if we stop an AddToArchive job. This disconnect() looks like a relic of the
past (see e.g. commit 15fce6f5) and doesn't seem really necessary.

Note that the CliInterface jobs still need to be fixed. So do batch extract
jobs, which are KCompositeJobs and currently ignore the kill button in the
systray.

Differential Revision: D1466

M  +0    -2    kerfuffle/jobs.cpp
M  +3    -1    plugins/libarchive/libarchiveplugin.cpp
M  +1    -1    plugins/libarchive/libarchiveplugin.h
M  +12   -3    plugins/libarchive/readwritelibarchiveplugin.cpp

http://commits.kde.org/ark/8c21ca3ae9326d772e2f037c4f79ba9ca10af6ad
Comment 38 Elvis Angelaccio 2016-04-30 11:17:15 UTC
Git commit 074d52778f68c2b1456ba54633bace8e366667cb by Elvis Angelaccio.
Committed on 30/04/2016 at 11:02.
Pushed by elvisangelaccio into branch 'master'.

Don't block the main thread while running CliInterface jobs

Currently we freeze the GUI thread while running CliInterface jobs,
because there is a nested event loop in runProcess(),
which doesn't run anymore in a separate thread.

We can simply drop this event loop and rework the CliInterface logic,
such that the emit signal is not emitted anymore when runProcess() returns,
but in processFinished() instead.

This exposed a crash when closing the main window while a pending job was
running. The fix is simply to not emit finished() if the m_abortingOperation
flag is set.
Related: bug 193908
FIXED-IN: 16.08.0

Differential Revision: D1510

M  +4    -8    kerfuffle/archiveinterface.h
M  +116  -86   kerfuffle/cliinterface.cpp
M  +13   -3    kerfuffle/cliinterface.h
M  +0    -1    part/jobtracker.cpp
M  +0    -1    plugins/cliunarchiverplugin/cliplugin.cpp

http://commits.kde.org/ark/074d52778f68c2b1456ba54633bace8e366667cb