Bug 237728 - Ark crashed after quitting it
Summary: Ark crashed after quitting it
Status: RESOLVED WORKSFORME
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Hvaal
URL:
Keywords:
: 240919 242249 247200 250994 256980 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-15 16:28 UTC by Leonardo La Malfa
Modified: 2010-11-15 16:38 UTC (History)
8 users (show)

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


Attachments
New crash information added by DrKonqi (3.60 KB, text/plain)
2010-08-12 13:39 UTC, Joachim Mairböck
Details
New crash information added by DrKonqi (4.54 KB, text/plain)
2010-08-30 14:33 UTC, kuba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo La Malfa 2010-05-15 16:28:00 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-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I hit the close button after a successful decompression, and this crash report popped up.

 -- Backtrace:
Application: Ark (ark), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7723710 (LWP 5282))]

Thread 2 (Thread 0xb5f0bb70 (LWP 5288)):
#0  0x01b16e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x0720e6fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x07213825 in QTimerInfoList::updateCurrentTime (this=0x9ffb0dc) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0721386a in QTimerInfoList::timerWait (this=0x9ffb0dc, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x07211818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb5f0b0cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x072118a5 in timerSourcePrepare (source=0x0, timeout=0x1b1aff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x02cc4aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x02cc4ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x02cc54b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0721160f in QEventDispatcherGlib::processEvents (this=0x9df0f28, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x071e4059 in QEventLoop::processEvents (this=0xb5f0b290, flags=) at kernel/qeventloop.cpp:149
#11 0x071e44aa in QEventLoop::exec (this=0xb5f0b290, flags=...) at kernel/qeventloop.cpp:201
#12 0x070e05a8 in QThread::exec (this=0x9eb95b8) at thread/qthread.cpp:487
#13 0x071c3c1b in QInotifyFileSystemWatcherEngine::run (this=0x9eb95b8) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x070e332e in QThreadPrivate::start (arg=0x9eb95b8) at thread/qthread_unix.cpp:248
#15 0x0039596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x00501a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7723710 (LWP 5282)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0x01c7b809 in QWidget::hide (this=0x9f9f9c8) at /usr/include/qt4/QtGui/qwidget.h:489
#8  JobTracker::resetUi (this=0x9f9f9c8) at ../../../ark/part/jobtracker.cpp:97
#9  0x01c62566 in JobTracker::qt_metacall (this=0x9f9f9c8, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbf9e26fc) at moc_jobtracker.cpp:140
#10 0x071eac9a in QMetaObject::metacall (object=0x9f9f9c8, cl=3214812924, idx=31, argv=0xbf9e26fc) at kernel/qmetaobject.cpp:237
#11 0x071f93d5 in QMetaObject::activate (sender=0x9f26c10, m=0x72f8188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#12 0x07200fe7 in QSingleShotTimer::timeout (this=0x9f26c10) at .moc/release-shared/qtimer.moc:82
#13 0x072010fc in QSingleShotTimer::timerEvent (this=0x9f26c10) at kernel/qtimer.cpp:308
#14 0x071f6254 in QObject::event (this=0x9f26c10, e=0x9fa3248) at kernel/qobject.cpp:1212
#15 0x010a54dc in QApplicationPrivate::notify_helper (this=0x9d61880, receiver=0x9f26c10, e=0xbf9e2c30) at kernel/qapplication.cpp:4300
#16 0x010ac05e in QApplication::notify (this=0xbf9e2f9c, receiver=0x9f26c10, e=0xbf9e2c30) at kernel/qapplication.cpp:3704
#17 0x0082ff2a in KApplication::notify (this=0xbf9e2f9c, receiver=0x9f26c10, event=0xbf9e2c30) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x071e5a3b in QCoreApplication::notifyInternal (this=0xbf9e2f9c, receiver=0x9f26c10, event=0xbf9e2c30) at kernel/qcoreapplication.cpp:704
#19 0x07214d66 in QCoreApplication::sendEvent (this=0x9d64974) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=0x9d64974) at kernel/qeventdispatcher_unix.cpp:603
#21 0x072118e4 in timerSourceDispatch (source=0x9d64940) at kernel/qeventdispatcher_glib.cpp:184
#22 0x02cc15e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x02cc52d8 in ?? () from /lib/libglib-2.0.so.0
#24 0x02cc54b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x072115d5 in QEventDispatcherGlib::processEvents (this=0x9d4bb60, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#26 0x01165135 in QGuiEventDispatcherGlib::processEvents (this=0x9d4bb60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x071e4059 in QEventLoop::processEvents (this=0xbf9e2ef4, flags=) at kernel/qeventloop.cpp:149
#28 0x071e44aa in QEventLoop::exec (this=0xbf9e2ef4, flags=...) at kernel/qeventloop.cpp:201
#29 0x071e869f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#30 0x010a5577 in QApplication::exec () at kernel/qapplication.cpp:3579
#31 0x08050499 in main (argc=4, argv=0xbf9e3334) at ../../../ark/app/main.cpp:210

This bug may be a duplicate of or related to bug 222959.

Possible duplicates by query: bug 222959.

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2010-05-15 20:34:16 UTC
Can you reproduce this crash at will? Does it happen to more than one file?
Comment 2 Leonardo La Malfa 2010-05-15 21:09:12 UTC
> Can you reproduce this crash at will? Does it happen to more
> than one file?

