[Bug 284788] New: Akonadi Console crashes during shutdown if a job is active
Michael Pyne
mpyne at kde.org
Sun Oct 23 15:58:14 BST 2011
https://bugs.kde.org/show_bug.cgi?id=284788
Summary: Akonadi Console crashes during shutdown if a job is
active
Product: Akonadi
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: crash
Priority: NOR
Component: akonadiconsole
AssignedTo: kdepim-bugs at kde.org
ReportedBy: mpyne at kde.org
Application: akonadiconsole (0.99)
KDE Platform Version: 4.7.2 (4.7.2) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.1.0-rc9-00020-g3ee72ca x86_64
-- Information about the crash:
- What I was doing when the application crashed:
I was in Akonadi Console trying to troubleshoot a very annoying bug causing
ItemFetchJobs to take a very long time (about a minute each) to complete.
Apparently when I closed the application with a job still outstanding it
prompted a KJob to emit its partial result (on that note, maybe look at KIO...)
which tried to load a pixmap, which crashed the console.
kdepim is 5a649889f8d4c8b9106632e48cb2ee9772bd82a2. Akonadi, kdepimlibs,
kdepim-runtime, kdelibs are all git master checkouts from approximately the
same time (except that kdelibs is branch KDE/4.7).
I have not tried to reproduce as I consider that the bug is probably
inconsequential, but it does seem that parts of the shutdown logic should be
modified to avoid this trap.
-- Backtrace:
Application: Akonadi Console (akonadiconsole), signal: Aborted
[Current thread is 1 (Thread 0x7fd1465a5760 (LWP 7592))]
Thread 2 (Thread 0x7fd12c0da700 (LWP 7606)):
#0 0x00007fd13fbc04ec in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x00007fd13bb9f58c in WTF::TCMalloc_PageHeap::scavengerThread() () from
/home/kde-svn/qt4/lib/libQtWebKit.so.4
#2 0x00007fd13bb9f5c9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /home/kde-svn/qt4/lib/libQtWebKit.so.4
#3 0x00007fd13fbbbd1c in start_thread () from /lib64/libpthread.so.0
#4 0x00007fd13f16089d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7fd1465a5760 (LWP 7592)):
[KCrash Handler]
#6 0x00007fd13f0be495 in raise () from /lib64/libc.so.6
#7 0x00007fd13f0bf73a in abort () from /lib64/libc.so.6
#8 0x00007fd142bbaa64 in qt_message_output (msgType=<optimized out>,
buf=<optimized out>) at /kdesvn/src/qt-copy/src/corelib/global/qglobal.cpp:2255
#9 0x00007fd142bbabd9 in qt_message(QtMsgType, const char *, typedef
__va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fd140eb3210
"QPixmap: Must construct a QApplication before a QPaintDevice",
ap=0x7fffedc781f0) at /kdesvn/src/qt-copy/src/corelib/global/qglobal.cpp:2301
#10 0x00007fd142bbad95 in qFatal (msg=<optimized out>) at
/kdesvn/src/qt-copy/src/corelib/global/qglobal.cpp:2484
#11 0x00007fd140850b48 in qt_pixmap_thread_test () at
/kdesvn/src/qt-copy/src/gui/image/qpixmap.cpp:102
#12 0x00007fd140852028 in QPixmap::QPixmap (this=0x2e00b98) at
/kdesvn/src/qt-copy/src/gui/image/qpixmap.cpp:174
#13 0x00007fd1308e0b2d in Oxygen::Helper::Helper (this=0x2e00900,
componentName=<optimized out>) at
/kdesvn/src/kde/kde-workspace/libs/oxygen/oxygenhelper.cpp:54
#14 0x00007fd130b8b5b6 in Oxygen::StyleHelper::StyleHelper (this=0x2e00900,
componentName=<optimized out>) at
/kdesvn/src/kde/kde-workspace/kstyles/oxygen/oxygenstylehelper.cpp:42
#15 0x00007fd130b6f4e1 in Oxygen::Style::Style (this=0x2e2bc60) at
/kdesvn/src/kde/kde-workspace/kstyles/oxygen/oxygenstyle.cpp:165
#16 0x00007fd130b8821b in Oxygen::StylePlugin::create (this=<optimized out>,
key=...) at /kdesvn/src/kde/kde-workspace/kstyles/oxygen/oxygenstyle.cpp:126
#17 0x00007fd140abe31e in QStyleFactory::create (key=<optimized out>) at
/kdesvn/src/qt-copy/src/gui/styles/qstylefactory.cpp:193
#18 0x00007fd14076ef37 in QApplication::style () at
/kdesvn/src/qt-copy/src/gui/kernel/qapplication.cpp:1461
#19 0x00007fd1407b3ba9 in QWidget::isActiveWindow (this=0x25e7090) at
/kdesvn/src/qt-copy/src/gui/kernel/qwidget.cpp:6682
#20 0x00007fd140abea95 in QStyleOption::init (this=0x7fffedc786c0,
widget=0x26dd4b0) at /kdesvn/src/qt-copy/src/gui/styles/qstyleoption.cpp:206
#21 0x00007fd140c2fefd in initFrom (w=<optimized out>, this=0x7fffedc786c0) at
../../include/QtGui/../../../../src/qt-copy/src/gui/styles/qstyleoption.h:99
#22 QScrollBar::initStyleOption (this=<optimized out>, option=0x7fffedc786c0)
at /kdesvn/src/qt-copy/src/gui/widgets/qscrollbar.cpp:311
#23 0x00007fd140c308c6 in QScrollBar::sizeHint (this=0x26dd4b0) at
/kdesvn/src/qt-copy/src/gui/widgets/qscrollbar.cpp:491
#24 0x00007fd140c65822 in QAbstractScrollArea::minimumSizeHint (this=<optimized
out>) at /kdesvn/src/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:1356
#25 0x00007fd14079b5b3 in qSmartMinSize (w=0x27891f0) at
/kdesvn/src/qt-copy/src/gui/kernel/qlayoutengine.cpp:383
#26 0x00007fd140c3b278 in QSplitterPrivate::setSizes_helper (this=0x28a2cb0,
sizes=..., clampNegativeSize=true) at
/kdesvn/src/qt-copy/src/gui/widgets/qsplitter.cpp:707
#27 0x00007fd144cd71e7 in MessageViewer::ViewerPrivate::adjustLayout
(this=0x28c56a0) at /kdesvn/src/kde/kdepim/messageviewer/viewer_p.cpp:1301
#28 0x00007fd144ce026d in MessageViewer::ViewerPrivate::displaySplashPage
(this=0x28c56a0, info=...) at
/kdesvn/src/kde/kdepim/messageviewer/viewer_p.cpp:676
#29 0x00007fd144ce604e in MessageViewer::ViewerPrivate::itemFetchResult
(this=0x28c56a0, job=<optimized out>) at
/kdesvn/src/kde/kdepim/messageviewer/viewer_p.cpp:2807
#30 0x00007fd144ce725c in MessageViewer::ViewerPrivate::qt_static_metacall
(_o=0x28c56a0, _c=<optimized out>, _id=11, _a=<optimized out>) at
/kdesvn/build/kde/kdepim/messageviewer/viewer_p.moc:187
#31 0x00007fd142cf5461 in QMetaObject::activate (sender=0x419aca0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffedc78d80) at
/kdesvn/src/qt-copy/src/corelib/kernel/qobject.cpp:3546
#32 0x00007fd13ff0e2d2 in KJob::result (this=<optimized out>, _t1=0x419aca0) at
/kdesvn/build/kde/kdelibs/kdecore/kjob.moc:208
#33 0x00007fd13ff0e315 in KJob::emitResult (this=0x419aca0) at
/kdesvn/src/kde/kdelibs/kdecore/jobs/kjob.cpp:312
#34 0x00007fd13ff0e375 in KJob::kill (this=0x419aca0,
verbosity=KJob::EmitResult) at
/kdesvn/src/kde/kdelibs/kdecore/jobs/kjob.cpp:112
#35 0x00007fd1460d49e8 in Akonadi::Session::clear (this=0x27e69c0) at
/kdesvn/src/kde/kdepimlibs/akonadi/session.cpp:425
#36 0x00007fd1460d4d1b in Akonadi::Session::~Session (this=0x27e69c0,
__in_chrg=<optimized out>) at
/kdesvn/src/kde/kdepimlibs/akonadi/session.cpp:394
#37 0x00007fd1460d4d69 in Akonadi::Session::~Session (this=0x27e69c0,
__in_chrg=<optimized out>) at
/kdesvn/src/kde/kdepimlibs/akonadi/session.cpp:396
#38 0x00007fd142bc376b in QThreadStorageData::finish (p=0x23d7638) at
/kdesvn/src/qt-copy/src/corelib/thread/qthreadstorage.cpp:203
#39 0x00007fd142ce11ad in QCoreApplicationPrivate::~QCoreApplicationPrivate
(this=0x2403ce0, __in_chrg=<optimized out>) at
/kdesvn/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:411
#40 0x00007fd140769a29 in QApplicationPrivate::~QApplicationPrivate
(this=0x2403ce0, __in_chrg=<optimized out>) at
/kdesvn/src/qt-copy/src/gui/kernel/qapplication.cpp:219
#41 0x00007fd142cf6683 in cleanup (pointer=<optimized out>) at
../../include/QtCore/../../../../src/qt-copy/src/corelib/tools/qscopedpointer.h:62
#42 ~QScopedPointer (this=0x7fffedc791a8, __in_chrg=<optimized out>) at
../../include/QtCore/../../../../src/qt-copy/src/corelib/tools/qscopedpointer.h:100
#43 QObject::~QObject (this=0x7fffedc791a0, __in_chrg=<optimized out>) at
/kdesvn/src/qt-copy/src/corelib/kernel/qobject.cpp:816
#44 0x00007fd140774afd in QApplication::~QApplication (this=0x7fffedc791a0,
__in_chrg=<optimized out>) at
/kdesvn/src/qt-copy/src/gui/kernel/qapplication.cpp:1094
#45 0x000000000043b21c in main (argc=1, argv=0x7fffedc795b8) at
/kdesvn/src/kde/kdepim/akonadiconsole/main.cpp:58
Reported using DrKonqi
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list