Bug 230639

Summary: Ark crashes on close when opening a broken (incomplete) multi-part RAR and getting an error message [exception, __cxa_pure_virtual, Kerfuffle::CliInterface::handleLine, Kerfuffle::CliInterface::readStdout]
Product: [Applications] ark Reporter: Grzegorz Gostomski <grzesiu.gostomski>
Component: generalAssignee: Harald Hvaal <metellius>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andresbajotierra, rakuco, sergey.nikulov, slashdevdsp
Priority: NOR Keywords: investigated, triaged
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Grzegorz Gostomski 2010-03-14 01:13:45 UTC
Application: ark (2.14)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.9-67.fc12.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
I donwload files, the files was divided into parts when i opend first archive i got message error about "error while opening arch", i click ok close ark and then ark crash

 -- Backtrace:
Application: Ark (ark), signal: Aborted
[KCrash Handler]
#6  0x004ba416 in __kernel_vsyscall ()
#7  0x00bbba91 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x00bbd35a in abort () at abort.c:92
#9  0x00578a77 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:93
#10 0x005768f6 in __cxxabiv1::__terminate (handler=0x578910 <__gnu_cxx::__verbose_terminate_handler()>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:38
#11 0x00576933 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#12 0x00577526 in __cxxabiv1::__cxa_pure_virtual () at ../../../../libstdc++-v3/libsupc++/pure.cc:50
#13 0x00b38950 in Kerfuffle::CliInterface::handleLine (this=0x8ec5a90, line=...) at /usr/src/debug/kdeutils-4.4.1/ark/kerfuffle/cliinterface.cpp:526
#14 0x00b38f3f in Kerfuffle::CliInterface::readStdout (this=0x8ec5a90, handleAll=4) at /usr/src/debug/kdeutils-4.4.1/ark/kerfuffle/cliinterface.cpp:471
#15 0x00b39243 in Kerfuffle::CliInterface::qt_metacall (this=0x8ec5a90, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0xbf9c6d2c)
    at /usr/src/debug/kdeutils-4.4.1/i686-redhat-linux-gnu/ark/kerfuffle/cliinterface.moc:80
