Bug 159884 - DCOP deadlock when verifing address on Kolab resource when sending
Summary: DCOP deadlock when verifing address on Kolab resource when sending
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: sending (show other bugs)
Version: 1.9.9
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-03-26 10:54 UTC by Michal Sojka
Modified: 2018-09-04 18:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Sojka 2008-03-26 10:54:54 UTC
Version:           1.9.9 (using 3.5.9, Debian Package 4:3.5.9.dfsg.1-2+b1 (lenny/sid))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.24-1-686

KMail freezes (infinitely) when sending a mail. Sometimes sending succeeds, but manytimes it doesn't. I'm experiencing this problem only with current version of KMail and only on one of my computers. According to backtrace, it might have some relation to address book.

#0  0xffffe410 in __kernel_vsyscall ()
#1  0x41bc688b in read () from /lib/i686/cmov/libc.so.6
#2  0xb7bc30fe in _kde_IceTransSocketRead (ciptr=0x807a658, buf=0x807a6e8 "\002\001", size=8) at /build/buildd/kdelibs-3.5.9.dfsg.1/./dcop/KDE-ICE/Xtranssock.c:1710
#3  0xb7bc2dcf in _kde_IceTransRead (ciptr=0x807a658, buf=0x807a6e8 "\002\001", size=8) at /build/buildd/kdelibs-3.5.9.dfsg.1/./dcop/KDE-ICE/Xtrans.c:845
#4  0xb7bbccbf in _kde_IceRead (iceConn=0x807a5e0, nbytes=8, ptr=0x807a6e8 "\002\001") at /build/buildd/kdelibs-3.5.9.dfsg.1/./dcop/KDE-ICE/misc.c:249
#5  0xb7bc13ff in KDE_IceProcessMessages (iceConn=0x807a5e0, replyWait=0xbfcb7bf8, replyReadyRet=0xbfcb7c48) at /build/buildd/kdelibs-3.5.9.dfsg.1/./dcop/KDE-ICE/process.c:153
#6  0xb7bad5e1 in DCOPClient::callInternal (this=0x8079348, remApp=@0xbfcb7e04, remObjId=@0xbfcb7dfc, remFun=@0xbfcb7df4, data=@0xbfcb7e24, replyStruct=0xbfcb7ca4, useEventLoop=false, timeout=-1, minor_opcode=2) at /build/buildd/kdelibs-3.5.9.dfsg.1/./dcop/dcopclient.cpp:1934
#7  0xb7bad8bc in DCOPClient::callInternal (this=0x8079348, remApp=@0xbfcb7e04, remObjId=@0xbfcb7dfc, remFun=@0xbfcb7df4, data=@0xbfcb7e24, replyType=@0xbfcb7e14, replyData=@0xbfcb7e1c, useEventLoop=<value optimized out>, timeout=-1, minor_opcode=2) at /build/buildd/kdelibs-3.5.9.dfsg.1/./dcop/dcopclient.cpp:1824
#8  0xb7bb02ce in DCOPClient::call (this=0x8079348, remApp=@0xbfcb7e04, remObjId=@0xbfcb7dfc, remFun=@0xbfcb7df4, data=@0xbfcb7e24, replyType=@0xbfcb7e14, replyData=@0xbfcb7e1c, useEventLoop=<value optimized out>, timeout=-1) at /build/buildd/kdelibs-3.5.9.dfsg.1/./dcop/dcopclient.cpp:1768
#9  0xb7bb0337 in DCOPClient::call (this=0x8079348, remApp=@0xbfcb7e04, remObjId=@0xbfcb7dfc, remFun=@0xbfcb7df4, data=@0xbfcb7e24, replyType=@0xbfcb7e14, replyData=@0xbfcb7e1c, useEventLoop=<value optimized out>) at /build/buildd/kdelibs-3.5.9.dfsg.1/./dcop/dcopclient.cpp:1733
#10 0x41260086 in KMailICalIface_stub::subresourcesKolab (this=<value optimized out>, arg0=<value optimized out>) at kmailicalIface_stub.cpp:285
#11 0x4125b56c in Kolab::KMailConnection::kmailSubresources (this=<value optimized out>, lst=<value optimized out>, contentsType=<value optimized out>) at /tmp/buildd/kdepim-3.5.9/./kresources/kolab/shared/kmailconnection.cpp:185
#12 0x41257d0e in Kolab::ResourceKolabBase::kmailSubresources (this= Could not find the frame base for "Kolab::ResourceKolabBase::kmailSubresources(QValueList<KMailICalIface::SubResource>&, QString const&) const".) at /tmp/buildd/kdepim-3.5.9/./kresources/kolab/shared/resourcekolabbase.cpp:68
#13 0x41245377 in KABC::ResourceKolab::doOpen (this=<value optimized out>) at /tmp/buildd/kdepim-3.5.9/./kresources/kolab/kabc/resourcekolab.cpp:114
#14 0xb6914df0 in KRES::Resource::open (this=0x8bda7c0) at /build/buildd/kdelibs-3.5.9.dfsg.1/./kresources/resource.cpp:93
#15 0xb7055aa7 in KABC::StdAddressBook::init (this=0x8b85098, asynchronous=true) at /build/buildd/kdelibs-3.5.9.dfsg.1/./kabc/stdaddressbook.cpp:102
#16 0xb7055e20 in StdAddressBook (this=0x8b85098, asynchronous=false) at /build/buildd/kdelibs-3.5.9.dfsg.1/./kabc/stdaddressbook.cpp:86
#17 0xb7055e93 in KABC::StdAddressBook::self (asynchronous=<value optimized out>) at /build/buildd/kdelibs-3.5.9.dfsg.1/./kabc/stdaddressbook.cpp:68
#18 0x41941545 in KAddrBookExternal::expandDistributionList (listName=<value optimized out>) at /tmp/buildd/kdepim-3.5.9/./libkdepim/kaddrbook.cpp:260
#19 0x44ca5917 in KMMessage::expandAliases (recipients=<value optimized out>) at /tmp/buildd/kdepim-3.5.9/./kmail/kmmessage.cpp:3876
#20 0x44d5f92c in KMComposeWin::validateAddresses (parent=<value optimized out>, addresses=<value optimized out>) at /tmp/buildd/kdepim-3.5.9/./kmail/kmcomposewin.cpp:3987
#21 0x44d5fedc in KMComposeWin::doSend (this=<value optimized out>, method=<value optimized out>, saveIn=<value optimized out>) at /tmp/buildd/kdepim-3.5.9/./kmail/kmcomposewin.cpp:4050
#22 0x44d6103b in KMComposeWin::slotSendNow (this=<value optimized out>) at /tmp/buildd/kdepim-3.5.9/./kmail/kmcomposewin.cpp:4325
#23 0x44d62129 in KMComposeWin::qt_invoke (this=<value optimized out>, _id=<value optimized out>, _o= Could not find the frame base for "KMComposeWin::qt_invoke(int, QUObject*)".) at ./kmcomposewin.moc:462
#24 0xb7738f6d in QObject::activate_signal (this=0x8ad96c8, clist=0x8adb848, o=0xbfcb83f4) at kernel/qobject.cpp:2359
#25 0xb7739aed in QObject::activate_signal (this=0x8ad96c8, signal=2) at kernel/qobject.cpp:2328
#26 0xb6e3f4f9 in KAction::activated (this=0x8ad96c8) at ./kaction.moc:176
#27 0xb6e7e6a2 in KAction::slotActivated (this=0x8ad96c8) at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdeui/kaction.cpp:1102
#28 0xb6f6d6d1 in KAction::qt_invoke (this=0x8ad96c8, _id=15, _o=0xbfcb84e4) at ./kaction.moc:218
#29 0xb7738f6d in QObject::activate_signal (this=0x8b17b90, clist=0x86b27d0, o=0xbfcb84e4) at kernel/qobject.cpp:2359
#30 0xb7739aed in QObject::activate_signal (this=0x8b17b90, signal=2) at kernel/qobject.cpp:2328
#31 0xb7ca3c99 in KAccelPrivate::menuItemActivated (this=0x8b17b90) at ./kaccelprivate.moc:110
#32 0xb7cf33a7 in KAccelPrivate::emitActivatedSignal (this=0x8b17b90, pAction=0x8b18450) at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kaccel.cpp:403
#33 0xb7d81738 in KAccelPrivate::eventFilter (this=0x8b17b90, pEvent=0xbfcb891c) at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kaccel.cpp:373
#34 0xb773878c in QObject::activate_filters (this=0x8aa7698, e=0xbfcb891c) at kernel/qobject.cpp:906
#35 0xb77387fb in QObject::event (this=0x8aa7698, e=0xbfcb891c) at kernel/qobject.cpp:738
#36 0xb777143c in QWidget::event (this=0x8aa7698, e=0xbfcb891c) at kernel/qwidget.cpp:4681
#37 0xb7827ca2 in QMainWindow::event (this=0x8aa7698, e=0xbfcb891c) at widgets/qmainwindow.cpp:1690
#38 0x44d3dfa2 in KMComposeWin::event (this=<value optimized out>, e=<value optimized out>) at /tmp/buildd/kdepim-3.5.9/./kmail/kmcomposewin.cpp:611
#39 0xb76db18a in QApplication::internalNotify (this=0xbfcb8d00, receiver=0x8aa7698, e=0xbfcb891c) at kernel/qapplication.cpp:2638
#40 0xb76dc212 in QApplication::notify (this=0xbfcb8d00, receiver=0x8674e68, e=0xbfcb891c) at kernel/qapplication.cpp:2395
#41 0xb7d8bec2 in KApplication::notify (this=0xbfcb8d00, receiver=0x8674e68, event=0xbfcb891c) at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kapplication.cpp:550
#42 0xb7cff470 in KAccelEventHandler::x11Event (this=0x820b030, pEvent=0xbfcb8c28) at /usr/share/qt3/include/qapplication.h:523
#43 0xb7d8a33a in KApplication::x11EventFilter (this=0xbfcb8d00, _event=0xbfcb8c28) at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kapplication.cpp:1659
#44 0xb76699c5 in qt_x11EventFilter (ev=0xbfcb8c28) at kernel/qapplication_x11.cpp:409
#45 0xb767911e in QApplication::x11ProcessEvent (this=0xbfcb8d00, event=0xbfcb8c28) at kernel/qapplication_x11.cpp:3389
#46 0xb7689fe6 in QEventLoop::processEvents (this=0x809dc58, flags=<value optimized out>) at kernel/qeventloop_x11.cpp:195
#47 0xb76f1b80 in QEventLoop::enterLoop (this=0x809dc58) at kernel/qeventloop.cpp:201
#48 0xb76f1a16 in QEventLoop::exec (this=0x809dc58) at kernel/qeventloop.cpp:148
#49 0xb76dacff in QApplication::exec (this=0xbfcb8d00) at kernel/qapplication.cpp:2761
#50 0x0804a2ed in main (argc=33554690, argv=0x55) at /tmp/buildd/kdepim-3.5.9/./kmail/main.cpp:110
#51 0x41b0d456 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#52 0x0804a081 in _start ()
Comment 1 Thomas McGuire 2008-03-31 01:22:10 UTC
Could be a setup problem, it deadlocks when trying to contact the addressbook via DCOP.
Comment 2 Michal Sojka 2008-03-31 15:46:15 UTC
> ------- Additional Comments From Thomas.McGuire gmx net  2008-03-31 01:22
> ------- Could be a setup problem, it deadlocks when trying to contact the
> addressbook via DCOP.


Yes, probably it is. If I started kaddressbook manually, it blocked as well. 
I've looked at my address book resources and disabled LDAP remote resource 
and now kaddressbook and kmail work.

Michal
Comment 3 Michael Leupold 2009-04-04 12:09:58 UTC
This sounds like a pretty specific problem. Did you retry with a recent version or are you still confined to kontact from KDE3?
Comment 4 Björn Ruberg 2010-01-16 23:07:08 UTC
Waiting for an answer
Comment 5 Andrew Crouthamel 2018-09-04 18:17:25 UTC
Hello! Sorry to be the bearer of bad news, but this version of Kmail has been unmaintained for many years so I am closing this bug. Please try using the latest version of Kmail to see if your issue persists. If it does, please submit a new bug in "kmail2". Thank you!