Bug 202542 - closing Kontact with Kwallet waiting for password for Kmail crashes Kontact
Summary: closing Kontact with Kwallet waiting for password for Kmail crashes Kontact
Status: RESOLVED WORKSFORME
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:
: 220652 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-05 02:36 UTC by Gerry Gavigan
Modified: 2010-03-01 21:04 UTC (History)
2 users (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 Gerry Gavigan 2009-08-05 02:36:46 UTC
Application that crashed: kontact
Version of the application: 4.3.0
KDE Version: 4.3.00 (KDE 4.3.0) "release 152"
Qt Version: 4.5.2
Operating System: Linux 2.6.27.25-0.1-pae i686
Distribution: "openSUSE 11.1 (i586)"

What I was doing when the application crashed:
Not much more to say than it's reproducable.

I'm probably doing something "unexpected" by changing my ming and closing Kontact rather than proceeding to reading my mail, but it feels like it something that should be trapped out 

 

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb45cb700 (LWP 11329))]

Thread 2 (Thread 0xafe5fb90 (LWP 11330)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb649df62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb64fe55c in QWaitCondition::wait (this=0x8bd6ce8, mutex=0x8bd6ce4, time=30000) at thread/qwaitcondition_unix.cpp:85
#3  0xb64f3b96 in QThreadPoolThread::run (this=0x8bd6398) at concurrent/qthreadpool.cpp:140
#4  0xb64fd572 in QThreadPrivate::start (arg=0x8bd6398) at thread/qthread_unix.cpp:188
#5  0xb649a1b5 in start_thread () from /lib/libpthread.so.0
#6  0xb57ef3be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb45cb700 (LWP 11329)):
[KCrash Handler]
#6  0xb57937df in memcpy () from /lib/libc.so.6
#7  0xb6542785 in QString (this=0x8ddc6aa, unicode=0x7473694c, size=1953720652) at /usr/include/bits/string3.h:52
#8  0xb6542c0e in QString::left (this=0x841fbd8, n=32767) at tools/qstring.cpp:3064
#9  0xb5ec270a in QLineEditPrivate::setText (this=0x8add248, txt=@0x841fbd8, pos=-1, edited=false) at widgets/qlineedit.cpp:3010
#10 0xb5ec488b in QLineEdit::setText (this=0x82b4e00, text=@0x841fbd8) at widgets/qlineedit.cpp:400
#11 0xb6b64532 in KPasswordDialog::setUsername(QString const&) () from /usr/lib/libkdeui.so.5
#12 0xb6f42253 in KIO::PasswordDialog::PasswordDialog(QString const&, QString const&, bool, bool, QWidget*) () from /usr/lib/libkio.so.5
#13 0xb6f422bf in KIO::PasswordDialog::getNameAndPassword(QString&, QString&, bool*, QString const&, bool, QString const&, QString const&, QString const&) () from /usr/lib/libkio.so.5
#14 0xb0cf6af6 in ?? () from /usr/lib/libkmailprivate.so.4
#15 0xb0c1d9f5 in KMail::AccountManager::processNextCheck(bool) () from /usr/lib/libkmailprivate.so.4
#16 0xb0c1e4c8 in KMail::AccountManager::singleCheckMail(KMAccount*, bool) () from /usr/lib/libkmailprivate.so.4
#17 0xb0c1e90c in KMail::AccountManager::checkMail(bool) () from /usr/lib/libkmailprivate.so.4
#18 0xb0ddb338 in KMMainWidget::slotCheckMail() () from /usr/lib/libkmailprivate.so.4
#19 0xb0e03571 in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#20 0xb6607788 in QMetaObject::activate (sender=0x8b18328, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#21 0xb6608412 in QMetaObject::activate (sender=0x8b18328, m=0xb66e8908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#22 0xb660d5b7 in QSingleShotTimer::timeout (this=0x8b18328) at .moc/release-shared/qtimer.moc:76
#23 0xb660d6dc in QSingleShotTimer::timerEvent (this=0x8b18328) at kernel/qtimer.cpp:298
#24 0xb660272f in QObject::event (this=0x8b18328, e=0xbfe49f90) at kernel/qobject.cpp:1075
#25 0xb5ac77fc in QApplicationPrivate::notify_helper (this=0x80833c0, receiver=0x8b18328, e=0xbfe49f90) at kernel/qapplication.cpp:4056
#26 0xb5acfaee in QApplication::notify (this=0xbfe4a268, receiver=0x8b18328, e=0xbfe49f90) at kernel/qapplication.cpp:3603
#27 0xb6bda27d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#28 0xb65f216b in QCoreApplication::notifyInternal (this=0xbfe4a268, receiver=0x8b18328, event=0xbfe49f90) at kernel/qcoreapplication.cpp:610
#29 0xb66215f6 in QTimerInfoList::activateTimers (this=0x80740ac) at kernel/qcoreapplication.h:213
#30 0xb661d980 in timerSourceDispatch (source=0x8074078) at kernel/qeventdispatcher_glib.cpp:165
#31 0xb4d909c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb4d94083 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb4d94241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb661d8d8 in QEventDispatcherGlib::processEvents (this=0x8053fb0, flags={i = -1075535560}) at kernel/qeventdispatcher_glib.cpp:327
#35 0xb5b67cc5 in QGuiEventDispatcherGlib::processEvents (this=0x8053fb0, flags={i = -1075535512}) at kernel/qguieventdispatcher_glib.cpp:202
#36 0xb65f078a in QEventLoop::processEvents (this=0xbfe4a1e0, flags={i = -1075535448}) at kernel/qeventloop.cpp:149
#37 0xb65f0bd2 in QEventLoop::exec (this=0xbfe4a1e0, flags={i = -1075535384}) at kernel/qeventloop.cpp:201
#38 0xb65f3079 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#39 0xb5ac7677 in QApplication::exec () at kernel/qapplication.cpp:3525
#40 0x0804c04f in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-05 15:30:57 UTC
Can you install the "kdelibs5-debuginfo" ande "kdepim4-debuginfo" packages and paste here a new backtrace? Thanks!
Comment 2 Gerry Gavigan 2009-08-06 11:29:42 UTC
Done, here is the result

Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb46d4700 (LWP 6913))]

