Bug 225086 - Kontact Segmentation Fault on Launch
Summary: Kontact Segmentation Fault on Launch
Status: RESOLVED DUPLICATE of bug 184324
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-01 04:02 UTC by John Kennan
Modified: 2010-09-03 06:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.54 KB, text/plain)
2010-09-03 06:00 UTC, jordanhewi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Kennan 2010-02-01 04:02:11 UTC
Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-17-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I had changed the password on an IMAP account.
When I launch Kontact or Kmail, I get the dialog box asking me for the password.
It crashes when I either enter the correct password, wrong password, no password or cancel.

I was working fine, I'm not aware of any updates, but I must admit, I'm one of those guys who blindly installs all the suggested updates, so there may have been an Kontact one in there. 

I had  also tried changing the password back to the one Kontact whould have had, but it still asks me for passworkd and crashes. I don't think it even gets to attemp to check the mailserver before the crash.



 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  QTreeWidget::d_func (this=0x21, item=0x26edeb0, expand=false) at itemviews/qtreewidget.h:370
#6  QTreeWidget::setItemExpanded (this=0x21, item=0x26edeb0, expand=false) at itemviews/qtreewidget.cpp:3118
#7  0x00007f9c02cc5964 in QTreeWidgetItem::setExpanded (this=0x2270190) at /usr/include/qt4/QtGui/qtreewidget.h:409
#8  KMail::FolderView::restoreItemStates (this=0x2270190) at ../../kmail/folderview.cpp:388
#9  0x00007f9c02ccbf07 in KMail::FolderView::reload (this=0x2270190, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:665
#10 0x00007f9c02f04ffb in KMMainWidget::readConfig (this=0x21b1470) at ../../kmail/kmmainwidget.cpp:601
#11 0x00007f9c02f1627d in KMMainWidget (this=0x21b1470, parent=<value optimized out>, aGUIClient=<value optimized out>, actionCollection=<value optimized out>, config=0x195c200)
    at ../../kmail/kmmainwidget.cpp:233
#12 0x00007f9c0350b516 in KMailPart (this=0x1e664a0, parentWidget=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at ../../kmail/kmail_part.cpp:112
#13 0x00007f9c0350c6ff in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x197b7c0, parent=0x197b7c0, args=...) at /usr/include/kpluginfactory.h:467
#14 0x00007f9c19076e7e in KPluginFactory::create (this=0x1e844a0, iface=0x7f9c181b7200 "KParts::ReadOnlyPart", parentWidget=<value optimized out>, parent=0x197b7c0, args=..., 
    keyword=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:191
