Bug 208027

Summary: address completion with ldap crashes composer
Product: [Unmaintained] kmail Reporter: Søren Holm <sgh>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Søren Holm 2009-09-20 22:33:16 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    Ubuntu Packages

I have set up a ldap-server in kaddressbook. It works sincely in kaddressbook. But when I write an email and type in the first letters of the recipient, kmail crashes. If I disable ldap it does not crash.

I get this backtrace:

(gdb) thread apply all bt

Thread 1 (Thread 0x7f169bd97750 (LWP 15773)):
#0  KPIM::AddresseeLineEdit::slotLDAPSearchData (this=<value optimised out>, adrs=<value optimised out>) at ../../libkdepim/addresseelineedit.cpp:820
#1  0x00007f169b4df709 in KPIM::AddresseeLineEdit::qt_metacall (this=0x38037e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimised out>, _a=0x7fffc30dfad0) at ./addresseelineedit.moc:95
#2  0x00007f1683f5b518 in KMLineEdit::qt_metacall (this=0x37f27f0, _c=58664944, _id=31518096, _a=0x1) at ./kmlineeditspell.moc:68                                                            
#3  0x00007f1683fca728 in RecipientLineEdit::qt_metacall (this=0x37f27f0, _c=58664944, _id=31518096, _a=0x1) at ./recipientseditor.moc:123                                                   
#4  0x00007f1699af9d2c in QMetaObject::activate (sender=0x3737580, from_signal_index=<value optimised out>, to_signal_index=<value optimised out>, argv=0x1) at kernel/qobject.cpp:3113      
#5  0x00007f169b4e22b5 in KPIM::LdapSearch::searchData (this=0x37f27f0, _t1=<value optimised out>) at ./ldapclient.moc:205                                                                   
#6  0x00007f169b4e5ca1 in KPIM::LdapSearch::slotDataTimer (this=0x3737580) at ../../libkdepim/ldapclient.cpp:465                                                                             
#7  0x00007f169b4e5d15 in KPIM::LdapSearch::finish (this=0x3737580) at ../../libkdepim/ldapclient.cpp:472                                                                                    
#8  0x00007f169b4e887c in KPIM::LdapSearch::qt_metacall (this=0x3737580, _c=QMetaObject::InvokeMetaMethod, _id=<value optimised out>, _a=0x7fffc30dfc00) at ./ldapclient.moc:184
#9  0x00007f1699af9d2c in QMetaObject::activate (sender=0x3800e50, from_signal_index=<value optimised out>, to_signal_index=<value optimised out>, argv=0x1) at kernel/qobject.cpp:3113
#10 0x00007f169b4e29c1 in KPIM::LdapClient::slotDone (this=0x3800e50) at ../../libkdepim/ldapclient.cpp:119
#11 0x00007f169b4e6178 in KPIM::LdapClient::qt_metacall (this=0x3800e50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimised out>, _a=0x7fffc30dfdb0) at ./ldapclient.moc:92
#12 0x00007f1699af9d2c in QMetaObject::activate (sender=0x39c5db0, from_signal_index=<value optimised out>, to_signal_index=<value optimised out>, argv=0x1) at kernel/qobject.cpp:3113
#13 0x00007f1699ecfa92 in KJob::result (this=0x37f27f0, _t1=0x39c5db0) at ./kjob.moc:188
#14 0x00007f1699ecfe0f in KJob::emitResult (this=0x39c5db0) at ../../kdecore/jobs/kjob.cpp:304
#15 0x00007f1697f58a73 in KIO::SimpleJob::slotFinished (this=0x39c5db0) at ../../kio/kio/job.cpp:477
#16 0x00007f1697f58f33 in KIO::TransferJob::slotFinished (this=0x39c5db0) at ../../kio/kio/job.cpp:948
#17 0x00007f1697f57841 in KIO::TransferJob::qt_metacall (this=0x39c5db0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimised out>, _a=0x7fffc30e01d0) at ./jobclasses.moc:343
#18 0x00007f1699af9d2c in QMetaObject::activate (sender=0x394b370, from_signal_index=<value optimised out>, to_signal_index=<value optimised out>, argv=0x1) at kernel/qobject.cpp:3113
#19 0x00007f16980195e1 in KIO::SlaveInterface::dispatch (this=0x394b370, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#20 0x00007f1698015e93 in KIO::SlaveInterface::dispatch (this=0x394b370) at ../../kio/kio/slaveinterface.cpp:91
#21 0x00007f1698008cad in KIO::Slave::gotInput (this=0x394b370) at ../../kio/kio/slave.cpp:322
#22 0x00007f169800adcc in KIO::Slave::qt_metacall (this=0x394b370, _c=QMetaObject::InvokeMetaMethod, _id=<value optimised out>, _a=0x7fffc30e0590) at ./slave.moc:76
#23 0x00007f1699af9d2c in QMetaObject::activate (sender=0x394c360, from_signal_index=<value optimised out>, to_signal_index=<value optimised out>, argv=0x1) at kernel/qobject.cpp:3113
#24 0x00007f1697f25c37 in KIO::ConnectionPrivate::dequeue (this=0x394bc90) at ../../kio/kio/connection.cpp:82
#25 0x00007f1697f25d5d in KIO::Connection::qt_metacall (this=0x394c360, _c=QMetaObject::InvokeMetaMethod, _id=<value optimised out>, _a=0x2569fa0) at ./connection.moc:73
#26 0x00007f1699af4049 in QObject::event (this=0x394c360, e=0x394fc90) at kernel/qobject.cpp:1111
#27 0x00007f169a402efc in QApplicationPrivate::notify_helper (this=0x1d4cf20, receiver=0x394c360, e=0x394fc90) at kernel/qapplication.cpp:4056
#28 0x00007f169a40a1ce in QApplication::notify (this=0x7fffc30e0f50, receiver=0x394c360, e=0x394fc90) at kernel/qapplication.cpp:4021
#29 0x00007f169b039db6 in KApplication::notify (this=0x7fffc30e0f50, receiver=0x394c360, event=0x394fc90) at ../../kdeui/kernel/kapplication.cpp:302
#30 0x00007f1699ae4b7c in QCoreApplication::notifyInternal (this=0x7fffc30e0f50, receiver=0x394c360, event=0x394fc90) at kernel/qcoreapplication.cpp:610
#31 0x00007f1699ae575a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimised out>, data=0x1d10080) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimised out>, data=0x1d10080) at kernel/qcoreapplication.cpp:1247
#33 0x00007f1699b0d483 in QCoreApplication::sendPostedEvents (s=<value optimised out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#34 postEventSourceDispatch (s=<value optimised out>) at kernel/qeventdispatcher_glib.cpp:210
#35 0x00007f1693677c4e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x00007f169367b618 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0x00007f169367b740 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#38 0x00007f1699b0d0f6 in QEventDispatcherGlib::processEvents (this=0x1d0fcb0, flags=<value optimised out>) at kernel/qeventdispatcher_glib.cpp:327
#39 0x00007f169a4973de in QGuiEventDispatcherGlib::processEvents (this=0x37f27f0, flags=<value optimised out>) at kernel/qguieventdispatcher_glib.cpp:202
#40 0x00007f1699ae3482 in QEventLoop::processEvents (this=<value optimised out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#41 0x00007f1699ae3854 in QEventLoop::exec (this=0x7fffc30e0e90, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:201
#42 0x00007f1699ae5a09 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#43 0x0000000000403f47 in main (argc=<value optimised out>, argv=<value optimised out>) at ../../../kontact/src/main.cpp:218
Comment 1 Christophe Marin 2009-09-20 23:11:04 UTC

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