[Bug 275851] New: Kontact crash after KMail IMAP connection hangs

Robert Simmons rsimmons0 at gmail.com
Thu Jun 16 21:42:42 BST 2011


https://bugs.kde.org/show_bug.cgi?id=275851

           Summary: Kontact crash after KMail IMAP connection hangs
           Product: kontact
           Version: 4.4.10
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: rsimmons0 at gmail.com


Application: kontact (4.4.10)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

I was using KMail to check my mail on Gmail through IMAP.  Every so often the
IMAP connection hangs/times out.  This time when it hung, KMail could not
access any folders at all, so I closed Kontact completely.  When I reopened
Kontact, it would not start because the old kontact process (hung) was still
running (these ought to be a message saying that its already running, but there
isn't it just dissapears and you have to know to run a pgrep or ps aux to find
the old process (I am used to kubuntu now, so I know that if a program silently
fails to open then the same program is probably either running or has a zombie
left over).  That's beside the point, however.

When I killed the hung process Kontact crashed and opened the bug report tool.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0xb789d730 (LWP 31036))]

Thread 3 (Thread 0xb2a92b70 (LWP 31039)):
#0  0x04a816e9 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#1  0x03155fd4 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x03156e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0315792b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x04ada304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0x031802df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x00cd1e99 in start_thread (arg=0xb2a92b70) at pthread_create.c:304
#7  0x009e273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb3293b70 (LWP 31060)):
#0  0x00ce8d41 in clock_gettime (clock_id=1, tp=0xb3292fe0) at
../sysdeps/unix/clock_gettime.c:116
#1  0x01ad7dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x01ba44f2 in updateCurrentTime (this=0x9527774, tm=...) at
kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x9527774, tm=...) at
kernel/qeventdispatcher_unix.cpp:442
#5  0x01ba2d32 in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0xb32930bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x01ba2dcd in timerSourcePrepare (source=0x9527740, timeout=<value
optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x03155fd4 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x03156e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x03157524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01ba3577 in QEventDispatcherGlib::processEvents (this=0x92447d0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x01b75289 in QEventLoop::processEvents (this=0xb3293270, flags=...) at
kernel/qeventloop.cpp:149
#12 0x01b75522 in QEventLoop::exec (this=0xb3293270, flags=...) at
kernel/qeventloop.cpp:201
#13 0x01a7f2a0 in QThread::exec (this=0x92d2218) at thread/qthread.cpp:492
#14 0x01b56fdb in QInotifyFileSystemWatcherEngine::run (this=0x92d2218) at
io/qfilesystemwatcher_inotify.cpp:248
#15 0x01a81da2 in QThreadPrivate::start (arg=0x92d2218) at
thread/qthread_unix.cpp:320
#16 0x00cd1e99 in start_thread (arg=0xb3293b70) at pthread_create.c:304
#17 0x009e273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb789d730 (LWP 31036)):
[KCrash Handler]
#7  0x00b14416 in __kernel_vsyscall ()
#8  0x0093ce71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x0094034e in abort () at abort.c:92
#10 0x01a773ba in qt_message_output (msgType=QtFatalMsg, buf=0x8b15b78 "Fatal
Error: Accessed global static 'CollectionRoot *s_root()' after destruction.
Defined at ../../akonadi/collection.cpp:56") at global/qglobal.cpp:2282
#11 0x01a77581 in qt_message (msgType=QtFatalMsg, msg=0x2cb0324 "Fatal Error:
Accessed global static '%s *%s()' after destruction. Defined at %s:%d",
ap=0xbfd9f844 ">F\313\002\067F\313\002\032F\313\002\070") at
global/qglobal.cpp:2328
#12 0x01a77689 in qFatal (msg=0x2cb0324 "Fatal Error: Accessed global static
'%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2511
#13 0x02b8b6bc in operator-> () at ../../akonadi/collection.cpp:56
#14 operator* () at ../../akonadi/collection.cpp:56
#15 Akonadi::Collection::root () at ../../akonadi/collection.cpp:172
#16 0x02b9a226 in Akonadi::CollectionModel::rowCount (this=0xb568710,
parent=...) at ../../akonadi/collectionmodel.cpp:167
#17 0x01b69aae in QAbstractItemModel::hasChildren (this=0xb568710, parent=...)
at kernel/qabstractitemmodel.cpp:1629
#18 0x016d691a in QSortFilterProxyModel::hasChildren (this=0xb56ad30,
parent=...) at itemviews/qsortfilterproxymodel.cpp:1696
#19 0x01691efe in QTreeView::doItemsLayout (this=0xb56f9b0) at
itemviews/qtreeview.cpp:2024
#20 0x0168cb35 in QTreeViewPrivate::updateScrollBars (this=0xb5bbc10) at
itemviews/qtreeview.cpp:3439
#21 0x0168cd8f in QTreeView::updateGeometries (this=0xb56f9b0) at
itemviews/qtreeview.cpp:2686
#22 0x0164d78b in QAbstractItemView::qt_metacall (this=0xb56f9b0,
_c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfd9fc2c) at
.moc/release-shared/moc_qabstractitemview.cpp:241
#23 0x0169512a in QTreeView::qt_metacall (this=0xb56f9b0,
_c=QMetaObject::InvokeMetaMethod, _id=54, _a=0xbfd9fc2c) at
.moc/release-shared/moc_qtreeview.cpp:119
#24 0x02c9f82a in Akonadi::CollectionView::qt_metacall (this=0xb56f9b0,
_c=QMetaObject::InvokeMetaMethod, _id=54, _a=0xbfd9fc2c) at
./collectionview.moc:77
#25 0x01b7c6ba in QMetaObject::metacall (object=0xb56f9b0,
cl=QMetaObject::InvokeMetaMethod, idx=54, argv=0xbfd9fc2c) at
kernel/qmetaobject.cpp:237
#26 0x01b8c4ff in QMetaObject::activate (sender=0xb5702a0, m=0x1a0e380,
local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3287
#27 0x01659897 in QHeaderView::geometriesChanged (this=0xb5702a0) at
.moc/release-shared/moc_qheaderview.cpp:274
#28 0x0165ecdc in QHeaderView::viewportEvent (this=0xb5702a0, e=0xbfda0140) at
itemviews/qheaderview.cpp:2410
#29 0x015abed5 in viewportEvent (this=0xb56ab08, o=0xb574838, e=0xbfda0140) at
widgets/qabstractscrollarea_p.h:100
#30 QAbstractScrollAreaFilter::eventFilter (this=0xb56ab08, o=0xb574838,
e=0xbfda0140) at widgets/qabstractscrollarea_p.h:116
#31 0x01b7625a in QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=0x8a4d7b0, receiver=0xb574838, event=0xbfda0140) at
kernel/qcoreapplication.cpp:846
#32 0x010d0d00 in QApplicationPrivate::notify_helper (this=0x8a4d7b0,
receiver=0xb574838, e=0xbfda0140) at kernel/qapplication.cpp:4458
#33 0x010d597b in QApplication::notify (this=0xbfda0eb4, receiver=0xb574838,
e=0xbfda0140) at kernel/qapplication.cpp:4427
#34 0x0074936a in KApplication::notify (this=0xbfda0eb4, receiver=0xb574838,
event=0xbfda0140) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x01b760bb in QCoreApplication::notifyInternal (this=0xbfda0eb4,
receiver=0xb574838, event=0xbfda0140) at kernel/qcoreapplication.cpp:731
#36 0x011245f3 in sendEvent (this=0xb562680, spontaneous=false) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QWidgetPrivate::hideChildren (this=0xb562680, spontaneous=false) at
kernel/qwidget.cpp:7787
#38 0x01124524 in QWidgetPrivate::hideChildren (this=0xb5bbc10,
spontaneous=false) at kernel/qwidget.cpp:7782
#39 0x01124524 in QWidgetPrivate::hideChildren (this=0xb5c4f78,
spontaneous=false) at kernel/qwidget.cpp:7782
#40 0x01124524 in QWidgetPrivate::hideChildren (this=0xa6e53d0,
spontaneous=false) at kernel/qwidget.cpp:7782
#41 0x01124762 in QWidgetPrivate::hide_helper (this=0xa6e53d0) at
kernel/qwidget.cpp:7526
#42 0x0112d918 in QWidget::setVisible (this=0xb5787f8, visible=false) at
kernel/qwidget.cpp:7698
#43 0x015ef54b in QDialog::setVisible (this=0xb5787f8, visible=false) at
dialogs/qdialog.cpp:791
#44 0x015ed41c in hide (this=0xb5787f8, __in_chrg=<value optimized out>) at
../../include/QtGui/../../src/gui/kernel/qwidget.h:491
#45 QDialog::~QDialog (this=0xb5787f8, __in_chrg=<value optimized out>) at
dialogs/qdialog.cpp:323
#46 0x00694da4 in KDialog::~KDialog (this=0xb5787f8, __in_chrg=<value optimized
out>) at ../../kdeui/dialogs/kdialog.cpp:201
#47 0x04bc4d90 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#48 0x04bc4de2 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#49 0x04bbf444 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#50 0x04ba9aab in ?? () from /usr/lib/kde4/kcal_akonadi.so
#51 0x04ba9be2 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#52 0x04ba52f9 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#53 0x04ba5372 in ?? () from /usr/lib/kde4/kcal_akonadi.so
#54 0x00516eee in qDeleteAll<QList<KRES::Resource*>::const_iterator>
(this=0x9dd7ab8, __in_chrg=<value optimized out>) at
/usr/include/qt4/QtCore/qalgorithms.h:322
#55 qDeleteAll<QList<KRES::Resource*> > (this=0x9dd7ab8, __in_chrg=<value
optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#56 KRES::ManagerImpl::~ManagerImpl (this=0x9dd7ab8, __in_chrg=<value optimized
out>) at ../../kresources/managerimpl.cpp:92
#57 0x00516fe2 in KRES::ManagerImpl::~ManagerImpl (this=0x9dd7ab8,
__in_chrg=<value optimized out>) at ../../kresources/managerimpl.cpp:95
#58 0x083bc041 in ~Manager (this=0x9c48410, __in_chrg=<value optimized out>) at
../../kresources/manager.h:256
#59 KRES::Manager<KCal::ResourceCalendar>::~Manager (this=0x9c48410,
__in_chrg=<value optimized out>) at ../../kresources/manager.h:257
#60 0x083b7192 in ~Private (this=0x9c48058, __in_chrg=<value optimized out>) at
../../kcal/calendarresources.cpp:76
#61 KCal::CalendarResources::~CalendarResources (this=0x9c48058,
__in_chrg=<value optimized out>) at ../../kcal/calendarresources.cpp:261
#62 0x03feac4f in KOrg::StdCalendar::~StdCalendar (this=0x9c48058,
__in_chrg=<value optimized out>) at ../../korganizer/stdcalendar.cpp:106
#63 0x03feacb2 in KOrg::StdCalendar::~StdCalendar (this=0x9c48058,
__in_chrg=<value optimized out>) at ../../korganizer/stdcalendar.cpp:109
#64 0x03febd57 in destructObject (this=0x3fee0e8, __in_chrg=<value optimized
out>) at /usr/include/KDE/../k3staticdeleter.h:174
#65 K3StaticDeleter<KOrg::StdCalendar>::~K3StaticDeleter (this=0x3fee0e8,
__in_chrg=<value optimized out>) at /usr/include/KDE/../k3staticdeleter.h:184
#66 0x00941a6f in __run_exit_handlers (status=-1, listp=0xa6f324,
run_list_atexit=true) at exit.c:78
#67 0x00941acf in exit (status=-1) at exit.c:100
#68 0xb35b5be9 in kmsignalHandler (sigId=15) at ../../kmail/kmstartup.cpp:59
#69 <signal handler called>
#70 0x00b14416 in __kernel_vsyscall ()
#71 0x009d3f76 in __poll (fds=0xa3c4190, nfds=18, timeout=999) at
../sysdeps/unix/sysv/linux/poll.c:87
#72 0x0316784b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#73 0x031571af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#74 0x03157524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#75 0x01ba353c in QEventDispatcherGlib::processEvents (this=0x8a07ac8,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#76 0x01184775 in QGuiEventDispatcherGlib::processEvents (this=0x8a07ac8,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#77 0x01b75289 in QEventLoop::processEvents (this=0xbfda0e14, flags=...) at
kernel/qeventloop.cpp:149
#78 0x01b75522 in QEventLoop::exec (this=0xbfda0e14, flags=...) at
kernel/qeventloop.cpp:201
#79 0x01b79ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#80 0x010ce8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#81 0x0804b4cf in main (argc=) at ../../../kontact/src/main.cpp:226

Possible duplicates by query: bug 266673, bug 265050.

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