Bug 255576

Summary: Ark crashes everytime when any compression job in progress is aborted
Product: [Applications] ark Reporter: tohyf
Component: generalAssignee: Harald Hvaal <metellius>
Status: RESOLVED DUPLICATE    
Severity: crash CC: djole_nisam_ja, rakuco
Priority: NOR    
Version: 2.14   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description tohyf 2010-10-29 12:41:40 UTC
Application: ark (2.14)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-25-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I use Ark to create compressed archives.
If I cancel/abort it when it is still in the progress of creating/compressing files, it will crash.

The crash can be reproduced every time.

 -- Backtrace:
Application: Ark (ark), signal: Segmentation fault
[KCrash Handler]
#6  KJob::emitResult (this=0x9509168) at ../../kdecore/jobs/kjob.cpp:303
#7  0x00f995a0 in Kerfuffle::AddToArchive::slotFinished (this=0x9509168, job=0x9558740) at ../../../ark/kerfuffle/addtoarchive.cpp:213
#8  0x00f8aaf7 in Kerfuffle::AddToArchive::qt_metacall (this=0x9509168, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfc55fb8) at moc_addtoarchive.cpp:89
#9  0x01f84c9a in QMetaObject::metacall (object=0x9509168, cl=8893376, idx=31, argv=0xbfc55fb8) at kernel/qmetaobject.cpp:237
#10 0x01f933d5 in QMetaObject::activate (sender=0x9558740, m=0xf30c88, local_signal_index=3, argv=0xbfc55fb8) at kernel/qobject.cpp:3293
#11 0x00dc2183 in KJob::result (this=0x9558740, _t1=0x9558740) at ./kjob.moc:194
#12 0x00dc24e8 in KJob::emitResult (this=0x9558740) at ../../kdecore/jobs/kjob.cpp:312
#13 0x00dc2598 in KJob::kill (this=0x9558740, verbosity=KJob::EmitResult) at ../../kdecore/jobs/kjob.cpp:112
#14 0x00345ec7 in KUiServerJobTracker::Private::_k_killJob (this=0x9808b38) at ../../kdeui/jobs/kuiserverjobtracker.cpp:58
#15 0x00345f39 in KUiServerJobTracker::qt_metacall (this=0x955e848, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbfc5613c) at ./kuiserverjobtracker.moc:100
#16 0x01f84c9a in QMetaObject::metacall (object=0x955e848, cl=8893376, idx=25, argv=0xbfc5613c) at kernel/qmetaobject.cpp:237
#17 0x01f933d5 in QMetaObject::activate (sender=0x9692b60, m=0x51a484, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#18 0x004c6d27 in OrgKdeJobViewInterface::cancelRequested (this=0x9692b60) at jobviewiface.moc:119
#19 0x004c7123 in OrgKdeJobViewInterface::qt_metacall (this=0x9692b60, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfc563fc) at jobviewiface.moc:96
#20 0x08fedb34 in QDBusConnectionPrivate::deliverCall (this=0x94cdd48, object=0x9692b60, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:904
#21 0x08ff8ea7 in QDBusCallDeliveryEvent::placeMetaCall (this=0x9686390, object=0x9692b60) at qdbusintegrator_p.h:101
#22 0x01f903fe in QObject::event (this=0x9692b60, e=0x9686390) at kernel/qobject.cpp:1248
#23 0x010df4dc in QApplicationPrivate::notify_helper (this=0x948ff60, receiver=0x9692b60, e=0x9686390) at kernel/qapplication.cpp:4300
#24 0x010e605e in QApplication::notify (this=0xbfc56ccc, receiver=0x9692b60, e=0x9686390) at kernel/qapplication.cpp:3704
#25 0x0034af2a in KApplication::notify (this=0xbfc56ccc, receiver=0x9692b60, event=0x9686390) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x01f7fa3b in QCoreApplication::notifyInternal (this=0xbfc56ccc, receiver=0x9692b60, event=0x9686390) at kernel/qcoreapplication.cpp:704
#27 0x01f82473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9479fc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9479fc8) at kernel/qcoreapplication.cpp:1345
#29 0x01f825dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#30 0x01fabadf in QCoreApplication::sendPostedEvents (s=0x9492178) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#31 postEventSourceDispatch (s=0x9492178) at kernel/qeventdispatcher_glib.cpp:276
#32 0x06139855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x0613d668 in ?? () from /lib/libglib-2.0.so.0
#34 0x0613d848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x01fab5d5 in QEventDispatcherGlib::processEvents (this=0x9479b60, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#36 0x0119f135 in QGuiEventDispatcherGlib::processEvents (this=0x9479b60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x01f7e059 in QEventLoop::processEvents (this=0xbfc56c24, flags=) at kernel/qeventloop.cpp:149
#38 0x01f7e4aa in QEventLoop::exec (this=0xbfc56c24, flags=...) at kernel/qeventloop.cpp:201
#39 0x01f8269f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#40 0x010df577 in QApplication::exec () at kernel/qapplication.cpp:3579
#41 0x08050499 in main (argc=5, argv=0xbfc57064) at ../../../ark/app/main.cpp:210

