Bug 238448 - Crash when editing an identity
Summary: Crash when editing an identity
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 23:56 UTC by Sabine Faure
Modified: 2018-09-04 18:23 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 Sabine Faure 2010-05-21 23:56:06 UTC
Application: kmail (1.99.0)
KDE Platform Version: 4.4.3 (KDE 4.4.3) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-19-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
- Launch Kmail
- Go to Settings menu/Configure Kmail - Identitities
- Double click on an already existing identity
- Don't modify it
- Click on 'Ok' twice

Kmail crashes

Trunk, Svn Rev 1129177

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f77208a7780 (LWP 3840))]

Thread 2 (Thread 0x7f77028a2710 (LWP 3852)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f77135c85e0 in WTF::TCMalloc_PageHeap::scavengerThread() () from /d/qt/4/kde-qt/lib/libQtWebKit.so.4
#2  0x00007f77135c75f6 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /d/qt/4/kde-qt/lib/libQtWebKit.so.4
#3  0x00007f771a5d29ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f7719b826dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f77208a7780 (LWP 3840)):
[KCrash Handler]
#5  0x00007f771f284b18 in QList<KPIMIdentities::Identity>::Node::t (this=0x37c45f550) at /d/qt/4/kde-qt/include/QtCore/../../src/corelib/tools/qlist.h:106
#6  0x00007f771f283ad1 in QList<KPIMIdentities::Identity>::const_iterator::operator* (this=0x7fffbafca850) at /d/qt/4/kde-qt/include/QtCore/../../src/corelib/tools/qlist.h:226
#7  0x00007f771f27ea17 in KMKernel::folderIsTemplates (this=0x7fffbafcd2b0, col=...) at /d/kde/src/t/kdepim/kmail/kmkernel.cpp:1334
#8  0x00007f771f334f4a in KMail::MessageActions::updateActions (this=0x2818980) at /d/kde/src/t/kdepim/kmail/messageactions.cpp:271
#9  0x00007f771f334c2b in KMail::MessageActions::setSelectedItem (this=0x2818980, items=...) at /d/kde/src/t/kdepim/kmail/messageactions.cpp:249
#10 0x00007f771f2e7084 in KMMainWidget::updateMessageActions (this=0x2740e80) at /d/kde/src/t/kdepim/kmail/kmmainwidget.cpp:3597
#11 0x00007f771f2e6ec0 in KMMainWidget::updateMessageMenu (this=0x2740e80) at /d/kde/src/t/kdepim/kmail/kmmainwidget.cpp:3570
#12 0x00007f771f2cdea6 in KMMainWidget::readConfig (this=0x2740e80) at /d/kde/src/t/kdepim/kmail/kmmainwidget.cpp:785
#13 0x00007f771f2d9053 in KMMainWidget::slotConfigChanged (this=0x2740e80) at /d/kde/src/t/kdepim/kmail/kmmainwidget.cpp:2332
#14 0x00007f771f2ca109 in KMMainWidget::qt_metacall (this=0x2740e80, _c=QMetaObject::InvokeMetaMethod, _id=129, _a=0x7fffbafcaff0) at /d/kde/build/t/kdepim/kmail/kmmainwidget.moc:455
#15 0x00007f771a9bf557 in QMetaObject::metacall (object=0x2740e80, cl=QMetaObject::InvokeMetaMethod, idx=156, argv=0x7fffbafcaff0) at kernel/qmetaobject.cpp:237
#16 0x00007f771a9d59d5 in QMetaObject::activate (sender=0x7fffbafcd2b0, m=0x7f771f6a03e0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#17 0x00007f771f2824ab in KMKernel::configChanged (this=0x7fffbafcd2b0) at /d/kde/build/t/kdepim/kmail/kmkernel.moc:194
#18 0x00007f771f27e3a2 in KMKernel::slotConfigChanged (this=0x7fffbafcd2b0) at /d/kde/src/t/kdepim/kmail/kmkernel.cpp:1249
#19 0x00007f771f2823bf in KMKernel::qt_metacall (this=0x7fffbafcd2b0, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fffbafcb230) at /d/kde/build/t/kdepim/kmail/kmkernel.moc:179
#20 0x00007f771a9bf557 in QMetaObject::metacall (object=0x7fffbafcd2b0, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0x7fffbafcb230) at kernel/qmetaobject.cpp:237
#21 0x00007f771a9d59d5 in QMetaObject::activate (sender=0x2cdb6c0, m=0x7f771f696ee0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#22 0x00007f771f1f0563 in ConfigureDialog::configChanged (this=0x2cdb6c0) at /d/kde/build/t/kdepim/kmail/configuredialog.moc:90
#23 0x00007f771f1c853d in ConfigureDialog::slotOk (this=0x2cdb6c0) at /d/kde/src/t/kdepim/kmail/configuredialog.cpp:258
#24 0x00007f771f1f052c in ConfigureDialog::qt_metacall (this=0x2cdb6c0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffbafcb3b0) at /d/kde/build/t/kdepim/kmail/configuredialog.moc:79
#25 0x00007f771a9bf557 in QMetaObject::metacall (object=0x2cdb6c0, cl=QMetaObject::InvokeMetaMethod, idx=88, argv=0x7fffbafcb3b0) at kernel/qmetaobject.cpp:237
#26 0x00007f771a9d59d5 in QMetaObject::activate (sender=0x2cdb6c0, m=0x7f77206aeea0, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3293
#27 0x00007f772017f385 in KDialog::okClicked (this=0x2cdb6c0) at /d/kde/build/t/kdelibs/kdeui/kdialog.moc:258
#28 0x00007f772017dca9 in KDialog::slotButtonClicked (this=0x2cdb6c0, button=4) at /d/kde/src/t/kdelibs/kdeui/dialogs/kdialog.cpp:862
#29 0x00007f772017f141 in KDialog::qt_metacall (this=0x2cdb6c0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fffbafcb680) at /d/kde/build/t/kdelibs/kdeui/kdialog.moc:190
#30 0x00007f772026ca57 in KPageDialog::qt_metacall (this=0x2cdb6c0, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0x7fffbafcb680) at /d/kde/build/t/kdelibs/kdeui/kpagedialog.moc:70
#31 0x00007f771622077b in KCMultiDialog::qt_metacall (this=0x2cdb6c0, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0x7fffbafcb680) at /d/kde/build/t/kdelibs/kutils/kcmultidialog.moc:86
#32 0x00007f771f1f04df in ConfigureDialog::qt_metacall (this=0x2cdb6c0, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0x7fffbafcb680) at /d/kde/build/t/kdepim/kmail/configuredialog.moc:72
#33 0x00007f771a9bf557 in QMetaObject::metacall (object=0x2cdb6c0, cl=QMetaObject::InvokeMetaMethod, idx=69, argv=0x7fffbafcb680) at kernel/qmetaobject.cpp:237
#34 0x00007f771a9d59d5 in QMetaObject::activate (sender=0x2a38c88, m=0x7f771ad2f2c0, local_signal_index=0, argv=0x7fffbafcb680) at kernel/qobject.cpp:3293
#35 0x00007f771a9db756 in QSignalMapper::mapped (this=0x2a38c88, _t1=4) at .moc/debug-shared/moc_qsignalmapper.cpp:101
#36 0x00007f771a9db419 in QSignalMapper::map (this=0x2a38c88, sender=0x2cc8210) at kernel/qsignalmapper.cpp:266
#37 0x00007f771a9db3ac in QSignalMapper::map (this=0x2a38c88) at kernel/qsignalmapper.cpp:257
#38 0x00007f771a9db6c8 in QSignalMapper::qt_metacall (this=0x2a38c88, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fffbafcb860) at .moc/debug-shared/moc_qsignalmapper.cpp:87
#39 0x00007f771a9bf557 in QMetaObject::metacall (object=0x2a38c88, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0x7fffbafcb860) at kernel/qmetaobject.cpp:237
#40 0x00007f771a9d59d5 in QMetaObject::activate (sender=0x2cc8210, m=0x7f771c6765e0, local_signal_index=2, argv=0x7fffbafcb860) at kernel/qobject.cpp:3293
#41 0x00007f771c1d42a2 in QAbstractButton::clicked (this=0x2cc8210, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:206
#42 0x00007f771be84677 in QAbstractButtonPrivate::emitClicked (this=0x2d01510) at widgets/qabstractbutton.cpp:546
#43 0x00007f771be84608 in QAbstractButtonPrivate::click (this=0x2d01510) at widgets/qabstractbutton.cpp:539
#44 0x00007f771be85bd7 in QAbstractButton::mouseReleaseEvent (this=0x2cc8210, e=0x7fffbafcc410) at widgets/qabstractbutton.cpp:1121
#45 0x00007f771ba9c3d9 in QWidget::event (this=0x2cc8210, event=0x7fffbafcc410) at kernel/qwidget.cpp:7998
#46 0x00007f771be85a2c in QAbstractButton::event (this=0x2cc8210, e=0x7fffbafcc410) at widgets/qabstractbutton.cpp:1080
#47 0x00007f771bf411f5 in QPushButton::event (this=0x2cc8210, e=0x7fffbafcc410) at widgets/qpushbutton.cpp:679
#48 0x00007f771ba357aa in QApplicationPrivate::notify_helper (this=0x1b95580, receiver=0x2cc8210, e=0x7fffbafcc410) at kernel/qapplication.cpp:4304
#49 0x00007f771ba337d7 in QApplication::notify (this=0x7fffbafcd3a0, receiver=0x2cc8210, e=0x7fffbafcc410) at kernel/qapplication.cpp:3869
#50 0x00007f7720222607 in KApplication::notify (this=0x7fffbafcd3a0, receiver=0x2cc8210, event=0x7fffbafcc410) at /d/kde/src/t/kdelibs/kdeui/kernel/kapplication.cpp:302
#51 0x00007f771a9b73f8 in QCoreApplication::notifyInternal (this=0x7fffbafcd3a0, receiver=0x2cc8210, event=0x7fffbafcc410) at kernel/qcoreapplication.cpp:704
#52 0x00007f771ba3836b in QCoreApplication::sendSpontaneousEvent (receiver=0x2cc8210, event=0x7fffbafcc410) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#53 0x00007f771ba31e5d in QApplicationPrivate::sendMouseEvent (receiver=0x2cc8210, event=0x7fffbafcc410, alienWidget=0x2cc8210, nativeWidget=0x2cbef70, buttonDown=0x7f771c696c98, 
    lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2967
#54 0x00007f771bad17e1 in QETWidget::translateMouseEvent (this=0x2cbef70, event=0x7fffbafcce70) at kernel/qapplication_x11.cpp:4368
#55 0x00007f771bace0ce in QApplication::x11ProcessEvent (this=0x7fffbafcd3a0, event=0x7fffbafcce70) at kernel/qapplication_x11.cpp:3379
#56 0x00007f771bb05efd in x11EventSourceDispatch (s=0x1b98e50, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007f77125ef8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#58 0x00007f77125f3748 in ?? () from /lib/libglib-2.0.so.0
#59 0x00007f77125f38fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#60 0x00007f771a9f43d3 in QEventDispatcherGlib::processEvents (this=0x1b91e20, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#61 0x00007f771bb064c0 in QGuiEventDispatcherGlib::processEvents (this=0x1b91e20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f771a9b43f0 in QEventLoop::processEvents (this=0x7fffbafcd240, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f771a9b4546 in QEventLoop::exec (this=0x7fffbafcd240, flags=...) at kernel/qeventloop.cpp:201
#64 0x00007f771a9b7afa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#65 0x00007f771ba329ec in QApplication::exec () at kernel/qapplication.cpp:3583
#66 0x0000000000403923 in main (argc=1, argv=0x7fffbafcd538) at /d/kde/src/t/kdepim/kmail/main.cpp:147

Reported using DrKonqi
Comment 1 Sabine Faure 2010-05-22 01:19:34 UTC
Another way to reproduce this bug is:
- Launch Kmail
- Click on 'New'
- Go to Settings menu/Configure Kmail - Identitities
- Double click on an already existing identity
- Don't modify it
- Click on 'Cancel' twice
- Click on 'New' button again or select a sent-mail in the Message List view.

Kmail crashes

Trunk, Svn Rev 1129177
Comment 2 Till Adam 2010-05-23 13:05:58 UTC
Fixed with revision 1129689.
Comment 3 Sabine Faure 2010-05-23 22:01:48 UTC
It is corrected now.

Kmail does not crash anymore when opening an identity.

Trunk, Svn Rev 1129798
Comment 4 Andrew Crouthamel 2018-09-04 18:23:16 UTC
Hello! Sorry to be the bearer of bad news, but this version of Kmail has been unmaintained for many years so I am closing this bug. Please try using the latest version of Kmail to see if your issue persists. If it does, please submit a new bug in "kmail2". Thank you!