Bug 217229 - Kmail (on Kontact) crashes on adding new recipients [RecipientItem::key, RecipientsCollection::getEquivalentItem, RecipientsPicker::updateList]
Summary: Kmail (on Kontact) crashes on adding new recipients [RecipientItem::key, Reci...
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: addressbook (show other bugs)
Version: 1.12.2
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 219504 227938 231996 233497 235533 237595 249746 263613 268206 292746 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-03 17:11 UTC by Ralph Holz
Modified: 2012-07-06 20:33 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In: kdepim 4.6


Attachments
New crash information added by DrKonqi (6.32 KB, text/plain)
2011-01-02 00:53 UTC, Ronny Standtke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Holz 2009-12-03 17:11:27 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-15-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I can reproduce the crash 2 out of 3 times. New Mail, add recipients -> save as draft -> edit again -> click "select recipients" -> boom

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0xaee54a8, item=0xaeeeea0) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#7  QString (this=0xaee54a8, item=0xaeeeea0) at /usr/include/qt4/QtCore/qstring.h:712
#8  RecipientItem::key (this=0xaee54a8, item=0xaeeeea0) at ../../kmail/recipientspicker.h:68
#9  RecipientsCollection::getEquivalentItem (this=0xaee54a8, item=0xaeeeea0) at ../../kmail/recipientspicker.cpp:226
#10 0xb4a5e2a2 in RecipientsPicker::updateList (this=0xad4e4f8) at ../../kmail/recipientspicker.cpp:606
#11 0xb4a60a28 in RecipientsPicker::setRecipients (this=0xad4e4f8, recipients=...) at ../../kmail/recipientspicker.cpp:559
#12 0xb4a57005 in SideWidget::pickRecipient (this=0xa2f0cf0) at ../../kmail/recipientseditor.cpp:851
#13 0xb4a58d83 in SideWidget::qt_metacall (this=0xa2f0cf0, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0xbf9658b8) at ./recipientseditor.moc:498
#14 0x00506263 in QMetaObject::activate (sender=0xa2efe70, from_signal_index=29, to_signal_index=30, argv=0xbf9658b8) at kernel/qobject.cpp:3113
#15 0x005066d8 in QMetaObject::activate (sender=0xa2efe70, m=0x17df0a4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbf9658b8) at kernel/qobject.cpp:3207
#16 0x015f8cc1 in QAbstractButton::clicked (this=0xa2efe70, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#17 0x01321549 in QAbstractButtonPrivate::emitClicked (this=0xa2f16d8) at widgets/qabstractbutton.cpp:543
#18 0x013231a4 in QAbstractButtonPrivate::click (this=0xa2f16d8) at widgets/qabstractbutton.cpp:536
#19 0x01323431 in QAbstractButton::mouseReleaseEvent (this=0xa2efe70, e=0xbf965eb0) at widgets/qabstractbutton.cpp:1115
#20 0x00fc1012 in QWidget::event (this=0xa2efe70, event=0xbf965eb0) at kernel/qwidget.cpp:7549
#21 0x013213ee in QAbstractButton::event (this=0xa2efe70, e=0xaeeeea0) at widgets/qabstractbutton.cpp:1077
#22 0x013cb66d in QPushButton::event (this=0xa2efe70, e=0xbf965eb0) at widgets/qpushbutton.cpp:662
#23 0x00f6bf54 in QApplicationPrivate::notify_helper (this=0x9c01ff0, receiver=0xa2efe70, e=0xbf965eb0) at kernel/qapplication.cpp:4056
#24 0x00f74033 in QApplication::notify (this=0xbf967894, receiver=0xa2efe70, e=0xbf965eb0) at kernel/qapplication.cpp:3758
#25 0x00ba0bfa in KApplication::notify (this=0xbf967894, receiver=0xa2efe70, event=0xbf965eb0) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x004f06cb in QCoreApplication::notifyInternal (this=0xbf967894, receiver=0xa2efe70, event=0xbf965eb0) at kernel/qcoreapplication.cpp:610
#27 0x00f72f6e in QCoreApplication::sendSpontaneousEvent (receiver=0xa2efe70, event=0xbf965eb0, alienWidget=0xa2efe70, nativeWidget=0xa277df8, buttonDown=0x17e6aa0, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#28 QApplicationPrivate::sendMouseEvent (receiver=0xa2efe70, event=0xbf965eb0, alienWidget=0xa2efe70, nativeWidget=0xa277df8, buttonDown=0x17e6aa0, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#29 0x00fe17c0 in QETWidget::translateMouseEvent (this=0xa277df8, event=0xbf9674fc) at kernel/qapplication_x11.cpp:4409
#30 0x00fe0c4b in QApplication::x11ProcessEvent (this=0xbf967894, event=0xbf9674fc) at kernel/qapplication_x11.cpp:3428
#31 0x0100d502 in x11EventSourceDispatch (s=0x9bf6b00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x01daee78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x01db2720 in ?? () from /lib/libglib-2.0.so.0
#34 0x01db2853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x0051b02c in QEventDispatcherGlib::processEvents (this=0x9bd59f8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#36 0x0100cbe5 in QGuiEventDispatcherGlib::processEvents (this=0x9bd59f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#37 0x004eec79 in QEventLoop::processEvents (this=0xbf9677f4, flags=) at kernel/qeventloop.cpp:149
#38 0x004ef0ca in QEventLoop::exec (this=0xbf9677f4, flags=...) at kernel/qeventloop.cpp:201
#39 0x004f153f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#40 0x00f6bdd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#41 0x0804b4e6 in main (argc=1, argv=0xbf967ab4) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 FiNeX 2009-12-03 18:53:09 UTC
can you reproduce the crash using kmail standalone ?
Comment 2 Ralph Holz 2009-12-04 00:59:10 UTC
(In reply to comment #1)
> can you reproduce the crash using kmail standalone ?

Hi,

I just tried it three times, and couldn't.
Comment 3 FiNeX 2009-12-04 01:27:30 UTC
Thanks for the feedback...

So you can reproduce only from kontact, did I understood right?
Comment 4 Ralph Holz 2009-12-04 13:40:08 UTC
Hi,

Yes, this is correct.
Comment 5 Dario Andres 2009-12-21 23:53:19 UTC
*** Bug 219504 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2010-02-22 01:26:16 UTC
Updated backtrace from bug 227938 (4.4.0):

 -- Backtrace:
#6  QBasicAtomicInt::ref (this=0xacd67e0, item=0xa866e90) at
/usr/include/qt4/QtCore/qatomic_i386.h:120
#7  QString (this=0xacd67e0, item=0xa866e90) at
/usr/include/qt4/QtCore/qstring.h:724
#8  RecipientItem::key (this=0xacd67e0, item=0xa866e90) at
../../kmail/recipientspicker.h:70
#9  RecipientsCollection::getEquivalentItem (this=0xacd67e0, item=0xa866e90) at
../../kmail/recipientspicker.cpp:277
#10 0xb499cc92 in RecipientsPicker::updateList (this=0x9a3bcc8) at
../../kmail/recipientspicker.cpp:688
#11 0xb49a0b38 in RecipientsPicker::setRecipients (this=0x9a3bcc8,
recipients=...) at ../../kmail/recipientspicker.cpp:633
#12 0xb4995e95 in SideWidget::pickRecipient (this=0x9d6e390) at
../../kmail/recipientseditor.cpp:852
Comment 7 Dario Andres 2010-02-22 01:26:28 UTC
*** Bug 227938 has been marked as a duplicate of this bug. ***
Comment 8 Björn Ruberg 2010-03-26 10:11:01 UTC
*** Bug 231996 has been marked as a duplicate of this bug. ***
Comment 9 Björn Ruberg 2010-04-14 22:46:44 UTC
*** Bug 233497 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2010-06-07 01:12:14 UTC
*** Bug 235533 has been marked as a duplicate of this bug. ***
Comment 11 Christophe Marin 2010-06-07 01:12:29 UTC
*** Bug 237595 has been marked as a duplicate of this bug. ***
Comment 12 Nicolas L. 2010-09-08 23:42:38 UTC
*** Bug 249746 has been marked as a duplicate of this bug. ***
Comment 13 Ronny Standtke 2011-01-02 00:53:28 UTC
Created attachment 55459 [details]
New crash information added by DrKonqi

