[kopete-bugs] [Bug 177302] Chat session destroyed before finalizing crypto job
Jaroslav Reznik
jreznik at redhat.com
Tue Jan 6 12:52:25 CET 2009
http://bugs.kde.org/show_bug.cgi?id=177302
--- Comment #3 from Jaroslav Reznik <jreznik redhat com> 2009-01-06 12:52:19 ---
Hi Alan,
message manager is deleted too early, so in finalizeMessage does not exists and
Crypto plugin crashes. Preventing deletion of message manager with
setCanBeDeleted helps - see my patch. What's your Kopete version?.
Backtrace:
[KCrash handler]
#5 Kopete::ChatSession::myself (this=0x0)
at
/home/jreznik/Download/kdenetwork-4.1.3/kopete/libkopete/kopetechatsession.cpp:188
#6 0x0000003371699963 in Kopete::ChatSession::appendMessage (
this=<value optimized out>, msg=<value optimized out>)
at
/home/jreznik/Download/kdenetwork-4.1.3/kopete/libkopete/kopetechatsession.cpp:279
#7 0x00007f79e1b74dfe in CryptographyPlugin::finalizeMessage (
this=<value optimized out>, msg=@0x7ffff32fd010,
intendedBody=<value optimized out>, verificationResult=@0x7ffff32fcfe0,
encrypted=true)
at
/home/jreznik/Download/kopete-cryptography-1.3.0-kde4.1.3/cryptographyplugin.cpp:266
#8 0x00007f79e1b75993 in
CryptographyPlugin::slotIncomingEncryptedMessageContinued (this=0x13a1800,
decryptionResult=@0x7ffff32fd190,
plainText=@0x7ffff32fd1b0)
at
/home/jreznik/Download/kopete-cryptography-1.3.0-kde4.1.3/cryptographyplugin.cpp:199
#9 0x00007f79e1b760e8 in CryptographyPlugin::qt_metacall (this=0x13a1800,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7ffff32fd150)
at
/home/jreznik/Download/kopete-cryptography-1.3.0-kde4.1.3/build/cryptographyplugin.moc:94
#10 0x00000038c1d56764 in QMetaObject::activate ()
from /usr/lib64/libQtCore.so.4
#11 0x00007f79e187dea1 in Kleo::DecryptJob::result ()
from /usr/lib64/libkleo.so.4
#12 0x00007f79e18ccea5 in ?? () from /usr/lib64/libkleo.so.4
#13 0x00000038c1d56764 in QMetaObject::activate ()
from /usr/lib64/libQtCore.so.4
#14 0x00000038c1c4b657 in QFutureWatcherBasePrivate::sendCallOutEvent ()
from /usr/lib64/libQtCore.so.4
#15 0x00000038c1c4ba5d in QFutureWatcherBase::event ()
from /usr/lib64/libQtCore.so.4
#16 0x000000336bb8281d in QApplicationPrivate::notify_helper ()
from /usr/lib64/libQtGui.so.4
#17 0x000000336bb8a5ca in QApplication::notify () from /usr/lib64/libQtGui.so.4
#18 0x000000336d1fb46b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#19 0x00000038c1d42391 in QCoreApplication::notifyInternal ()
from /usr/lib64/libQtCore.so.4
#20 0x00000038c1d4302a in QCoreApplicationPrivate::sendPostedEvents ()
from /usr/lib64/libQtCore.so.4
#21 0x00000038c1d6ab13 in ?? () from /usr/lib64/libQtCore.so.4
#22 0x00000038b903779b in g_main_context_dispatch ()
from /lib64/libglib-2.0.so.0
#23 0x00000038b903af6d in ?? () from /lib64/libglib-2.0.so.0
#24 0x00000038b903b12b in g_main_context_iteration ()
from /lib64/libglib-2.0.so.0
#25 0x00000038c1d6a79f in QEventDispatcherGlib::processEvents ()
from /usr/lib64/libQtCore.so.4
#26 0x000000336bc1319f in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00000038c1d40cb2 in QEventLoop::processEvents ()
from /usr/lib64/libQtCore.so.4
#28 0x00000038c1d40e3d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#29 0x00000038c1d432ed in QCoreApplication::exec ()
from /usr/lib64/libQtCore.so.4
#30 0x00000000004429c1 in main (argc=1, argv=0x7ffff32fe8a8)
at /home/jreznik/Download/kdenetwork-4.1.3/kopete/kopete/main.cpp:102
Debug output:
kopete(12169)/kopete (cryptography) CryptographyPlugin::slotIncomingMessage:
processing "-----BEGIN PGP MESSAGE-----
hQIOA2FabLXcNZkcEAgAyU5oRA45Gjta0GXJOa5bhc2v+hD1akreqmES8iYj+JYa
GvToG+/oDFzXFh5BAobo/mc9pWRR157H52sWJehHMUhMVTsggUgRATbkqCMCt1+2
q9OIR4f5hUHgTHuiZMWXDmrc4/X6BgpC9zmhMRNvdWIXQowlFFSDt7tyAx0u1rBC
MEa6PGPw0E1As80own/iyvHmwu4KR+65OJu3kcnBEqU7JA6hNBvebkEHP2YtTrlH
wyIqdbQK/1y87IK2ArNqCMH9jQ/AyAnhHKTXMtH0kSBx8/ttuhmNxXxL7cawW0gH
kyROpzgSTkSZzw2sjzTdvnZAm4zqkpgrp6Kco6o+0wgAl6GXLY+fDpF4T9vK2obP
EQmLvj0hlXI+oQ22L5v564hTX5zX4NuEnC5eGJmifeWRKo6qT+ioC5gUtaNChvuS
CqoFpIkQtRQ/yxMse3Xi/lxCPkVO1whRJ5uFWz6GbUrpbUtivdzVC5aRR7TVPQBC
9mFFhN3bIGdZXxIPP7R1kATVlGBb6EVBYIMNUUBrvAr9HEo0J+x+dwcY+hHpTUrI
NnBfwWRS+SdeodP89XCPhVDjbD7JAYkDBudHIIpnD3B2cMQuGXGFB0hODL8uksvn
OiDi0Lw/Tfu2Uez+VKjc/t6Iyq87Fgr3s/rHDiX0fuIMfC+gRmwlj1OLvppZ6MCt
AdJDAb1NFba4Ep3Z1cDt/bKjVU37eMaa4NlE2+7qQBtIu6IFFylWN107snutC5oO
s5mmCdm4sYCqWUbbWUIxQobxLFQflA==
=UTW9
-----END PGP MESSAGE-----
"
kopete(12169)/kopete (cryptography) CryptographyMessageHandler::handleMessage:
MessageEvent destroyed!
kopete(12169)/kopete (jabber - raw protocol)
JabberAccount::slotClientDebugMessage: "XML OUT: <message
from="ales.beta at jabber.cz/Kopete" type="chat" to="rezza at jabber.cz/Kopete"
id="aabca" >
<gone xmlns="http://jabber.org/protocol/chatstates"/>
</message>
"
kopete(12169)/libkopete Kopete::ChatSessionManager::removeSession:
kopete(12169)/kopete (jabber) JabberContact::slotChatSessionDeleted: Message
manager deleted, collecting the pieces...
kopete(12169)/libkopete Kopete::MessageHandlerChain::~MessageHandlerChain:
QGpgMEProgressTokenMapper::map( "-&23" 63 )
QGpgMEProgressTokenMapper::map( "-&23" 63 )
QGpgMEProgressTokenMapper::map( "-&24" 63 )
QGpgMEProgressTokenMapper::map( "-&24" 63 )
kopete(12169)/kopete (cryptography) CryptographyPlugin::finalizeMessage:
message was encrypted
KCrash: Application 'kopete' crashing...
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the kopete-bugs
mailing list