[Kde-pim] More sending delay
Maciej Mrozowski
reavertm at gmail.com
Mon Apr 12 23:47:53 BST 2010
On Monday 12 of April 2010 19:19:14 Thomas McGuire wrote:
> Hi,
>
> On Friday 09 April 2010 18:02:39 Anne Wilson wrote:
> > Sending an encrypted message is a slow job. There is a long delay before
> > the pinentry dialog shows - I just timed one at 49 seconds. I suspect
> > that the fix that stopped nepomuk searching everywhere when sending plain
> > messages isn't applied to messages that need the recipient identifying
> > for encryption. You opinion?
>
> Could be the ItemSearchJobs which are exectured during keyresolving, like
> the other Nepomuk-related hangs, see bug 219687.
> Looks ok from the code though, so I have no idea.
Now, this may not be related to issue you're discussing, but some time ago I
told Thomas about some temporary delays/lockdown in socket select function
when attempting to read some emails using IMAP (gmail). Reproducible in this
sense that killing kmail and trying to read the same email again happened to
cause the same lockdown again (until it unlocked after some time).
Anyway, it happens only for some signed messages and only sporadically,
backtrace shows that gpgme (or its C++ bridge) is guilty:
(gdb) bt
#0 0x00007fa7960bf7b2 in select () from /lib/libc.so.6
#1 0x00007fa78aed02a0 in ?? () from /usr/lib64/libgpgme-pthread.so.11
#2 0x00007fa78aecd064 in ?? () from /usr/lib64/libgpgme-pthread.so.11
#3 0x00007fa78aebd7a2 in ?? () from /usr/lib64/libgpgme-pthread.so.11
#4 0x00007fa790a9c04a in GpgME::Context::verifyDetachedSignature
(this=0x4623700,
signature=<value optimized out>, signedText=<value optimized out>)
at /var/tmp/portage/kde-
base/kdepimlibs-4.4.9999/work/kdepimlibs-4.4.9999/gpgme++/context.cpp:762
#5 0x00007fa790d82648 in ?? () from /usr/lib64/libkleo.so.4
#6 0x00007fa790d8294b in ?? () from /usr/lib64/libkleo.so.4
#7 0x00007fa797ffb9eb in KMail::VerifyDetachedBodyPartMemento::exec
(this=0x336e0f0)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999/kmail/objecttreeparser_p.cpp:165
#8 0x00007fa798014a9a in
KMail::ObjectTreeParser::writeOpaqueOrMultipartSignedData
(this=0x7fff5f11eb50, data=
0x31f0430, sign=..., fromAddress=..., doCheck=true, cleartextData=0x0,
paramSignatures=..., hideErrors=false)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999/kmail/objecttreeparser.cpp:528
#9 0x00007fa79801644e in
KMail::ObjectTreeParser::processMultiPartSignedSubtype (this=0x7fff5f11eb50,
node=
0x5ea59b0) at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999/kmail/objecttreeparser.cpp:1402
#10 0x00007fa79800fc28 in KMail::ObjectTreeParser::parseObjectTree
(this=0x7fff5f11eb50, node=0x5ea59b0)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999/kmail/objecttreeparser.cpp:318
#11 0x00007fa797ea5368 in KMReaderWin::parseMsg (this=0x1eebe50,
aMsg=0x3876e70)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999/kmail/kmreaderwin.cpp:1612
#12 0x00007fa797e97375 in KMReaderWin::displayMessage (this=0x1eebe50)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999/kmail/kmreaderwin.cpp:1536
#13 0x00007fa797e9751b in KMReaderWin::updateReaderWin (this=0x1eebe50)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999/kmail/kmreaderwin.cpp:1479
#14 0x00007fa797e97cf6 in KMReaderWin::setMsg (this=0x1eebe50, aMsg=0x3876e70,
force=true)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999/kmail/kmreaderwin.cpp:1283
#15 0x00007fa797e92681 in KMReaderWin::slotMessageArrived (this=0x1eebe50,
msg=0x3876e70)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999/kmail/kmreaderwin.cpp:891
#16 0x00007fa797ea7b27 in KMReaderWin::qt_metacall (this=0x1eebe50,
_c=QMetaObject::InvokeMetaMethod,
_id=<value optimized out>, _a=0x7fff5f11f380)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999_build/kmail/kmreaderwin.moc:208
#17 0x00007fa7976185a0 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) ()
from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007fa798072ec3 in KMail::FolderJob::messageRetrieved (this=0x12,
_t1=0x3876e70)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999_build/kmail/folderjob.moc:105
#19 0x00007fa79807e3b1 in KMail::ImapJob::slotGetMessageResult
(this=0x5bdd7e0, job=0x1037)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999/kmail/imapjob.cpp:460
#20 0x00007fa79807f938 in KMail::ImapJob::qt_metacall (this=0x5bdd7e0,
_c=QMetaObject::InvokeMetaMethod,
_id=<value optimized out>, _a=0x7fff5f11f560)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999_build/kmail/imapjob.moc:88
#21 0x00007fa7976185a0 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) ()
from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007fa79893f032 in KJob::result (this=0x12, _t1=0x37630b0)
at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999_build/kdecore/kjob.moc:194
#23 0x00007fa79893f25a in KJob::emitResult (this=0x37630b0)
at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999/kdecore/jobs/kjob.cpp:312
#24 0x00007fa79355a8ea in KIO::SimpleJob::slotFinished (this=0x37630b0)
at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999/kio/kio/job.cpp:517
#25 0x00007fa79355ad7c in KIO::TransferJob::slotFinished (this=0x37630b0)
at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999/kio/kio/job.cpp:1097
#26 0x00007fa793558628 in KIO::TransferJob::qt_metacall (this=0x37630b0,
_c=QMetaObject::InvokeMetaMethod,
_id=<value optimized out>, _a=0x7fff5f11f950)
at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999_build/kio/jobclasses.moc:367
---Type <return> to continue, or q <return> to quit---
#27 0x00007fa7976185a0 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) ()
from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007fa79360a1c2 in KIO::SlaveInterface::dispatch (this=0x2077190,
_cmd=104, rawdata=...)
at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999/kio/kio/slaveinterface.cpp:175
#29 0x00007fa79360798d in KIO::SlaveInterface::dispatch (this=0x2077190)
at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999/kio/kio/slaveinterface.cpp:91
#30 0x00007fa7935fcc18 in KIO::Slave::gotInput (this=0x2077190)
at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999/kio/kio/slave.cpp:324
#31 0x00007fa7935fcdbd in KIO::Slave::qt_metacall (this=0x2077190,
_c=QMetaObject::InvokeMetaMethod, _id=-514, _a=
0x7fff5f11fd70) at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999_build/kio/slave.moc:82
#32 0x00007fa7976185a0 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) ()
from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007fa79352bc4f in KIO::ConnectionPrivate::dequeue (this=0x276e890)
at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999/kio/kio/connection.cpp:82
#34 0x00007fa79352c04f in KIO::Connection::qt_metacall (this=0x2392b80,
_c=QMetaObject::InvokeMetaMethod, _id=
-514, _a=0x2c20370)
at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999_build/kio/connection.moc:79
#35 0x00007fa79761563e in QObject::event(QEvent*) () from
/usr/lib64/qt4/libQtCore.so.4
#36 0x00007fa796a30b16 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) ()
from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007fa796a375d4 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/qt4/libQtGui.so.4
#38 0x00007fa798eed994 in KApplication::notify (this=0x7fff5f120a50,
receiver=0x2392b80, event=0x4705bb0)
at /var/tmp/portage/kde-
base/kdelibs-4.4.9999/work/kdelibs-4.4.9999/kdeui/kernel/kapplication.cpp:302
#39 0x00007fa797606ea4 in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/qt4/libQtCore.so.4
#40 0x00007fa797607c53 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007fa79762cc23 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007fa78dfd2163 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#43 0x00007fa78dfd525c in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x00007fa78dfd53de in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#45 0x00007fa79762c824 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/qt4/libQtCore.so.4
#46 0x00007fa796ad1eb6 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#47 0x00007fa797605b64 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/qt4/libQtCore.so.4
#48 0x00007fa797605eaf in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/qt4/libQtCore.so.4
#49 0x00007fa797607e8e in QCoreApplication::exec() () from
/usr/lib64/qt4/libQtCore.so.4
#50 0x00000000004033e7 in main (argc=<value optimized out>, argv=<value
optimized out>)
at /var/tmp/portage/kde-
base/kmail-4.4.9999/work/kmail-4.4.9999/kmail/main.cpp:156
This is 4.4 branch, gpgme-1.2.0, do you think it's related to sending delays?
--
regards
MM
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list