[Bug 278876] New: Kmail crash after GUI freeze

Benjamin M alvanx at gmail.com
Sat Jul 30 19:00:35 BST 2011


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

           Summary: Kmail crash after GUI freeze
           Product: kmail2
           Version: 2.1.1
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: message list
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: alvanx at gmail.com


Version:           2.1.1 (using KDE 4.7.0) 
OS:                Linux

My GUI freezes up as soon as I enter a folder. The email list is loaded.
However, the pre-selected email never loads, and from this point, the entire
kmail GUI is frozen up. I can still minimize and maximize with the tray icon
(which is still responsive. I can even start a new, not frozen message from the
tray!), and in between crashes, kmail also manages to show me the correct
amount of new mail downloaded. Restarting kmail doesn't help. Restarting
akonadi doesn't help. However, kmail only crashes when I restart akonadi before
loading up kmail again. 

Reproducible: Always

Steps to Reproduce:
See above.

Actual Results:  
Crash, or, if I don't restart akonadi in between, kmail freezes up as soon as I
enter the GUI and load a folder (apparently, loading the message within the
folder is the problem, which succeeeded only once, but always freezes up
kmail). 

Expected Results:  
Normal behavior, no crashes, no freezes! :-)

Backtrace from when kmail crashes, after I restart akonadi: 
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb1fdc930 (LWP 18478))]

