Bug 207351

Summary: Adding a recipient from LDAP crashes composer.
Product: [Unmaintained] kmail Reporter: David Martínez Moreno <ender>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Martínez Moreno 2009-09-14 15:06:56 UTC
Application that crashed: kmail
Version of the application: 1.12.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-rc2-ender x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
It seems a duplicate of 206024, I just create a new message and KMail crashes when I'm waiting for the LDAP to reply and add the new recipient.  Fully reproducible.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  QListWidgetItem::text (this=<value optimized out>, adrs=<value optimized out>) at /usr/include/qt4/QtGui/qlistwidget.h:90
#6  KPIM::AddresseeLineEdit::slotLDAPSearchData (this=<value optimized out>, adrs=<value optimized out>) at ../../libkdepim/addresseelineedit.cpp:820
#7  0x00007f96ea7d251c in KPIM::AddresseeLineEdit::qt_metacall (this=0x95fa730, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff182d0b00) at ./addresseelineedit.moc:95
#8  0x00007f96eae803ed in KMLineEdit::qt_metacall (this=0x858c260, _c=QMetaObject::InvokeMetaMethod, _id=140034656, _a=0x1d) at ./kmlineeditspell.moc:68
#9  0x00007f96eaeefb7d in RecipientLineEdit::qt_metacall (this=0x858c260, _c=QMetaObject::InvokeMetaMethod, _id=140034656, _a=0x1d) at ./recipientseditor.moc:123
#10 0x0000003444767682 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3112
#11 0x00007f96ea7d5275 in KPIM::LdapSearch::searchData (this=0x858c260, _t1=<value optimized out>) at ./ldapclient.moc:205
#12 0x00007f96ea7d83e1 in KPIM::LdapSearch::slotDataTimer (this=0x533d4d0) at ../../libkdepim/ldapclient.cpp:465
#13 0x00007f96ea7d8465 in KPIM::LdapSearch::finish (this=0x533d4d0) at ../../libkdepim/ldapclient.cpp:472
#14 0x00007f96ea7dad88 in KPIM::LdapSearch::qt_metacall (this=0x533d4d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff182d0c20) at ./ldapclient.moc:184
#15 0x0000003444767682 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3112
#16 0x00007f96ea7d5969 in KPIM::LdapClient::slotDone (this=0x97a5d40) at ../../libkdepim/ldapclient.cpp:119
#17 0x00007f96ea7db4d8 in KPIM::LdapClient::qt_metacall (this=0x97a5d40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff182d0dc0) at ./ldapclient.moc:92
#18 0x0000003444767682 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3112
#19 0x00007f96eb538df2 in KJob::result (this=0x858c260, _t1=0x91396c0) at ./kjob.moc:188
#20 0x00007f96eb53916f in KJob::emitResult (this=0x91396c0) at ../../kdecore/jobs/kjob.cpp:304
#21 0x00007f96e6fbbaf0 in KIO::SimpleJob::slotFinished (this=0x91396c0) at ../../kio/kio/job.cpp:477
#22 0x00007f96e6fbbfb3 in KIO::TransferJob::slotFinished (this=0x91396c0) at ../../kio/kio/job.cpp:948
#23 0x00007f96e6fb6ccd in KIO::TransferJob::qt_metacall (this=0x91396c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff182d11c0) at ./jobclasses.moc:343
#24 0x0000003444767682 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3112
#25 0x00007f96e7078d51 in KIO::SlaveInterface::dispatch (this=0x651a370, _cmd=104, rawdata=<value optimized out>) at ../../kio/kio/slaveinterface.cpp:175
#26 0x00007f96e70757e2 in KIO::SlaveInterface::dispatch (this=0x651a370) at ../../kio/kio/slaveinterface.cpp:91
#27 0x00007f96e706824e in KIO::Slave::gotInput (this=0x651a370) at ../../kio/kio/slave.cpp:322
#28 0x00007f96e706a578 in KIO::Slave::qt_metacall (this=0x651a370, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff182d15e0) at ./slave.moc:76
#29 0x0000003444767682 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3112
#30 0x00007f96e6f849c1 in KIO::ConnectionPrivate::dequeue (this=0x8fa51c0) at ../../kio/kio/connection.cpp:82
#31 0x00007f96e6f84e1a in KIO::Connection::qt_metacall (this=0x6462a60, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x8fbbae0) at ./connection.moc:73
#32 0x0000003444761f68 in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1110
#33 0x00000034463d780d in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4056
#34 0x00000034463df86a in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4021
#35 0x00007f96ebae943b in KApplication::notify (this=0x7fff182d2150, receiver=0x6462a60, event=0x5445b50) at ../../kdeui/kernel/kapplication.cpp:302
#36 0x000000344475251c in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:610
#37 0x0000003444753164 in QCoreApplication::sendEvent (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#39 0x000000344477af73 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#40 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#41 0x00007f96e56e986a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0x00007f96e56eceb8 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0x00007f96e56ed06c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0x000000344477abff in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#45 0x000000344646e64f in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#46 0x0000003444750de2 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#47 0x00000034447511b4 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201
#48 0x0000003444753424 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#49 0x0000000000402fab in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:146

This bug may be a duplicate of or related to bug 206054

Reported using DrKonqi
Comment 1 Christophe Marin 2009-09-14 15:09:04 UTC

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