Bug 199819

Summary: Trying to connect to Google (Jabber) causes an instant crash
Product: [Unmaintained] kdelibs Reporter: mi+kde
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andresbajotierra, finex, rakuco
Priority: NOR Keywords: investigated, triaged
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: "Advanced" settings for the Jabber account in question

Description mi+kde 2009-07-12 01:06:19 UTC
Version:           0.70.4 (using 4.2.4 (KDE 4.2.4), compiled sources)
Compiler:          cc
OS:                FreeBSD (amd64) release 7.2-STABLE

I corrected my settings as per advice in Bug 185072, but Kopete still crashes trying to load error strings -- to tell me /something/:

Program received signal SIGSEGV, Segmentation fault.
0x000000080422152c in strcmp () from /lib/libc.so.7
(gdb) where
#0  0x000000080422152c in strcmp () from /lib/libc.so.7
#1  0x0000000807c8c983 in OBJ_NAME_new_index () from /lib/libcrypto.so.4
#2  0x0000000807cb21d0 in lh_free () from /lib/libcrypto.so.4
#3  0x0000000807cb24e3 in lh_insert () from /lib/libcrypto.so.4
#4  0x0000000807c8cb49 in OBJ_NAME_add () from /lib/libcrypto.so.4
#5  0x000000080fa6508c in ?? ()
#6  0x0000000802048a00 in q_SSL_load_error_strings ()
   from /opt/lib/qt4/libQtNetwork.so.4
#7  0x000000080204541c in QSslSocketPrivate::ensureInitialized ()
   from /opt/lib/qt4/libQtNetwork.so.4
#8  0x0000000802038c4f in QSslCertificate::QSslCertificate ()
   from /opt/lib/qt4/libQtNetwork.so.4
#9  0x000000080204352b in QSslSocketPrivate::QSslSocketPrivate ()
   from /opt/lib/qt4/libQtNetwork.so.4
#10 0x0000000802046b89 in QSslSocketBackendPrivate::QSslSocketBackendPrivate ()
   from /opt/lib/qt4/libQtNetwork.so.4
#11 0x0000000802041d4e in QSslSocket::QSslSocket ()
   from /opt/lib/qt4/libQtNetwork.so.4
#12 0x0000000802a096a1 in KSocketFactory::connectToHost ()
   from /opt/kde4/lib/libkdecore.so.7
#13 0x000000080e9be55b in JabberByteStream::connect ()
   from /opt/kde4/lib/kde4/kopete_jabber.so
#14 0x000000080e9be07a in JabberConnector::connectToServer ()
...
Comment 1 mi+kde 2009-07-12 01:09:17 UTC
Created attachment 35240 [details]
"Advanced" settings for the Jabber account in question
Comment 2 mi+kde 2009-07-12 12:07:00 UTC
Ok, this is not Kopete-specific... I get the same stack, when trying to configure KMail to talk to my IMAP-server:

#0  0x00000008042b552c in strcmp () from /lib/libc.so.7
#1  0x000000080a8ff983 in OBJ_NAME_new_index () from /lib/libcrypto.so.4
#2  0x000000080a9251d0 in lh_free () from /lib/libcrypto.so.4
#3  0x000000080a9254e3 in lh_insert () from /lib/libcrypto.so.4
#4  0x000000080a8ffb49 in OBJ_NAME_add () from /lib/libcrypto.so.4
#5  0x000000081221708c in ?? ()
#6  0x0000000803024a00 in q_SSL_load_error_strings ()
   from /opt/lib/qt4/libQtNetwork.so.4
#7  0x000000080302141c in QSslSocketPrivate::ensureInitialized ()
   from /opt/lib/qt4/libQtNetwork.so.4
#8  0x0000000803014c4f in QSslCertificate::QSslCertificate ()
   from /opt/lib/qt4/libQtNetwork.so.4
#9  0x000000080301f52b in QSslSocketPrivate::QSslSocketPrivate ()
   from /opt/lib/qt4/libQtNetwork.so.4
#10 0x0000000803022b89 in QSslSocketBackendPrivate::QSslSocketBackendPrivate ()
   from /opt/lib/qt4/libQtNetwork.so.4
#11 0x000000080301dd4e in QSslSocket::QSslSocket ()
   from /opt/lib/qt4/libQtNetwork.so.4
#12 0x0000000800d676a1 in KSocketFactory::connectToHost ()
   from /opt/kde4/lib/libkdecore.so.7
#13 0x000000080648c4e4 in MailTransport::Socket::reconnect ()
   from /opt/kde4/lib/libmailtransport.so.5
#14 0x000000080648d931 in MailTransport::ServerTest::start ()

Please, modify the bug's fields -- I am not allowed to do that for some reason...
Comment 3 FiNeX 2009-07-12 20:09:16 UTC
a backtrace with debug symbols could be useful, can you install dbg packages and paste a full backtrace ?

many thanks!


P.S: It looks like a crash at the Qt layer.
Comment 4 Dario Andres 2009-07-13 16:11:22 UTC
Indeed, it looks like a Qt crash
- What is your Qt4 version ?
- What is your libcrypto version ?
Thanks
Comment 5 mi+kde 2009-07-13 17:23:49 UTC
Qt4 is 4.4.3. OpenSSL is whatever is included with FreeBSD-7.2 -- 0.9.8e, I believe...

The system is 64-bit (amd64) -- perhaps, that's required to trigger the problem?
Comment 6 Dario Andres 2009-07-15 00:19:44 UTC
May be you could try with Qt4.5:
http://miwi.bsdcrew.de/2009/07/cft-qt-452-for-freebsd/
Comment 7 Dario Andres 2009-10-11 22:17:03 UTC
- Any news about this with an updated Qt?
Thanks
Comment 8 Raphael Kubo da Costa 2010-02-05 03:42:05 UTC
Reporter seems to be gone; closing for now.
Comment 9 Andrew Crouthamel 2018-09-20 22:12:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Andrew Crouthamel 2018-10-21 04:51:23 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!