Bug#280777: IRC with SSL segfault in libcrypto

2004-11-18 Thread Josh Metzler
On Thursday 18 November 2004 03:06 am, Francis Irving wrote:
> OK, I'm trying more to debug this.  First, delete all the kopete
> config files.

I think I sent you an e-mail about this, but I don't remember hearing back 
from you.  Have you tried installing qca-tls?  Apparently it is now 
necessary for kopete to use Jabber over SSL, but kopete only recommends it 
since many people don't use kopete for that.

Of course, kopete still shouldn't crash if it isn't installed, but this 
might fix the problem for you.

Josh




Bug#280777: IRC with SSL segfault in libcrypto

2004-11-18 Thread Francis Irving
On Thu, Nov 18, 2004 at 07:53:09AM -0500, Josh Metzler wrote:
> On Thursday 18 November 2004 03:06 am, Francis Irving wrote:
> > OK, I'm trying more to debug this.  First, delete all the kopete
> > config files.
> 
> I think I sent you an e-mail about this, but I don't remember hearing back 
> from you.  Have you tried installing qca-tls?  Apparently it is now 
> necessary for kopete to use Jabber over SSL, but kopete only recommends it 
> since many people don't use kopete for that.
> 
> Of course, kopete still shouldn't crash if it isn't installed, but this 
> might fix the problem for you.

Yes, I have qca-tls, sorry didn't mail to say!

The problem seems to be with IRC over SSL, not with Jabber over SSL.

Francis



Bug#280777: IRC with SSL segfault in libcrypto

2004-11-18 Thread Francis Irving
OK, I'm trying more to debug this.  First, delete all the kopete
config files.

owl:~/.kde/share/apps$ rm -fr /home/francis/.kde/share/apps/kopete 
~/.kde/share/config/kopeterc /home/francis/.kde/share/config/kopeterc-works

Then I configure my Jabber account with SSL,   Connecting is very very
slow, but works, and works if I restart Jabber.  However, I get this
error message, which is annoying as I don't use file transfer.  "Could
not bind Jabber file transfer manager to local port, please check your
settings."  (I'll file this as a separate bug)

Next I configure IRC.  I connect to a private IRC server using SSL.  After
adding a network and host for this and connecting, Kopete's interface freezes
for maybe 30 seconds (I didn't time it).  Then it gives this crash traceback:

[New Thread 1104191104 (LWP 3849)]
[New Thread 1135594416 (LWP 3852)]
[New Thread 1118813104 (LWP 3850)]

[KCrash handler]
#3  0x43ccea64 in X509_get_subject_name () from /usr/lib/libcrypto.so.0.9.7
#4  0x4084bc38 in KOpenSSLProxy::X509_get_subject_name(x509_st*) ()
   from /usr/lib/libkio.so.4
#5  0x408389a8 in KSSLCertificate::getSubject() const ()
   from /usr/lib/libkio.so.4
#6  0x4083f0f1 in KSSLPeerInfo::certMatchesAddress() ()
   from /usr/lib/libkio.so.4
#7  0x43c08ada in KSSLSocket::verifyCertificate() ()
   from /usr/lib/kde3/kopete_irc.so
#8  0x43c079b3 in KSSLSocket::slotConnected() ()
   from /usr/lib/kde3/kopete_irc.so
#9  0x43c0a073 in KSSLSocket::qt_invoke(int, QUObject*) ()
   from /usr/lib/kde3/kopete_irc.so
#10 0x412bc4a6 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#11 0x412bc354 in QObject::activate_signal(int) () from /usr/lib/libqt-mt.so.3
#12 0x40ecd70c in KExtendedSocket::connectionSuccess() ()
   from /usr/lib/libkdecore.so.4
#13 0x40ecc967 in KExtendedSocket::connectionEvent() ()
   from /usr/lib/libkdecore.so.4
#14 0x40ecbd88 in KExtendedSocket::socketActivityWrite() ()
   from /usr/lib/libkdecore.so.4
#15 0x40ecd80a in KExtendedSocket::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkdecore.so.4
#16 0x43c0a03b in KSSLSocket::qt_invoke(int, QUObject*) ()
   from /usr/lib/kde3/kopete_irc.so
#17 0x412bc52c in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#18 0x412bc68d in QObject::activate_signal(int, int) ()
   from /usr/lib/libqt-mt.so.3
#19 0x415faeb2 in QSocketNotifier::activated(int) ()
   from /usr/lib/libqt-mt.so.3
#20 0x412d8cd0 in QSocketNotifier::event(QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#21 0x4125fbcf in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#22 0x4125f1ce in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#23 0x40e04da3 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#24 0x4124f5da in QEventLoop::activateSocketNotifiers() ()
   from /usr/lib/libqt-mt.so.3
#25 0x41208c03 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/libqt-mt.so.3
#26 0x41271f28 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#27 0x41271dd8 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#28 0x4125fe21 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
#29 0x08069abd in QFrame::paintEvent(QPaintEvent*) ()
#30 0x41aa77f8 in __libc_start_main () from /lib/tls/libc.so.6
#31 0x in ?? ()

Francis