No, sorry, it was the first and only crash, and when DrKonqi came out I 
reported it.
Comment 3 Raphael Kubo da Costa 2010-06-20 09:15:54 UTC
*** Bug 240919 has been marked as a duplicate of this bug. ***
Comment 4 Raphael Kubo da Costa 2010-06-20 20:00:27 UTC
*** Bug 242249 has been marked as a duplicate of this bug. ***
Comment 5 Raphael Kubo da Costa 2010-08-10 04:45:46 UTC
*** Bug 247200 has been marked as a duplicate of this bug. ***
Comment 6 Raphael Kubo da Costa 2010-08-12 04:32:17 UTC
I haven't been able to reproduce this crash so far, so I'm closing it for now. If any of you can find a reliable way to reproduce this issue, please reopen this report with more information.

Thank you!
Comment 7 Joachim Mairböck 2010-08-12 13:39:57 UTC
Created attachment 50054 [details]
New crash information added by DrKonqi

ark (2.15) on KDE Platform 4.5.00 (KDE 4.5.0) using Qt 4.6.3

- What I was doing when the application crashed:
Extracting a tar.gz archive directly opened from Konqueror (without saving it). Ark crashed on quitting automatically after extracting. The extraction has completed successfully (all files have been extracted).

I have experienced the same crash once before but also multiple times where it didn't crash (with the same settings). Seems a bit strange ...

-- Backtrace (Reduced):
#8  0xb2a504e7 in hide (this=0x82c9510) at /usr/include/QtGui/qwidget.h:489
#9  JobTracker::resetUi (this=0x82c9510) at /usr/src/debug/kdeutils-4.5.0/ark/part/jobtracker.cpp:97
#10 0xb2a357fc in JobTracker::qt_metacall (this=0x82c9510, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf8e71dc)
    at /usr/src/debug/kdeutils-4.5.0/build/ark/part/moc_jobtracker.cpp:140
[...]
[...]
#13 0xb61a09d5 in QSingleShotTimer::timeout (this=0x8996130) at .moc/release-shared/qtimer.moc:82
#14 0xb61a0a8c in QSingleShotTimer::timerEvent (this=0x8996130) at kernel/qtimer.cpp:308
Comment 8 Raphael Kubo da Costa 2010-08-15 01:10:07 UTC
SVN commit 1163720 by rkcosta:

Remove the finished() slot reimplementation.

It called unregisterJob() and did many things it also did.
unregisterJob() calls resetUi(), finished() calls it after 1.5 seconds.

Since the default registerJob() implementation already connects a KJob's
finished() signal to the unregisterJob() slot, there's little sense in
keeping this duplicated code.

CCBUG: 237728

 M  +0 -10     jobtracker.cpp  
 M  +0 -1      jobtracker.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1163720
Comment 9 Raphael Kubo da Costa 2010-08-15 01:19:20 UTC
SVN commit 1163731 by rkcosta:

Remove the finished() slot reimplementation.

It called unregisterJob() and did many things it also did.
unregisterJob() calls resetUi(), finished() calls it after 1.5 seconds.

Since the default registerJob() implementation already connects a KJob's
finished() signal to the unregisterJob() slot, there's little sense in
keeping this duplicated code.

Backport of r1163720.

CCBUG: 237728

 M  +0 -10     jobtracker.cpp  
 M  +0 -1      jobtracker.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1163731
Comment 10 Raphael Kubo da Costa 2010-08-15 01:19:24 UTC
SVN commit 1163732 by rkcosta:

Give a parent to JobTracker.

Backport of r1163721.

CCBUG: 237728

 M  +1 -1      part.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1163732
Comment 11 Raphael Kubo da Costa 2010-08-15 01:20:23 UTC
I'm still unable to reproduce this crash, but I think the above commits might help prevent it from happening.
Comment 12 kuba 2010-08-30 14:33:55 UTC
Created attachment 51108 [details]
New crash information added by DrKonqi

ark (2.15) on KDE Platform 4.5.00 (KDE 4.5.0) using Qt 4.7.0

System is Kubuntu 10.04 LTS, I encounter problems with Ark very often recently, when dealing with rar archives. I've suspected problems with the rar unpacker and switched to non-free implementation, but the problems persist.

-- Backtrace (Reduced):
#7  0x00007f4e970cfdf0 in QWidget::hide (this=0x2485170) at /usr/include/qt4/QtGui/qwidget.h:491
#8  JobTracker::resetUi (this=0x2485170) at ../../../ark/part/jobtracker.cpp:97
#9  0x00007f4e970b79b4 in JobTracker::qt_metacall (this=0x2485170, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb9c75450) at moc_jobtracker.cpp:140
[...]
#11 0x00007f4ea4df697f in QSingleShotTimer::timerEvent (this=0x2699480) at kernel/qtimer.cpp:308
#12 0x00007f4ea4deb599 in QObject::event (this=0x2699480, e=0x0) at kernel/qobject.cpp:1183
Comment 13 Raphael Kubo da Costa 2010-09-12 19:34:17 UTC
*** Bug 250994 has been marked as a duplicate of this bug. ***
Comment 14 Raphael Kubo da Costa 2010-11-15 16:38:37 UTC
*** Bug 256980 has been marked as a duplicate of this bug. ***