Bug 251147

Summary: Ark crashed with SIGSEGV when quitted while loading large archive
Product: [Applications] ark Reporter: محمد النقيب <nakieb>
Component: generalAssignee: Harald Hvaal <metellius>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cyril.frausti, rakuco
Priority: NOR    
Version: 2.15   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description محمد النقيب 2010-09-13 21:09:30 UTC
Application: ark (2.15)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Ark crashed with SIGSEGV when quitted while loading large archive

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb4ea9b70 (LWP 4429)):
[KCrash Handler]
#7  malloc_consolidate (av=<value optimized out>) at malloc.c:5136
#8  0x00870afd in _int_malloc (av=<value optimized out>, bytes=<value optimized out>) at malloc.c:4370
#9  0x00873a6c in _int_realloc (av=<value optimized out>, oldp=0x9ae09d0, oldsize=2056, nb=4104) at malloc.c:5271
#10 0x00873f9d in *__GI___libc_realloc (oldmem=0x9ae09d8, bytes=4096) at malloc.c:3821
#11 0x07dc70e4 in qRealloc (ptr=0x9ae09d8, size=4096) at global/qmalloc.cpp:65
#12 0x07ded6c5 in QListData::realloc (this=0x9844c30, alloc=1019) at tools/qlist.cpp:221
#13 0x07ded8f4 in QListData::append (this=0x9844c30, n=1) at tools/qlist.cpp:243
#14 0x07ded9c5 in QListData::append (this=0x9844c30) at tools/qlist.cpp:253
#15 0x07ed2e3b in QList<QPostEvent>::append(QPostEvent const&) () from /usr/lib/libQtCore.so.4
#16 0x07ed0d0e in QCoreApplication::postEvent (receiver=0x9a87938, event=0xb4424ff0, priority=0) at kernel/qcoreapplication.cpp:1177
#17 0x07ed0f6c in QCoreApplication::postEvent (receiver=0x9a87938, event=0xb4424ff0) at kernel/qcoreapplication.cpp:1094
#18 0x07ee0706 in queued_activate (sender=<value optimized out>, signal=<value optimized out>, c=0x9a87c60, argv=0xb4ea8738, semaphore=0x0) at kernel/qobject.cpp:3158
#19 0x07ee69f5 in QMetaObject::activate (sender=0x9a87938, m=0x5cb28c, local_signal_index=2, argv=0xb4ea8738) at kernel/qobject.cpp:3251
#20 0x005b2d43 in Kerfuffle::Job::newEntry (this=0x9a87938, _t1=...) at ./jobs.moc:113
#21 0x005b2d84 in Kerfuffle::Job::onEntry (this=0x9a87938, archiveEntry=...) at ../../../ark/kerfuffle/jobs.cpp:81
#22 0x005b25ab in Kerfuffle::ReadOnlyArchiveInterface::entry (this=0x9a89248, archiveEntry=...) at ../../../ark/kerfuffle/archiveinterface.cpp:83
#23 0x0240f85b in LibArchiveInterface::emitEntryFromArchiveEntry (this=0x9a89248, aentry=0x9a52e10) at ../../../../ark/plugins/libarchive/libarchivehandler.cpp:641
#24 0x02411ee3 in LibArchiveInterface::list (this=0x9a89248) at ../../../../ark/plugins/libarchive/libarchivehandler.cpp:112
#25 0x005b4015 in Kerfuffle::ListJob::doWork (this=0x9a87938) at ../../../ark/kerfuffle/jobs.cpp:137
#26 0x005b3e41 in Kerfuffle::ListJob::qt_metacall (this=0x9a87938, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xb4ea8adc) at ./jobs.moc:176
#27 0x07ed3d4a in QMetaObject::metacall (object=0x9a87938, cl=1207959552, idx=31, argv=0xb4ea8adc) at kernel/qmetaobject.cpp:237
#28 0x07ee6ab5 in QMetaObject::activate (sender=0xb4ea92e8, m=0x7fff5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#29 0x07f38217 in QTimer::timeout (this=0xb4ea92e8) at .moc/release-shared/moc_qtimer.cpp:134
#30 0x07eec65e in QTimer::timerEvent (this=0xb4ea92e8, e=0xb4ea9010) at kernel/qtimer.cpp:271
#31 0x07ee0924 in QObject::event (this=0xb4ea92e8, e=0x5009a77f) at kernel/qobject.cpp:1183
#32 0x08add77c in QApplicationPrivate::notify_helper (this=0x985af48, receiver=0xb4ea92e8, e=0xb4ea9010) at kernel/qapplication.cpp:4396
#33 0x08ae37ce in QApplication::notify (this=0xbfbec96c, receiver=0xb4ea92e8, e=0xb4ea9010) at kernel/qapplication.cpp:3798
#34 0x00e35a9a in KApplication::notify (this=0xbfbec96c, receiver=0xb4ea92e8, event=0xb4ea9010) at ../../kdeui/kernel/kapplication.cpp:310
#35 0x07ecdfeb in QCoreApplication::notifyInternal (this=0xbfbec96c, receiver=0xb4ea92e8, event=0xb4ea9010) at kernel/qcoreapplication.cpp:732
#36 0x07effd46 in QCoreApplication::sendEvent (this=0x9a8eec4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QTimerInfoList::activateTimers (this=0x9a8eec4) at kernel/qeventdispatcher_unix.cpp:602
#38 0x07efcb04 in timerSourceDispatch (source=0x9a8ee90) at kernel/qeventdispatcher_glib.cpp:184
#39 0x0468f5e5 in g_main_dispatch (context=0x99e9d68) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#40 IA__g_main_context_dispatch (context=0x99e9d68) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#41 0x046932d8 in g_main_context_iterate (context=0x99e9d68, block=<value optimized out>, dispatch=1, self=0x99f20e8) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#42 0x046934b8 in IA__g_main_context_iteration (context=0x99e9d68, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#43 0x07efc7f5 in QEventDispatcherGlib::processEvents (this=0x99e2718, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#44 0x07ecca99 in QEventLoop::processEvents (this=0xb4ea9290, flags=) at kernel/qeventloop.cpp:149
#45 0x07eccf1a in QEventLoop::exec (this=0xb4ea9290, flags=...) at kernel/qeventloop.cpp:201
#46 0x07dc9c5e in QThread::exec (this=0x9a77a28) at thread/qthread.cpp:490
#47 0x005b5fb2 in Kerfuffle::ThreadExecution::run (this=0x9a77a28) at ../../../ark/kerfuffle/threading.cpp:49
#48 0x07dccf39 in QThreadPrivate::start (arg=0x9a77a28) at thread/qthread_unix.cpp:266
#49 0x00b7c96e in start_thread (arg=0xb4ea9b70) at pthread_create.c:300
#50 0x008d0a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb772f710 (LWP 4428)):
#0  0x00802422 in __kernel_vsyscall ()
#1  0x00b81015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x008dd9dd in __pthread_cond_wait (cond=0x9a774a8, mutex=0x9a77490) at forward.c:139
#3  0x07dcdb07 in QWaitConditionPrivate::wait (this=0x9a77418, mutex=0x9a77400, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9a77418, mutex=0x9a77400, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x07dccb5f in QThread::wait (this=0x9a77a28, time=4294967295) at thread/qthread_unix.cpp:652
#6  0x005b353e in ~Job (this=0x9a87938, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.cpp:58
#7  0x005b5c7f in ~ListJob (this=0x9a87938, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.h:84
#8  0x07ee0c36 in QObjectPrivate::deleteChildren (this=0x9a88ed0) at kernel/qobject.cpp:1957
#9  0x07ee8380 in ~QObject (this=0x9a77548, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#10 0x005b6730 in ~Archive (this=0x9a77548, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/archive.h:92
#11 ~ArchiveBase (this=0x9a77548, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/archivebase.cpp:53
#12 0x05efd81d in ~ArchiveModel (this=0x99d50c8, __in_chrg=<value optimized out>) at ../../../ark/part/archivemodel.cpp:208
#13 0x07ee0c36 in QObjectPrivate::deleteChildren (this=0x99cf2d0) at kernel/qobject.cpp:1957
#14 0x07ee8380 in ~QObject (this=0x99cada0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#15 0x0073559f in ~Part (this=0x99cada0, __vtt_parm=0x5f0c3ec, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:212
#16 0x00735d2a in ~ReadOnlyPart (this=0x99cada0, __vtt_parm=0x5f0c3e8, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:459
#17 0x00735e9f in ~ReadWritePart (this=0x99cada0, __vtt_parm=0x5f0c3e4, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:721
#18 0x05eeedac in ~Part (this=0x99cada0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/part/part.cpp:133
#19 0x08055131 in ~MainWindow (this=0x99be738, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/app/mainwindow.cpp:74
#20 0x07ededc5 in qDeleteInEventHandler (o=0xfffffe00) at kernel/qobject.cpp:3988
#21 0x07ee0ae8 in QObject::event (this=0x99be738, e=0x1) at kernel/qobject.cpp:1202
#22 0x08b3ae36 in QWidget::event (this=0x99be738, event=0x9ad80b0) at kernel/qwidget.cpp:8617
#23 0x08f79fd7 in QMainWindow::event (this=0x99be738, event=0x9ad80b0) at widgets/qmainwindow.cpp:1417
#24 0x00f2bf24 in KMainWindow::event (this=0x99be738, ev=0x9ad80b0) at ../../kdeui/widgets/kmainwindow.cpp:1100
#25 0x00f749df in KXmlGuiWindow::event (this=0x99be738, ev=0x9ad80b0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:130
#26 0x08add77c in QApplicationPrivate::notify_helper (this=0x985af48, receiver=0x99be738, e=0x9ad80b0) at kernel/qapplication.cpp:4396
#27 0x08ae3869 in QApplication::notify (this=0xbfbec96c, receiver=0x99be738, e=0x9ad80b0) at kernel/qapplication.cpp:4361
#28 0x00e35a9a in KApplication::notify (this=0xbfbec96c, receiver=0x99be738, event=0x9ad80b0) at ../../kdeui/kernel/kapplication.cpp:310
#29 0x07ecdfeb in QCoreApplication::notifyInternal (this=0xbfbec96c, receiver=0x99be738, event=0x9ad80b0) at kernel/qcoreapplication.cpp:732
#30 0x07ed124b in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9844c18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9844c18) at kernel/qcoreapplication.cpp:1373
#32 0x07ed140d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#33 0x07efcd04 in QCoreApplication::sendPostedEvents (s=0x985d310) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x985d310) at kernel/qeventdispatcher_glib.cpp:277
#35 0x0468f5e5 in g_main_dispatch (context=0x985d290) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#36 IA__g_main_context_dispatch (context=0x985d290) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#37 0x046932d8 in g_main_context_iterate (context=0x985d290, block=<value optimized out>, dispatch=1, self=0x985b0d8) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#38 0x046934b8 in IA__g_main_context_iteration (context=0x985d290, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#39 0x07efc7f5 in QEventDispatcherGlib::processEvents (this=0x98448f8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#40 0x08b9ede5 in QGuiEventDispatcherGlib::processEvents (this=0x98448f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x07ecca99 in QEventLoop::processEvents (this=0xbfbec8c4, flags=) at kernel/qeventloop.cpp:149
#42 0x07eccf1a in QEventLoop::exec (this=0xbfbec8c4, flags=...) at kernel/qeventloop.cpp:201
#43 0x07ed14cf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#44 0x08adc5a7 in QApplication::exec () at kernel/qapplication.cpp:3672
#45 0x08054389 in main (argc=4, argv=0xbfbecd04) at ../../../ark/app/main.cpp:209

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

