Bug 209884

Summary: Crash when editing 'from' field, possibly related to LDAP.
Product: [Unmaintained] kmail Reporter: Raúl <rasasi78>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.12.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Raúl 2009-10-08 17:09:56 UTC
Version:           1.12.1 (using 4.3.1 (KDE 4.3.1), Debian packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.30-2-amd64

  Hello:

  I was writing a new message. Right click on kmail system tray icon->new message. I wrote the body. Then I went the from field and when I start adding the addresee I got a crash with this backtrace:

Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa02fc80750 (LWP 14046))]

Thread 5 (Thread 0x7fa00cf9c950 (LWP 14056)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa02e5ae469 in QWaitConditionPrivate::wait (this=0xff08e8, mutex=0x1104170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0xff08e8, mutex=0x1104170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa01752ce04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xff08c0, th=0x27782d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa01752f54b in ThreadWeaver::WorkingHardState::applyForWork (this=0xfefed0, th=0x27782d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fa01752db1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa00cf9c090, parent=0xff08c0, th=0x27782d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fa01752df59 in ThreadWeaver::Thread::run (this=0x27782d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fa02e5ad475 in QThreadPrivate::start (arg=0x27782d0) at thread/qthread_unix.cpp:188
#8  0x00007fa027574f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fa02d39f56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa00f9e1950 (LWP 14896)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa02e5ae469 in QWaitConditionPrivate::wait (this=0xff08e8, mutex=0x1104170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0xff08e8, mutex=0x1104170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa01752ce04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xff08c0, th=0x3054bc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa01752f54b in ThreadWeaver::WorkingHardState::applyForWork (this=0xfefed0, th=0x3054bc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fa01752f564 in ThreadWeaver::WorkingHardState::applyForWork (this=0xfefed0, th=0x3054bc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fa01752f564 in ThreadWeaver::WorkingHardState::applyForWork (this=0xfefed0, th=0x3054bc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fa01752db1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa00f9e1090, parent=0xff08c0, th=0x3054bc0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fa01752df59 in ThreadWeaver::Thread::run (this=0x3054bc0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fa02e5ad475 in QThreadPrivate::start (arg=0x3054bc0) at thread/qthread_unix.cpp:188
#10 0x00007fa027574f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fa02d39f56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa0018a0950 (LWP 16193)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa02e5ae469 in QWaitConditionPrivate::wait (this=0xff08e8, mutex=0x1104170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0xff08e8, mutex=0x1104170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa01752ce04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xff08c0, th=0x4c09c00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa01752f54b in ThreadWeaver::WorkingHardState::applyForWork (this=0xfefed0, th=0x4c09c00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fa01752f564 in ThreadWeaver::WorkingHardState::applyForWork (this=0xfefed0, th=0x4c09c00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fa01752f564 in ThreadWeaver::WorkingHardState::applyForWork (this=0xfefed0, th=0x4c09c00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fa01752db1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa0018a0090, parent=0xff08c0, th=0x4c09c00) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fa01752df59 in ThreadWeaver::Thread::run (this=0x4c09c00) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fa02e5ad475 in QThreadPrivate::start (arg=0x4c09c00) at thread/qthread_unix.cpp:188
#10 0x00007fa027574f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fa02d39f56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa0022bf950 (LWP 20502)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa02e5ae469 in QWaitConditionPrivate::wait (this=0xff08e8, mutex=0x1104170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0xff08e8, mutex=0x1104170, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa01752ce04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xff08c0, th=0x6f63b00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa01752f54b in ThreadWeaver::WorkingHardState::applyForWork (this=0xfefed0, th=0x6f63b00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fa01752f564 in ThreadWeaver::WorkingHardState::applyForWork (this=0xfefed0, th=0x6f63b00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fa01752db1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa0022bf090, parent=0xff08c0, th=0x6f63b00) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fa01752df59 in ThreadWeaver::Thread::run (this=0x6f63b00) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fa02e5ad475 in QThreadPrivate::start (arg=0x6f63b00) at thread/qthread_unix.cpp:188
#9  0x00007fa027574f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fa02d39f56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa02fc80750 (LWP 14046)):
[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  0x00007fa02f4d151c in KPIM::AddresseeLineEdit::qt_metacall (this=0x7056db0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff40543cc0) at ./addresseelineedit.moc:95
#8  0x00007fa017b4d3ed in KMLineEdit::qt_metacall (this=0x2d47580, _c=QMetaObject::InvokeMetaMethod, _id=47478144, _a=0x1) at ./kmlineeditspell.moc:68
#9  0x00007fa017bbcb7d in RecipientLineEdit::qt_metacall (this=0x2d47580, _c=QMetaObject::InvokeMetaMethod, _id=47478144, _a=0x1) at ./recipientseditor.moc:123
#10 0x00007fa02e6a8682 in QMetaObject::activate (sender=0x397f460, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x1) at kernel/qobject.cpp:3112
#11 0x00007fa02f4d4275 in KPIM::LdapSearch::searchData (this=0x2d47580, _t1=<value optimized out>) at ./ldapclient.moc:205
#12 0x00007fa02f4d73e1 in KPIM::LdapSearch::slotDataTimer (this=0x397f460) at ../../libkdepim/ldapclient.cpp:465
#13 0x00007fa02f4d7465 in KPIM::LdapSearch::finish (this=0x397f460) at ../../libkdepim/ldapclient.cpp:472
#14 0x00007fa02f4d9d9c in KPIM::LdapSearch::qt_metacall (this=0x397f460, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff40543e30) at ./ldapclient.moc:183
#15 0x00007fa02e6a8682 in QMetaObject::activate (sender=0x3f63ad0, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x1) at kernel/qobject.cpp:3112
#16 0x00007fa02f4d4305 in KPIM::LdapClient::error (this=0x2d47580, _t1=<value optimized out>) at ./ldapclient.moc:110
#17 0x00007fa02f4d4953 in KPIM::LdapClient::slotDone (this=0x3f63ad0) at ../../libkdepim/ldapclient.cpp:117
#18 0x00007fa02f4da4d8 in KPIM::LdapClient::qt_metacall (this=0x3f63ad0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff40543fa0) at ./ldapclient.moc:92
#19 0x00007fa02e6a8682 in QMetaObject::activate (sender=0x585afc0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0x1) at kernel/qobject.cpp:3112
#20 0x00007fa02ea7fdf2 in KJob::result (this=0x2d47580, _t1=0x585afc0) at ./kjob.moc:188
#21 0x00007fa02ea8016f in KJob::emitResult (this=0x585afc0) at ../../kdecore/jobs/kjob.cpp:304
#22 0x00007fa02bf09af0 in KIO::SimpleJob::slotFinished (this=0x585afc0) at ../../kio/kio/job.cpp:477
#23 0x00007fa02bf09fb3 in KIO::TransferJob::slotFinished (this=0x585afc0) at ../../kio/kio/job.cpp:948
#24 0x00007fa02bf04907 in KIO::SimpleJob::slotError (this=0x585afc0, err=<value optimized out>, errorText=...) at ../../kio/kio/job.cpp:489
#25 0x00007fa02bf04ada in KIO::SimpleJob::qt_metacall (this=0x585afc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff40544470) at ./jobclasses.moc:158
#26 0x00007fa02bf04b95 in KIO::TransferJob::qt_metacall (this=0x2d47580, _c=QMetaObject::InvokeMetaMethod, _id=47478144, _a=0x1) at ./jobclasses.moc:331
#27 0x00007fa02e6a8682 in QMetaObject::activate (sender=0x693baf0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x1) at kernel/qobject.cpp:3112
#28 0x00007fa02bfc34e6 in KIO::SlaveInterface::error (this=0x2d47580, _t1=163, _t2=<value optimized out>) at ./slaveinterface.moc:153
#29 0x00007fa02bfc6e49 in KIO::SlaveInterface::dispatch (this=0x693baf0, _cmd=102, rawdata=<value optimized out>) at ../../kio/kio/slaveinterface.cpp:208
#30 0x00007fa02bfc37e2 in KIO::SlaveInterface::dispatch (this=0x693baf0) at ../../kio/kio/slaveinterface.cpp:91
#31 0x00007fa02bfb624e in KIO::Slave::gotInput (this=0x693baf0) at ../../kio/kio/slave.cpp:322
#32 0x00007fa02bfb8578 in KIO::Slave::qt_metacall (this=0x693baf0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff40544870) at ./slave.moc:76
#33 0x00007fa02e6a8682 in QMetaObject::activate (sender=0x5277550, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x1) at kernel/qobject.cpp:3112
#34 0x00007fa02bed29c1 in KIO::ConnectionPrivate::dequeue (this=0x67c6d70) at ../../kio/kio/connection.cpp:82
#35 0x00007fa02bed2e1a in KIO::Connection::qt_metacall (this=0x5277550, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x3989af0) at ./connection.moc:73
#36 0x00007fa02e6a2f68 in QObject::event (this=0x5277550, e=0x5227870) at kernel/qobject.cpp:1110
#37 0x00007fa02db0b80d in QApplicationPrivate::notify_helper (this=0xac9ef0, receiver=0x5277550, e=0x5227870) at kernel/qapplication.cpp:4056
#38 0x00007fa02db1386a in QApplication::notify (this=0x7fff405453d0, receiver=0x5277550, e=0x5227870) at kernel/qapplication.cpp:4021
#39 0x00007fa02f03043b in KApplication::notify (this=0x7fff405453d0, receiver=0x5277550, event=0x5227870) at ../../kdeui/kernel/kapplication.cpp:302
#40 0x00007fa02e69351c in QCoreApplication::notifyInternal (this=0x7fff405453d0, receiver=0x5277550, event=0x5227870) at kernel/qcoreapplication.cpp:610
#41 0x00007fa02e694164 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0xa85340) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa85340) at kernel/qcoreapplication.cpp:1247
#43 0x00007fa02e6bbf73 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#44 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#45 0x00007fa0277c412a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#46 0x00007fa0277c7988 in ?? () from /lib/libglib-2.0.so.0
#47 0x00007fa0277c7b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#48 0x00007fa02e6bbbff in QEventDispatcherGlib::processEvents (this=0xa84f70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#49 0x00007fa02dba264f in QGuiEventDispatcherGlib::processEvents (this=0x2d47580, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#50 0x00007fa02e691de2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007fa02e6921b4 in QEventLoop::exec (this=0x7fff40545230, flags=...) at kernel/qeventloop.cpp:201
#52 0x00007fa02e694424 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#53 0x0000000000404751 in main (argc=1, argv=0x7fff405459a8) at ../../../kontact/src/main.cpp:218

I also got this on .xsession-errors:

kdeinit4: preparing to launch /usr/lib/kde4/kio_ldap.so
*** KMail got signal 11 (Crashing)
KCrash: Application 'kontact' crashing...
Comment 1 Christophe Marin 2009-10-08 17:39:03 UTC

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