Bug 187538 - ark crashs after loading tar.gz from web site
Summary: ark crashs after loading tar.gz from web site
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 2.12
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Hvaal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 18:42 UTC by sts
Modified: 2009-04-07 23:06 UTC (History)
1 user (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 sts 2009-03-18 18:42:24 UTC
Version:           2.12 (using 4.2.1 (KDE 4.2.1) "release 103", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.19-3.2-default

My steps:
open http://pve.proxmox.com/wiki/Debian_5.0_Standard
download file Location:
open in ark.. stop download.. ark crashs

Anwendung: Ark (ark), Signal SIGSEGV
0x00007faf83e58ce1 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7faf87b8b750 (LWP 14653))]

Thread 2 (Thread 0x7faf7917d950 (LWP 14664)):
#0  0x00007faf84894fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007faf84b05f07 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007faf84afc129 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007faf84b04f72 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007faf84891070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007faf83e8a10d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7faf87b8b750 (LWP 14653)):
[KCrash Handler]
#5  KJob::kill (this=0x82f530, verbosity=KJob::Quietly) at /usr/src/debug/kdelibs-4.2.1/kdecore/jobs/kjob.cpp:106
#6  0x00007faf872d0bf5 in KParts::ReadOnlyPart::abortLoad (this=<value optimized out>) at /usr/src/debug/kdelibs-4.2.1/kparts/part.cpp:602
#7  0x00007faf872d2704 in KParts::ReadOnlyPart::closeUrl (this=0x82f530) at /usr/src/debug/kdelibs-4.2.1/kparts/part.cpp:611
#8  0x00007faf872d2917 in ~ReadOnlyPart (this=0x82f530, __vtt_parm=0x0) at /usr/src/debug/kdelibs-4.2.1/kparts/part.cpp:459
#9  0x00007faf793f1591 in ?? () from /usr/lib64/kde4/libarkpart.so
#10 0x000000000040caa2 in _start ()
Comment 1 Raphael Kubo da Costa 2009-03-19 05:44:51 UTC
I can confirm this bug, but Ark crashed only when I closed it after stopping the download (using Konqueror as the browser).

My backtrace contains more information (using svn r940942):

Application: Ark (ark), signal SIGSEGV
[Current thread is 0 (LWP 27797)]