This bug may be a duplicate of or related to bug 222392.

Possible duplicates by query: bug 230428, bug 222392.

Reported using DrKonqi
Comment 1 tohyf 2010-10-29 12:53:14 UTC
additional info: 
the bug report above was created when compressing of an archive(from the context menu of dolphin) in progress was aborted(by pressing stop button in the pop-up window of jobs ).
Sorry for not telling this earlier....
Comment 2 tohyf 2010-10-29 13:01:16 UTC
Next, I started ark and created a new rar archive. Then, I added a 100MB file into it. Ark crashed when  I closed it by clicking the quit button at the top-right corner during compression.

The bug report is as follows :

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

Thread 2 (Thread 0xb5160b70 (LWP 4231)):
[KCrash Handler]
#6  0x00fc7422 in __kernel_vsyscall ()
#7  0x03b06651 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x03b09a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x00c8452f in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#10 0x00c82465 in ?? () from /usr/lib/libstdc++.so.6
#11 0x00c824a2 in std::terminate() () from /usr/lib/libstdc++.so.6
#12 0x00c83155 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#13 0x00b3e54c in Kerfuffle::CliInterface::cacheParameterList (this=0x97fda40) at ../../../ark/kerfuffle/cliinterface.cpp:55
#14 0x00b4202f in Kerfuffle::CliInterface::list (this=0x97fda40) at ../../../ark/kerfuffle/cliinterface.cpp:71
#15 0x00b43788 in Kerfuffle::CliInterface::processFinished (this=0x97fda40, exitCode=0, exitStatus=QProcess::CrashExit) at ../../../ark/kerfuffle/cliinterface.cpp:385
#16 0x00b4384a in Kerfuffle::CliInterface::qt_metacall (this=0x97fda40, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xb515fa44) at ./cliinterface.moc:81
#17 0x00e5bc9a in QMetaObject::metacall (object=0x97fda40, cl=4231, idx=7, argv=0xb515fa44) at kernel/qmetaobject.cpp:237
#18 0x00e6a3d5 in QMetaObject::activate (sender=0xb48016c0, m=0xf686c8, local_signal_index=2, argv=0xb515fa44) at kernel/qobject.cpp:3293
#19 0x00dec889 in QProcess::finished (this=0xb48016c0, _t1=0, _t2=QProcess::CrashExit) at .moc/release-shared/moc_qprocess.cpp:142
#20 0x00df21ae in QProcessPrivate::_q_processDied (this=0xb48046f8) at io/qprocess.cpp:1041
#21 0x00df227e in QProcess::qt_metacall (this=0xb48016c0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xb515fbb8) at .moc/release-shared/moc_qprocess.cpp:115
#22 0x00e5bc9a in QMetaObject::metacall (object=0xb48016c0, cl=4231, idx=21, argv=0xb515fbb8) at kernel/qmetaobject.cpp:237
#23 0x00e6a3d5 in QMetaObject::activate (sender=0xb4805240, m=0xf6a550, local_signal_index=0, argv=0xb515fbb8) at kernel/qobject.cpp:3293
#24 0x00ebb933 in QSocketNotifier::activated (this=0xb4805240, _t1=25) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#25 0x00e718e7 in QSocketNotifier::event (this=0xb4805240, e=0xb5160044) at kernel/qsocketnotifier.cpp:317
#26 0x010fd4dc in QApplicationPrivate::notify_helper (this=0x91387e8, receiver=0xb4805240, e=0xb5160044) at kernel/qapplication.cpp:4300
#27 0x0110405e in QApplication::notify (this=0xbfe64f2c, receiver=0xb4805240, e=0xb5160044) at kernel/qapplication.cpp:3704
#28 0x008a4f2a in KApplication::notify (this=0xbfe64f2c, receiver=0xb4805240, event=0xb5160044) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00e56a3b in QCoreApplication::notifyInternal (this=0xbfe64f2c, receiver=0xb4805240, event=0xb5160044) at kernel/qcoreapplication.cpp:704
#30 0x00e829aa in QCoreApplication::sendEvent (source=0x9662760) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 socketNotifierSourceDispatch (source=0x9662760) at kernel/qeventdispatcher_glib.cpp:110
#32 0x071dc855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x071e0668 in ?? () from /lib/libglib-2.0.so.0
#34 0x071e0848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00e8260f in QEventDispatcherGlib::processEvents (this=0x96e66b8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#36 0x00e55059 in QEventLoop::processEvents (this=0xb5160290, flags=) at kernel/qeventloop.cpp:149
#37 0x00e554aa in QEventLoop::exec (this=0xb5160290, flags=...) at kernel/qeventloop.cpp:201
#38 0x00d515a8 in QThread::exec (this=0x9733e98) at thread/qthread.cpp:487
#39 0x00b31f42 in Kerfuffle::ThreadExecution::run (this=0x9733e98) at ../../../ark/kerfuffle/threading.cpp:47
#40 0x00d5432e in QThreadPrivate::start (arg=0x9733e98) at thread/qthread_unix.cpp:248
#41 0x00ae396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#42 0x03ba9a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb78af710 (LWP 4165)):
#0  0x00fc7422 in __kernel_vsyscall ()
#1  0x00ae8015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x03bb69dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00d55287 in QWaitConditionPrivate::wait (this=0x95add34, mutex=0x95add20, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x95add34, mutex=0x95add20, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00d543c9 in QThread::wait (this=0x9733e98, time=4294967295) at thread/qthread_unix.cpp:619
#6  0x00b2f3fa in ~Job (this=0x963f278, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.cpp:56
#7  0x00b31ac5 in ~AddJob (this=0x963f278, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.h:125
#8  0x00e6618f in QObjectPrivate::deleteChildren (this=0x9814550) at kernel/qobject.cpp:1986
#9  0x00e6d29d in ~QObject (this=0x97f7200, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#10 0x00b327c7 in ~ArchiveBase (this=0x97f7200, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/archivebase.cpp:53
#11 0x05b49ccd in ~ArchiveModel (this=0x9213c08, __in_chrg=<value optimized out>) at ../../../ark/part/archivemodel.cpp:199
#12 0x00e6618f in QObjectPrivate::deleteChildren (this=0x9212f80) at kernel/qobject.cpp:1986
#13 0x00e6d29d in ~QObject (this=0x9213640, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#14 0x0012aa7f in ~Part (this=0x9213640, __vtt_parm=0x5b573ec, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:212
#15 0x0012b20a in ~ReadOnlyPart (this=0x9213640, __vtt_parm=0x5b573e8, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:459
#16 0x0012b37f in ~ReadWritePart (this=0x9213640, __vtt_parm=0x5b573e4, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:721
#17 0x05b3b94c in ~Part (this=0x9213640, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/part/part.cpp:132
#18 0x080513f1 in ~MainWindow (this=0x91bb580, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/app/mainwindow.cpp:74
#19 0x00e65d65 in qDeleteInEventHandler (o=0xfffffe00) at kernel/qobject.cpp:3998
#20 0x00e67428 in QObject::event (this=0x91bb580, e=0x1) at kernel/qobject.cpp:1231
#21 0x0115b326 in QWidget::event (this=0x91bb580, event=0x9734b78) at kernel/qwidget.cpp:8455
#22 0x01576bc7 in QMainWindow::event (this=0x91bb580, event=0x9734b78) at widgets/qmainwindow.cpp:1433
#23 0x00996b04 in KMainWindow::event (this=0x91bb580, ev=0x9734b78) at ../../kdeui/widgets/kmainwindow.cpp:1103
#24 0x009de88f in KXmlGuiWindow::event (this=0x91bb580, ev=0x9734b78) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#25 0x010fd4dc in QApplicationPrivate::notify_helper (this=0x91387e8, receiver=0x91bb580, e=0x9734b78) at kernel/qapplication.cpp:4300
#26 0x011040f9 in QApplication::notify (this=0xbfe64f2c, receiver=0x91bb580, e=0x9734b78) at kernel/qapplication.cpp:4265
#27 0x008a4f2a in KApplication::notify (this=0xbfe64f2c, receiver=0x91bb580, event=0x9734b78) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x00e56a3b in QCoreApplication::notifyInternal (this=0xbfe64f2c, receiver=0x91bb580, event=0x9734b78) at kernel/qcoreapplication.cpp:704
#29 0x00e59473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9122fc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9122fc8) at kernel/qcoreapplication.cpp:1345
#31 0x00e595dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#32 0x00e82adf in QCoreApplication::sendPostedEvents (s=0x913ab10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x913ab10) at kernel/qeventdispatcher_glib.cpp:276
#34 0x071dc855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x071e0668 in ?? () from /lib/libglib-2.0.so.0
#36 0x071e0848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x00e825d5 in QEventDispatcherGlib::processEvents (this=0x9122b60, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#38 0x011bd135 in QGuiEventDispatcherGlib::processEvents (this=0x9122b60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00e55059 in QEventLoop::processEvents (this=0xbfe64e84, flags=) at kernel/qeventloop.cpp:149
#40 0x00e554aa in QEventLoop::exec (this=0xbfe64e84, flags=...) at kernel/qeventloop.cpp:201
#41 0x00e5969f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#42 0x010fd577 in QApplication::exec () at kernel/qapplication.cpp:3579
#43 0x08050499 in main (argc=3, argv=0xbfe652c4) at ../../../ark/app/main.cpp:210
Comment 3 Raphael Kubo da Costa 2010-11-25 18:05:19 UTC