Thread 2 (Thread 0xaff65b90 (LWP 6914)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb65a6f62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb660755c in QWaitCondition::wait (this=0x8c1d2d0, mutex=0x8c1d2cc, time=30000) at thread/qwaitcondition_unix.cpp:85
#3  0xb65fcb96 in QThreadPoolThread::run (this=0x8c1c6f0) at concurrent/qthreadpool.cpp:140
#4  0xb6606572 in QThreadPrivate::start (arg=0x8c1c6f0) at thread/qthread_unix.cpp:188
#5  0xb65a31b5 in start_thread () from /lib/libpthread.so.0
#6  0xb58f83be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb46d4700 (LWP 6913)):
[KCrash Handler]
#6  0xb6a3a94a in KStringHandler::obscure (str=@0x8435a54) at /usr/include/QtCore/qstring.h:693
#7  0xb0d8ad7f in ?? () from /usr/lib/libkmailprivate.so.4
#8  0xb0e00653 in ?? () from /usr/lib/libkmailprivate.so.4
#9  0xb0d269f5 in KMail::AccountManager::processNextCheck(bool) () from /usr/lib/libkmailprivate.so.4
#10 0xb0d274c8 in KMail::AccountManager::singleCheckMail(KMAccount*, bool) () from /usr/lib/libkmailprivate.so.4
#11 0xb0d2790c in KMail::AccountManager::checkMail(bool) () from /usr/lib/libkmailprivate.so.4
#12 0xb0ee4338 in KMMainWidget::slotCheckMail() () from /usr/lib/libkmailprivate.so.4
#13 0xb0f0c571 in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#14 0xb6710788 in QMetaObject::activate (sender=0x8b36c40, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#15 0xb6711412 in QMetaObject::activate (sender=0x8b36c40, m=0xb67f1908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#16 0xb67165b7 in QSingleShotTimer::timeout (this=0x8b36c40) at .moc/release-shared/qtimer.moc:76
#17 0xb67166dc in QSingleShotTimer::timerEvent (this=0x8b36c40) at kernel/qtimer.cpp:298
#18 0xb670b72f in QObject::event (this=0x8b36c40, e=0xbfe390a0) at kernel/qobject.cpp:1075
#19 0xb5bd07fc in QApplicationPrivate::notify_helper (this=0x80833c0, receiver=0x8b36c40, e=0xbfe390a0) at kernel/qapplication.cpp:4056
#20 0xb5bd8aee in QApplication::notify (this=0xbfe39378, receiver=0x8b36c40, e=0xbfe390a0) at kernel/qapplication.cpp:3603
#21 0xb6ce327d in KApplication::notify (this=0xbfe39378, receiver=0x8b36c40, event=0xbfe390a0) at /usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#22 0xb66fb16b in QCoreApplication::notifyInternal (this=0xbfe39378, receiver=0x8b36c40, event=0xbfe390a0) at kernel/qcoreapplication.cpp:610
#23 0xb672a5f6 in QTimerInfoList::activateTimers (this=0x80740ac) at kernel/qcoreapplication.h:213
#24 0xb6726980 in timerSourceDispatch (source=0x8074078) at kernel/qeventdispatcher_glib.cpp:165
#25 0xb4e999c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb4e9d083 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb4e9d241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb67268d8 in QEventDispatcherGlib::processEvents (this=0x8053fb0, flags={i = -1075604920}) at kernel/qeventdispatcher_glib.cpp:327
#29 0xb5c70cc5 in QGuiEventDispatcherGlib::processEvents (this=0x8053fb0, flags={i = -1075604872}) at kernel/qguieventdispatcher_glib.cpp:202
#30 0xb66f978a in QEventLoop::processEvents (this=0xbfe392f0, flags={i = -1075604808}) at kernel/qeventloop.cpp:149
#31 0xb66f9bd2 in QEventLoop::exec (this=0xbfe392f0, flags={i = -1075604744}) at kernel/qeventloop.cpp:201
#32 0xb66fc079 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#33 0xb5bd0677 in QApplication::exec () at kernel/qapplication.cpp:3525
#34 0x0804c04f in main (argc=1, argv=0xbfe39674) at /usr/src/debug/kdepim-4.3.0/kontact/src/main.cpp:218
Comment 3 Dario Andres 2009-08-07 21:41:05 UTC
Mh, the debug symbols for KMail are still missing (like "kdepim4-debuginfo" was not installed properly, or may be you need to install some other package... some other "debuginfo" package for kmail.. ?)
Comment 4 Gerry Gavigan 2009-08-08 03:01:26 UTC
I have installed kdelibs4-debuginfo, kdepim4-debuginfo, kde4-runtime-debuginfo, kdepimlibs4-debuginfo, couldn't find anything for kmail in openSUSE

got this


Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb458a700 (LWP 6010))]