Thread 2 (Thread 0xb06fcb70 (LWP 18485)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb593c105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5f09aec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb3adce17 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from
/usr/lib/libQtWebKit.so.4
#4  0xb5937b05 in start_thread () from /lib/libpthread.so.0
#5  0xb5efbd5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1fdc930 (LWP 18478)):
[KCrash Handler]
#7  0xb677ece4 in operator QItemSelectionModel* (this=0x0) at
../../src/corelib/kernel/qpointer.h:78
#8  QAbstractItemView::selectionModel (this=0x0) at
itemviews/qabstractitemview.cpp:760
#9  0xb509df16 in MailCommon::FolderTreeWidget::selectedCollections (this=0x0)
at /usr/src/debug/kdepim-4.7.0/mailcommon/foldertreewidget.cpp:209
#10 0xb6f075bc in KMMainWidget::updateFolderMenu (this=0x82c6370) at
/usr/src/debug/kdepim-4.7.0/kmail/kmmainwidget.cpp:3822
#11 0xb6f1566e in KMMainWidget::slotEndCheckMail (this=0x82c6370) at
/usr/src/debug/kdepim-4.7.0/kmail/kmmainwidget.cpp:417
#12 0xb6f164ad in KMMainWidget::qt_metacall (this=0x82c6370,
_c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfd25f9c) at
/usr/src/debug/kdepim-4.7.0/build/kmail/kmmainwidget.moc:373
#13 0xb6cc407d in QMetaObject::metacall (object=0x82c6370,
cl=QMetaObject::InvokeMetaMethod, idx=54, argv=0xbfd25f9c) at
kernel/qmetaobject.cpp:237
#14 0xb6cd34cc in QMetaObject::activate (sender=0xbfd27208, m=0xb700b624,
local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3278
#15 0xb6eb88f5 in KMKernel::endCheckMail (this=0xbfd27208) at
/usr/src/debug/kdepim-4.7.0/build/kmail/kmkernel.moc:241
#16 0xb6ebc228 in KMKernel::slotProgressItemCompletedOrCanceled
(this=0xbfd27208, item=0x0) at
/usr/src/debug/kdepim-4.7.0/kmail/kmkernel.cpp:1689
#17 0xb6ec8217 in KMKernel::qt_metacall (this=0xbfd27208,
_c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xbfd261a8) at
/usr/src/debug/kdepim-4.7.0/build/kmail/kmkernel.moc:205
#18 0xb6cc407d in QMetaObject::metacall (object=0xbfd27208,
cl=QMetaObject::InvokeMetaMethod, idx=40, argv=0xbfd261a8) at
kernel/qmetaobject.cpp:237
#19 0xb6cd34cc in QMetaObject::activate (sender=0x82f1c00, m=0xb4cfad18,
local_signal_index=2, argv=0xbfd261a8) at kernel/qobject.cpp:3278
#20 0xb4cc9495 in KPIM::ProgressManager::progressItemCompleted (this=0x82f1c00,
_t1=0x83f3b00) at
/usr/src/debug/kdepim-4.7.0/build/libkdepim/progressmanager.moc:272
#21 0xb4cc9e10 in KPIM::ProgressManager::slotTransactionCompleted
(this=0x82f1c00, item=0x83f3b00) at
/usr/src/debug/kdepim-4.7.0/libkdepim/progressmanager.cpp:219
#22 0xb4cca355 in KPIM::ProgressManager::qt_metacall (this=0x82f1c00,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd262e8) at
/usr/src/debug/kdepim-4.7.0/build/libkdepim/progressmanager.moc:246
#23 0xb6cc407d in QMetaObject::metacall (object=0x82f1c00,
cl=QMetaObject::InvokeMetaMethod, idx=15, argv=0xbfd262e8) at
kernel/qmetaobject.cpp:237
#24 0xb6cd34cc in QMetaObject::activate (sender=0x83f3b00, m=0xb4cfad08,
local_signal_index=2, argv=0xbfd262e8) at kernel/qobject.cpp:3278
#25 0xb4cc8ee5 in KPIM::ProgressItem::progressItemCompleted (this=0x83f3b00,
_t1=0x83f3b00) at
/usr/src/debug/kdepim-4.7.0/build/libkdepim/progressmanager.moc:121
#26 0xb4cc9b3d in KPIM::ProgressItem::setComplete (this=0x83f3b00) at
/usr/src/debug/kdepim-4.7.0/libkdepim/progressmanager.cpp:61
#27 0xb4ccb6c2 in KPIM::AgentProgressMonitor::Private::instanceStatusChanged
(this=0x8645c98, instance=...) at
/usr/src/debug/kdepim-4.7.0/libkdepim/agentprogressmonitor.cpp:87
#28 0xb4ccb85e in KPIM::AgentProgressMonitor::qt_metacall (this=0x8440b38,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd26468) at
/usr/src/debug/kdepim-4.7.0/build/libkdepim/agentprogressmonitor.moc:78
#29 0xb6cc407d in QMetaObject::metacall (object=0x8440b38,
cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfd26468) at
kernel/qmetaobject.cpp:237
#30 0xb6cd34cc in QMetaObject::activate (sender=0x80f5d80, m=0xb552f8e0,
local_signal_index=4, argv=0xbfd26468) at kernel/qobject.cpp:3278
#31 0xb53bb075 in Akonadi::AgentManager::instanceStatusChanged (this=0x80f5d80,
_t1=...) at /usr/src/debug/kdepimlibs-4.7.0/build/akonadi/agentmanager.moc:177
#32 0xb53f95fc in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged
(this=0x80f69c8, identifier=..., status=0, msg=...) at
/usr/src/debug/kdepimlibs-4.7.0/akonadi/agentmanager.cpp:129
#33 0xb53fb9a1 in Akonadi::AgentManager::qt_metacall (this=0x80f5d80,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd265d0) at
/usr/src/debug/kdepimlibs-4.7.0/build/akonadi/agentmanager.moc:131
#34 0xb6cc407d in QMetaObject::metacall (object=0x80f5d80,
cl=QMetaObject::InvokeMetaMethod, idx=18, argv=0xbfd265d0) at
kernel/qmetaobject.cpp:237
#35 0xb6cd34cc in QMetaObject::activate (sender=0x80f6b68, m=0xb5535744,
local_signal_index=7, argv=0xbfd265d0) at kernel/qobject.cpp:3278
#36 0xb54c3015 in
OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged
(this=0x80f6b68, _t1=..., _t2=0, _t3=...) at
/usr/src/debug/kdepimlibs-4.7.0/build/akonadi/agentmanagerinterface.moc:285
#37 0xb54c3671 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall
(this=0x80f6b68, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd269cc) at
/usr/src/debug/kdepimlibs-4.7.0/build/akonadi/agentmanagerinterface.moc:167
#38 0xb596c080 in QDBusConnectionPrivate::deliverCall (this=0x8085748,
object=0x80f6b68, msg=..., metaTypes=..., slotIdx=0) at qdbusintegrator.cpp:941
#39 0xb59775a6 in QDBusCallDeliveryEvent::placeMetaCall (this=0x8552918,
object=0x80f6b68) at qdbusintegrator_p.h:103
#40 0xb6cd2dbf in QObject::event (this=0x80f6b68, e=0x8552918) at
kernel/qobject.cpp:1217
#41 0xb61e1684 in QApplicationPrivate::notify_helper (this=0x8096880,
receiver=0x80f6b68, e=0x8552918) at kernel/qapplication.cpp:4462
#42 0xb61ea427 in QApplication::notify (this=0xbfd2727c, receiver=0x80f6b68,
e=0x8552918) at kernel/qapplication.cpp:3862
#43 0xb74f67b1 in KApplication::notify (this=0xbfd2727c, receiver=0x80f6b68,
event=0x8552918) at
/usr/src/debug/kdelibs-4.7.0/kdeui/kernel/kapplication.cpp:311
#44 0xb6cbd78e in QCoreApplication::notifyInternal (this=0xbfd2727c,
receiver=0x80f6b68, event=0x8552918) at kernel/qcoreapplication.cpp:731
#45 0xb6cc151c in sendEvent (receiver=0x0, event_type=0, data=0x8055958) at
kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x8055958) at kernel/qcoreapplication.cpp:1372
#47 0xb6cc166c in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1265
#48 0xb6cebdf4 in sendPostedEvents (s=0x8098b00) at
kernel/qcoreapplication.h:220
#49 postEventSourceDispatch (s=0x8098b00) at
kernel/qeventdispatcher_glib.cpp:277
#50 0xb4610509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#51 0xb4610d10 in ?? () from /lib/libglib-2.0.so.0
#52 0xb4610fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#53 0xb6cebf7b in QEventDispatcherGlib::processEvents (this=0x80554e8,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#54 0xb62981da in QGuiEventDispatcherGlib::processEvents (this=0x80554e8,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0xb6cbca6d in QEventLoop::processEvents (this=0xbfd27194, flags=...) at
kernel/qeventloop.cpp:149
#56 0xb6cbcc99 in QEventLoop::exec (this=0xbfd27194, flags=...) at
kernel/qeventloop.cpp:201
#57 0xb6cc1740 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#58 0xb61df3d4 in QApplication::exec () at kernel/qapplication.cpp:3736
#59 0x0804a887 in main (argc=-1241963200, argv=0x8085078) at
/usr/src/debug/kdepim-4.7.0/kmail/main.cpp:145

-- 
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