Bug 248336 - ARK crashed when opening part 2 of a 3 part RAR
Summary: ARK crashed when opening part 2 of a 3 part RAR
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 2.14
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Hvaal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-19 08:58 UTC by gret
Modified: 2010-08-23 00:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gret 2010-08-19 08:58:42 UTC
Application: ark (2.14)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
I downloaded this 3 part archive of which part 3 was missing

The crash does not seem to be reproducible.

 -- Backtrace:
Application: Ark (ark), signal: Aborted
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb5ff67ff in raise () from /lib/libc.so.6
#8  0xb5ff8140 in abort () from /lib/libc.so.6
#9  0xb61ec7dd in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#10 0xb61ea533 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb61ea56f in std::terminate() () from /usr/lib/libstdc++.so.6
#12 0xb61eb172 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#13 0xb78444f8 in Kerfuffle::CliInterface::handleLine (this=0x8190ec0, line=...) at /usr/src/debug/kdeutils-4.4.4/ark/kerfuffle/cliinterface.cpp:523
#14 0xb7844c36 in Kerfuffle::CliInterface::readStdout (this=0x8190ec0, handleAll=136) at /usr/src/debug/kdeutils-4.4.4/ark/kerfuffle/cliinterface.cpp:468
#15 0xb784500c in Kerfuffle::CliInterface::qt_metacall (this=0x8190ec0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcad67c)
    at /usr/src/debug/kdeutils-4.4.4/build/ark/kerfuffle/cliinterface.moc:80
