Bug 287423

Summary: Ark crashes when closing before finish loading file
Product: [Applications] ark Reporter: Michael Leocádio <mikeaeron>
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.14   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Leocádio 2011-11-24 02:48:45 UTC
Application: ark (2.14)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-36-generic-pae i686
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:
If you open a file then close Ark before the compressed file was completely loaded, it will crash.

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

Thread 2 (Thread 0xb32e0b70 (LWP 11438)):
[KCrash Handler]
#6  Kerfuffle::ReadOnlyArchiveInterface::entry (this=0x9e718a8, archiveEntry=...) at ../../../ark/kerfuffle/archiveinterface.cpp:83
#7  0xb5209c3b in LibArchiveInterface::emitEntryFromArchiveEntry (this=0x9e718a8, aentry=0x9e88e58) at ../../../../ark/plugins/libarchive/libarchivehandler.cpp:608
#8  0xb520c1e7 in LibArchiveInterface::list (this=0x9e718a8) at ../../../../ark/plugins/libarchive/libarchivehandler.cpp:88
#9  0xb778ac05 in Kerfuffle::ListJob::doWork (this=0x9e72708) at ../../../ark/kerfuffle/jobs.cpp:136
#10 0xb7789ef3 in Kerfuffle::Job::qt_metacall (this=0x9e72708, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xb32dfaec) at ./jobs.moc:87
#11 0xb778afba in Kerfuffle::ListJob::qt_metacall (this=0x9e72708, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xb32dfaec) at ./jobs.moc:169
#12 0xb6312c9a in QMetaObject::metacall (object=0x9e72708, cl=QMetaObject::QueryPropertyScriptable, idx=30, argv=0xb32dfaec) at kernel/qmetaobject.cpp:237
#13 0xb63213d5 in QMetaObject::activate (sender=0xb32e02e8, m=0xb64215a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#14 0xb6372aa7 in QTimer::timeout (this=0xb32e02e8) at .moc/release-shared/moc_qtimer.cpp:134
#15 0xb632960e in QTimer::timerEvent (this=0xb32e02e8, e=0xb32e0020) at kernel/qtimer.cpp:271
#16 0xb631e254 in QObject::event (this=0xb32e02e8, e=0x8ada6030) at kernel/qobject.cpp:1212
#17 0xb65584dc in QApplicationPrivate::notify_helper (this=0x9bc7748, receiver=0xb32e02e8, e=0xb32e0020) at kernel/qapplication.cpp:4300
#18 0xb655f05e in QApplication::notify (this=0xbfffe01c, receiver=0xb32e02e8, e=0xb32e0020) at kernel/qapplication.cpp:3704
#19 0xb72db40a in KApplication::notify (this=0xbfffe01c, receiver=0xb32e02e8, event=0xb32e0020) at ../../kdeui/kernel/kapplication.cpp:302
#20 0xb630da3b in QCoreApplication::notifyInternal (this=0xbfffe01c, receiver=0xb32e02e8, event=0xb32e0020) at kernel/qcoreapplication.cpp:704
#21 0xb633cd66 in QCoreApplication::sendEvent (this=0x9e88734) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0x9e88734) at kernel/qeventdispatcher_unix.cpp:603
#23 0xb63398e4 in timerSourceDispatch (source=0x9e88700) at kernel/qeventdispatcher_glib.cpp:184
#24 0xb5837875 in g_main_dispatch (context=0x9cc6030) at gmain.c:2425
#25 g_main_context_dispatch (context=0x9cc6030) at gmain.c:2995
#26 0xb583b660 in g_main_context_iterate (context=0x9cc6030, block=<value optimized out>, dispatch=1, self=0x9ddebd0) at gmain.c:3073
#27 0xb583b79c in g_main_context_iteration (context=0x9cc6030, may_block=1) at gmain.c:3136
#28 0xb63395d5 in QEventDispatcherGlib::processEvents (this=0x9dde2b8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#29 0xb630c059 in QEventLoop::processEvents (this=0xb32e0290, flags=) at kernel/qeventloop.cpp:149
#30 0xb630c4aa in QEventLoop::exec (this=0xb32e0290, flags=...) at kernel/qeventloop.cpp:201
#31 0xb62085a8 in QThread::exec (this=0x9ddde48) at thread/qthread.cpp:487
#32 0xb778d012 in Kerfuffle::ThreadExecution::run (this=0x9ddde48) at ../../../ark/kerfuffle/threading.cpp:47
#33 0xb620b32e in QThreadPrivate::start (arg=0x9ddde48) at thread/qthread_unix.cpp:248
#34 0xb5a2196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#35 0xb600da4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb54cb710 (LWP 11410)):
#0  0xb77a8430 in __kernel_vsyscall ()
#1  0xb5a26015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb601a9dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb620c287 in QWaitConditionPrivate::wait (this=0x9dde3fc, mutex=0x9dde3e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9dde3fc, mutex=0x9dde3e8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb620b3c9 in QThread::wait (this=0x9ddde48, time=4294967295) at thread/qthread_unix.cpp:619
#6  0xb778a4ce in ~Job (this=0x9e72708, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.cpp:57
#7  0xb778cc1f in ~ListJob (this=0x9e72708, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.h:83
#8  0xb631d18f in QObjectPrivate::deleteChildren (this=0x9e74490) at kernel/qobject.cpp:1986
#9  0xb632429d in ~QObject (this=0x9e74468, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#10 0xb778d897 in ~ArchiveBase (this=0x9e74468, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/archivebase.cpp:53
#11 0xb3d0f1cd in ~ArchiveModel (this=0x9c97420, __in_chrg=<value optimized out>) at ../../../ark/part/archivemodel.cpp:207
#12 0xb631d18f in QObjectPrivate::deleteChildren (this=0x9cb22c0) at kernel/qobject.cpp:1986
#13 0xb632429d in ~QObject (this=0x9cd5790, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#14 0xb774fa7f in ~Part (this=0x9cd5790, __vtt_parm=0xb3d1d58c, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:212
#15 0xb775020a in ~ReadOnlyPart (this=0x9cd5790, __vtt_parm=0xb3d1d588, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:459
#16 0xb775037f in ~ReadWritePart (this=0x9cd5790, __vtt_parm=0xb3d1d584, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:721
#17 0xb3d00c8c in ~Part (this=0x9cd5790, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/part/part.cpp:132
#18 0x080513f1 in ~MainWindow (this=0x9c67d10, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/app/mainwindow.cpp:74
#19 0xb631cd65 in qDeleteInEventHandler (o=0xfffffe00) at kernel/qobject.cpp:3998
#20 0xb631e428 in QObject::event (this=0x9c67d10, e=0x1) at kernel/qobject.cpp:1231
#21 0xb65b6326 in QWidget::event (this=0x9c67d10, event=0x9cb0128) at kernel/qwidget.cpp:8455
#22 0xb69d1bc7 in QMainWindow::event (this=0x9c67d10, event=0x9cb0128) at widgets/qmainwindow.cpp:1433
#23 0xb73cd2e4 in KMainWindow::event (this=0x9c67d10, ev=0x9cb0128) at ../../kdeui/widgets/kmainwindow.cpp:1103
#24 0xb74150ff in KXmlGuiWindow::event (this=0x9c67d10, ev=0x9cb0128) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#25 0xb65584dc in QApplicationPrivate::notify_helper (this=0x9bc7748, receiver=0x9c67d10, e=0x9cb0128) at kernel/qapplication.cpp:4300
#26 0xb655f0f9 in QApplication::notify (this=0xbfffe01c, receiver=0x9c67d10, e=0x9cb0128) at kernel/qapplication.cpp:4265
#27 0xb72db40a in KApplication::notify (this=0xbfffe01c, receiver=0x9c67d10, event=0x9cb0128) at ../../kdeui/kernel/kapplication.cpp:302
#28 0xb630da3b in QCoreApplication::notifyInternal (this=0xbfffe01c, receiver=0x9c67d10, event=0x9cb0128) at kernel/qcoreapplication.cpp:704
#29 0xb6310473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9bb1fc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9bb1fc8) at kernel/qcoreapplication.cpp:1345
#31 0xb63105dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#32 0xb6339adf in QCoreApplication::sendPostedEvents (s=0x9bca3c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x9bca3c0) at kernel/qeventdispatcher_glib.cpp:276
#34 0xb5837875 in g_main_dispatch (context=0x9bc9870) at gmain.c:2425
#35 g_main_context_dispatch (context=0x9bc9870) at gmain.c:2995
#36 0xb583b660 in g_main_context_iterate (context=0x9bc9870, block=<value optimized out>, dispatch=1, self=0x9bbe0e8) at gmain.c:3073
#37 0xb583b79c in g_main_context_iteration (context=0x9bc9870, may_block=1) at gmain.c:3136
#38 0xb63395d5 in QEventDispatcherGlib::processEvents (this=0x9bb1b60, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#39 0xb6618135 in QGuiEventDispatcherGlib::processEvents (this=0x9bb1b60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0xb630c059 in QEventLoop::processEvents (this=0xbfffdf74, flags=) at kernel/qeventloop.cpp:149
#41 0xb630c4aa in QEventLoop::exec (this=0xbfffdf74, flags=...) at kernel/qeventloop.cpp:201
#42 0xb631069f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0xb6558577 in QApplication::exec () at kernel/qapplication.cpp:3579
#44 0x08050499 in main (argc=2, argv=0xbfffe3b4) at ../../../ark/app/main.cpp:210

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

Possible duplicates by query: bug 283998, bug 279736, bug 279735, bug 278447, bug 273285.

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2011-11-24 12:22:39 UTC

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