Application that crashed: ark Version of the application: 2.13 KDE Version: 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1)) Qt Version: 4.5.1 Operating System: Linux 2.6.28-11-generic x86_64 Distribution: Ubuntu 9.04 What I was doing when the application crashed: KDE trunk r965053, qt-copy r964678 open this file: http://softlayer.dl.sourceforge.net/sourceforge/ufoai/ufoai-2.2.1-mappack.tar.bz2 click Extract cancel the dialog click Extract crash == also, the UI freezes sometimes right after opening the file also, the folder view has a toplevel folder named '.' instead of 'base' which is very odd -- Backtrace: Application: Ark (ark), signal: Aborted [KCrash Handler] #5 0x00007fbd0a93bfb5 in raise () from /lib/libc.so.6 #6 0x00007fbd0a93dbc3 in abort () from /lib/libc.so.6 #7 0x00007fbd0b6a98f1 in qt_message_output (msgType=QtFatalMsg, buf=0x9fd268 "ASSERT: \"lister->d->m_cachedItemsJob == 0\" in file /opt/kde/trunk/src/KDE/kdelibs/kio/kio/kdirlister_p.h, line 456") at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:2017 #8 0x00007fbd0b6a9a1b in qFatal (msg=0x7fbd0b7f6b60 "ASSERT: \"%s\" in file %s, line %d") at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:2216 #9 0x00007fbd0b6a9e4b in qt_assert (assertion=0x7fbd0df8d8e0 "lister->d->m_cachedItemsJob == 0", file=0x7fbd0df8d8a8 "/opt/kde/trunk/src/KDE/kdelibs/kio/kio/kdirlister_p.h", line=456) at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:1786 #10 0x00007fbd0de5fd66 in CachedItemsJob (this=0xe81100, lister=0xd002b0, items=@0xe802c0, rootItem=@0xe802b8, url=@0x7fff16b95580, reload=false) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/kdirlister_p.h:456 #11 0x00007fbd0de51ca3 in KDirListerCache::listDir (this=0xd8d7a0, lister=0xd002b0, _u=@0x7fff16b95850, _keep=true, _reload=false) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/kdirlister.cpp:181 #12 0x00007fbd0de53517 in KDirLister::openUrl (this=0xd002b0, _url=@0x7fff16b95850, _flags={i = 381245568}) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/kdirlister.cpp:1896 #13 0x00007fbd0de60567 in KDirModel::fetchMore (this=0xd00280, parent=@0x7fff16b95920) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/kdirmodel.cpp:1054 #14 0x00007fbd0de63c41 in KDirModelPrivate::_k_slotNewItems (this=0xdbc210, directoryUrl=@0xe7c5c0, items=@0xe7c5d0) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/kdirmodel.cpp:423 #15 0x00007fbd0de63f62 in KDirModel::qt_metacall (this=0xd00280, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff16b95c80) at /opt/kde/trunk/build/KDE/kdelibs/kio/kdirmodel.moc:82 #16 0x00007fbd0b7b9b20 in QMetaObject::activate (sender=0xd002b0, from_signal_index=14, to_signal_index=14, argv=0x7fff16b95c80) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3117 #17 0x00007fbd0b7bae6f in QMetaObject::activate (sender=0xd002b0, m=0x7fbd0e222f80, local_signal_index=10, argv=0x7fff16b95c80) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3194 #18 0x00007fbd0de48445 in KDirLister::itemsAdded (this=0xd002b0, _t1=@0xe7c5c0, _t2=@0xe7c5d0) at /opt/kde/trunk/build/KDE/kdelibs/kio/kdirlister.moc:268 #19 0x00007fbd0de4989f in KDirLister::Private::emitItems (this=0xc0c540) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/kdirlister.cpp:2303 #20 0x00007fbd0de4e10f in KDirListerCache::slotEntries (this=0xd8d7a0, job=0xe7eab0, entries=@0x7fff16b96530) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/kdirlister.cpp:1096 #21 0x00007fbd0de56431 in KDirListerCache::qt_metacall (this=0xd8d7a0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff16b96140) at /opt/kde/trunk/build/KDE/kdelibs/kio/kdirlister_p.moc:98 #22 0x00007fbd0b7b9b20 in QMetaObject::activate (sender=0xe7eab0, from_signal_index=40, to_signal_index=40, argv=0x7fff16b96140) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3117 #23 0x00007fbd0b7bae6f in QMetaObject::activate (sender=0xe7eab0, m=0x7fbd0e2215a0, local_signal_index=0, argv=0x7fff16b96140) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3194 #24 0x00007fbd0de27c8d in KIO::ListJob::entries (this=0xe7eab0, _t1=0xe7eab0, _t2=@0x7fff16b96530) at /opt/kde/trunk/build/KDE/kdelibs/kio/jobclasses.moc:781 #25 0x00007fbd0de30737 in KIO::ListJobPrivate::slotListEntries (this=0xea5b70, list=@0x7fff16b96530) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/job.cpp:2347 #26 0x00007fbd0de30a9b in KIO::ListJob::qt_metacall (this=0xe7eab0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff16b96400) at /opt/kde/trunk/build/KDE/kdelibs/kio/jobclasses.moc:767 #27 0x00007fbd0b7b9b20 in QMetaObject::activate (sender=0xba8000, from_signal_index=10, to_signal_index=10, argv=0x7fff16b96400) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3117 #28 0x00007fbd0b7bae6f in QMetaObject::activate (sender=0xba8000, m=0x7fbd0e226cc0, local_signal_index=6, argv=0x7fff16b96400) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3194 #29 0x00007fbd0dedbaff in KIO::SlaveInterface::listEntries (this=0xba8000, _t1=@0x7fff16b96530) at /opt/kde/trunk/build/KDE/kdelibs/kio/slaveinterface.moc:179 #30 0x00007fbd0dedd718 in KIO::SlaveInterface::dispatch (this=0xba8000, _cmd=106, rawdata=@0x7fff16b96600) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:193 #31 0x00007fbd0dedd537 in KIO::SlaveInterface::dispatch (this=0xba8000) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:91 #32 0x00007fbd0ded221f in KIO::Slave::gotInput (this=0xba8000) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/slave.cpp:322 #33 0x00007fbd0ded343f in KIO::Slave::qt_metacall (this=0xba8000, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff16b96790) at /opt/kde/trunk/build/KDE/kdelibs/kio/slave.moc:76 #34 0x00007fbd0b7b9b20 in QMetaObject::activate (sender=0xb90b10, from_signal_index=4, to_signal_index=4, argv=0x0) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3117 #35 0x00007fbd0b7bae6f in QMetaObject::activate (sender=0xb90b10, m=0x7fbd0e21ffc0, local_signal_index=0, argv=0x0) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3194 #36 0x00007fbd0ddfd992 in KIO::Connection::readyRead (this=0xb90b10) at /opt/kde/trunk/build/KDE/kdelibs/kio/connection.moc:86 #37 0x00007fbd0ddfe80a in KIO::ConnectionPrivate::dequeue (this=0xba9750) at /opt/kde/trunk/src/KDE/kdelibs/kio/kio/connection.cpp:82 #38 0x00007fbd0ddff69e in KIO::Connection::qt_metacall (this=0xb90b10, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xe3ec30) at /opt/kde/trunk/build/KDE/kdelibs/kio/connection.moc:73 #39 0x00007fbd0b7b338b in QMetaCallEvent::placeMetaCall (this=0xe879e0, object=0xb90b10) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:489 #40 0x00007fbd0b7b79bc in QObject::event (this=0xb90b10, e=0xe879e0) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:1115 #41 0x00007fbd0bcb30ef in QApplicationPrivate::notify_helper (this=0x914720, receiver=0xb90b10, e=0xe879e0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:4057 #42 0x00007fbd0bcb3491 in QApplication::notify (this=0x7fff16b9a4e0, receiver=0xb90b10, e=0xe879e0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:3604 #43 0x00007fbd0d8cf2cd in KApplication::notify (this=0x7fff16b9a4e0, receiver=0xb90b10, event=0xe879e0) at /opt/kde/trunk/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #44 0x00007fbd0b7a3729 in QCoreApplication::notifyInternal (this=0x7fff16b9a4e0, receiver=0xb90b10, event=0xe879e0) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:606 #45 0x00007fbd0bcaff7d in QCoreApplication::sendEvent (receiver=0xb90b10, event=0xe879e0) at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:213 #46 0x00007fbd0b7a3c7b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8ff100) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1244 #47 0x00007fbd0b7a3e52 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1140 #48 0x00007fbd0bd5d249 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:218 #49 0x00007fbd0b7d2035 in postEventSourceDispatch (s=0x917150) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:209 #50 0x00007fbd06d4a20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #51 0x00007fbd06d4d8e0 in ?? () from /usr/lib/libglib-2.0.so.0 #52 0x00007fbd06d4da7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #53 0x00007fbd0b7d1346 in QEventDispatcherGlib::processEvents (this=0x9148f0, flags={i = 381252448}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324 #54 0x00007fbd0bd5b9df in QGuiEventDispatcherGlib::processEvents (this=0x9148f0, flags={i = 381252544}) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202 #55 0x00007fbd0b7a09d7 in QEventLoop::processEvents (this=0x7fff16b97490, flags={i = 381252672}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149 #56 0x00007fbd0b7a0be4 in QEventLoop::exec (this=0x7fff16b97490, flags={i = 381252800}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventloop.cpp:196 #57 0x00007fbd0c1dbb82 in QDialog::exec (this=0x7fff16b974f0) at /opt/kde/trunk/src/qt-copy/src/gui/dialogs/qdialog.cpp:498 #58 0x00007fbd02ed6963 in Part::slotExtractFiles (this=0xa824c0) at /opt/kde/trunk/src/KDE/kdeutils/ark/part/part.cpp:535 #59 0x00007fbd02ed310d in Part::qt_metacall (this=0xa824c0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff16b978f0) at /opt/kde/trunk/build/KDE/kdeutils/ark/part/moc_part.cpp:125 #60 0x00007fbd0b7b9b20 in QMetaObject::activate (sender=0xa7ff20, from_signal_index=5, to_signal_index=6, argv=0x7fff16b978f0) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3117 #61 0x00007fbd0b7b9d5d in QMetaObject::activate (sender=0xa7ff20, m=0x7fbd0c78c980, from_local_signal_index=1, to_local_signal_index=2, argv=0x7fff16b978f0) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3214 #62 0x00007fbd0bcab357 in QAction::triggered (this=0xa7ff20, _t1=false) at .moc/debug-shared/moc_qaction.cpp:236 #63 0x00007fbd0bcacfa7 in QAction::activate (this=0xa7ff20, event=QAction::Trigger) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qaction.cpp:1160 #64 0x00007fbd0bcb0f68 in QAction::trigger (this=0xa7ff20) at ../../include/QtGui/../../../../src/qt-copy/src/gui/kernel/qaction.h:203 #65 0x00007fbd0c18c7f2 in QToolButton::nextCheckState (this=0xb57cd0) at /opt/kde/trunk/src/qt-copy/src/gui/widgets/qtoolbutton.cpp:1135 #66 0x00007fbd0c0b1391 in QAbstractButtonPrivate::click (this=0xb81930) at /opt/kde/trunk/src/qt-copy/src/gui/widgets/qabstractbutton.cpp:525 #67 0x00007fbd0c0b167c in QAbstractButton::mouseReleaseEvent (this=0xb57cd0, e=0x7fff16b98490) at /opt/kde/trunk/src/qt-copy/src/gui/widgets/qabstractbutton.cpp:1115 #68 0x00007fbd0c18d9d8 in QToolButton::mouseReleaseEvent (this=0xb57cd0, e=0x7fff16b98490) at /opt/kde/trunk/src/qt-copy/src/gui/widgets/qtoolbutton.cpp:709 #69 0x00007fbd0bd0f9c6 in QWidget::event (this=0xb57cd0, event=0x7fff16b98490) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qwidget.cpp:7521 #70 0x00007fbd0c0b00ce in QAbstractButton::event (this=0xb57cd0, e=0x7fff16b98490) at /opt/kde/trunk/src/qt-copy/src/gui/widgets/qabstractbutton.cpp:1077 #71 0x00007fbd0c18eb36 in QToolButton::event (this=0xb57cd0, event=0x7fff16b98490) at /opt/kde/trunk/src/qt-copy/src/gui/widgets/qtoolbutton.cpp:1151 #72 0x00007fbd0bcb30ef in QApplicationPrivate::notify_helper (this=0x914720, receiver=0xb57cd0, e=0x7fff16b98490) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:4057 #73 0x00007fbd0bcb3e39 in QApplication::notify (this=0x7fff16b9a4e0, receiver=0xb57cd0, e=0x7fff16b98490) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:3759 #74 0x00007fbd0d8cf2cd in KApplication::notify (this=0x7fff16b9a4e0, receiver=0xb57cd0, event=0x7fff16b98490) at /opt/kde/trunk/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #75 0x00007fbd0b7a3729 in QCoreApplication::notifyInternal (this=0x7fff16b9a4e0, receiver=0xb57cd0, event=0x7fff16b98490) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:606 #76 0x00007fbd0bcbef15 in QCoreApplication::sendSpontaneousEvent (receiver=0xb57cd0, event=0x7fff16b98490) at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:216 #77 0x00007fbd0bcb7bc6 in QApplicationPrivate::sendMouseEvent (receiver=0xb57cd0, event=0x7fff16b98490, alienWidget=0xb57cd0, nativeWidget=0xa44210, buttonDown=0x7fbd0c7cbe48, lastMouseReceiver=@0x7fbd0c7cbe50) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:2925 #78 0x00007fbd0bd2f2b1 in QETWidget::translateMouseEvent (this=0xa44210, event=0x7fff16b99fb0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication_x11.cpp:4448 #79 0x00007fbd0bd3048f in QApplication::x11ProcessEvent (this=0x7fff16b9a4e0, event=0x7fff16b99fb0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication_x11.cpp:3444 #80 0x00007fbd0bd5c1f0 in x11EventSourceDispatch (s=0x918380, callback=0, user_data=0x0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146 #81 0x00007fbd06d4a20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #82 0x00007fbd06d4d8e0 in ?? () from /usr/lib/libglib-2.0.so.0 #83 0x00007fbd06d4da7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #84 0x00007fbd0b7d1346 in QEventDispatcherGlib::processEvents (this=0x9148f0, flags={i = 381264464}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324 #85 0x00007fbd0bd5b9df in QGuiEventDispatcherGlib::processEvents (this=0x9148f0, flags={i = 381264560}) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202 #86 0x00007fbd0b7a09d7 in QEventLoop::processEvents (this=0x7fff16b9a380, flags={i = 381264688}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149 #87 0x00007fbd0b7a0be4 in QEventLoop::exec (this=0x7fff16b9a380, flags={i = 381264800}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventloop.cpp:196 #88 0x00007fbd0b7a3f74 in QCoreApplication::exec () at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:888 #89 0x00007fbd0bcb2e4c in QApplication::exec () at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:3526 #90 0x000000000040a0ba in main (argc=4, argv=0x7fff16b9b118) at /opt/kde/trunk/src/KDE/kdeutils/ark/app/main.cpp:224
I couldn't reproduce this crash with trunk. Neither did the UI freeze in my tests. Can you try updating your revision (of both Ark and kdelibs)? As for the '.' as the root folder, that's indeed a bug. I'll file a report for it separately. Thanks.
Ok I've tested this more now on r975731. I see the original instructions aren't quite exact enough. It requires opening the file from the network presumably through http kioslave, not locally. Actually it's crashing for lots of files so here's a quick smaller one to try. Open like so then check: ark 'http://plmegalo.free.fr/MVE/OpenSoundEditor.amarokscript.tar.bz2' About freezing, if I put ark in a shell loop repeatedly opening the local original file above (while true; do ark ...; done), I can usually get a random UI freeze fairly soon, no more than about a dozen opens before hitting one. The last output line then is ark(30146)/ark (kdeutils) ArchiveModel::sort: Which is normally right before the usual line: Kerfuffle::ThreadExecution::run: Finished exec If there's a way to good way to provide more information on UI freezes I can try that too.
(In reply to comment #2) > Ok I've tested this more now on r975731. I see the original instructions aren't > quite exact enough. It requires opening the file from the network presumably > through http kioslave, not locally. Actually it's crashing for lots of files so > here's a quick smaller one to try. Open like so then check: > > ark 'http://plmegalo.free.fr/MVE/OpenSoundEditor.amarokscript.tar.bz2' I tried running this command for more than 10 times and it worked flawlessly. > About freezing, if I put ark in a shell loop repeatedly opening the local > original file above (while true; do ark ...; done), I can usually get a random > UI freeze fairly soon, no more than about a dozen opens before hitting one. The > last output line then is ark(30146)/ark (kdeutils) ArchiveModel::sort: > > Which is normally right before the usual line: Kerfuffle::ThreadExecution::run: > Finished exec > > If there's a way to good way to provide more information on UI freezes I can > try that too. I couldn't reproduce it here either, but there may be a race condition somewhere indeed. That's another bug report, though. For now, I think this bug report should be left in kdelibs. Let's wait for someone to take a closer look into this. Would you please file a separate bug report for the UI freeze?
*** Bug 202054 has been marked as a duplicate of this bug. ***
I think bug 202054 is a duplicate - since I experienced it myself, I'm marking this one as NEW. If it's of interest, the backtrace in bug 202054 seems a bit better or at least newer.
If it's also of interest, I was forgetting to delete the QPointer to the dialog before. I have no idea if this is related.
Bug 214313 seems to have a similar backtrace with the followin description: What I was doing when the application crashed: When I open a project two times in a row, Lokalize crashes with the attached backtrace.
*** Bug 214313 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 175035 ***