#16 0xb6389efd in QMetaObject::metacall (object=0x8190ec0, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfcad67c) at kernel/qmetaobject.cpp:237
#17 0xb6398fe8 in QMetaObject::activate (sender=0xb28028f8, m=0xb649e6e8, local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3295
#18 0xb631c6e5 in QProcess::readyReadStandardOutput (this=0xb28028f8) at .moc/release-shared/moc_qprocess.cpp:162
#19 0xb63207e7 in QProcessPrivate::_q_canReadStandardOutput (this=0xb2802cf8) at io/qprocess.cpp:897
#20 0xb6360b12 in QProcessPrivate::waitForFinished (this=0xb2802cf8, msecs=30000) at io/qprocess_unix.cpp:1119
#21 0xb631c456 in QProcess::waitForFinished (this=0xb28028f8, msecs=30000) at io/qprocess.cpp:1698
#22 0xb631c57c in QProcess::~QProcess (this=0xb28028f8, __in_chrg=<value optimized out>) at io/qprocess.cpp:1134
#23 0xb6fd84d6 in KProcess::~KProcess (this=0xb28028f8, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdecore/io/kprocess.cpp:106
#24 0xb6fd8512 in KProcess::~KProcess (this=0xb28028f8, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdecore/io/kprocess.cpp:109
#25 0xb78404ae in Kerfuffle::CliInterface::~CliInterface (this=0x8190ec0, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.4/ark/kerfuffle/cliinterface.cpp:65
#26 0xb3e058aa in CliPlugin::~CliPlugin (this=0x8190ec0, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.4/ark/plugins/clirarplugin/cliplugin.cpp:42
#27 0xb3e058e2 in CliPlugin::~CliPlugin (this=0x8190ec0, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.4/ark/plugins/clirarplugin/cliplugin.cpp:44
#28 0xb6395d64 in QObjectPrivate::deleteChildren (this=0x8175ac0) at kernel/qobject.cpp:1986
#29 0xb639a52e in QObject::~QObject (this=0x8190e78, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#30 0xb7834cb7 in Kerfuffle::ArchiveBase::~ArchiveBase (this=0x8190e78, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.4/ark/kerfuffle/archivebase.cpp:51
#31 0xb7834d02 in Kerfuffle::ArchiveBase::~ArchiveBase (this=0x8190e78, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.4/ark/kerfuffle/archivebase.cpp:53
#32 0xb3e2dbab in ArchiveModel::~ArchiveModel (this=0x81de840, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.4/ark/part/archivemodel.cpp:207
#33 0xb3e2dc12 in ArchiveModel::~ArchiveModel (this=0x81de840, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.4.4/ark/part/archivemodel.cpp:212
#34 0xb6395d64 in QObjectPrivate::deleteChildren (this=0x8155750) at kernel/qobject.cpp:1986
#35 0xb639a52e in QObject::~QObject (this=0x81b99a8, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#36 0xb77f40e4 in KParts::Part::~Part (this=0x81b99a8, __vtt_parm=0xb3e3f52c, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kparts/part.cpp:189
#37 0xb77fbffc in KParts::ReadOnlyPart::~ReadOnlyPart (this=0x81b99a8, __vtt_parm=0xb3e3f528, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kparts/part.cpp:456
#38 0xb77fc140 in KParts::ReadWritePart::~ReadWritePart (this=0x81b99a8, __vtt_parm=0xb3e3f524, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kparts/part.cpp:715
#39 0xb3e1c9a1 in Ark::Part::~Part (this=0x81b99a8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.4.4/ark/part/part.cpp:126
#40 0xb3e1ca22 in Ark::Part::~Part (this=0x81b99a8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.4.4/ark/part/part.cpp:132
#41 0x080513dd in MainWindow::~MainWindow (this=0x8116018, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.4.4/ark/app/mainwindow.cpp:74
#42 0x080514c0 in MainWindow::~MainWindow (this=0x8116018, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdeutils-4.4.4/ark/app/mainwindow.cpp:76
#43 0xb6395483 in qDeleteInEventHandler (o=0x8116018) at kernel/qobject.cpp:4001
#44 0xb6396968 in QObject::event (this=0x8116018, e=0x8158c50) at kernel/qobject.cpp:1231
#45 0xb6633acc in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#46 0xb6a4a20c in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#47 0xb733c364 in KMainWindow::event (this=0x8116018, ev=0x8158c50) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/kmainwindow.cpp:1103
#48 0xb733c602 in KXmlGuiWindow::event (this=0x8116018, ev=0x8158c50) at /usr/src/debug/kdelibs-4.4.4/kdeui/xmlgui/kxmlguiwindow.cpp:131
#49 0xb65dac64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#50 0xb65e2ca4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#51 0xb72aa9d1 in KApplication::notify (this=0xbfcae73c, receiver=0x8116018, event=0x8158c50) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#52 0xb6383e0e in QCoreApplication::notifyInternal (this=0xbfcae73c, receiver=0x8116018, event=0x8158c50) at kernel/qcoreapplication.cpp:726
#53 0xb63879b4 in sendEvent (receiver=0x0, event_type=0, data=0x805be00) at kernel/qcoreapplication.h:215
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x805be00) at kernel/qcoreapplication.cpp:1367
#55 0xb6387b9c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#56 0xb63af83d in sendPostedEvents (s=0x8077110) at kernel/qcoreapplication.h:220
#57 postEventSourceDispatch (s=0x8077110) at kernel/qeventdispatcher_glib.cpp:276
#58 0xb58f2b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0xb58f3350 in ?? () from /usr/lib/libglib-2.0.so.0
#60 0xb58f360e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#61 0xb63afd4b in QEventDispatcherGlib::processEvents (this=0x805f600, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#62 0xb668b19a in ?? () from /usr/lib/libQtGui.so.4
#63 0xb638311d in QEventLoop::processEvents (this=0xbfcae644, flags=...) at kernel/qeventloop.cpp:149
#64 0xb6383319 in QEventLoop::exec (this=0xbfcae644, flags=...) at kernel/qeventloop.cpp:201
#65 0xb6387c70 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#66 0xb65d8164 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#67 0x080504cf in main (argc=) at /usr/src/debug/kdeutils-4.4.4/ark/app/main.cpp:210

