Bug 180321 - ark crash on extract here rar file
Summary: ark crash on extract here rar file
Status: RESOLVED INTENTIONAL
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Hvaal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-11 12:28 UTC by manolis
Modified: 2009-05-14 06:12 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description manolis 2009-01-11 12:28:41 UTC
Version:           pre 4.2 trunk (using Devel)
Compiler:          gcc 
OS:                Linux
Installed from:    Compiled sources

Application: Ark (ark), signal SIGSEGV
0x00007ff66d544d91 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 27941)]

Thread 3 (Thread 0x7ff66705e950 (LWP 27942)):
#0  0x00007ff66d56ea52 in select () from /lib/libc.so.6
#1  0x00007ff66e366c1e in QEventDispatcherUNIX::select () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ff66e368745 in QEventDispatcherUNIXPrivate::doSelect () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007ff66e3694ed in QEventDispatcherUNIX::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ff66e3359b2 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007ff66e335e4d in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ff6675741bb in RARInterface::executeRarProcess (this=0x6d8040, rarPath=<value optimized out>, args=<value optimized out>)
    at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark/ark/plugins/rarplugin/rarplugin.cpp:495
#7  0x00007ff667575ec5 in RARInterface::list (this=0x6d8040) at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark/ark/plugins/rarplugin/rarplugin.cpp:102
#8  0x00007ff671002252 in Kerfuffle::ListJob::doWork (this=0x6d5a80) at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark/ark/kerfuffle/jobs.cpp:95
#9  0x00007ff66e21976f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007ff66dfa6007 in start_thread () from /lib/libpthread.so.0
#11 0x00007ff66d57534d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff66685d950 (LWP 27943)):
#0  0x00007ff66d56ea52 in select () from /lib/libc.so.6
#1  0x00007ff66e30fc96 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ff66e21976f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007ff66dfa6007 in start_thread () from /lib/libpthread.so.0
#4  0x00007ff66d57534d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff6712de750 (LWP 27941)):
[KCrash Handler]
#5  0x00007ff66e22d37c in QDateTimeParser::parse () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ff66e22e5d3 in QDateTimeParser::fromString () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ff66e230f5d in QTime::fromString () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007ff66757690e in RARInterface::processListLine (this=0x6d8040, line=<value optimized out>)
    at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark/ark/plugins/rarplugin/rarplugin.cpp:174
#9  0x00007ff6675778c5 in RARInterface::listReadStdout (this=0x6d8040) at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark/ark/plugins/rarplugin/rarplugin.cpp:118
#10 0x00007ff667572400 in RARInterface::qt_metacall (this=0x6d8040, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x77e180)
    at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark_build/ark/plugins/rarplugin/moc_rarplugin.cpp:76
#11 0x00007ff66e348b6d in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007ff66e7b049d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007ff66e7b1b1a in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007ff67028bc8b in KApplication::notify (this=0x7fff7942b2a0, receiver=0x6d8040, event=0x77e1a0)
    at /home/public/portage/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:307
#15 0x00007ff66e336d6e in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007ff66e33b18f in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007ff66e369480 in QEventDispatcherUNIX::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007ff66e85513a in ?? () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007ff66e3359b2 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007ff66e335e4d in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007ff671002c1a in Kerfuffle::ArchiveBase::listIfNotListed (this=0x6d9300) at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark/ark/kerfuffle/archivebase.cpp:158
#22 0x00007ff671002ca9 in Kerfuffle::ArchiveBase::isPasswordProtected (this=0x7fff79429ca0) at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark/ark/kerfuffle/archivebase.cpp:170
#23 0x00007ff671002d3c in Kerfuffle::ArchiveBase::copyFiles (this=0x7fff79429ca0, files=@0x7fff79429d50, destinationDir=@0x762e48, flags={i = 2034408640})
    at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark/ark/kerfuffle/archivebase.cpp:113
#24 0x000000000040f252 in BatchExtract::addExtraction (this=0x6cd2c0, archive=0x6d9310, preservePaths=<value optimized out>, destinationFolder=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 190}, alloc = 0, size = 0, data = 0x615c9a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 108}, alloc = 0, size = 0, data = 0x7ff66e6247da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7fff7942b1d0, static codecForCStrings = 0x0}) at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark/ark/app/batchextract.cpp:75
#25 0x000000000040f868 in BatchExtract::start (this=0x6cd2c0) at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark/ark/app/batchextract.cpp:121
#26 0x000000000040cbbb in main (argc=4, argv=0x7fff7942be18) at /home/public/portage/tmp/portage/kde-base/ark-9999/work/ark/ark/app/main.cpp:183
Comment 1 Dario Andres 2009-01-11 14:33:42 UTC
Does this happen with every RAR file? If this is specific to one file, can you post it? 
Also, what KDE version (or SVN revision) are you using?
Thanks :)
Comment 2 manolis 2009-01-11 15:23:58 UTC
r905554
I cannot reproduce it even on the same file.
It was a totally random/ only one time crash... 
I just posted the backtrace if it can be helpful to you.
Comment 3 Volker Lanz 2009-02-09 00:51:14 UTC
It doesn't happen every time, but I can reproduce this with an about 50% chance. There seems to be a problem somewhere in the rarplugin's handling of the event loop invocation. Sometimes ark crashes with a segfault and a stacktrace resembling the one in the bug report, sometimes it just hangs.

I don't get any crashes or hangs with the 7zip plugin that on first glance looks mostly the same as the rarplugin.
Comment 4 Raphael Kubo da Costa 2009-03-31 16:59:47 UTC
Are you able to try to reproduce this bug with a current trunk version?
Comment 5 Volker Lanz 2009-04-01 09:58:55 UTC
With trunk from yesterday I cannot seem to reproduce the crash anymore.
Comment 6 manolis 2009-04-01 11:29:27 UTC
I can reproduce it in 4.2.1 here. totally random crash. Sometimes it works , but sometimes no.
Comment 7 Raphael Kubo da Costa 2009-04-04 05:23:09 UTC
Can you please attach a file that has caused the crash, even if it does not every time?
Comment 8 Raphael Kubo da Costa 2009-05-14 04:38:18 UTC
Closing while there are no more comments from the reporter(s).
Comment 9 Raphael Kubo da Costa 2009-05-14 06:12:43 UTC
Changing the status to WONTFIX as rarplugin has been deprecated in 4.3 in favour of clirarplugin.