Bug 242187 - Ark crashes after closing it while Ark is still populating the contents of the archive.
Summary: Ark crashes after closing it while Ark is still populating the contents of th...
Status: RESOLVED DUPLICATE of bug 193908
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Hvaal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-19 19:18 UTC by Guido Kroon
Modified: 2010-06-19 19:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Kroon 2010-06-19 19:18:55 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-21-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Apparently Ark isn't very fond of people who try the close Ark when it's still busy populating the contents of the archive.

The crash can be reproduced every time.

 -- Backtrace:
Application: Ark (ark), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7f2230cd0760 (LWP 1806))]

Thread 2 (Thread 0x7f2221cb6710 (LWP 1810)):
[KCrash Handler]
#5  0x00007f22308bc087 in Kerfuffle::ReadOnlyArchiveInterface::entry (this=0x22cb870, archiveEntry=...) at ../../../ark/kerfuffle/archiveinterface.cpp:82
#6  0x00007f2221efccbe in LibArchiveInterface::emitEntryFromArchiveEntry (this=0x22cb870, aentry=<value optimized out>) at ../../../../ark/plugins/libarchive/libarchivehandler.cpp:594
#7  0x00007f2221eff2da in LibArchiveInterface::list (this=0x22cb870) at ../../../../ark/plugins/libarchive/libarchivehandler.cpp:86
#8  0x00007f22308bd11f in Kerfuffle::ListJob::doWork (this=0x22ca3c0) at ../../../ark/kerfuffle/jobs.cpp:133
#9  0x00007f22308bc4b9 in Kerfuffle::Job::qt_metacall (this=0x22ca3c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f2221cb53f0) at ./jobs.moc:87
#10 0x00007f22308be860 in Kerfuffle::ListJob::qt_metacall (this=0x22cb870, _c=566972720, _id=470025144, _a=0x7f22) at ./jobs.moc:169
#11 0x00007f222e706e3f in QMetaObject::activate (sender=0x7f2221cb5e00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f22) at kernel/qobject.cpp:3293
#12 0x00007f222e703a63 in QObject::event (this=0x7f2221cb5e00, e=0x7f2221cb5b40) at kernel/qobject.cpp:1212
#13 0x00007f222ebc722c in QApplicationPrivate::notify_helper (this=0x1f8fc80, receiver=0x7f2221cb5e00, e=0x7f2221cb5b40) at kernel/qapplication.cpp:4300
#14 0x00007f222ebcd6fb in QApplication::notify (this=0x7fffedfaf790, receiver=0x7f2221cb5e00, e=0x7f2221cb5b40) at kernel/qapplication.cpp:4183
#15 0x00007f222fd73526 in KApplication::notify (this=0x7fffedfaf790, receiver=0x7f2221cb5e00, event=0x7f2221cb5b40) at ../../kdeui/kernel/kapplication.cpp:302
#16 0x00007f222e6f406c in QCoreApplication::notifyInternal (this=0x7fffedfaf790, receiver=0x7f2221cb5e00, event=0x7f2221cb5b40) at kernel/qcoreapplication.cpp:704
#17 0x00007f222e720d42 in QCoreApplication::sendEvent (this=0x2197470) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QTimerInfoList::activateTimers (this=0x2197470) at kernel/qeventdispatcher_unix.cpp:603
#19 0x00007f222e71d824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#20 0x00007f222a5738c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007f222a577748 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007f222a5778fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007f222e71d513 in QEventDispatcherGlib::processEvents (this=0x2168b20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#24 0x00007f222e6f2992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#25 0x00007f222e6f2d6c in QEventLoop::exec (this=0x7f2221cb5db0, flags=) at kernel/qeventloop.cpp:201
#26 0x00007f222e5fcd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#27 0x00007f22308bf08a in Kerfuffle::ThreadExecution::run (this=0x2168500) at ../../../ark/kerfuffle/threading.cpp:47
#28 0x00007f222e5ff775 in QThreadPrivate::start (arg=0x2168500) at thread/qthread_unix.cpp:248
#29 0x00007f222bf789ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#30 0x00007f222dfd66cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#31 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2230cd0760 (LWP 1806)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f222e60072b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2168df0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2168df0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f222e5ff814 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:619
#4  0x00007f22308bc8ec in ~Job (this=0x22ca3c0, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.cpp:56
#5  0x00007f22308beda2 in ~ListJob (this=0x22ca3c0, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.h:83
#6  0x00007f222e702a5c in QObjectPrivate::deleteChildren (this=0x22cb650) at kernel/qobject.cpp:1986
#7  0x00007f222e709ae4 in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#8  0x00007f22308bf70a in ~ArchiveBase (this=0x22c8560, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/archivebase.cpp:53
#9  0x00007f2225a6710d in ~ArchiveModel (this=0x20502b0, __in_chrg=<value optimized out>) at ../../../ark/part/archivemodel.cpp:199
#10 0x00007f222e702a5c in QObjectPrivate::deleteChildren (this=0x216fbd0) at kernel/qobject.cpp:1986
#11 0x00007f222e709ae4 in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#12 0x00007f2230677002 in ~Part (this=0x216f500, __vtt_parm=0x7f2225c767f8, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:212
#13 0x00007f2225a5a1eb in ~Part (this=0x216f500, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/part/part.cpp:132
#14 0x000000000040aa2b in ~MainWindow (this=0x203ba40, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/app/mainwindow.cpp:74
#15 0x00007f222e703d6d in QObject::event (this=0x203ba40, e=0x7f221c1ff2c0) at kernel/qobject.cpp:1231
#16 0x00007f222ec1cbdf in QWidget::event (this=0x203ba40, event=0x7f221c1ff2c0) at kernel/qwidget.cpp:8455
#17 0x00007f222efdfcab in QMainWindow::event (this=0x203ba40, event=0x7f221c1ff2c0) at widgets/qmainwindow.cpp:1433
#18 0x00007f222fe8a6f3 in KXmlGuiWindow::event (this=0x2168edc, ev=0x80) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#19 0x00007f222ebc722c in QApplicationPrivate::notify_helper (this=0x1f8fc80, receiver=0x203ba40, e=0x7f221c1ff2c0) at kernel/qapplication.cpp:4300
#20 0x00007f222ebcd6fb in QApplication::notify (this=0x7fffedfaf790, receiver=0x203ba40, e=0x7f221c1ff2c0) at kernel/qapplication.cpp:4183
#21 0x00007f222fd73526 in KApplication::notify (this=0x7fffedfaf790, receiver=0x203ba40, event=0x7f221c1ff2c0) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00007f222e6f406c in QCoreApplication::notifyInternal (this=0x7fffedfaf790, receiver=0x203ba40, event=0x7f221c1ff2c0) at kernel/qcoreapplication.cpp:704
#23 0x00007f222e6f67e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1f76c30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1f76c30) at kernel/qcoreapplication.cpp:1345
#25 0x00007f222e71d9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#27 0x00007f222a5738c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007f222a577748 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007f222a5778fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007f222e71d513 in QEventDispatcherGlib::processEvents (this=0x1f76380, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#31 0x00007f222ec7746e in QGuiEventDispatcherGlib::processEvents (this=0x2168edc, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f222e6f2992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f222e6f2d6c in QEventLoop::exec (this=0x7fffedfaf6e0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f222e6f6aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0x0000000000409c97 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../ark/app/main.cpp:210

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

Possible duplicates by query: bug 238356, bug 238210, bug 234902, bug 218558, bug 216415.

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2010-06-19 19:24:35 UTC

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