Possible duplicates by query: bug 246760, bug 246136, bug 244100, bug 243273, bug 242620.

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2010-08-19 15:28:29 UTC
Have you tried to reproduce this crash by creating other multipart rar files with one of the parts missing?

Do you have unrar-free or rar/unrar?
Comment 2 gret 2010-08-19 19:12:07 UTC
I've tried to reproduce the crash with the same file but Ark did not crash
for the second and third time.
Now, as you ask, I tried another multipart rar with one part missing and Ark
crashed. What's more, I tried a second time and Ark crashed again.
To be a bit more specific, when I open the rar file which has a part
missing, I get the following warning:

Reading the archive '/...file path.../...filename.part1.rar' failed with the
error 'Extraction failed because of an unexpected error.'

Then, I click 'OK' and Ark opens a window with the content of the actual
part of the archive.
The crash occurs after I quit this Ark window. And this time it is
reproduceable.

What do you mean by unrar-free or rar/unrar?
I use Ark v.2.14 archiver which is shipped as a standard utility with
openSUSE 11.3


On Thu, Aug 19, 2010 at 3:28 PM, Raphael Kubo da Costa <kubito@gmail.com>wrote:

> https://bugs.kde.org/show_bug.cgi?id=248336
>
>
>
>
>
> --- Comment #1 from Raphael Kubo da Costa <kubito gmail com>  2010-08-19
> 15:28:29 ---
> Have you tried to reproduce this crash by creating other multipart rar
> files
> with one of the parts missing?
>
> Do you have unrar-free or rar/unrar?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Raphael Kubo da Costa 2010-08-19 19:41:20 UTC
(In reply to comment #2)
> What do you mean by unrar-free or rar/unrar?
> I use Ark v.2.14 archiver which is shipped as a standard utility with
> openSUSE 11.3

Ark is just a front-end for a command-line utility that unpacks RAR archives. Can you post the program name and version you get when you type "unrar" on the terminal?
Comment 4 gret 2010-08-19 20:10:40 UTC
UNRAR 3.90 beta 3 freeware



On Thu, Aug 19, 2010 at 7:41 PM, Raphael Kubo da Costa <kubito@gmail.com>wrote:

> https://bugs.kde.org/show_bug.cgi?id=248336
>
>
>
>
>
> --- Comment #3 from Raphael Kubo da Costa <kubito gmail com>  2010-08-19
> 19:41:20 ---
> (In reply to comment #2)
> > What do you mean by unrar-free or rar/unrar?
> > I use Ark v.2.14 archiver which is shipped as a standard utility with
> > openSUSE 11.3
>
> Ark is just a front-end for a command-line utility that unpacks RAR
> archives.
> Can you post the program name and version you get when you type "unrar" on
> the
> terminal?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 5 Raphael Kubo da Costa 2010-08-23 00:22:21 UTC
SVN commit 1166790 by rkcosta:

Make sure our KProcess is terminated in failOperation().

If we don't, finished() may trigger some deletions and the remaining
KProcess events might not get delivered in time.

BUG: 248336
FIXED-IN: 4.5.1

 M  +1 -2      cliinterface.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1166790
Comment 6 Raphael Kubo da Costa 2010-08-23 00:23:28 UTC
SVN commit 1166792 by rkcosta:

Make sure our KProcess is terminated in failOperation().

If we don't, finished() may trigger some deletions and the remaining
KProcess events might not get delivered in time.

Forward-port of r1166790.

CCBUG: 248336

 M  +1 -2      cliinterface.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1166792
Comment 7 Raphael Kubo da Costa 2010-08-23 00:24:46 UTC
I was able to reproduce the crash you mentioned in comment #2, however the backtrace is different from the one in the original report, which I was unable to reproduce.

The crash from comment #2 has been fixed, in case you get the original crash again and can reproduce it reliably, please reopen this report. Thanks.