Bug 305172

Summary: Ark crashes when closing before opening large archive
Product: [Applications] ark Reporter: Jorge <jsilva.mx>
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED DUPLICATE    
Severity: crash CC: qub.box
Priority: NOR    
Version: 2.18   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jorge 2012-08-15 00:32:07 UTC
Application: ark (2.18)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I was opening a tar.bz2 archive of 153MiB in size. Since it was taking to long to load, I selected "Extract archive here" directly on dolphin and closed the ark window. That is when the application crashed, thought the decompression process started from Dolphin finished without errors.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
[Current thread is 1 (Thread 0x7fc4b2a7f780 (LWP 5041))]

Thread 3 (Thread 0x7fc49ca68700 (LWP 5042)):
[KCrash Handler]
#6  0x00007fc4b2686b97 in Kerfuffle::ReadOnlyArchiveInterface::entry (this=<optimized out>, archiveEntry=...) at ../../kerfuffle/archiveinterface.cpp:82
#7  0x00007fc49cf1f157 in LibArchiveInterface::emitEntryFromArchiveEntry (this=0x14660a0, aentry=<optimized out>) at ../../../plugins/libarchive/libarchivehandler.cpp:649
#8  0x00007fc49cf1fade in LibArchiveInterface::list (this=0x14660a0) at ../../../plugins/libarchive/libarchivehandler.cpp:115
#9  0x00007fc4b26878cb in Kerfuffle::ListJob::doWork (this=0x10d44b0) at ../../kerfuffle/jobs.cpp:178
#10 0x00007fc4b2687fc1 in Kerfuffle::Job::Private::run (this=0x146d060) at ../../kerfuffle/jobs.cpp:60
#11 0x00007fc4b0052fcb in QThreadPrivate::start (arg=0x146d060) at thread/qthread_unix.cpp:298
#12 0x00007fc4ac84de9a in start_thread (arg=0x7fc49ca68700) at pthread_create.c:308
#13 0x00007fc4afa0c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc497606700 (LWP 5043)):
#0  0x00007fc4afa00b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc4ac381036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc4ac381164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc4b0181426 in QEventDispatcherGlib::processEvents (this=0x7fc4900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fc4b0150c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc4b0150ed7 in QEventLoop::exec (this=0x7fc497605dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc4b004ffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fc4b01309ff in QInotifyFileSystemWatcherEngine::run (this=0x149ed70) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc4b0052fcb in QThreadPrivate::start (arg=0x149ed70) at thread/qthread_unix.cpp:298
#9  0x00007fc4ac84de9a in start_thread (arg=0x7fc497606700) at pthread_create.c:308
#10 0x00007fc4afa0c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc4b2a7f780 (LWP 5041)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc4b00534db in wait (time=18446744073709551615, this=0x146b980) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1462c38, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc4b0052be8 in QThread::wait (this=<optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:651
#4  0x00007fc4b2687450 in Kerfuffle::Job::~Job (this=0x10d44b0, __in_chrg=<optimized out>) at ../../kerfuffle/jobs.cpp:89
#5  0x00007fc4b2689ac2 in ~ListJob (this=0x10d44b0, __in_chrg=<optimized out>) at ../../kerfuffle/jobs.h:89
#6  Kerfuffle::ListJob::~ListJob (this=0x10d44b0, __in_chrg=<optimized out>) at ../../kerfuffle/jobs.h:89
#7  0x00007fc4b0164935 in QObjectPrivate::deleteChildren (this=0x1463630) at kernel/qobject.cpp:1908
#8  0x00007fc4b016ab9c in QObject::~QObject (this=0x1461f20, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#9  0x00007fc4b268a4d9 in Kerfuffle::ArchiveBase::~ArchiveBase (this=0x1461f20, __in_chrg=<optimized out>) at ../../kerfuffle/archivebase.cpp:53
#10 0x00007fc4a051117d in ArchiveModel::~ArchiveModel (this=0x1157860, __in_chrg=<optimized out>) at ../../part/archivemodel.cpp:284
#11 0x00007fc4a05111c9 in ArchiveModel::~ArchiveModel (this=0x1157860, __in_chrg=<optimized out>) at ../../part/archivemodel.cpp:289
#12 0x00007fc4b0164935 in QObjectPrivate::deleteChildren (this=0x1190f40) at kernel/qobject.cpp:1908
#13 0x00007fc4b016ab9c in QObject::~QObject (this=0x1075730, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#14 0x00007fc4b2194ce8 in KParts::Part::~Part (this=0x1075730, __vtt_parm=0x7fc4a0723b98, __in_chrg=<optimized out>) at ../../kparts/part.cpp:190
#15 0x00007fc4a05039cf in Ark::Part::~Part (this=0x1075730, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/part.cpp:131
#16 0x00007fc4a0503a29 in Ark::Part::~Part (this=0x1075730, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/part.cpp:139
#17 0x000000000040dddd in MainWindow::~MainWindow (this=0x1115120, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../app/mainwindow.cpp:72
#18 0x000000000040de89 in MainWindow::~MainWindow (this=0x1115120, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../app/mainwindow.cpp:74
#19 0x00007fc4b016b478 in QObject::event (this=0x1115120, e=<optimized out>) at kernel/qobject.cpp:1176
#20 0x00007fc4b0b9cb7b in QWidget::event (this=0x1115120, event=0x1484660) at kernel/qwidget.cpp:8821
#21 0x00007fc4b0f76c4b in QMainWindow::event (this=0x1115120, event=0x1484660) at widgets/qmainwindow.cpp:1478
#22 0x00007fc4b19824d8 in KXmlGuiWindow::event (this=0x1115120, ev=0x1484660) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#23 0x00007fc4b0b4c894 in notify_helper (e=0x1484660, receiver=0x1115120, this=0xfbd600) at kernel/qapplication.cpp:4559
#24 QApplicationPrivate::notify_helper (this=0xfbd600, receiver=0x1115120, e=0x1484660) at kernel/qapplication.cpp:4531
#25 0x00007fc4b0b51713 in QApplication::notify (this=0x7fff72809160, receiver=0x1115120, e=0x1484660) at kernel/qapplication.cpp:4420
#26 0x00007fc4b18869e6 in KApplication::notify (this=0x7fff72809160, receiver=0x1115120, event=0x1484660) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007fc4b0151e9c in QCoreApplication::notifyInternal (this=0x7fff72809160, receiver=0x1115120, event=0x1484660) at kernel/qcoreapplication.cpp:876
#28 0x00007fc4b0155c6a in sendEvent (event=0x1484660, receiver=0x1115120) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xf91670) at kernel/qcoreapplication.cpp:1500
#30 0x00007fc4b0180f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#32 0x00007fc4ac380d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fc4ac3810a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fc4ac381164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fc4b01813bf in QEventDispatcherGlib::processEvents (this=0xf92b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0x00007fc4b0bf4d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fc4b0150c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fc4b0150ed7 in QEventLoop::exec (this=0x7fff728090f0, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007fc4b0155f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#40 0x000000000040a748 in main (argc=4, argv=0x7fff72809db8) at ../../app/main.cpp:209

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

