Bug 334957

Summary: Ark crashes when try to close it before contente get loaded
Product: [Applications] ark Reporter: Dimitris Koro <dimitriusvc>
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 2.19   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dimitris Koro 2014-05-17 20:22:52 UTC
Application: ark (2.19)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-26-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I clicked on a zip file to open it with Ark.
When the Ark opened I closed it immediately before the contentes get loaded

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f0197ab77c0 (LWP 4474))]

Thread 2 (Thread 0x7f0181a1b700 (LWP 4476)):
[KCrash Handler]
#6  length (this=0x148) at ../../include/QtCore/../../src/corelib/tools/qstring.h:697
#7  QRegExpMatchState::match (this=0x27a3460, str0=<optimized out>, len0=<optimized out>, pos0=pos0@entry=0, minimal0=<optimized out>, oneTest=oneTest@entry=false, caretIndex=0) at tools/qregexp.cpp:1421
#8  0x00007f019511e6c9 in QRegExp::indexIn (this=0x27a2f88, str=..., offset=0, caretMode=QRegExp::CaretAtZero) at tools/qregexp.cpp:4128
#9  0x00007f01976caf07 in Kerfuffle::CliInterface::checkForPasswordPromptMessage(QString const&) () from /usr/lib/libkerfuffle.so.4
#10 0x00007f01976cbf03 in Kerfuffle::CliInterface::handleLine(QString const&) () from /usr/lib/libkerfuffle.so.4
#11 0x00007f01976cc67a in Kerfuffle::CliInterface::readStdout(bool) () from /usr/lib/libkerfuffle.so.4
#12 0x00007f01951f987a in QMetaObject::activate (sender=sender@entry=0x7f017c004420, m=m@entry=0x7f0195545920 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#13 0x00007f01951773b3 in QProcess::readyReadStandardOutput (this=this@entry=0x7f017c004420) at .moc/release-shared/moc_qprocess.cpp:175
#14 0x00007f019517a721 in QProcessPrivate::_q_canReadStandardOutput (this=0x7f017c004ba0) at io/qprocess.cpp:936
#15 0x00007f019517ad7e in QProcess::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0x7f0181a1a760, _c=<optimized out>) at .moc/release-shared/moc_qprocess.cpp:83
#16 0x00007f01951f987a in QMetaObject::activate (sender=sender@entry=0x7f017c0073e0, m=m@entry=0x7f0195549a40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f0181a1a760) at kernel/qobject.cpp:3539
#17 0x00007f01952442ae in QSocketNotifier::activated (this=this@entry=0x7f017c0073e0, _t1=15) at .moc/release-shared/moc_qsocketnotifier.cpp:102
#18 0x00007f019520264b in QSocketNotifier::event (this=0x7f017c0073e0, e=0x7f0181a1aa90) at kernel/qsocketnotifier.cpp:316
#19 0x00007f0195bd7e2c in QApplicationPrivate::notify_helper (this=this@entry=0x2245080, receiver=receiver@entry=0x7f017c0073e0, e=e@entry=0x7f0181a1aa90) at kernel/qapplication.cpp:4567
#20 0x00007f0195bde4a0 in QApplication::notify (this=this@entry=0x7fff7212beb0, receiver=receiver@entry=0x7f017c0073e0, e=e@entry=0x7f0181a1aa90) at kernel/qapplication.cpp:4353
#21 0x00007f01968e2baa in KApplication::notify (this=0x7fff7212beb0, receiver=0x7f017c0073e0, event=0x7f0181a1aa90) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f01951e54dd in QCoreApplication::notifyInternal (this=0x7fff7212beb0, receiver=0x7f017c0073e0, event=event@entry=0x7f0181a1aa90) at kernel/qcoreapplication.cpp:953
#23 0x00007f01952134a8 in sendEvent (event=0x7f0181a1aa90, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 socketNotifierSourceDispatch (source=0x7f017c003050) at kernel/qeventdispatcher_glib.cpp:117
#25 0x00007f01911efe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f01911f0048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f01911f00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f01952127a1 in QEventDispatcherGlib::processEvents (this=0x7f017c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#29 0x00007f01951e40af in QEventLoop::processEvents (this=this@entry=0x7f0181a1ad30, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f01951e43a5 in QEventLoop::exec (this=0x7f0181a1ad30, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f01976ccd92 in Kerfuffle::CliInterface::runProcess(QStringList const&, QStringList const&) () from /usr/lib/libkerfuffle.so.4
#32 0x00007f01976cd0b4 in Kerfuffle::CliInterface::list() () from /usr/lib/libkerfuffle.so.4
#33 0x00007f01976c1e04 in Kerfuffle::ListJob::doWork() () from /usr/lib/libkerfuffle.so.4
#34 0x00007f01976c1b31 in Kerfuffle::Job::Private::run() () from /usr/lib/libkerfuffle.so.4
#35 0x00007f01950e332f in QThreadPrivate::start (arg=0x25d8230) at thread/qthread_unix.cpp:349
#36 0x00007f01916cf182 in start_thread (arg=0x7f0181a1b700) at pthread_create.c:312
#37 0x00007f0194a9930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f0197ab77c0 (LWP 4474)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f01950e3816 in wait (time=18446744073709551615, this=0x25d8050) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x279d460, mutex=mutex@entry=0x279d438, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f01950e2efe in QThread::wait (this=<optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:720
#4  0x00007f01976c1860 in Kerfuffle::Job::~Job() () from /usr/lib/libkerfuffle.so.4
#5  0x00007f01976c38f8 in Kerfuffle::ListJob::~ListJob() () from /usr/lib/libkerfuffle.so.4
#6  0x00007f01951fc168 in QObjectPrivate::deleteChildren (this=this@entry=0x27a2bf0) at kernel/qobject.cpp:1907
#7  0x00007f01951fe6ff in QObject::~QObject (this=0x27a7b40, __in_chrg=<optimized out>) at kernel/qobject.cpp:926
#8  0x00007f01976be9e9 in Kerfuffle::Archive::~Archive() () from /usr/lib/libkerfuffle.so.4
#9  0x00007f0185230fab in ?? () from /usr/lib/kde4/arkpart.so
#10 0x00007f0185230fd9 in ?? () from /usr/lib/kde4/arkpart.so
#11 0x00007f01951fc168 in QObjectPrivate::deleteChildren (this=this@entry=0x248f120) at kernel/qobject.cpp:1907
#12 0x00007f01951fe6ff in QObject::~QObject (this=0x25d0cd0, __in_chrg=<optimized out>) at kernel/qobject.cpp:926
#13 0x00007f01971d615a in KParts::Part::~Part (this=0x25d0cd0, __vtt_parm=0x7f0185444c38, __in_chrg=<optimized out>) at ../../kparts/part.cpp:190
#14 0x00007f0185224c22 in ?? () from /usr/lib/kde4/arkpart.so
#15 0x00007f0185224c69 in ?? () from /usr/lib/kde4/arkpart.so
#16 0x000000000040e03f in _start ()

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2014-05-17 22:03:58 UTC

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