Bug 247058

Summary: Ark crashes when extraction path dialog is displayed the second time
Product: [Unmaintained] kdelibs Reporter: Christoph Feck <cfeck>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: faure, rakuco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christoph Feck 2010-08-08 13:15:00 UTC
Application: ark (2.16)
KDE Platform Version: 4.5.63 (KDE 4.5.63 (KDE 4.6 >= 20100805)) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.34.1-0.1-desktop i686
Distribution: "openSUSE 11.3 (i586)"

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

* in Dolphin, select an archive and "Open with Ark"
* in Ark, mark a file for extraction
* Click "Extract" toolbutton, and Cancel the extraction path dialog
* Click "Extract" toolbutton again
-> this crash

The crash happened with both tgz as well as 7z archives.

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Aborted
[Current thread is 1 (Thread 0xb4dfb710 (LWP 21627))]

Thread 2 (Thread 0xb1d3fb70 (LWP 21629)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb57fe0b1 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0xb5cd9737 in QProcessManager::run (this=0xb5e818ac) at /local/git/Qt/qt/src/corelib/io/qprocess_unix.cpp:245
#3  0xb5bf4c7e in QThreadPrivate::start (arg=0xb5e818ac) at /local/git/Qt/qt/src/corelib/thread/qthread_unix.cpp:274
#4  0xb5b56b25 in start_thread (arg=0xb1d3fb70) at pthread_create.c:297
#5  0xb580546e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4dfb710 (LWP 21627)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb575d7ff in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb575f140 in abort () at abort.c:92
#10 0xb5bea74b in qt_message_output (msgType=QtFatalMsg, buf=0x8445960 "ASSERT: \"lister->d->m_cachedItemsJob == 0\" in file /local/svn/kde/trunk/KDE/kdelibs/kio/kio/kdirlister_p.h, line 471")
    at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2259
#11 0xb5bea8b6 in qt_message (msgType=QtFatalMsg, msg=0xb5d75674 "ASSERT: \"%s\" in file %s, line %d", ap=0xbf8b7514 "\030\217Z\267\340\216Z\267\327\001")
    at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2305
#12 0xb5beace2 in qFatal (msg=0xb5d75674 "ASSERT: \"%s\" in file %s, line %d") at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2488
#13 0xb5bea2f0 in qt_assert (assertion=0xb75a8f18 "lister->d->m_cachedItemsJob == 0", file=0xb75a8ee0 "/local/svn/kde/trunk/KDE/kdelibs/kio/kio/kdirlister_p.h", line=471)
    at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2004
#14 0xb747e1dc in KDirLister::Private::CachedItemsJob::CachedItemsJob (this=0x8445830, lister=0x84092c8, items=..., rootItem=..., url=..., reload=false)
    at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/kdirlister_p.h:471
#15 0xb746e4ca in KDirListerCache::listDir (this=0x837dff8, lister=0x84092c8, _u=..., _keep=true, _reload=false) at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/kdirlister.cpp:195
#16 0xb747a2f2 in KDirLister::openUrl (this=0x84092c8, _url=..., _flags=...) at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/kdirlister.cpp:1963
#17 0xb748c88a in KDirModel::fetchMore (this=0x83ce720, parent=...) at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/kdirmodel.cpp:1092
#18 0xb74893da in KDirModelPrivate::_k_slotNewItems (this=0x8404a98, directoryUrl=..., items=...) at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/kdirmodel.cpp:430
#19 0xb748ce7e in KDirModel::qt_metacall (this=0x83ce720, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf8b79b4) at /local/build/KDE/kdelibs/kio/kdirmodel.moc:90
#20 0xb5d06242 in QMetaObject::metacall (object=0x83ce720, cl=QMetaObject::InvokeMetaMethod, idx=26, argv=0xbf8b79b4) at /local/git/Qt/qt/src/corelib/kernel/qmetaobject.cpp:237
#21 0xb5d19171 in QMetaObject::activate (sender=0x84092c8, m=0xb75e0b9c, local_signal_index=10, argv=0xbf8b79b4) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:3272
#22 0xb747d21d in KDirLister::itemsAdded (this=0x84092c8, _t1=..., _t2=...) at /local/build/KDE/kdelibs/kio/kdirlister.moc:274
#23 0xb747b9a9 in KDirLister::Private::emitItems (this=0x83f69f0) at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/kdirlister.cpp:2369
#24 0xb74742ee in KDirListerCache::slotEntries (this=0x837dff8, job=0x841cf00, entries=...) at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/kdirlister.cpp:1161
#25 0xb747d709 in KDirListerCache::qt_metacall (this=0x837dff8, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf8b7c04) at /local/build/KDE/kdelibs/kio/kdirlister_p.moc:104
#26 0xb5d06242 in QMetaObject::metacall (object=0x837dff8, cl=QMetaObject::InvokeMetaMethod, idx=11, argv=0xbf8b7c04) at /local/git/Qt/qt/src/corelib/kernel/qmetaobject.cpp:237
#27 0xb5d19171 in QMetaObject::activate (sender=0x841cf00, m=0xb75e0000, local_signal_index=0, argv=0xbf8b7c04) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:3272
#28 0xb745df7f in KIO::ListJob::entries (this=0x841cf00, _t1=0x841cf00, _t2=...) at /local/build/KDE/kdelibs/kio/jobclasses.moc:835
#29 0xb745a9bf in KIO::ListJobPrivate::slotListEntries (this=0x83f6b40, list=...) at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/job.cpp:2461
#30 0xb745dec3 in KIO::ListJob::qt_metacall (this=0x841cf00, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf8b7da8) at /local/build/KDE/kdelibs/kio/jobclasses.moc:821
#31 0xb5d06242 in QMetaObject::metacall (object=0x841cf00, cl=QMetaObject::InvokeMetaMethod, idx=46, argv=0xbf8b7da8) at /local/git/Qt/qt/src/corelib/kernel/qmetaobject.cpp:237
#32 0xb5d19171 in QMetaObject::activate (sender=0x83dc3c0, m=0xb75e2924, local_signal_index=6, argv=0xbf8b7da8) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:3272
#33 0xb74fba20 in KIO::SlaveInterface::listEntries (this=0x83dc3c0, _t1=...) at /local/build/KDE/kdelibs/kio/slaveinterface.moc:185
#34 0xb74f918d in KIO::SlaveInterface::dispatch (this=0x83dc3c0, _cmd=106, rawdata=...) at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/slaveinterface.cpp:193
#35 0xb74f8d46 in KIO::SlaveInterface::dispatch (this=0x83dc3c0) at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/slaveinterface.cpp:91
#36 0xb74ef05e in KIO::Slave::gotInput (this=0x83dc3c0) at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/slave.cpp:344
#37 0xb74f012a in KIO::Slave::qt_metacall (this=0x83dc3c0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf8b800c) at /local/build/KDE/kdelibs/kio/slave.moc:82
#38 0xb5d06242 in QMetaObject::metacall (object=0x83dc3c0, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbf8b800c) at /local/git/Qt/qt/src/corelib/kernel/qmetaobject.cpp:237
#39 0xb5d19171 in QMetaObject::activate (sender=0x82b9210, m=0xb75df4e4, local_signal_index=0, argv=0x0) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:3272
#40 0xb7424f47 in KIO::Connection::readyRead (this=0x82b9210) at /local/build/KDE/kdelibs/kio/connection.moc:92
#41 0xb7421ce8 in KIO::ConnectionPrivate::dequeue (this=0x840c288) at /local/svn/kde/trunk/KDE/kdelibs/kio/kio/connection.cpp:82
#42 0xb7424ed4 in KIO::Connection::qt_metacall (this=0x82b9210, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x82d0b68) at /local/build/KDE/kdelibs/kio/connection.moc:79
#43 0xb5d06242 in QMetaObject::metacall (object=0x82b9210, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x82d0b68) at /local/git/Qt/qt/src/corelib/kernel/qmetaobject.cpp:237
#44 0xb5d14281 in QMetaCallEvent::placeMetaCall (this=0x83f6490, object=0x82b9210) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:534
#45 0xb5d15305 in QObject::event (this=0x82b9210, e=0x83f6490) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:1211
#46 0xb62c2f1c in QApplicationPrivate::notify_helper (this=0x807af40, receiver=0x82b9210, e=0x83f6490) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4399
#47 0xb62c07c8 in QApplication::notify (this=0xbf8b9cc8, receiver=0x82b9210, e=0x83f6490) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3801
#48 0xb6f81eca in KApplication::notify (this=0xbf8b9cc8, receiver=0x82b9210, event=0x83f6490) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310
#49 0xb5cfebaf in QCoreApplication::notifyInternal (this=0xbf8b9cc8, receiver=0x82b9210, event=0x83f6490) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:732
#50 0xb5d0249d in QCoreApplication::sendEvent (receiver=0x82b9210, event=0x83f6490) at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:215
#51 0xb5cffc48 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80647d0) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1373
#52 0xb5cff905 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1266
#53 0xb5d3380c in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:220
#54 0xb5d3298a in postEventSourceDispatch (s=0x807cba0) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#55 0xb519ab49 in g_main_dispatch (context=0x807cb18) at gmain.c:1960
#56 IA__g_main_context_dispatch (context=0x807cb18) at gmain.c:2513
#57 0xb519b350 in g_main_context_iterate (context=0x807cb18, block=1, dispatch=1, self=0x807b068) at gmain.c:2591
#58 0xb519b60e in IA__g_main_context_iteration (context=0x807cb18, may_block=1) at gmain.c:2654
#59 0xb5d33134 in QEventDispatcherGlib::processEvents (this=0x807af00, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:415
#60 0xb6389550 in QGuiEventDispatcherGlib::processEvents (this=0x807af00, flags=...) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#61 0xb5cfc90d in QEventLoop::processEvents (this=0xbf8b898c, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#62 0xb5cfca51 in QEventLoop::exec (this=0xbf8b898c, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#63 0xb686ec90 in QDialog::exec (this=0x82d6220) at /local/git/Qt/qt/src/gui/dialogs/qdialog.cpp:552
#64 0xb2a0561b in Ark::Part::slotExtractFiles (this=0x81b6930) at /local/svn/kde/trunk/KDE/kdeutils/ark/part/part.cpp:556
#65 0xb2a001c3 in Ark::Part::qt_metacall (this=0x81b6930, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbf8b8b78) at /local/build/KDE/kdeutils/ark/part/moc_part.cpp:136
#66 0xb5d06242 in QMetaObject::metacall (object=0x81b6930, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbf8b8b78) at /local/git/Qt/qt/src/corelib/kernel/qmetaobject.cpp:237
#67 0xb5d19171 in QMetaObject::activate (sender=0x8114808, m=0xb6d7e6f8, local_signal_index=1, argv=0xbf8b8b78) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:3272
#68 0xb62b470e in QAction::triggered (this=0x8114808, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
#69 0xb62b3ba3 in QAction::activate (this=0x8114808, event=QAction::Trigger) at /local/git/Qt/qt/src/gui/kernel/qaction.cpp:1256
#70 0xb62b4d5f in QAction::trigger (this=0x8114808) at /local/git/Qt/qt/src/gui/kernel/qaction.h:218
#71 0xb681f1ab in QToolButton::nextCheckState (this=0x81fc4d0) at /local/git/Qt/qt/src/gui/widgets/qtoolbutton.cpp:1147
#72 0xb672bf58 in QAbstractButtonPrivate::click (this=0x81fc4f0) at /local/git/Qt/qt/src/gui/widgets/qabstractbutton.cpp:528
#73 0xb672d3bf in QAbstractButton::mouseReleaseEvent (this=0x81fc4d0, e=0xbf8b947c) at /local/git/Qt/qt/src/gui/widgets/qabstractbutton.cpp:1121
#74 0xb681daf8 in QToolButton::mouseReleaseEvent (this=0x81fc4d0, e=0xbf8b947c) at /local/git/Qt/qt/src/gui/widgets/qtoolbutton.cpp:721
#75 0xb6322eb5 in QWidget::event (this=0x81fc4d0, event=0xbf8b947c) at /local/git/Qt/qt/src/gui/kernel/qwidget.cpp:8160
#76 0xb672d230 in QAbstractButton::event (this=0x81fc4d0, e=0xbf8b947c) at /local/git/Qt/qt/src/gui/widgets/qabstractbutton.cpp:1080
#77 0xb681f220 in QToolButton::event (this=0x81fc4d0, event=0xbf8b947c) at /local/git/Qt/qt/src/gui/widgets/qtoolbutton.cpp:1163
#78 0xb62c2f1c in QApplicationPrivate::notify_helper (this=0x807af40, receiver=0x81fc4d0, e=0xbf8b947c) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4399
#79 0xb62c105d in QApplication::notify (this=0xbf8b9cc8, receiver=0x81fc4d0, e=0xbf8b947c) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3962
#80 0xb6f81eca in KApplication::notify (this=0xbf8b9cc8, receiver=0x81fc4d0, event=0xbf8b947c) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310
#81 0xb5cfebaf in QCoreApplication::notifyInternal (this=0xbf8b9cc8, receiver=0x81fc4d0, event=0xbf8b947c) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:732
#82 0xb62c57cf in QCoreApplication::sendSpontaneousEvent (receiver=0x81fc4d0, event=0xbf8b947c) at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:218
#83 0xb62bf789 in QApplicationPrivate::sendMouseEvent (receiver=0x81fc4d0, event=0xbf8b947c, alienWidget=0x81fc4d0, nativeWidget=0x8194770, buttonDown=0xb6d9c1e0, lastMouseReceiver=..., spontaneous=
    true) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3059