Possible duplicates by query: bug 300776, bug 296445, bug 291597, bug 290692, bug 288407.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-08-15 03:08:52 UTC

*** This bug has been marked as a duplicate of bug 193908 ***
Comment 2 qub.box 2013-05-09 13:31:06 UTC
Created attachment 79798 [details]
New crash information added by DrKonqi

ark (2.19) on KDE Platform 4.10.2 using Qt 4.8.4

- What I was doing when the application crashed: I closed the ark application when it tried to load the contents of the archive

-- Backtrace (Reduced):
#6  0x0000003e5fc18965 in Kerfuffle::ReadOnlyArchiveInterface::entry(QHash<int, QVariant> const&) () from /lib64/libkerfuffle.so.4
#7  0x00007f3739299dcd in LibArchiveInterface::emitEntryFromArchiveEntry(archive_entry*) () from /usr/lib64/kde4/kerfuffle_libarchive.so
#8  0x00007f373929a8ae in LibArchiveInterface::list() () from /usr/lib64/kde4/kerfuffle_libarchive.so
#9  0x0000003e5fc195a0 in Kerfuffle::ListJob::doWork() () from /lib64/libkerfuffle.so.4
#10 0x0000003e5fc19301 in Kerfuffle::Job::Private::run() () from /lib64/libkerfuffle.so.4