Bug 282522

Summary: Ark crashed when I was closing it
Product: [Applications] ark Reporter: zhangyu <pswzyu>
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.16   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description zhangyu 2011-09-22 02:22:31 UTC
Application: ark (2.16)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.6-0.7-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
uncomprassed a tar.bz2 file and successed, but crashed when closing(manaully close not automatic closing by using "auto close after uncomprass")

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0643f76760 (LWP 8806))]

Thread 3 (Thread 0x7f062e4f8700 (LWP 8812)):
#0  0x00007f0641023503 in poll () from /lib64/libc.so.6
#1  0x00007f063d921114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f063d921650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f064175b976 in QEventDispatcherGlib::processEvents (this=0x949a40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f0641730052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0641730265 in QEventLoop::exec (this=0x7f062e4f7de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f06416451e4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f0641711968 in QInotifyFileSystemWatcherEngine::run (this=0x9c4e50) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f0641647a5e in QThreadPrivate::start (arg=0x9c4e50) at thread/qthread_unix.cpp:285
#9  0x00007f063ed23a3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f064102c67d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f062d35f700 (LWP 8819)):
[KCrash Handler]
#6  0x00007f0643b7629f in Kerfuffle::ReadOnlyArchiveInterface::progress (this=<value optimized out>, p=0.99938791990280151) at /usr/src/debug/kdeutils-4.6.0/ark/kerfuffle/archiveinterface.cpp:96
#7  0x00007f062e953d58 in LibArchiveInterface::copyData (this=0x80e570, source=0xb92300, dest=0xa889a0, partialprogress=true) at /usr/src/debug/kdeutils-4.6.0/ark/plugins/libarchive/libarchivehandler.cpp:712
#8  0x00007f062e955485 in LibArchiveInterface::copyFiles (this=0x80e570, files=..., destinationDirectory=<value optimized out>, options=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/ark/plugins/libarchive/libarchivehandler.cpp:298
#9  0x00007f0643b7852e in Kerfuffle::ExtractJob::doWork (this=0xb88ba0) at /usr/src/debug/kdeutils-4.6.0/ark/kerfuffle/jobs.cpp:233
#10 0x00007f0643b77a25 in Kerfuffle::ExtractJob::qt_metacall (this=0xb88ba0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/build/ark/kerfuffle/jobs.moc:236
#11 0x00007f06417390cf in QMetaMethod::invoke (this=0x7f062d35ea90, object=0xb88ba0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1578
#12 0x00007f064173a580 in QMetaObject::invokeMethod (obj=0xb88ba0, member=<value optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#13 0x00007f0643b76f1c in invokeMethod (this=0x6851b0) at /usr/include/QtCore/qobjectdefs.h:408
#14 Kerfuffle::Job::Private::run (this=0x6851b0) at /usr/src/debug/kdeutils-4.6.0/ark/kerfuffle/jobs.cpp:54
#15 0x00007f0641647a5e in QThreadPrivate::start (arg=0x6851b0) at thread/qthread_unix.cpp:285
#16 0x00007f063ed23a3f in start_thread () from /lib64/libpthread.so.0
#17 0x00007f064102c67d in clone () from /lib64/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0643f76760 (LWP 8806)):
#0  0x00007f063ed2838c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f064164814b in wait (this=<value optimized out>, mutex=0x9a06d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x9a06d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0641647200 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:683
#4  0x00007f0643b76cc0 in Kerfuffle::Job::~Job (this=0xb88ba0, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/ark/kerfuffle/jobs.cpp:81
#5  0x00007f0643b793d3 in ~ExtractJob (this=0xb88ba0, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/ark/kerfuffle/jobs.h:111
#6  Kerfuffle::ExtractJob::~ExtractJob (this=0xb88ba0, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/ark/kerfuffle/jobs.h:111
#7  0x00007f06417431d4 in QObjectPrivate::deleteChildren (this=0x7c2810) at kernel/qobject.cpp:1949
#8  0x00007f0641747e72 in QObject::~QObject (this=0x788090, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#9  0x00007f0643b798c9 in Kerfuffle::ArchiveBase::~ArchiveBase (this=0x788090, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/ark/kerfuffle/archivebase.cpp:53
#10 0x00007f06326c98ed in ArchiveModel::~ArchiveModel (this=0x7d92c0, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/ark/part/archivemodel.cpp:212
#11 0x00007f06326c9939 in ArchiveModel::~ArchiveModel (this=0x7d92c0, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/ark/part/archivemodel.cpp:217
#12 0x00007f06417431d4 in QObjectPrivate::deleteChildren (this=0x7d2380) at kernel/qobject.cpp:1949
#13 0x00007f0641747e72 in QObject::~QObject (this=0x7cfce0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#14 0x00007f06436876f2 in KParts::Part::~Part() () from /usr/lib64/libkparts.so.4
#15 0x00007f06326ba57b in Ark::Part::~Part (this=0x7cfce0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/ark/part/part.cpp:130
#16 0x00007f06326ba5d9 in Ark::Part::~Part (this=0x7cfce0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/ark/part/part.cpp:136
#17 0x000000000040ecbb in MainWindow::~MainWindow (this=0x72ae40, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/ark/app/mainwindow.cpp:72
#18 0x000000000040ed79 in MainWindow::~MainWindow (this=0x72ae40, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.6.0/ark/app/mainwindow.cpp:74
#19 0x00007f0641744a98 in QObject::event (this=0x72ae40, e=<value optimized out>) at kernel/qobject.cpp:1194
#20 0x00007f064211eedd in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007f06424dd47b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007f0642dd6793 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#23 0x00007f06420cdd14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f06420d622a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f0642d2d9e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#26 0x00007f0641730bfc in QCoreApplication::notifyInternal (this=0x7fff90cecdc0, receiver=0x72ae40, event=0x975780) at kernel/qcoreapplication.cpp:732
#27 0x00007f06417343f5 in sendEvent (receiver=0x0, event_type=0, data=0x61a050) at kernel/qcoreapplication.h:215
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x61a050) at kernel/qcoreapplication.cpp:1373
#29 0x00007f064175b783 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#30 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007f063d920bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#32 0x00007f063d9213b0 in ?? () from /lib64/libglib-2.0.so.0
#33 0x00007f063d921650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x00007f064175b91f in QEventDispatcherGlib::processEvents (this=0x61fb10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007f0642172d8e in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007f0641730052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f0641730265 in QEventLoop::exec (this=0x7fff90cecc70, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007f06417346ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#39 0x000000000040e167 in main (argc=4, argv=0x7fff90ced978) at /usr/src/debug/kdeutils-4.6.0/ark/app/main.cpp:209

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2011-09-22 03:33:57 UTC
It looks like the extraction had not completely finished when you closed Ark. Can you reproduce it, or attach a sample file which caused this crash?
Comment 2 zhangyu 2011-09-23 13:00:53 UTC
I'm sorry I can't upload the sample file due to its large size.

I can reproduce it by closing ark before the uncompress process finishes.
But I'm sure I didn't do anything to stop the process "that" time(when I reported the bug)

Thanks!
Comment 3 Raphael Kubo da Costa 2011-09-28 13:25:07 UTC
Thanks for the response, it looks like a known issue.

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