#84 0xb6357bb6 in QETWidget::translateMouseEvent (this=0x8194770, event=0xbf8b99b0) at /local/git/Qt/qt/src/gui/kernel/qapplication_x11.cpp:4403
#85 0xb635487e in QApplication::x11ProcessEvent (this=0xbf8b9cc8, event=0xbf8b99b0) at /local/git/Qt/qt/src/gui/kernel/qapplication_x11.cpp:3414
#86 0xb63891fa in x11EventSourceDispatch (s=0x807e1b0, callback=0, user_data=0x0) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#87 0xb519ab49 in g_main_dispatch (context=0x807cb18) at gmain.c:1960
#88 IA__g_main_context_dispatch (context=0x807cb18) at gmain.c:2513
#89 0xb519b350 in g_main_context_iterate (context=0x807cb18, block=1, dispatch=1, self=0x807b068) at gmain.c:2591
#90 0xb519b60e in IA__g_main_context_iteration (context=0x807cb18, may_block=1) at gmain.c:2654
#91 0xb5d33134 in QEventDispatcherGlib::processEvents (this=0x807af00, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:415
#92 0xb6389550 in QGuiEventDispatcherGlib::processEvents (this=0x807af00, flags=...) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#93 0xb5cfc90d in QEventLoop::processEvents (this=0xbf8b9c4c, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#94 0xb5cfca51 in QEventLoop::exec (this=0xbf8b9c4c, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#95 0xb5cff29a in QCoreApplication::exec () at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1009
#96 0xb62c03fa in QApplication::exec () at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3675
#97 0x08055839 in main (argc=4, argv=0xbf8ba0c4) at /local/svn/kde/trunk/KDE/kdeutils/ark/app/main.cpp:209

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2010-08-10 04:11:41 UTC
Reassigning to kdelibs and CC'ing dfaure. I remember some other crashes related to kdirlister, but I thought they had already been fixed.
Comment 2 caulier.gilles 2010-11-19 10:50:02 UTC
*** Bug 257301 has been marked as a duplicate of this bug. ***
Comment 3 David Faure 2011-02-15 02:17:56 UTC
I just fixed this one now, for kdelibs-4.6.1. Same as bug 175035.

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