Application: ark (2.19) KDE Platform Version: 4.8.97 Qt Version: 4.8.2 Operating System: Linux 3.5.0-6-generic i686 Distribution: Ubuntu quantal (development branch) -- Information about the crash: - What I was doing when the application crashed: in dolphin i tried to compress a few files in zip...zip was created but ark then crashed. in dolphin i chose one folder with files and few files and right clicked and chose compress --> as ZIP arhive... then the zip was created but fr. konqi appeared informing me that ark has crashed.... nice day Simon ps. as always im using project neon.... The crash can be reproduced every time. -- Backtrace: Application: Ark (ark), signal: Aborted Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". [KCrash Handler] #7 0xb770d424 in __kernel_vsyscall () #8 0xb581d1ef in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #9 0xb5820835 in __GI_abort () at abort.c:91 #10 0xb5b1bf39 in qt_message_output (msgType=QtFatalMsg, buf=0x92b0f58 "ASSERT: \"!m_process\" in file /build/buildd/project-neon-ark-2+git20120722+r2449/kerfuffle/cliinterface.cpp, line 78") at global/qglobal.cpp:2266 #11 0xb5b1c0e1 in qt_message (msgType=QtFatalMsg, msg=0xb5cc8314 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfff7584 "\362\360o\267\360\357o\267N") at global/qglobal.cpp:2312 #12 0xb5b1c577 in qFatal (msg=0xb5cc8314 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2495 #13 0xb5b1bae6 in qt_assert (assertion=0xb76ff0f2 "!m_process", file=0xb76feff0 "/build/buildd/project-neon-ark-2+git20120722+r2449/kerfuffle/cliinterface.cpp", line=78) at global/qglobal.cpp:2013 #14 0xb76f582e in Kerfuffle::CliInterface::~CliInterface (this=0x9245be8, __in_chrg=<optimized out>) at /build/buildd/project-neon-ark-2+git20120722+r2449/kerfuffle/cliinterface.cpp:78 #15 0xb3588215 in CliPlugin::~CliPlugin (this=0x9245be8, __in_chrg=<optimized out>) at /build/buildd/project-neon-ark-2+git20120722+r2449/plugins/clizipplugin/cliplugin.cpp:43 #16 0xb358824f in CliPlugin::~CliPlugin (this=0x9245be8, __in_chrg=<optimized out>) at /build/buildd/project-neon-ark-2+git20120722+r2449/plugins/clizipplugin/cliplugin.cpp:45 #17 0xb5c65dbe in QObjectPrivate::deleteChildren (this=0x9245e50) at kernel/qobject.cpp:1908 #18 0xb5c646a6 in QObject::~QObject (this=0x9245cb8, __in_chrg=<optimized out>) at kernel/qobject.cpp:927 #19 0xb76e6aad in Kerfuffle::Archive::~Archive (this=0x9245cb8, __in_chrg=<optimized out>) at /build/buildd/project-neon-ark-2+git20120722+r2449/kerfuffle/archive.cpp:131 #20 0xb76e6ae7 in Kerfuffle::Archive::~Archive (this=0x9245cb8, __in_chrg=<optimized out>) at /build/buildd/project-neon-ark-2+git20120722+r2449/kerfuffle/archive.cpp:133 #21 0xb5c65dbe in QObjectPrivate::deleteChildren (this=0x91b7ae8) at kernel/qobject.cpp:1908 #22 0xb5c646a6 in QObject::~QObject (this=0x91b09f0, __in_chrg=<optimized out>) at kernel/qobject.cpp:927 #23 0xb5f28b97 in KJob::~KJob (this=0x91b09f0, __in_chrg=<optimized out>) at /build/buildd/project-neon-kdelibs-2+git20120725+r92876/kdecore/jobs/kjob.cpp:65 #24 0xb76f3d6b in Kerfuffle::AddToArchive::~AddToArchive (this=0x91b09f0, __in_chrg=<optimized out>) at /build/buildd/project-neon-ark-2+git20120722+r2449/kerfuffle/addtoarchive.cpp:53 #25 0xb76f3da5 in Kerfuffle::AddToArchive::~AddToArchive (this=0x91b09f0, __in_chrg=<optimized out>) at /build/buildd/project-neon-ark-2+git20120722+r2449/kerfuffle/addtoarchive.cpp:55 #26 0xb5c6ad29 in qDeleteInEventHandler (o=0x91b09f0) at kernel/qobject.cpp:4277 #27 0xb5c64baa in QObject::event (this=0x91b09f0, e=0x9231508) at kernel/qobject.cpp:1176 #28 0xb629ebec in QApplicationPrivate::notify_helper (this=0x90e0c30, receiver=0x91b09f0, e=0x9231508) at kernel/qapplication.cpp:4557 #29 0xb629c263 in QApplication::notify (this=0xbfff7fa4, receiver=0x91b09f0, e=0x9231508) at kernel/qapplication.cpp:3939 #30 0xb6ffff76 in KApplication::notify (this=0xbfff7fa4, receiver=0x91b09f0, event=0x9231508) at /build/buildd/project-neon-kdelibs-2+git20120725+r92876/kdeui/kernel/kapplication.cpp:311 #31 0xb5c4d6e6 in QCoreApplication::notifyInternal (this=0xbfff7fa4, receiver=0x91b09f0, event=0x9231508) at kernel/qcoreapplication.cpp:915 #32 0xb629052b in QCoreApplication::sendEvent (receiver=0x91b09f0, event=0x9231508) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #33 0xb5c4e614 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x90c1370) at kernel/qcoreapplication.cpp:1539 #34 0xb5c4e2cd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432 #35 0xb63608f2 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #36 0xb5c84a7b in postEventSourceDispatch (s=0x90e28b8) at kernel/qeventdispatcher_glib.cpp:279 #37 0xb4dfdef3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #38 0xb4dfe290 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #39 0xb4dfe371 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #40 0xb5c8520e in QEventDispatcherGlib::processEvents (this=0x90c1f08, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #41 0xb636c2b4 in QGuiEventDispatcherGlib::processEvents (this=0x90c1f08, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #42 0xb5c4ad95 in QEventLoop::processEvents (this=0xbfff7ee8, flags=...) at kernel/qeventloop.cpp:149 #43 0xb5c4af0d in QEventLoop::exec (this=0xbfff7ee8, flags=...) at kernel/qeventloop.cpp:204 #44 0xb5c4dd7c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187 #45 0xb629bee6 in QApplication::exec () at kernel/qapplication.cpp:3818 #46 0x08054c23 in main (argc=8, argv=0xbfff8084) at /build/buildd/project-neon-ark-2+git20120722+r2449/app/main.cpp:209 Possible duplicates by query: bug 302243, bug 301278, bug 298008, bug 298006, bug 298005. Reported using DrKonqi
Does it happen at the end of any compression attempt? Could you perhaps attach a set of files that causes this problem for you?
hello! sorry for late reply but i was busy at work a lot and didnt get the chance to answer you kind request. i found out it doesnt matter which files i compress this way, one two, more, one file + 1 directory, all kind of files and directoies, with all kind of permissions also,...etc..all variants result in the same action... dolphin - select one or multiple files/directories - right mouse click - compress - as zip archive - = first the ark succesfully builds an archive... then 2 seconds later dr. konqi appears... would you like me to add screenshots also? if so, how can i upload them here*? nice day! symon :)
Thanks for the answers. Screenshots don't seem to be useful according to your description of the problem. Does it only happen to ZIP files or does Ark crash if you try to create a rar or a tar.gz archive as well? What if you open Ark and create the archive from there instead of using the context menu in Dolphin?
Created attachment 73151 [details] New crash information added by DrKonqi ark (2.19) on KDE Platform 4.9.00 using Qt 4.8.3 - What I was doing when the application crashed: i tried RAR here. as you can see - same result. nice day symon -- Backtrace (Reduced): #8 0xb58c01cf in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #9 0xb58c3815 in __GI_abort () at abort.c:91 [...] #13 0xb5bc1ae6 in qt_assert (assertion=0xb77a50f2 "!m_process", file=0xb77a4ff0 "/build/buildd/project-neon-ark-2+git20120722+r2449/kerfuffle/cliinterface.cpp", line=78) at global/qglobal.cpp:2013 #14 0xb779b82e in Kerfuffle::CliInterface::~CliInterface (this=0x90ba1c8, __in_chrg=<optimized out>) at /build/buildd/project-neon-ark-2+git20120722+r2449/kerfuffle/cliinterface.cpp:78 #15 0xb363d5e2 in CliPlugin::~CliPlugin (this=0x90ba1c8, __in_chrg=<optimized out>) at /build/buildd/project-neon-ark-2+git20120722+r2449/plugins/clirarplugin/cliplugin.cpp:45
hello! first - this is strange - i thought when someone replies on at least the bug i reported, not just the bug im subscribed to (i understand this is kde and not launchpad, so prob its a lil' different), i dont get any email notification on my gmail. so by chance if i come here and somehow surf through my reported bugs i by chance see someone replied --- so again i appologize for late reply... i tried to do the same action for compressing both RAR and TAR.GZ files. RAR file - like ZIP file produced the same error _ BUT surprise surprise...TAR/ZIP didnt produce the error (bug report window). i hope this helps... again im sorry for late replies... nice day simon :)
(In reply to comment #5) > first - this is strange - i thought when someone replies on at least the bug > i reported, not just the bug im subscribed to (i understand this is kde and > not launchpad, so prob its a lil' different), i dont get any email > notification on my gmail. so by chance if i come here and somehow surf > through my reported bugs i by chance see someone replied --- so again i > appologize for late reply... By default, you should receive an email whenever someone comments on a bug you are CCed to. You can check your email preferences by going to the "Preferences" page and then checking the "Email Preferences" tab. > i tried to do the same action for compressing both RAR and TAR.GZ files. RAR > file - like ZIP file produced the same error _ BUT surprise > surprise...TAR/ZIP didnt produce the error (bug report window). That actually makes sense; can you now just try to create a zip or rar archive by opening Ark directly instead of using Dolphin?
hello! #1 thank you for your help in preferences i managed to do it and now i get it on my email.. thank you #2 i tried to do it from within ark and both ZIP and RAR worked... ..first new - save as ..either with zip or rar exnension and then add files, folders ... it loaded them without problems... if i may help more please do say... ... nice day Symon :)
Thank you for all the information. I have been occasionally able to reproduce the crash here, and will try to fix it as time allows.
hello! if anytime you need any help, im here :) nice day simon ps. you said for yo only sometimes the crash happens. for me its every time if i use dolphin and right click... just said, maybe this informaion also can be helpful for you.
Note for future me or anyone else wishing to fix this bug: this is similar to bug 304764/bug 304634 in that we delete the AddToArchive or BatchExtract instance too early; in this case, AddToArchive calls emitResult() when the archive creation finishes, however CliInterface::processFinished() calls list(). This causes a race condition: main.cpp deletes AddToArchive, which later deletes CliInterface, whose destructor may fail at that assertion above since m_process may be not-NULL if the listing is still in progress.
Actually, scratch that explanation, a better one is coming with my commit :-)
Git commit e21c15b3e048178a8fa7e13e2734d8988221031f by Raphael Kubo da Costa. Committed on 17/08/2012 at 10:04. Pushed by rkcosta into branch 'KDE/4.9'. Delete m_process earlier. Deleting and setting m_process to 0 at the end of runProcess() is sometimes too late. If one connects to KJob::result() to delete an archive interface, that is all going to happen when finished() is emitted in processFinished() and before `delete m_process' is called in runProcess(). This ends up leaving us with a non-NULL m_process, causing the assert in CliInterface's destructor to fail. Delete m_process and set it to 0 in processFinished() itself, since it is not supposed to be used afterwards anyway. Related: bug 301278 FIXED-IN: 4.9.1 M +4 -2 kerfuffle/cliinterface.cpp http://commits.kde.org/ark/e21c15b3e048178a8fa7e13e2734d8988221031f