#15 0x00007f9c1a82c1db in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x197b7c0, libname=0x1e58878 "kmailpart") at /usr/include/kpluginfactory.h:491
#16 Kontact::Core::createPart (this=0x197b7c0, libname=0x1e58878 "kmailpart") at ../../kontactinterfaces/core.cpp:87
#17 0x00007f9c0418da40 in KMailPlugin::createPart (this=0x21) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:170
#18 0x00007f9c1a82ccf9 in Kontact::Plugin::part (this=0x21) at ../../kontactinterfaces/plugin.cpp:187
#19 0x00007f9c1aa50f5f in Kontact::MainWindow::selectPlugin (this=0x197b7c0, plugin=0x1e500a0) at ../../../kontact/src/mainwindow.cpp:754
#20 0x00007f9c1aa4c69c in Kontact::MainWindow::loadSettings (this=0x197b7c0) at ../../../kontact/src/mainwindow.cpp:926
#21 0x00007f9c1aa551b0 in Kontact::MainWindow::initObject (this=0x197b7c0) at ../../../kontact/src/mainwindow.cpp:226
#22 0x00007f9c1aa5565c in MainWindow (this=0x197b7c0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:162
#23 0x0000000000404854 in KontactApp::newInstance (this=0x7ffffc209f40) at ../../../kontact/src/main.cpp:134
#24 0x00007f9c1a0e5916 in KUniqueApplicationAdaptor::newInstance (this=0x1a12e00, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:459
#25 0x00007f9c1a0e5f06 in KUniqueApplicationAdaptor::qt_metacall (this=0x1a12e00, _c=QMetaObject::InvokeMetaMethod, _id=40820400, _a=0x7ffffc209270) at ./kuniqueapplication_p.moc:75
#26 0x00007f9c16cb7ad4 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:891
#27 0x00007f9c16cb8c69 in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1a12e00, flags=337, msg=...) at qdbusintegrator.cpp:796
#28 0x00007f9c16cb9547 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=..., msg=<value optimized out>, pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1347
#29 0x00007f9c16cb97c8 in QDBusActivateObjectEvent::placeMetaCall (this=0x1ac6570) at qdbusintegrator.cpp:1464
#30 0x00007f9c18b970f9 in QObject::event (this=0x7ffffc209f40, e=0x1ac6570) at kernel/qobject.cpp:1111
#31 0x00007f9c194b1b4d in QApplication::event (this=0x7ffffc209f40, e=0x1ac6570) at kernel/qapplication.cpp:2317
#32 0x00007f9c194a7efc in QApplicationPrivate::notify_helper (this=0x19675d0, receiver=0x7ffffc209f40, e=0x1ac6570) at kernel/qapplication.cpp:4056
#33 0x00007f9c194af1ce in QApplication::notify (this=0x7ffffc209f40, receiver=0x7ffffc209f40, e=0x1ac6570) at kernel/qapplication.cpp:4021
#34 0x00007f9c1a0deab6 in KApplication::notify (this=0x7ffffc209f40, receiver=0x7ffffc209f40, event=0x1ac6570) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007f9c18b87c2c in QCoreApplication::notifyInternal (this=0x7ffffc209f40, receiver=0x7ffffc209f40, event=0x1ac6570) at kernel/qcoreapplication.cpp:610
#36 0x00007f9c18b8880a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1938080) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1938080) at kernel/qcoreapplication.cpp:1247
#38 0x00007f9c18bb0533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#39 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#40 0x00007f9c12401bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x00007f9c12405598 in ?? () from /lib/libglib-2.0.so.0
#42 0x00007f9c124056c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x00007f9c18bb01a6 in QEventDispatcherGlib::processEvents (this=0x1937cb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#44 0x00007f9c1953c4be in QGuiEventDispatcherGlib::processEvents (this=0x21, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#45 0x00007f9c18b86532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#46 0x00007f9c18b86904 in QEventLoop::exec (this=0x7ffffc209e80, flags=) at kernel/qeventloop.cpp:201
#47 0x00007f9c18b88ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#48 0x0000000000403f47 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 224625

Reported using DrKonqi
Comment 1 John Kennan 2010-02-01 06:48:33 UTC
I'd like to make it clear that this did not occur immediately after I changed my password. It had been prompting me to save my password for several days, and reboots too I might add.

I did try deleting the ~/.kde/share/apps/kmail folder as suggested in another similar bug. It had no effect. I have even tried completely uninstalling and reinstalling Kontact and Kmail.
Comment 2 Paul Crook 2010-02-15 12:00:56 UTC
I'm experiencing the same problem.  I changed a password on an imap email account over the weekend.  I think I then successfully accessed my mail in that that account - not sure on that point - but now whenever I open Kmail the "Authorisation Dialogue" pops up and it doesn't matter if I enter the correct password, a spurious password or just hit cancel Kmail just segfaults (signal 11).

"kmail --version" details 
Qt: 4.5.2
KDE: 4.3.2 (KDE 4.3.2)
KMail: 1.12.2

using (K)Ubuntu 9.10
Comment 3 Paul Crook 2010-02-22 18:07:28 UTC
Appears the work around it to not let kmail access kwallet when it initially starts, i.e.
(i) start kmail before kwallet has been opened,
(ii) click cancel on the access wallet password dialogue box,
(iii) kmail will now start without crashing and request passwords for every account. 
(iv) provide appropriate passwords for each account.

The one point I'm not clear on is if kmail is now storing the passwords outside of kwallet?
Comment 4 Christophe Marin 2010-03-27 10:03:51 UTC

*** This bug has been marked as a duplicate of bug 184324 ***
Comment 5 jordanhewi 2010-09-03 06:00:51 UTC
Created attachment 51255 [details]
New crash information added by DrKonqi

The same was observed in my case (see report to which this document is attached).  I have two accounts.  I entered my password for both accounts and immediately got the crash dialog.  Tried the same thing with disabled compositioning (see why below), but the same thing occurred.
I tried messing around with the KDE screensaver, namely the OpenGL fun screensavers.  I pressed "Preview" and watched the preview.  In order to exit, I meant to hit "Escape," but, instead, hit my keyboard's "Back" button (for web naviation).  The screensaver preview was stuck and the only way to restore my desktop was to kill kwin and log in again.
Don't know if that's related.