Bug 233497

Summary: KMail crashed when I've selected addresses from contact list
Product: [Unmaintained] kmail Reporter: pelya <x.pelya.x>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bjoern
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pelya 2010-04-06 15:50:11 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-19-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
I was replying to email with many recipients, and tried to add more recipients in CC - the first one added okay, on the second one KMail crashed.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f8313e69710 (LWP 10876)):
#0  0x00007f832e5d0a2d in __pthread_mutex_unlock_usercnt (mutex=0x23cb228) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x23cb228) at pthread_mutex_unlock.c:290
#2  0x00007f8327b23ff1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007f8327b24318 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f8327b248fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f8330adf566 in QEventDispatcherGlib::processEvents (this=0x21f9420, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00007f8330ab4992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007f8330ab4d6c in QEventLoop::exec (this=0x7f8313e68cf0, flags=) at kernel/qeventloop.cpp:201
#8  0x00007f83309bed59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007f8330a95178 in QInotifyFileSystemWatcherEngine::run (this=0x2193fb0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f83309c1775 in QThreadPrivate::start (arg=0x2193fb0) at thread/qthread_unix.cpp:248
#11 0x00007f832e5cc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f83301816dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f833365f820 (LWP 10875)):
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0x3668050, item=0x36b2010) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  QString (this=0x3668050, item=0x36b2010) at /usr/include/qt4/QtCore/qstring.h:715
#7  RecipientItem::key (this=0x3668050, item=0x36b2010) at ../../kmail/recipientspicker.h:70
#8  RecipientsCollection::getEquivalentItem (this=0x3668050, item=0x36b2010) at ../../kmail/recipientspicker.cpp:277
#9  0x00007f833229a8f0 in RecipientsPicker::updateList (this=<value optimized out>) at ../../kmail/recipientspicker.cpp:699
#10 0x00007f833229e4f2 in RecipientsPicker::setRecipients (this=<value optimized out>, recipients=<value optimized out>) at ../../kmail/recipientspicker.cpp:644
#11 0x00007f8332295029 in SideWidget::pickRecipient (this=0x2b03ae0) at ../../kmail/recipientseditor.cpp:852
#12 0x00007f8332296664 in SideWidget::qt_metacall (this=0x2b03ae0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa08a47c0) at ./recipientseditor.moc:528
#13 0x00007f8330ac8e3f in QMetaObject::activate (sender=0x2b04120, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xfffffffffff7adb8) at kernel/qobject.cpp:3293
#14 0x00007f83316244a2 in QAbstractButton::clicked (this=0x3668050, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#15 0x00007f833133e71b in QAbstractButtonPrivate::emitClicked (this=0x2b04eb0) at widgets/qabstractbutton.cpp:546
#16 0x00007f833133f5bb in QAbstractButtonPrivate::click (this=0x2b04eb0) at widgets/qabstractbutton.cpp:539
#17 0x00007f833133f82c in QAbstractButton::mouseReleaseEvent (this=0x2b04120, e=0x7fffa08a5110) at widgets/qabstractbutton.cpp:1121
#18 0x00007f8330fdf582 in QWidget::event (this=0x2b04120, event=0x7fffa08a5110) at kernel/qwidget.cpp:7998
#19 0x00007f8330f8922c in QApplicationPrivate::notify_helper (this=0x1c17300, receiver=0x2b04120, e=0x7fffa08a5110) at kernel/qapplication.cpp:4300
#20 0x00007f8330f8fecb in QApplication::notify (this=0x7fffa08a5f30, receiver=0x2b04120, e=0x7fffa08a5110) at kernel/qapplication.cpp:3865
#21 0x00007f833308b526 in KApplication::notify (this=0x7fffa08a5f30, receiver=0x2b04120, event=0x7fffa08a5110) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00007f8330ab606c in QCoreApplication::notifyInternal (this=0x7fffa08a5f30, receiver=0x2b04120, event=0x7fffa08a5110) at kernel/qcoreapplication.cpp:704
#23 0x00007f8330f8f0ae in QCoreApplication::sendEvent (receiver=0x2b04120, event=0x7fffa08a5110, alienWidget=0x0, nativeWidget=0x2b04120, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QApplicationPrivate::sendMouseEvent (receiver=0x2b04120, event=0x7fffa08a5110, alienWidget=0x0, nativeWidget=0x2b04120, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#25 0x00007f833100ef65 in QETWidget::translateMouseEvent (this=0x2b04120, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#26 0x00007f833100d8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffa08a5a30) at kernel/qapplication_x11.cpp:3501
#27 0x00007f8331039732 in x11EventSourceDispatch (s=0x1bf5b70, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007f8327b208c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x00007f8327b24748 in ?? () from /lib/libglib-2.0.so.0
#30 0x00007f8327b248fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00007f8330adf513 in QEventDispatcherGlib::processEvents (this=0x1bb1000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#32 0x00007f833103931e in QGuiEventDispatcherGlib::processEvents (this=0x3668050, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f8330ab4992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#34 0x00007f8330ab4d6c in QEventLoop::exec (this=0x7fffa08a5d60, flags=) at kernel/qeventloop.cpp:201
#35 0x00007f8330ab8aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#36 0x0000000000403482 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

This bug may be a duplicate of or related to bug 217229.

Possible duplicates by query: bug 231996, bug 227938, bug 219504, bug 217229.

Reported using DrKonqi
Comment 1 Björn Ruberg 2010-04-14 22:46:44 UTC

*** This bug has been marked as a duplicate of bug 217229 ***