Possible duplicates by query: bug 229734.

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2010-09-13 21:42:35 UTC

*** This bug has been marked as a duplicate of bug 193908 ***
Comment 2 cyril.frausti 2011-07-27 13:41:02 UTC
Created attachment 62238 [details]
New crash information added by DrKonqi

ark (2.16) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2

- What I was doing when the application crashed:
Open .tgz archive, and close it before that loading be completed..

-- Backtrace (Reduced):
#7  Kerfuffle::ReadOnlyArchiveInterface::entry (this=0x99d37b8, archiveEntry=...) at ../../../ark/kerfuffle/archiveinterface.cpp:83
#8  0xb2062678 in LibArchiveInterface::emitEntryFromArchiveEntry (this=0x99d37b8, aentry=0x9a0a4d8) at ../../../../ark/plugins/libarchive/libarchivehandler.cpp:649
#9  0xb2064ff3 in LibArchiveInterface::list (this=0x99d37b8) at ../../../../ark/plugins/libarchive/libarchivehandler.cpp:115
#10 0xb77cafc5 in Kerfuffle::ListJob::doWork (this=0x99f29e8) at ../../../ark/kerfuffle/jobs.cpp:158
#11 0xb77cc021 in Kerfuffle::ListJob::qt_metacall (this=0x99f29e8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xb1dd7ecc) at ./jobs.moc:176