kmail (1.13.5) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.0

- What I was doing when the application crashed:

After composing a long email for half an hour I picked some recipients from the address book.  This crashed Kontact (KDE-4.5.4) and my email was gone. Thank you for fixing this ugly bug.

-- Backtrace (Reduced):
#7  ref (this=0x9f09cc0, item=0xa8dda10) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QString (this=0x9f09cc0, item=0xa8dda10) at /usr/include/qt4/QtCore/qstring.h:728
#9  key (this=0x9f09cc0, item=0xa8dda10) at ../../kmail/recipientspicker.h:70
#10 RecipientsCollection::getEquivalentItem (this=0x9f09cc0, item=0xa8dda10) at ../../kmail/recipientspicker.cpp:277
#11 0x013ccf6a in RecipientsPicker::updateList (this=0x9d83b80) at ../../kmail/recipientspicker.cpp:699
Comment 14 Christophe Marin 2011-02-14 12:53:30 UTC
*** Bug 263613 has been marked as a duplicate of this bug. ***
Comment 15 Christophe Marin 2011-03-11 11:49:32 UTC
*** Bug 268206 has been marked as a duplicate of this bug. ***
Comment 16 Christophe Marin 2011-05-02 14:12:39 UTC
>What I was doing when the application crashed:
>I can reproduce the crash 2 out of 3 times. New Mail, add recipients -> save as
>draft -> edit again -> click "select recipients" -> boom

I cannot reproduce the crash with kmail2 and these steps (in kontact or standalone)

The crash will be fixed in KDEPIM 4.6
Comment 17 Jekyll Wu 2012-07-06 20:33:56 UTC
*** Bug 292746 has been marked as a duplicate of this bug. ***