Thread 2 (Thread 0xb3b6cb90 (LWP 27800)):
#0  0xb7f05424 in __kernel_vsyscall ()
#1  0xb686df82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6903f06 in QWaitConditionPrivate::wait (this=0x8d30798, time=30000) at /home/kubo/kde4/build/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:85
#3  0xb6903a1f in QWaitCondition::wait (this=0x8d306f8, mutex=0x8d306f4, time=30000) at /home/kubo/kde4/build/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:159
#4  0xb68f6e32 in QThreadPoolThread::run (this=0x8d4b508) at /home/kubo/kde4/build/qt-copy/src/corelib/concurrent/qthreadpool.cpp:140
#5  0xb69035fb in QThreadPrivate::start (arg=0x8d4b508) at /home/kubo/kde4/build/qt-copy/src/corelib/thread/qthread_unix.cpp:189
#6  0xb686a155 in start_thread () from /lib/libpthread.so.0
#7  0xb66c8a5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5f4c700 (LWP 27797)):
[KCrash Handler]
#6  0xb766fa4f in KJob::kill (this=0x8d01540, verbosity=KJob::Quietly) at /home/kubo/kde4/build/kdelibs/kdecore/jobs/kjob.cpp:106
#7  0xb7e317a4 in KParts::ReadOnlyPart::abortLoad (this=0x8d9c028) at /home/kubo/kde4/build/kdelibs/kparts/part.cpp:601
#8  0xb7e3308b in KParts::ReadOnlyPart::closeUrl (this=0x8d9c028) at /home/kubo/kde4/build/kdelibs/kparts/part.cpp:610
#9  0xb7e362de in ~ReadOnlyPart (this=0x8d9c028, __vtt_parm=0xb3e74468) at /home/kubo/kde4/build/kdelibs/kparts/part.cpp:458
#10 0xb7e3644f in ~ReadWritePart (this=0x8d9c028, __vtt_parm=0xb3e74464) at /home/kubo/kde4/build/kdelibs/kparts/part.cpp:722
#11 0xb3e5b507 in ~Part (this=0x8d9c028) at /home/kubo/kde4/build/kdeutils/ark/part/part.cpp:109
#12 0x080538f7 in ~MainWindow (this=0x8cfc948) at /home/kubo/kde4/build/kdeutils/ark/app/mainwindow.cpp:73
#13 0xb6a07f13 in qDeleteInEventHandler (o=0x8cfc948) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3771
#14 0xb6a0c3e8 in QObject::event (this=0x8cfc948, e=0x8d84658) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:1101
#15 0xb6c827be in QWidget::event (this=0x8cfc948, event=0x8d84658) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qwidget.cpp:7913
#16 0xb70afe1e in QMainWindow::event (this=0x8cfc948, event=0x8d84658) at /home/kubo/kde4/build/qt-copy/src/gui/widgets/qmainwindow.cpp:1396
#17 0xb7acc7c7 in KMainWindow::event (this=0x8cfc948, ev=0x8d84658) at /home/kubo/kde4/build/kdelibs/kdeui/widgets/kmainwindow.cpp:1094
#18 0xb7b10bcc in KXmlGuiWindow::event (this=0x8cfc948, ev=0x8d84658) at /home/kubo/kde4/build/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#19 0xb6c2086b in QApplicationPrivate::notify_helper (this=0x8b6b4b0, receiver=0x8cfc948, e=0x8d84658) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:4084
#20 0xb6c22784 in QApplication::notify (this=0xbfc225c4, receiver=0x8cfc948, e=0x8d84658) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:4049
#21 0xb79e9acd in KApplication::notify (this=0xbfc225c4, receiver=0x8cfc948, event=0x8d84658) at /home/kubo/kde4/build/kdelibs/kdeui/kernel/kapplication.cpp:307
#22 0xb69f8173 in QCoreApplication::notifyInternal (this=0xbfc225c4, receiver=0x8cfc948, event=0x8d84658) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:598
#23 0xb6c1d2ad in QCoreApplication::sendEvent (receiver=0x8cfc948, event=0x8d84658) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:213
#24 0xb69f865b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b3ae28) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1236
#25 0xb69f8817 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1132
#26 0xb6ccf244 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218
#27 0xb6a27a68 in postEventSourceDispatch (s=0x8b6d718) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:209
#28 0xb6165311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb61689a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#30 0xb6168b61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb6a26e82 in QEventDispatcherGlib::processEvents (this=0x8b6b490, flags={i = -1077795720}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:323
#32 0xb6ccda30 in QGuiEventDispatcherGlib::processEvents (this=0x8b6b490, flags={i = -1077795672}) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#33 0xb69f5158 in QEventLoop::processEvents (this=0xbfc22530, flags={i = -1077795600}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#34 0xb69f53b2 in QEventLoop::exec (this=0xbfc22530, flags={i = -1077795528}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#35 0xb69f894b in QCoreApplication::exec () at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:880
#36 0xb6c20584 in QApplication::exec () at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:3553
#37 0x080522cf in main (argc=4, argv=0xbfc22984) at /home/kubo/kde4/build/kdeutils/ark/app/main.cpp:222
Comment 2 Raphael Kubo da Costa 2009-04-07 23:06:27 UTC
SVN commit 950830 by rkcosta:

Fix the call to KJob::kill when the Cancel button is pressed - KJob::EmitResult must be passed so that ReadOnlyPart can handle the termination correctly.

BUG: 186722
BUG: 186980
BUG: 187538
CCBUG: 188231


 M  +14 -2     kuiserverjobtracker.cpp  
 M  +2 -0      kuiserverjobtracker.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=950830