*** This bug has been marked as a duplicate of bug 222392 ***
Comment 4 Djordje Stojicevic 2012-03-24 16:54:06 UTC
Created attachment 69854 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
I begun a "Adding a file to archive" process. When I shut down the Ark with X mark (top right corner) it crashed.

-- Backtrace (Reduced):
#12 0x00007f05d6a6e199 in Kerfuffle::CliInterface::cacheParameterList (this=0x23a7f10) at ../../../ark/kerfuffle/cliinterface.cpp:56
#13 0x00007f05d6a6f4d0 in Kerfuffle::CliInterface::list (this=0x6888) at ../../../ark/kerfuffle/cliinterface.cpp:72
#14 0x00007f05d6a73899 in Kerfuffle::CliInterface::processFinished (this=0x23a7f10, exitCode=<value optimized out>, exitStatus=<value optimized out>) at ../../../ark/kerfuffle/cliinterface.cpp:385
#15 0x00007f05d6a7395c in Kerfuffle::CliInterface::qt_metacall (this=0x23a7f10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f05c3d4a350) at ./cliinterface.moc:81
[...]
#17 0x00007f05d44c323f in QProcess::finished (this=0x6888, _t1=0, _t2=QProcess::CrashExit) at .moc/release-shared/moc_qprocess.cpp:142