#16 0x0556c5db in QMetaObject::metacall (object=0x8ec5a90, cl=InvokeMetaMethod, idx=6, argv=0xbf9c6d2c) at kernel/qmetaobject.cpp:237
#17 0x0557b4af in QMetaObject::activate (sender=0xb5302770, m=0x5679828, local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3293
#18 0x05503f78 in QProcess::readyReadStandardOutput (this=0xb5302770) at .moc/release-shared/moc_qprocess.cpp:162
#19 0x05509460 in QProcessPrivate::_q_canReadStandardOutput (this=0xb5302b00) at io/qprocess.cpp:887
#20 0x0554466c in QProcessPrivate::waitForFinished (this=0xb5302b00, msecs=30000) at io/qprocess_unix.cpp:1119
#21 0x055043df in QProcess::waitForFinished (this=0xb5302770, msecs=30000) at io/qprocess.cpp:1688
#22 0x055049dc in QProcess::~QProcess (this=0xb5302770, __in_chrg=<value optimized out>) at io/qprocess.cpp:1124
#23 0x024434d2 in KProcess::~KProcess (this=0xb5302770, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.1/kdecore/io/kprocess.cpp:109
#24 0x02443513 in KProcess::~KProcess (this=0xb5302770, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.1/kdecore/io/kprocess.cpp:109
#25 0x00b35b61 in Kerfuffle::CliInterface::~CliInterface (this=0x8ec5a90, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.1/ark/kerfuffle/cliinterface.cpp:65
#26 0x0061566b in CliPlugin::~CliPlugin (this=0x8ec5a90, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.1/ark/plugins/clirarplugin/cliplugin.cpp:44
#27 0x006156a3 in CliPlugin::~CliPlugin (this=0x8ec5a90, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.1/ark/plugins/clirarplugin/cliplugin.cpp:44
#28 0x05576a0f in QObjectPrivate::deleteChildren (this=0x8ec1b90) at kernel/qobject.cpp:1986
#29 0x0557d578 in QObject::~QObject (this=0x8ec1430, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#30 0x00b2a968 in Kerfuffle::ArchiveBase::~ArchiveBase (this=0x8ec1430, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.1/ark/kerfuffle/archivebase.cpp:53
#31 0x00b2a9c3 in Kerfuffle::ArchiveBase::~ArchiveBase (this=0x8ec1430, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.1/ark/kerfuffle/archivebase.cpp:53
#32 0x00e9095e in ArchiveModel::~ArchiveModel (this=0x8e04c40, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.1/ark/part/archivemodel.cpp:199
#33 0x00e909d3 in ArchiveModel::~ArchiveModel (this=0x8e04c40, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.1/ark/part/archivemodel.cpp:204
#34 0x05576a0f in QObjectPrivate::deleteChildren (this=0x8d69460) at kernel/qobject.cpp:1986
#35 0x0557d578 in QObject::~QObject (this=0x8e03650, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#36 0x020718f0 in KParts::Part::~Part (this=0x8e03650, __vtt_parm=0xea168c, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.1/kparts/part.cpp:212
#37 0x02071d6b in KParts::ReadOnlyPart::~ReadOnlyPart (this=0x8e03650, __vtt_parm=0xea1688, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.1/kparts/part.cpp:459
#38 0x02071eb0 in KParts::ReadWritePart::~ReadWritePart (this=0x8e03650, __vtt_parm=0xea1684, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.1/kparts/part.cpp:721
#39 0x00e82823 in Ark::Part::~Part (this=0x8e03650, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.4.1/ark/part/part.cpp:132
#40 0x00e82893 in Ark::Part::~Part (this=0x8e03650, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.4.1/ark/part/part.cpp:132
#41 0x08050ac4 in MainWindow::~MainWindow (this=0x8d0dce8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.4.1/ark/app/mainwindow.cpp:74
#42 0x08050b83 in MainWindow::~MainWindow (this=0x8d0dce8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.4.1/ark/app/mainwindow.cpp:76
#43 0x055765e6 in qDeleteInEventHandler (o=0x8d0dce8) at kernel/qobject.cpp:3998
#44 0x05577c80 in QObject::event (this=0x8d0dce8, e=0x8ed89f0) at kernel/qobject.cpp:1231
#45 0x06a4b667 in QWidget::event (this=0x8d0dce8, event=0x8ed89f0) at kernel/qwidget.cpp:8455
#46 0x06e36ab7 in QMainWindow::event (this=0x8d0dce8, event=0x8ed89f0) at widgets/qmainwindow.cpp:1433
#47 0x02d93414 in KMainWindow::event (this=0x8d0dce8, ev=0x8ed89f0) at /usr/src/debug/kdelibs-4.4.1/kdeui/widgets/kmainwindow.cpp:1103
#48 0x02dd4660 in KXmlGuiWindow::event (this=0x8d0dce8, ev=0x8ed89f0) at /usr/src/debug/kdelibs-4.4.1/kdeui/xmlgui/kxmlguiwindow.cpp:131
#49 0x069f8d2c in QApplicationPrivate::notify_helper (this=0x8c47120, receiver=0x8d0dce8, e=0x8ed89f0) at kernel/qapplication.cpp:4300
#50 0x069ff5f1 in QApplication::notify (this=0xbf9c7e5c, receiver=0x8d0dce8, e=0x8ed89f0) at kernel/qapplication.cpp:4265
#51 0x02cb47db in KApplication::notify (this=0xbf9c7e5c, receiver=0x8d0dce8, event=0x8ed89f0) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#52 0x05567c03 in QCoreApplication::notifyInternal (this=0xbf9c7e5c, receiver=0x8d0dce8, event=0x8ed89f0) at kernel/qcoreapplication.cpp:704
#53 0x05568ac3 in sendEvent (receiver=0x0, event_type=0, data=0x8c31860) at kernel/qcoreapplication.h:215
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8c31860) at kernel/qcoreapplication.cpp:1345
#55 0x05568c1e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#56 0x05590350 in sendPostedEvents (s=0x8c49378) at kernel/qcoreapplication.h:220
#57 postEventSourceDispatch (s=0x8c49378) at kernel/qeventdispatcher_glib.cpp:276
#58 0x00137f88 in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#59 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#60 0x0013b8b8 in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#61 0x0013b9e4 in IA__g_main_context_iteration (context=0x8c492f8, may_block=<value optimized out>) at gmain.c:2654
#62 0x0558fe46 in QEventDispatcherGlib::processEvents (this=0x8c31360, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#63 0x06aa70c6 in QGuiEventDispatcherGlib::processEvents (this=0x8c31360, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x055662da in QEventLoop::processEvents (this=0xbf9c7db4, flags=...) at kernel/qeventloop.cpp:149
#65 0x0556661a in QEventLoop::exec (this=0xbf9c7db4, flags=...) at kernel/qeventloop.cpp:201
#66 0x05568ce7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#67 0x069f8dd8 in QApplication::exec () at kernel/qapplication.cpp:3579
#68 0x0804fc8d in main (argc=4, argv=0xbf9c81f4) at /usr/src/debug/kdeutils-4.4.1/ark/app/main.cpp:210

