Bug 213385 - KMail crashed when adding contacts with no assigned e-mail address to recipient list
Summary: KMail crashed when adding contacts with no assigned e-mail address to recipie...
Status: RESOLVED FIXED
Alias: None
Product: kmail
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: 2009-11-06 09:46 UTC by bugs
Modified: 2009-11-06 12:48 UTC (History)
0 users

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 bugs 2009-11-06 09:46:50 UTC
Application that crashed: kmail
Version of the application: 1.12.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Steps to reproduce:
1. compose new e-mail
2. select recipients from the addresbook
3. search in directory services
4. try to add a contact which has no e-mail address assigned to recipient list (contact is stored in LDAP back-end)

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0x003fdcf4 in ?? () from /usr/lib/libkdepim.so.4
#7  0x003fe742 in KPIM::LdapSearchDialog::selectedEMails() const () from /usr/lib/libkdepim.so.4
#8  0x0123e79f in ?? () from /usr/lib/libkmailprivate.so.4
#9  0x01244343 in ?? () from /usr/lib/libkmailprivate.so.4
#10 0x005d5263 in QMetaObject::activate (sender=0xb065f20, from_signal_index=73, to_signal_index=73, argv=0x0) at kernel/qobject.cpp:3113
#11 0x005d5ec2 in QMetaObject::activate (sender=0xb065f20, m=0x479930, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#12 0x003fdc77 in KPIM::LdapSearchDialog::addresseesAdded() () from /usr/lib/libkdepim.so.4
#13 0x003fed5e in KPIM::LdapSearchDialog::slotButtonClicked(int) () from /usr/lib/libkdepim.so.4
#14 0x00b6d319 in KDialog::qt_metacall (this=0xb065f20, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbf821168) at ./kdialog.moc:184
#15 0x00400a6a in KPIM::LdapSearchDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdepim.so.4
#16 0x005d5263 in QMetaObject::activate (sender=0xb05c030, from_signal_index=4, to_signal_index=4, argv=0xbf821168) at kernel/qobject.cpp:3113
#17 0x005d5ec2 in QMetaObject::activate (sender=0xb05c030, m=0x6af878, local_signal_index=0, argv=0xbf821168) at kernel/qobject.cpp:3187
#18 0x005d7e73 in QSignalMapper::mapped (this=0xb05c030, _t1=16384) at .moc/release-shared/moc_qsignalmapper.cpp:95
#19 0x005d870d in QSignalMapper::map (this=0xb05c030, sender=0xb063758) at kernel/qsignalmapper.cpp:266
#20 0x005d88ee in QSignalMapper::map (this=0xb05c030) at kernel/qsignalmapper.cpp:257
#21 0x005d912b in QSignalMapper::qt_metacall (this=0xb05c030, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf821338) at .moc/release-shared/moc_qsignalmapper.cpp:81
#22 0x005d5263 in QMetaObject::activate (sender=0xb063758, from_signal_index=29, to_signal_index=30, argv=0xbf821338) at kernel/qobject.cpp:3113
#23 0x005d56d8 in QMetaObject::activate (sender=0xb063758, m=0x1f000a4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbf821338) at kernel/qobject.cpp:3207
#24 0x01d19cc1 in QAbstractButton::clicked (this=0xb063758, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#25 0x01a42549 in QAbstractButtonPrivate::emitClicked (this=0xb076ad0) at widgets/qabstractbutton.cpp:543
#26 0x01a441a4 in QAbstractButtonPrivate::click (this=0xb076ad0) at widgets/qabstractbutton.cpp:536
#27 0x01a44431 in QAbstractButton::mouseReleaseEvent (this=0xb063758, e=0xbf821930) at widgets/qabstractbutton.cpp:1115
#28 0x016e2012 in QWidget::event (this=0xb063758, event=0xbf821930) at kernel/qwidget.cpp:7549
#29 0x01a423ee in QAbstractButton::event (this=0xb063758, e=0xa0d087c) at widgets/qabstractbutton.cpp:1077
#30 0x01aec66d in QPushButton::event (this=0xb063758, e=0xbf821930) at widgets/qpushbutton.cpp:662
#31 0x0168cf54 in QApplicationPrivate::notify_helper (this=0x9f826b8, receiver=0xb063758, e=0xbf821930) at kernel/qapplication.cpp:4056
#32 0x01695033 in QApplication::notify (this=0xbf8233b0, receiver=0xb063758, e=0xbf821930) at kernel/qapplication.cpp:3758
#33 0x00c03bfa in KApplication::notify (this=0xbf8233b0, receiver=0xb063758, event=0xbf821930) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x005bf6cb in QCoreApplication::notifyInternal (this=0xbf8233b0, receiver=0xb063758, event=0xbf821930) at kernel/qcoreapplication.cpp:610
#35 0x01693f6e in QCoreApplication::sendSpontaneousEvent (receiver=0xb063758, event=0xbf821930, alienWidget=0xb063758, nativeWidget=0xb065f20, buttonDown=0x1f07aa0, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#36 QApplicationPrivate::sendMouseEvent (receiver=0xb063758, event=0xbf821930, alienWidget=0xb063758, nativeWidget=0xb065f20, buttonDown=0x1f07aa0, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#37 0x017027c0 in QETWidget::translateMouseEvent (this=0xb065f20, event=0xbf822f7c) at kernel/qapplication_x11.cpp:4409
#38 0x01701c4b in QApplication::x11ProcessEvent (this=0xbf8233b0, event=0xbf822f7c) at kernel/qapplication_x11.cpp:3428
#39 0x0172e502 in x11EventSourceDispatch (s=0x9f70500, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x082a0e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x082a4720 in ?? () from /lib/libglib-2.0.so.0
#42 0x082a4853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x005ea02c in QEventDispatcherGlib::processEvents (this=0x9f40180, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#44 0x0172dbe5 in QGuiEventDispatcherGlib::processEvents (this=0x9f40180, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#45 0x005bdc79 in QEventLoop::processEvents (this=0xbf823274, flags=) at kernel/qeventloop.cpp:149
#46 0x005be0ca in QEventLoop::exec (this=0xbf823274, flags=...) at kernel/qeventloop.cpp:201
#47 0x005c053f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#48 0x0168cdd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#49 0x0804a702 in _start ()

Reported using DrKonqi
Comment 1 Thomas McGuire 2009-11-06 12:48:22 UTC
This has recently been fixed in r1033101, it is now not possible anymore to select contacts without e-mail addresses.
See http://websvn.kde.org:80/?revision=1033101&view=revision.

Not sure if this is backported to KDE 4.3.x.