Bug 270256 - At Kontact's startup, it asks for password, then crashes
Summary: At Kontact's startup, it asks for password, then crashes
Status: RESOLVED DUPLICATE of bug 184324
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.1.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-06 23:06 UTC by Thomas Fischer
Modified: 2011-11-28 13:18 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Fischer 2011-04-06 23:06:16 UTC
Version:           unspecified (using KDE 4.6.1) 
OS:                Linux

After recently changing my IMAP account's password, I edited/removed some of kmail's entries from KWallet. Now, at the startup of Kontact, a password dialog pops up and asks me for my password (BTW, the dialog does not say for which of my accounts, I can only guess). After entering the password, checking to store password (not checking does not make a difference) and pressing OK, KMail/Kontact crashes immediately.
The crash dialog looks like this:

Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#7  qobject_cast<QTreeModel*> (this=0x922d2c8, item=0x922e6a8, expand=false) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:366
#8  treeModel (this=0x922d2c8, item=0x922e6a8, expand=false) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreewidget_p.h:222
#9  QTreeWidget::setItemExpanded (this=0x922d2c8, item=0x922e6a8, expand=false) at itemviews/qtreewidget.cpp:3140
#10 0xad8d8050 in QTreeWidgetItem::setExpanded (this=0xcee6, aexpand=false) at /usr/include/qt4/QtGui/qtreewidget.h:409
#11 0xad8d45e2 in KMail::FolderView::restoreItemStates (this=0x8f68b78) at /var/tmp/portage/kde-base/kmail-4.4.9/work/kmail-4.4.9/kmail/folderview.cpp:389
#12 0xad8d4ccf in KMail::FolderView::reload (this=0x8f68b78, openFoldersForUpdate=false) at /var/tmp/portage/kde-base/kmail-4.4.9/work/kmail-4.4.9/kmail/folderview.cpp:671
#13 0xadad7ee5 in KMMainWidget::readConfig (this=0x9307700) at /var/tmp/portage/kde-base/kmail-4.4.9/work/kmail-4.4.9/kmail/kmmainwidget.cpp:595
#14 0xadad8f66 in KMMainWidget::KMMainWidget (this=0x9307700, parent=0x8fe8b08, aGUIClient=0x8bdef3c, actionCollection=0x8bf4c88, config=...) at /var/tmp/portage/kde-base/kmail-4.4.9/work/kmail-4.4.9/kmail/kmmainwidget.cpp:234
#15 0xade44e0e in KMailPart::KMailPart (this=0x8bdef18, parentWidget=0x89eb9c8, parent=0x89eb9c8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.9/work/kmail-4.4.9/kmail/kmail_part.cpp:112
#16 0xade4672b in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x89eb9c8, parent=0x89eb9c8, args=...) at /usr/include/kpluginfactory.h:479
#17 0xb638dd19 in KPluginFactory::create (this=0x8bf4730, iface=0xb5c78e00 "KParts::ReadOnlyPart", parentWidget=0x89eb9c8, parent=0x89eb9c8, args=..., keyword=...) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r2/work/kdelibs-4.6.1/kdecore/util/kpluginfactory.cpp:203
#18 0xb751f616 in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x8bf4730, parent=0x89eb9c8, args=...) at /usr/include/kpluginfactory.h:503
#19 0xb751e17b in KontactInterface::Core::createPart (this=0x89eb9c8, libname=0x8c38928 "kmailpart") at /var/tmp/portage/kde-base/kdepimlibs-4.6.1/work/kdepimlibs-4.6.1/kontactinterface/core.cpp:87
#20 0xb7520cb6 in KontactInterface::Plugin::loadPart (this=0x8c1ba68) at /var/tmp/portage/kde-base/kdepimlibs-4.6.1/work/kdepimlibs-4.6.1/kontactinterface/plugin.cpp:152
#21 0xade6dd62 in KMailPlugin::createPart (this=0x8c1ba68) at /var/tmp/portage/kde-base/kmail-4.4.9/work/kmail-4.4.9/kontact/plugins/kmail/kmail_plugin.cpp:179
#22 0xb75206cd in KontactInterface::Plugin::part (this=0x8c1ba68) at /var/tmp/portage/kde-base/kdepimlibs-4.6.1/work/kdepimlibs-4.6.1/kontactinterface/plugin.cpp:191
#23 0xb76bbe22 in Kontact::MainWindow::selectPlugin (this=0x89eb9c8, plugin=0x8c1ba68) at /var/tmp/portage/kde-base/kontact-4.4.9/work/kontact-4.4.9/kontact/src/mainwindow.cpp:778
#24 0xb76bba29 in Kontact::MainWindow::loadSettings (this=0x89eb9c8) at /var/tmp/portage/kde-base/kontact-4.4.9/work/kontact-4.4.9/kontact/src/mainwindow.cpp:944
#25 0xb76c100c in Kontact::MainWindow::initObject (this=0x89eb9c8) at /var/tmp/portage/kde-base/kontact-4.4.9/work/kontact-4.4.9/kontact/src/mainwindow.cpp:210
#26 0xb76c17d8 in Kontact::MainWindow::MainWindow (this=0x89eb9c8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /var/tmp/portage/kde-base/kontact-4.4.9/work/kontact-4.4.9/kontact/src/mainwindow.cpp:146
#27 0x0804b7cd in KontactApp::newInstance (this=0xbfe0f2a0) at /var/tmp/portage/kde-base/kontact-4.4.9/work/kontact-4.4.9/kontact/src/main.cpp:136
#28 0xb71041cb in KUniqueApplicationAdaptor::newInstance (this=0x8a3b4d8, asn_id=..., args=...) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r2/work/kdelibs-4.6.1/kdeui/kernel/kuniqueapplication.cpp:436
#29 0xb7104883 in KUniqueApplicationAdaptor::qt_metacall (this=0x8a3b4d8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe0e758) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r2/work/kdelibs-4.6.1_build/kdeui/kuniqueapplication_p.moc:81
#30 0xb52a2ac9 in QDBusConnectionPrivate::deliverCall (this=0x89d4cf8, object=0x8a3b4d8, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:941
#31 0xb52a4815 in QDBusConnectionPrivate::activateCall (this=0x89d4cf8, object=0x8a3b4d8, flags=337, msg=...) at qdbusintegrator.cpp:844
#32 0xb52a52dd in QDBusConnectionPrivate::activateObject (this=0x89d4cf8, node=..., msg=..., pathStartPos=16) at qdbusintegrator.cpp:1409
#33 0xb52a55a2 in QDBusActivateObjectEvent::placeMetaCall (this=0x8a71c80) at qdbusintegrator.cpp:1523
#34 0xb6035a6c in QObject::event (this=0xbfe0f2a0, e=0x922d2c8) at kernel/qobject.cpp:1217
#35 0xb6022ade in QCoreApplication::event (this=0xbfe0f2a0, e=0x8a71c80) at kernel/qcoreapplication.cpp:1560
#36 0xb6534b6a in QApplication::event (this=0xbfe0f2a0, e=0x8a71c80) at kernel/qapplication.cpp:2503
#37 0xb653237f in QApplicationPrivate::notify_helper (this=0x89de3e8, receiver=0xbfe0f2a0, e=0x8a71c80) at kernel/qapplication.cpp:4462
#38 0xb653a292 in QApplication::notify (this=0xbfe0f2a0, receiver=0xbfe0f2a0, e=0x8a71c80) at kernel/qapplication.cpp:3862
#39 0xb70fc9b1 in KApplication::notify (this=0xbfe0f2a0, receiver=0xbfe0f2a0, event=0x8a71c80) at /var/tmp/portage/kde-base/kdelibs-4.6.1-r2/work/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#40 0xb6022b65 in QCoreApplication::notifyInternal (this=0xbfe0f2a0, receiver=0xbfe0f2a0, event=0x8a71c80) at kernel/qcoreapplication.cpp:731
#41 0xb6024120 in sendEvent (receiver=0x0, event_type=0, data=0x89bbe80) at kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x89bbe80) at kernel/qcoreapplication.cpp:1372
#43 0xb60243ca in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#44 0xb6052fe3 in sendPostedEvents (s=0x89e6d68) at kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=0x89e6d68) at kernel/qeventdispatcher_glib.cpp:277
#46 0xb3ebd2d8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0xb3ec0cee in ?? () from /usr/lib/libglib-2.0.so.0
#48 0xb3ec0eaa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0xb6052be6 in QEventDispatcherGlib::processEvents (this=0x89bbbe8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#50 0xb65f72fc in QGuiEventDispatcherGlib::processEvents (this=0x89bbbe8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0xb602163f in QEventLoop::processEvents (this=0xbfe0f204, flags=) at kernel/qeventloop.cpp:149
#52 0xb6021a65 in QEventLoop::exec (this=0xbfe0f204, flags=...) at kernel/qeventloop.cpp:201
#53 0xb6024472 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#54 0xb6530b06 in QApplication::exec () at kernel/qapplication.cpp:3736
#55 0x0804b58f in main (argc=1, argv=0xbfe0f484) at /var/tmp/portage/kde-base/kontact-4.4.9/work/kontact-4.4.9/kontact/src/main.cpp:224


Reproducible: Always
Comment 1 Bogdan Udrescu 2011-11-26 22:11:58 UTC
Severity needs to be changed to crash and I think that also the product has to be Kontact.
Comment 2 Myriam Schweingruber 2011-11-28 13:18:39 UTC
The product is correct, the crash is in Kmail2

*** This bug has been marked as a duplicate of bug 184324 ***