Possible duplicates by query: bug 218998, bug 217450, bug 190535.

Reported using DrKonqi
Comment 1 Dario Andres 2010-04-01 14:33:47 UTC
From bug 232923 (4.5trunk):
-- Information about the crash:
- What I was doing when the application crashed:
Ark crashed when extracting rar file with dolphin running embedded konsole.
I think it was a broken rar file ( 10 rar files but I had only a few ) when ark
tried to load the rar file. It showed an error saying broken/error, but ark
crashed after closing ark
Comment 2 Dario Andres 2010-04-01 14:34:38 UTC
*** Bug 232923 has been marked as a duplicate of this bug. ***
Comment 3 Sergey Nikulov 2010-04-09 06:03:41 UTC
Created attachment 42610 [details]
New crash information added by DrKonqi

Trying to open big (18Gb) tar.gz archive.
Arc starting to read archive content.
Wait for about 1min.
Close Arc through window caption Close button (x).
Arc crash with this report.
Comment 4 Sergey Nikulov 2010-04-09 06:07:43 UTC
Created attachment 42611 [details]
New crash information added by DrKonqi

repeated my described steps - it crashed again.
just one correction - archive was tar.bz2
Comment 5 Raphael Kubo da Costa 2010-04-09 15:36:09 UTC
Sergey, your problem is unrelated to this one - yours is bug 193908.
Comment 6 Sergey Nikulov 2010-04-09 15:43:58 UTC
Thank you Raphael.
I just selected related in proposed by krash report tool - DrKonqi
bug 193908 was not in list, so I select this one.
Sorry for that.
Comment 7 Raphael Kubo da Costa 2010-04-10 20:50:50 UTC
Right, people. We need more information on this to move on.

People who experienced this crash, what files were you trying to open? Were they valid? What were their names? Is it possible to attach them? Is the problem still reproducible?
Comment 8 SlashDevDsp 2010-04-11 00:47:04 UTC
mine was along the lines of filename.rar with 10 parts filename.r00, filename.r01
but I had only copied only filename.rar to filename.r05, the rest filename.r06 to filename.r09 were not copied. I just wanted to take a quick look at the contents with ark. i.e., ark filename.rar

It showed a few warning messages (file not complete/broken) dialog with OK button which I closed, then I can see the content inside the rar's as say filename.iso. Now I closed Ark, then the crash happened.
Comment 9 SlashDevDsp 2010-04-11 00:48:10 UTC
mine was along the lines of filename.rar with 10 parts filename.r00, filename.r01
but I had only copied only filename.rar to filename.r05, the rest filename.r06 to filename.r09 were not copied. I just wanted to take a quick look at the contents with ark. i.e., ark filename.rar

It showed a few warning messages (file not complete/broken) dialog with OK button which I closed, then I can see the content inside the rar's as say filename.iso. Now I closed Ark, then the crash happened.
Comment 10 SlashDevDsp 2010-04-11 00:53:04 UTC
unfortunately I do not have those rar files after I extracted the iso. I have not tried it with the latest trunk yet. Could you make random content multi-part rar file and delete some of the parts and try to view the content with ark?
Comment 11 Raphael Kubo da Costa 2010-04-12 15:47:24 UTC
I created some sample multi-volume rar files with "rar a -vNNNNNN", but they were named "foo.part01.rar", "foo.part02.rar" etc. I got the message about the file being broken ("Extraction failed because of an unexpected error"), but I was able to close Ark with no crashes.

Do you know if some other program generates multi-volume rars according to your naming schema?
Comment 12 Raphael Kubo da Costa 2010-05-11 05:51:53 UTC
Almost 1 month has passed with no response, so I'm closing the report for now.

If any of you has further information regarding this bug, please don't hesitate to reopen.
Comment 13 Andrew Crouthamel 2018-09-20 22:11:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 14 Andrew Crouthamel 2018-10-21 05:23:54 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!