Bug 304634

Summary: Ark crashes when opening/extrating files inside incomplete downloaded RAR
Product: [Applications] ark Reporter: Henrique Sant'Anna <hsantanna>
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.19   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Henrique Sant'Anna 2012-08-05 20:28:58 UTC
Application: ark (2.19)
KDE Platform Version: 4.9.00
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Tryed to extract an incomplete downloaded archive (RAR):
1) I opened the archive
2) Ark showed up the window and listed the only file that it could get inside the incomplete RAR
3) I clicked on the file listed by Ark, trying to open it
4) Got the message "The extration failed because of an unexpected error" //(as translated from portuguese.

- Unusual behavior I noticed:

5) I clicked OK on the message, than Ark crashed

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8cc060d780 (LWP 6159))]

Thread 2 (Thread 0x7f8caa9f7700 (LWP 6177)):
#0  0x00007f8cbd5a2b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8cb9f24036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8cb9f24164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8cbdd23426 in QEventDispatcherGlib::processEvents (this=0x7f8ca4011560, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f8cbdcf2c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8cbdcf2ed7 in QEventLoop::exec (this=0x7f8caa9f6dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f8cbdbf1fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f8cbdcd29ff in QInotifyFileSystemWatcherEngine::run (this=0xdda360) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8cbdbf4fcb in QThreadPrivate::start (arg=0xdda360) at thread/qthread_unix.cpp:298
#9  0x00007f8cba3f0e9a in start_thread (arg=0x7f8caa9f7700) at pthread_create.c:308
#10 0x00007f8cbd5ae4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8cc060d780 (LWP 6159)):
[KCrash Handler]
#6  0x00007f8cbe17de64 in KJob::isAutoDelete (this=0xd9e500) at ../../kdecore/jobs/kjob.cpp:361
#7  0x00007f8cbe17e1d8 in KJob::emitResult (this=0xd9e500) at ../../kdecore/jobs/kjob.cpp:320
#8  0x00007f8cc0228002 in Kerfuffle::Job::onFinished(bool) () from /usr/lib/libkerfuffle.so.4
#9  0x00007f8cbdd0d446 in QObject::event (this=0xd9e500, e=<optimized out>) at kernel/qobject.cpp:1195
#10 0x00007f8cbe6ed894 in notify_helper (e=0x7f8ca0004eb0, receiver=0xd9e500, this=0x9c1070) at kernel/qapplication.cpp:4559
#11 QApplicationPrivate::notify_helper (this=0x9c1070, receiver=0xd9e500, e=0x7f8ca0004eb0) at kernel/qapplication.cpp:4531
#12 0x00007f8cbe6f2713 in QApplication::notify (this=0x7fff36c31a50, receiver=0xd9e500, e=0x7f8ca0004eb0) at kernel/qapplication.cpp:4420
#13 0x00007f8cbf427456 in KApplication::notify (this=0x7fff36c31a50, receiver=0xd9e500, event=0x7f8ca0004eb0) at ../../kdeui/kernel/kapplication.cpp:311
#14 0x00007f8cbdcf3e9c in QCoreApplication::notifyInternal (this=0x7fff36c31a50, receiver=0xd9e500, event=0x7f8ca0004eb0) at kernel/qcoreapplication.cpp:876
#15 0x00007f8cbdcf7c6a in sendEvent (event=0x7f8ca0004eb0, receiver=0xd9e500) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x993670) at kernel/qcoreapplication.cpp:1500
#17 0x00007f8cbdd22f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#19 0x00007f8cb9f23d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f8cb9f240a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f8cb9f24164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f8cbdd233bf in QEventDispatcherGlib::processEvents (this=0x994b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00007f8cbe795d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007f8cbdcf2c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007f8cbdcf2ed7 in QEventLoop::exec (this=0x7fff36c319e0, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007f8cbdcf7f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#27 0x000000000040a928 in ?? ()
#28 0x00007f8cbd4dd76d in __libc_start_main (main=0x409110, argc=4, ubp_av=0x7fff36c326a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff36c32698) at libc-start.c:226
#29 0x000000000040b191 in _start ()

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2012-08-05 23:30:52 UTC
Are you able to reproduce this crash somehow? If so, can you attach a rar file that causes it?
Comment 2 Raphael Kubo da Costa 2012-08-16 07:52:44 UTC
Marking as a duplicate of bug 304764 since that report contains a better description of the problem.

*** This bug has been marked as a duplicate of bug 304764 ***