Bug 238318 - crash in IdentityManager::defaultIdentity
Summary: crash in IdentityManager::defaultIdentity
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 1.99.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: akonadi-ports-regression
Depends on:
Blocks:
 
Reported: 2010-05-20 19:17 UTC by Milian Wolff
Modified: 2010-07-20 21:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milian Wolff 2010-05-20 19:17:36 UTC
Application: kmail (1.99.0)
KDE Platform Version: 4.4.80 (KDE 4.4.80 (KDE 4.5 Beta1)) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-21-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I added one of the KDAB test imap resources and after setting it up, KMail 2 keeps crashing on me in the defaultIdentity method. At an earlier crash it even crashed inside QList::const_iterator::operator* -> QList::Node::t - strange.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f97924a6750 (LWP 3539))]

Thread 2 (Thread 0x7f9775ed1910 (LWP 3556)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f978550c816 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f978550c859 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f978c49ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f978ba5b80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f97924a6750 (LWP 3539)):
[KCrash Handler]
#6  0x00007f979055b204 in KPIMIdentities::Identity::isDefault (this=0x0) at /home/speedy/projects/kde4/kdepimlibs/kpimidentities/identity.cpp:316
#7  0x00007f9790554b2d in KPIMIdentities::IdentityManager::defaultIdentity (this=0x1670d50) at /home/speedy/projects/kde4/kdepimlibs/kpimidentities/identitymanager.cpp:368
#8  0x00007f9790d47b03 in FolderCollection (this=0x1e2c080, col=..., writeconfig=true) at /home/speedy/projects/kde4/kdepim/kmail/foldercollection.cpp:70
#9  0x00007f9790d47642 in FolderCollection::forCollection (coll=...) at /home/speedy/projects/kde4/kdepim/kmail/foldercollection.cpp:51
#10 0x00007f9790e6d682 in KMMainWidget::folderSelected (this=0x18bef40, col=...) at /home/speedy/projects/kde4/kdepim/kmail/kmmainwidget.cpp:398
#11 0x00007f9790e6d2ec in KMMainWidget::slotFolderChanged (this=0x18bef40, col=...) at /home/speedy/projects/kde4/kdepim/kmail/kmmainwidget.cpp:326
#12 0x00007f9790e6b037 in KMMainWidget::qt_metacall (this=0x18bef40, _c=QMetaObject::InvokeMetaMethod, _id=140, _a=0x7fff1a8b1260)
    at /home/speedy/projects/.build/kde4/kdepim/kmail/kmmainwidget.moc:466
#13 0x00007f978c832c0f in QMetaObject::activate (sender=0x18be5c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x22e7620) at kernel/qobject.cpp:3293
#14 0x00007f978eae6831 in Akonadi::EntityTreeView::currentChanged (this=0x18be5c0, _t1=...) at /home/speedy/projects/.build/kde4/kdepimlibs/akonadi/entitytreeview.moc:142
#15 0x00007f978eae563b in Akonadi::EntityTreeView::Private::itemCurrentChanged (this=0x18cb520, index=...) at /home/speedy/projects/kde4/kdepimlibs/akonadi/entitytreeview.cpp:154
#16 0x00007f978eae665e in Akonadi::EntityTreeView::qt_metacall (this=0x18be5c0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff1a8b1460)
    at /home/speedy/projects/.build/kde4/kdepimlibs/akonadi/entitytreeview.moc:101
#17 0x00007f9790d507d3 in FolderTreeView::qt_metacall (this=0x18be5c0, _c=QMetaObject::InvokeMetaMethod, _id=96, _a=0x7fff1a8b1460)
    at /home/speedy/projects/.build/kde4/kdepim/kmail/foldertreeview.moc:85
#18 0x00007f978c832c0f in QMetaObject::activate (sender=0x18d05e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x22e7620) at kernel/qobject.cpp:3293
#19 0x00007f978dcf2d7a in QItemSelectionModel::currentChanged (this=0x0, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#20 0x00007f978dcf2ec2 in QItemSelectionModel::setCurrentIndex (this=0x18d05e0, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1167
#21 0x00007f978dca2034 in QAbstractItemView::mousePressEvent (this=0x18be5c0, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1648
#22 0x00007f978d7d14e9 in QWidget::event (this=0x18be5c0, event=0x7fff1a8b2470) at kernel/qwidget.cpp:7994
#23 0x00007f978db778b6 in QFrame::event (this=0x18be5c0, e=0x7fff1a8b2470) at widgets/qframe.cpp:557
#24 0x00007f978dca6dfb in QAbstractItemView::viewportEvent (this=0x18be5c0, event=0x7fff1a8b2470) at itemviews/qabstractitemview.cpp:1610
#25 0x00007f978dce38f2 in QTreeView::viewportEvent (this=0x18be5c0, event=0x7fff1a8b2470) at itemviews/qtreeview.cpp:1248
#26 0x00007f978c81f227 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x18c0920, event=0x7fff1a8b2470) at kernel/qcoreapplication.cpp:819
#27 0x00007f978d77b0fc in QApplicationPrivate::notify_helper (this=0x13fa6c0, receiver=0x18c0920, e=0x7fff1a8b2470) at kernel/qapplication.cpp:4296
#28 0x00007f978d781efb in QApplication::notify (this=0x7fff1a8b3210, receiver=0x18c0920, e=0x7fff1a8b2470) at kernel/qapplication.cpp:3865
#29 0x00007f9791e1f93b in KApplication::notify (this=0x7fff1a8b3210, receiver=0x18c0920, event=0x7fff1a8b2470) at /home/speedy/projects/kde4/kdelibs/kdeui/kernel/kapplication.cpp:302
#30 0x00007f978c81fe0c in QCoreApplication::notifyInternal (this=0x7fff1a8b3210, receiver=0x18c0920, event=0x7fff1a8b2470) at kernel/qcoreapplication.cpp:704
#31 0x00007f978d7810d6 in QCoreApplication::sendEvent (receiver=0x18c0920, event=0x7fff1a8b2470, alienWidget=0x18c0920, nativeWidget=0x18bbbc0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QApplicationPrivate::sendMouseEvent (receiver=0x18c0920, event=0x7fff1a8b2470, alienWidget=0x18c0920, nativeWidget=0x18bbbc0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#33 0x00007f978d800c65 in QETWidget::translateMouseEvent (this=0x18bbbc0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#34 0x00007f978d7ff97a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff1a8b2d90) at kernel/qapplication_x11.cpp:3501
#35 0x00007f978d82b322 in x11EventSourceDispatch (s=0x13fe010, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007f97827b0bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x00007f97827b4598 in ?? () from /lib/libglib-2.0.so.0
#38 0x00007f97827b46c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0x00007f978c849333 in QEventDispatcherGlib::processEvents (this=0x13c1970, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#40 0x00007f978d82af0e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f978c81e732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#42 0x00007f978c81eb0c in QEventLoop::exec (this=0x7fff1a8b30c0, flags=) at kernel/qeventloop.cpp:201
#43 0x00007f978c82284b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#44 0x0000000000403913 in main (argc=1, argv=0x7fff1a8b33a8) at /home/speedy/projects/kde4/kdepim/kmail/main.cpp:147
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Thomas McGuire 2010-05-24 21:11:18 UTC
Can you re-test please? It might be related to bug 238448, which is fixed now.
Comment 2 Leo Franchi 2010-07-20 21:53:54 UTC
Closing as i'm pretty sure this is no longer an issue. Please reopen if that is incorrect.