Thread 2 (Thread 0xafe26b90 (LWP 6011)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb645cf62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb64bd55c in QWaitCondition::wait (this=0x8c70108, mutex=0x8c70104, time=30000) at thread/qwaitcondition_unix.cpp:85
#3  0xb64b2b96 in QThreadPoolThread::run (this=0x8c6f610) at concurrent/qthreadpool.cpp:140
#4  0xb64bc572 in QThreadPrivate::start (arg=0x8c6f610) at thread/qthread_unix.cpp:188
#5  0xb64591b5 in start_thread () from /lib/libpthread.so.0
#6  0xb57ae3be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb458a700 (LWP 6010)):
[KCrash Handler]
#6  0xb68f09c4 in KStringHandler::obscure (str=@0x85426f4) at /usr/include/QtCore/qchar.h:251
#7  0xb0c49eaf in KMail::NetworkAccount::passwd (this=0x8542690) at /usr/src/debug/kdepim-4.3.0/kmail/networkaccount.cpp:96
#8  0xb0cbf783 in KMail::PopAccount::processNewMail (this=0x8542690, _interactive=true) at /usr/src/debug/kdepim-4.3.0/kmail/popaccount.cpp:143
#9  0xb0be5b25 in KMail::AccountManager::processNextCheck (this=0x8442d98, _newMail=false) at /usr/src/debug/kdepim-4.3.0/kmail/accountmanager.cpp:230
#10 0xb0be65f8 in KMail::AccountManager::singleCheckMail (this=0x8442d98, account=0x8542690, interactive=true) at /usr/src/debug/kdepim-4.3.0/kmail/accountmanager.cpp:157
#11 0xb0be6a3c in KMail::AccountManager::checkMail (this=0x8442d98, _interactive=true) at /usr/src/debug/kdepim-4.3.0/kmail/accountmanager.cpp:352
#12 0xb0da37c8 in KMMainWidget::slotCheckMail (this=0x8547d70) at /usr/src/debug/kdepim-4.3.0/kmail/kmmainwidget.cpp:1045
#13 0xb0dcba01 in KMMainWidget::qt_metacall (this=0x8547d70, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfe8b8d8) at /usr/src/debug/kdepim-4.3.0/build/kmail/kmmainwidget.moc:355
#14 0xb65c6788 in QMetaObject::activate (sender=0x8b3ed70, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#15 0xb65c7412 in QMetaObject::activate (sender=0x8b3ed70, m=0xb66a7908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#16 0xb65cc5b7 in QSingleShotTimer::timeout (this=0x8b3ed70) at .moc/release-shared/qtimer.moc:76
#17 0xb65cc6dc in QSingleShotTimer::timerEvent (this=0x8b3ed70) at kernel/qtimer.cpp:298
#18 0xb65c172f in QObject::event (this=0x8b3ed70, e=0xbfe8bd80) at kernel/qobject.cpp:1075
#19 0xb5a867fc in QApplicationPrivate::notify_helper (this=0x80833b0, receiver=0x8b3ed70, e=0xbfe8bd80) at kernel/qapplication.cpp:4056
#20 0xb5a8eaee in QApplication::notify (this=0xbfe8c058, receiver=0x8b3ed70, e=0xbfe8bd80) at kernel/qapplication.cpp:3603
#21 0xb6b9927d in KApplication::notify (this=0xbfe8c058, receiver=0x8b3ed70, event=0xbfe8bd80) at /usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#22 0xb65b116b in QCoreApplication::notifyInternal (this=0xbfe8c058, receiver=0x8b3ed70, event=0xbfe8bd80) at kernel/qcoreapplication.cpp:610
#23 0xb65e05f6 in QTimerInfoList::activateTimers (this=0x80740ac) at kernel/qcoreapplication.h:213
#24 0xb65dc980 in timerSourceDispatch (source=0x8074078) at kernel/qeventdispatcher_glib.cpp:165
#25 0xb4d4f9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb4d53083 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb4d53241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb65dc8d8 in QEventDispatcherGlib::processEvents (this=0x8053fb0, flags={i = -1075265752}) at kernel/qeventdispatcher_glib.cpp:327
#29 0xb5b26cc5 in QGuiEventDispatcherGlib::processEvents (this=0x8053fb0, flags={i = -1075265704}) at kernel/qguieventdispatcher_glib.cpp:202
#30 0xb65af78a in QEventLoop::processEvents (this=0xbfe8bfd0, flags={i = -1075265640}) at kernel/qeventloop.cpp:149
#31 0xb65afbd2 in QEventLoop::exec (this=0xbfe8bfd0, flags={i = -1075265576}) at kernel/qeventloop.cpp:201
#32 0xb65b2079 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#33 0xb5a86677 in QApplication::exec () at kernel/qapplication.cpp:3525
#34 0x0804c04f in main (argc=1, argv=0xbfe8c354) at /usr/src/debug/kdepim-4.3.0/kontact/src/main.cpp:218
Comment 5 Gerry Gavigan 2009-10-07 01:08:37 UTC
still present in 4.3.2
Comment 6 Jonathan Thomas 2009-12-30 15:20:51 UTC
*** Bug 220652 has been marked as a duplicate of this bug. ***
Comment 7 Gerry Gavigan 2010-03-01 21:04:09 UTC
seems fine in 4.4.0