Bug 235054

Summary: Segfault on exiting Ark while it's extracting a file for preview
Product: [Applications] ark Reporter: stasiek-j
Component: generalAssignee: Harald Hvaal <metellius>
Status: RESOLVED DUPLICATE    
Severity: crash CC: rakuco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description stasiek-j 2010-04-22 12:42:59 UTC
Application: ark (2.14)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
I double-clicked a file, Ark started extracting it. As the archive was big (linux-source), i closed Ark while operation was in progress. Doing it generated segfault.

 -- Backtrace:
Application: Ark (ark), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7f6fa1ca1760 (LWP 4695))]

Thread 3 (Thread 0x7f6f90987710 (LWP 4697)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f6f90986aa0 in ?? ()
#2  0x00007fffba5a0852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f6f92adb710 (LWP 4712)):
[KCrash Handler]
#5  QVariant::cmp (this=0x31, v=...) at kernel/qvariant.cpp:2797
#6  0x00007f6f92d1f878 in ?? () from /usr/lib/kde4/kerfuffle_libarchive.so
#7  0x00007f6fa18a4998 in Kerfuffle::ExtractJob::doWork() () from /usr/lib/libkerfuffle.so.4
#8  0x00007f6fa18a34b9 in Kerfuffle::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkerfuffle.so.4
#9  0x00007f6f9f6ede3f in QMetaObject::activate (sender=0x7f6f92adae00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xfffffffffff790c4) at kernel/qobject.cpp:3293
#10 0x00007f6f9f6eaa63 in QObject::event (this=0x7f6f92adae00, e=0x7f6f92adab40) at kernel/qobject.cpp:1212
#11 0x00007f6f9fbae22c in QApplicationPrivate::notify_helper (this=0x1bf8bf0, receiver=0x7f6f92adae00, e=0x7f6f92adab40) at kernel/qapplication.cpp:4300
#12 0x00007f6f9fbb46fb in QApplication::notify (this=0x7fffba4b4c50, receiver=0x7f6f92adae00, e=0x7f6f92adab40) at kernel/qapplication.cpp:4183
#13 0x00007f6fa0d5a526 in KApplication::notify (this=0x7fffba4b4c50, receiver=0x7f6f92adae00, event=0x7f6f92adab40) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007f6f9f6db06c in QCoreApplication::notifyInternal (this=0x7fffba4b4c50, receiver=0x7f6f92adae00, event=0x7f6f92adab40) at kernel/qcoreapplication.cpp:704
#15 0x00007f6f9f707d42 in QCoreApplication::sendEvent (this=0x274d110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QTimerInfoList::activateTimers (this=0x274d110) at kernel/qeventdispatcher_unix.cpp:603
#17 0x00007f6f9f704824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#18 0x00007f6f9b55a8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007f6f9b55e748 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007f6f9b55e8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007f6f9f704513 in QEventDispatcherGlib::processEvents (this=0x27244e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007f6f9f6d9992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007f6f9f6d9d6c in QEventLoop::exec (this=0x7f6f92adadb0, flags=) at kernel/qeventloop.cpp:201
#24 0x00007f6f9f5e3d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#25 0x00007f6fa18a608a in ?? () from /usr/lib/libkerfuffle.so.4
#26 0x00007f6f9f5e6775 in QThreadPrivate::start (arg=0x292d180) at thread/qthread_unix.cpp:248
#27 0x00007f6f9cf5f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#28 0x00007f6f9efbd69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6fa1ca1760 (LWP 4695)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6f9f5e772b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2335840, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2335840, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6f9f5e6814 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:619
#4  0x00007f6fa18a38ec in Kerfuffle::Job::~Job() () from /usr/lib/libkerfuffle.so.4
#5  0x00007f6fa18a5e93 in ?? () from /usr/lib/libkerfuffle.so.4
#6  0x00007f6f9f6e9a5c in QObjectPrivate::deleteChildren (this=0x20252d0) at kernel/qobject.cpp:1986
#7  0x00007f6f9f6f0ae4 in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#8  0x00007f6fa18a670a in Kerfuffle::ArchiveBase::~ArchiveBase() () from /usr/lib/libkerfuffle.so.4
#9  0x00007f6f9319e10d in ?? () from /usr/lib/kde4/arkpart.so
#10 0x00007f6f9f6e9a5c in QObjectPrivate::deleteChildren (this=0x1ddca10) at kernel/qobject.cpp:1986
#11 0x00007f6f9f6f0ae4 in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#12 0x00007f6fa165e002 in ~Part (this=0x1dac930, __vtt_parm=0x7f6f933ad7f8, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:212
#13 0x00007f6f931911eb in ?? () from /usr/lib/kde4/arkpart.so
#14 0x000000000040aa2b in _start ()

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2010-04-22 15:43:25 UTC

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