[Kolab-devel] [issue3273] kmail hangs connecting to itself
Marc Mutz
kolab-issues at intevation.de
Thu Nov 27 11:34:37 CET 2008
New submission from Marc Mutz <marc at kdab.net>:
It's nearly 100% reproducible when starting kmail from the build dir. This is
with the kolab resource provider set to kmail, not kontact.
To reproduce (composer):
1. start kmail
2. more of less immediately hit CTRL-N
3. start typing in the To field
-> hang
To reproduce (reader):
1. start kmail
2. more or less immediately go into a folder with mail
-> hang
Workaround I found:
1. start kmail on a folder that does not contain mail
2. change between a couple of folders without mail
3. do anything
-> no hang
Backtrace from addresseelineedit completion:
0x00002af1811271bf in __read_nocancel () from /lib/libpthread.so.0
(gdb) where
#0 0x00002af1811271bf in __read_nocancel () from /lib/libpthread.so.0
#1 0x00002af17ecb402f in _kde_IceTransSocketRead (
ciptr=<value optimized out>, buf=0x52b510 "\002\003", size=8)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/KDE-ICE/Xtranssock.c:1710
#2 0x00002af17ecae17b in _kde_IceRead (iceConn=0x52b3d0,
nbytes=<value optimized out>, ptr=0x52b510 "\002\003")
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/KDE-ICE/misc.c:249
#3 0x00002af17ecb24a0 in KDE_IceProcessMessages (iceConn=0x52b3d0,
replyWait=0x7fff30129d10, replyReadyRet=0x7fff30129dbc)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/KDE-ICE/process.c:153
#4 0x00002af17eca021d in DCOPClient::callInternal (this=0x529490,
remApp=<value optimized out>, remObjId=@0x7fff3012a010,
remFun=@0x7fff3012a000, data=<value optimized out>,
replyStruct=0x7fff30129e40, useEventLoop=false, timeout=-1, minor_opcode=2)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/dcopclient.cpp:1931
#5 0x00002af17eca0518 in DCOPClient::callInternal (this=0x529490,
remApp=@0x26df350, remObjId=@0x7fff3012a010, remFun=@0x7fff3012a000,
data=@0x7fff30129fe0, replyType=@0x7fff30129ff0,
replyData=@0x7fff30129fd0, useEventLoop=false, timeout=-1, minor_opcode=2)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/dcopclient.cpp:1821
#6 0x00002af17eca4a58 in DCOPClient::call (this=0x529490, remApp=@0x26df350,
remObjId=@0x7fff3012a010, remFun=@0x7fff3012a000, data=@0x7fff30129fe0,
replyType=@0x7fff30129ff0, replyData=@0x7fff30129fd0, useEventLoop=false,
---Type <return> to continue, or q <return> to quit---
timeout=-1) at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/dcopclient.cpp:1765
#7 0x00002af17eca4a83 in DCOPClient::call (this=0x5, remApp=@0x52b510,
remObjId=@0x8, remFun=@0xffffffffffffffff, data=@0x80,
replyType=@0x7fff30129e40, replyData=@0x7fff30129fd0, useEventLoop=false)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/dcopclient.cpp:1730
#8 0x00002af17eca62fb in DCOPClient::remoteObjects (this=0x529490,
remApp=@0x26df350, ok=0x0)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/dcopclient.cpp:1251
#9 0x00002aaaac333519 in Kolab::KMailConnection::connectToKMail ()
from /usr/lib/libkabckolab.so.0
#10 0x00002aaaac3340f6 in Kolab::KMailConnection::kmailSubresources ()
from /usr/lib/libkabckolab.so.0
#11 0x00002aaaac33203d in Kolab::ResourceKolabBase::kmailSubresources ()
from /usr/lib/libkabckolab.so.0
#12 0x00002aaaac322edd in KABC::ResourceKolab::doOpen ()
from /usr/lib/libkabckolab.so.0
#13 0x00002af17dc11406 in KRES::Resource::open (this=0x2638510)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kresources/resource.cpp:93
#14 0x00002af17d97ac1a in KABC::StdAddressBook::init (this=0x2621fd0,
asynchronous=true)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kabc/stdaddressbook.cpp:106
#15 0x00002af17d97af2d in StdAddressBook (this=0x2621fd0, asynchronous=true)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kabc/stdaddressbook.cpp:90
---Type <return> to continue, or q <return> to quit---
#16 0x00002af17d97afa1 in KABC::StdAddressBook::self (asynchronous=true)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kabc/stdaddressbook.cpp:72
#17 0x00002af17b6e8f9f in KPIM::AddresseeLineEdit::loadContacts (
this=0x250c4e0) at ../../kdepim/libkdepim/addresseelineedit.cpp:515
#18 0x00002af17afe2fa9 in KMLineEdit::loadContacts (this=0x5)
at ../../kdepim/kmail/kmlineeditspell.cpp:160
#19 0x00002af17b6e94c4 in KPIM::AddresseeLineEdit::doCompletion (
this=0x250c4e0, ctrlT=false)
at ../../kdepim/libkdepim/addresseelineedit.cpp:385
#20 0x00002af17b6eb02a in KPIM::AddresseeLineEdit::qt_invoke (this=0x250c4e0,
_id=89, _o=0x7fff3012ac00) at ./addresseelineedit.moc:126
#21 0x00002af17afe32ad in KMLineEdit::qt_invoke (this=0x250c4e0, _id=89,
_o=0x7fff3012ac00) at ./kmlineeditspell.moc:102
#22 0x00002af17b02f399 in RecipientLineEdit::qt_invoke (this=0x5, _id=5420304,
_o=0x8) at ./recipientseditor.moc:191
#23 0x00002af17f75bc26 in QObject::activate_signal (this=0x250c4e0,
clist=0x24d3730, o=0x7fff3012ac00) at kernel/qobject.cpp:2356
#24 0x00002af17f75c1bd in QObject::activate_signal (this=0x250c4e0, signal=8,
param=@0x7fff3012ac50) at kernel/qobject.cpp:2451
#25 0x00002af17e43fd68 in KLineEdit::completion (this=0x250c4e0,
t0=<value optimized out>) at ./klineedit.moc:207
#26 0x00002af17e4409c9 in KLineEdit::keyPressEvent (this=0x250c4e0,
e=0x7fff3012b8c0)
---Type <return> to continue, or q <return> to quit---
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdeui/klineedit.cpp:700
#27 0x00002af17b6ea89b in KPIM::AddresseeLineEdit::keyPressEvent (
this=0x250c4e0, e=0x7fff3012b8c0)
at ../../kdepim/libkdepim/addresseelineedit.cpp:210
#28 0x00002af17b03172f in RecipientLineEdit::keyPressEvent (this=0x250c4e0,
ev=0x7fff3012b8c0) at ../../kdepim/kmail/recipientseditor.cpp:144
#29 0x00002af17f790446 in QWidget::event (this=0x250c4e0, e=0x7fff3012b8c0)
at kernel/qwidget.cpp:4748
#30 0x00002af17f835f03 in QLineEdit::event (this=0x250c4e0, e=0x7fff3012b8c0)
at widgets/qlineedit.cpp:1424
#31 0x00002af17f6f7262 in QApplication::internalNotify (this=0x7fff3012bff0,
receiver=0x250c4e0, e=0x7fff3012b8c0) at kernel/qapplication.cpp:2635
#32 0x00002af17f6f91fb in QApplication::notify (this=0x7fff3012bff0,
receiver=0x250c4e0, e=0x7fff3012b8c0) at kernel/qapplication.cpp:2392
#33 0x00002af17eac38be in KApplication::notify (this=0x7fff3012bff0,
receiver=0x250c4e0, event=0x7fff3012b8c0)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kapplication.cpp:550
#34 0x00002af17f68a874 in QApplication::sendSpontaneousEvent (
receiver=0x250c4e0, event=0x7fff3012b8c0) at kernel/qapplication.h:523
#35 0x00002af17f67c16d in QETWidget::translateKeyEvent (this=0x250c4e0,
event=0x7fff3012bcc0, grab=false) at kernel/qapplication_x11.cpp:5636
#36 0x00002af17f687971 in QApplication::x11ProcessEvent (this=0x7fff3012bff0,
event=0x7fff3012bcc0) at kernel/qapplication_x11.cpp:3493
---Type <return> to continue, or q <return> to quit---
#37 0x00002af17f69d8ba in QEventLoop::processEvents (this=0x55f6e0, flags=4)
at kernel/qeventloop_x11.cpp:192
#38 0x00002af17f7107ee in QEventLoop::enterLoop (this=0x55f6e0)
at kernel/qeventloop.cpp:198
#39 0x00002af17f7105f7 in QEventLoop::exec (this=0x55f6e0)
at kernel/qeventloop.cpp:145
#40 0x00002af17f6f8d40 in QApplication::exec (this=0x7fff3012bff0)
at kernel/qapplication.cpp:2758
#41 0x0000000000403432 in main (argc=<value optimized out>,
argv=<value optimized out>) at ../../kdepim/kmail/main.cpp:110
Backtrace from the reader:
0x00002b3111b2c1bf in __read_nocancel () from /lib/libpthread.so.0
(gdb) where
#0 0x00002b3111b2c1bf in __read_nocancel () from /lib/libpthread.so.0
#1 0x00002b310f6b902f in _kde_IceTransSocketRead (
ciptr=<value optimized out>, buf=0x52b520 "\002\003", size=8)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/KDE-ICE/Xtranssock.c:1710
#2 0x00002b310f6b317b in _kde_IceRead (iceConn=0x52b3e0,
nbytes=<value optimized out>, ptr=0x52b520 "\002\003")
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/KDE-ICE/misc.c:249
#3 0x00002b310f6b74a0 in KDE_IceProcessMessages (iceConn=0x52b3e0,
replyWait=0x7fff9f71d0b0, replyReadyRet=0x7fff9f71d15c)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/KDE-ICE/process.c:153
#4 0x00002b310f6a521d in DCOPClient::callInternal (this=0x5295d0,
remApp=<value optimized out>, remObjId=@0x7fff9f71d3b0,
remFun=@0x7fff9f71d3a0, data=<value optimized out>,
replyStruct=0x7fff9f71d1e0, useEventLoop=false, timeout=-1, minor_opcode=2)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/dcopclient.cpp:1931
#5 0x00002b310f6a5518 in DCOPClient::callInternal (this=0x5295d0,
remApp=@0x2845f50, remObjId=@0x7fff9f71d3b0, remFun=@0x7fff9f71d3a0,
data=@0x7fff9f71d380, replyType=@0x7fff9f71d390,
replyData=@0x7fff9f71d370, useEventLoop=false, timeout=-1, minor_opcode=2)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/dcopclient.cpp:1821
#6 0x00002b310f6a9a58 in DCOPClient::call (this=0x5295d0, remApp=@0x2845f50,
remObjId=@0x7fff9f71d3b0, remFun=@0x7fff9f71d3a0, data=@0x7fff9f71d380,
replyType=@0x7fff9f71d390, replyData=@0x7fff9f71d370, useEventLoop=false,
---Type <return> to continue, or q <return> to quit---
timeout=-1) at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/dcopclient.cpp:1765
#7 0x00002b310f6a9a83 in DCOPClient::call (this=0x5, remApp=@0x52b520,
remObjId=@0x8, remFun=@0xffffffffffffffff, data=@0x80,
replyType=@0x20000000, replyData=@0x7fff9f71d370, useEventLoop=false)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/dcopclient.cpp:1730
#8 0x00002b310f6ab2fb in DCOPClient::remoteObjects (this=0x5295d0,
remApp=@0x2845f50, ok=0x0)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./dcop/dcopclient.cpp:1251
#9 0x00002aaaac0e8519 in Kolab::KMailConnection::connectToKMail ()
from /usr/lib/libkabckolab.so.0
#10 0x00002aaaac0e90f6 in Kolab::KMailConnection::kmailSubresources ()
from /usr/lib/libkabckolab.so.0
#11 0x00002aaaac0e703d in Kolab::ResourceKolabBase::kmailSubresources ()
from /usr/lib/libkabckolab.so.0
#12 0x00002aaaac0d7edd in KABC::ResourceKolab::doOpen ()
from /usr/lib/libkabckolab.so.0
#13 0x00002b310e616406 in KRES::Resource::open (this=0x280f760)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kresources/resource.cpp:93
#14 0x00002b310e37fc1a in KABC::StdAddressBook::init (this=0x28286e0,
asynchronous=true)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kabc/stdaddressbook.cpp:106
#15 0x00002b310e37ff2d in StdAddressBook (this=0x28286e0, asynchronous=true)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kabc/stdaddressbook.cpp:90
---Type <return> to continue, or q <return> to quit---
#16 0x00002b310e37ffa1 in KABC::StdAddressBook::self (asynchronous=true)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kabc/stdaddressbook.cpp:72
#17 0x00002b310b9712e8 in KMail::FancyHeaderStyle::format (
this=<value optimized out>, message=0x27fe8e0, strategy=0x5264a0,
vCardName=@0x7fff9f7283c0, printing=<value optimized out>, topLevel=true)
at ../../kdepim/kmail/headerstyle.cpp:477
#18 0x00002b310b893249 in KMReaderWin::writeMsgHeader (this=0x2029c60,
aMsg=0x27fe8e0, hasVCard=<value optimized out>, topLevel=true)
at ../../kdepim/kmail/kmreaderwin.cpp:1703
#19 0x00002b310b89b4e7 in KMReaderWin::parseMsg (this=0x2029c60,
aMsg=0x27fe8e0) at ../../kdepim/kmail/kmreaderwin.cpp:1584
#20 0x00002b310b8958e9 in KMReaderWin::displayMessage (this=0x2029c60)
at ../../kdepim/kmail/kmreaderwin.cpp:1514
#21 0x00002b310b895a28 in KMReaderWin::updateReaderWin (this=0x2029c60)
at ../../kdepim/kmail/kmreaderwin.cpp:1449
#22 0x00002b310b897eb1 in KMReaderWin::qt_invoke (this=0x2029c60, _id=48,
_o=0x7fff9f728d20) at ./kmreaderwin.moc:301
#23 0x00002b3110160c26 in QObject::activate_signal (this=0x2029d98,
clist=0x2092910, o=0x7fff9f728d20) at kernel/qobject.cpp:2356
#24 0x00002b31101617b6 in QObject::activate_signal (this=0x2029d98, signal=2)
at kernel/qobject.cpp:2325
#25 0x00002b31104cf9e2 in QTimer::timeout (this=0x2029d98)
at .moc/debug-shared-mt/moc_qtimer.cpp:82
---Type <return> to continue, or q <return> to quit---
#26 0x00002b3110186fef in QTimer::event (this=0x2029d98, e=0x7fff9f7291f0)
at kernel/qtimer.cpp:219
#27 0x00002b31100fc262 in QApplication::internalNotify (this=0x7fff9f7295b0,
receiver=0x2029d98, e=0x7fff9f7291f0) at kernel/qapplication.cpp:2635
#28 0x00002b31100fe00c in QApplication::notify (this=0x7fff9f7295b0,
receiver=0x2029d98, e=0x7fff9f7291f0) at kernel/qapplication.cpp:2358
#29 0x00002b310f4c88be in KApplication::notify (this=0x7fff9f7295b0,
receiver=0x2029d98, event=0x7fff9f7291f0)
at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kapplication.cpp:550
#30 0x00002b311008f802 in QApplication::sendEvent (receiver=0x2029d98,
event=0x7fff9f7291f0) at ../include/qapplication.h:520
#31 0x00002b31100ef57c in QEventLoop::activateTimers (this=0x55f700)
at kernel/qeventloop_unix.cpp:556
#32 0x00002b31100a3584 in QEventLoop::processEvents (this=0x55f700, flags=4)
at kernel/qeventloop_x11.cpp:389
#33 0x00002b31101157ee in QEventLoop::enterLoop (this=0x55f700)
at kernel/qeventloop.cpp:198
#34 0x00002b31101155f7 in QEventLoop::exec (this=0x55f700)
at kernel/qeventloop.cpp:145
#35 0x00002b31100fdd40 in QApplication::exec (this=0x7fff9f7295b0)
at kernel/qapplication.cpp:2758
#36 0x0000000000403432 in main (argc=<value optimized out>,
argv=<value optimized out>) at ../../kdepim/kmail/main.cpp:110
----------
assignedto: vkrause
messages: 17806
nosy: bernhard, marc, till, vkrause
priority: bug
status: unread
title: kmail hangs connecting to itself
topic: enterprise35, kde client
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue3273>
___________________________________________________
More information about the devel
mailing list