Summary: | crash at connect ( irc only ) | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Mathieu Jobin <opensource> |
Component: | IRC Plugin | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | djandruczyk, dmoyne, giovanni, matze, wolvverine, zero |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | ircssl.diff |
Description
Mathieu Jobin
2004-09-25 07:14:18 UTC
Sounds to me to be a KSSL related bug. Are you using cvs HEAD or a KDE release from RH? It seems that cvs KSSL has changed during the week so I'm not able to compile it now. Maybe this bug is related to some refactoring? you are right this is SSL only I removed checkmark for use SSL and it does not crash anymore. however I can't connect to FreeNET, only to IRCnet have been able, but this is another topic. It was obvious that you used SSL regarding the backtrace. The main question was: are you using KDE from cvs or what is your release number? So that I can try to invesigate the SSL bug. CVS KDE_3_3_BRANCH Sept 21st Could be a temporary libkssl brokage, as I said libkssl seems to have been modified a lot recently. Update your KDE CVS copy sooner or later, and report. If the bug still remains, I will investigate it more deeply, or reassign it to the KSSL team. *** Bug 92554 has been marked as a duplicate of this bug. *** It happens with KDE CVS 3_3_BRANCH on the 1st November 2004. It seems the KSSL team is slow like hell, or is trying to go for next minor ... Anyway I'm thinking to remove this feature and encoding stuff for a little time. To let me allow to handle some API changes in CVS. But the problem is that I won't be able to re-enable SSL for quite a while (lack of SSL in kdecore/network :( ) ... *** Bug 95859 has been marked as a duplicate of this bug. *** this is mainspring this crash: PluginData_IRCProtocol_PreferSSL=true *** Bug 95936 has been marked as a duplicate of this bug. *** *** Bug 89529 has been marked as a duplicate of this bug. *** *** Bug 96661 has been marked as a duplicate of this bug. *** *** Bug 98085 has been marked as a duplicate of this bug. *** CVS commit by brunes: Disable SSL support by default, until we can figure out the problem with KSSL and get it fixed CCMAIL: 90212@bugs.kde.org M +7 -0 libkirc/kircengine.cpp 1.15 M +12 -3 ui/irceditaccount.ui 1.58 --- kdenetwork/kopete/protocols/irc/libkirc/kircengine.cpp #1.14:1.15 @@ -97,8 +98,14 @@ void Engine::setUseSSL( bool useSSL ) if( m_useSSL ) { + #ifdef KIRC_SSL_SUPPORT m_sock = new KSSLSocket; m_sock->setSocketFlags( KExtendedSocket::inetSocket ); } else + #else + kdWarning(14120) << "You tried to use SSL, but this version of Kopete was" + " not compiled with IRC SSL support. A normal IRC connection will be attempted." << endl; + } + #endif { m_sock = new KExtendedSocket; --- kdenetwork/kopete/protocols/irc/ui/irceditaccount.ui #1.57:1.58 @@ -27,4 +27,7 @@ </size> </property> + <property name="caption"> + <string>IRCEditAccountBase</string> + </property> <hbox> <property name="name"> @@ -379,7 +382,13 @@ <cstring>preferSSL</cstring> </property> + <property name="enabled"> + <bool>false</bool> + </property> <property name="text"> <string>&Prefer SSL-based connections</string> </property> + <property name="accel"> + <string>Alt+P</string> + </property> </widget> <widget class="QCheckBox"> @@ -544,7 +553,7 @@ <string>Auto-show anonymous windows</string> </property> - <property name="disabled"> - <bool>true</bool> - </property> + <property name="disabled" stdset="0"> + <bool>true</bool> + </property> </widget> <widget class="QCheckBox" row="1" column="0"> char *t = d->kossl->X509_NAME_oneline(d->kossl->X509_get_subject_name(d->m_cert), 0, 0); Where in there is it crashing? Can anyone who can reliably reproduce this bug, try the following patch and see if it fixes the problem? Note: in order to compile SSL support with latest CVS, you need to pass -DKIRC_SSL_SUPPORT as an additional paramater to gcc ( ./configure CXXFLAGS="$CXXFLAGS -DKIRC_SSL_SUPPORT" ) Created an attachment (id=9333) ircssl.diff Can anyone who used to experience this bug tell me the IRC server you are using? I am currently trying to test SSL to get it ready for 3.4, and it seems to work fine, at least on ircs.segfault.org:994 can you check the segfault when trying to log in a IRC server with SSL enabled while the server don't have SSL? Le Samedi 5 Février 2005 00:30, Jason Keirstead a écrit : > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > > http://bugs.kde.org/show_bug.cgi?id=90212 > > > > > ------- Additional Comments From jason keirstead org 2005-02-05 00:30 > ------- Can anyone who used to experience this bug tell me the IRC server > you are using? > > I am currently trying to test SSL to get it ready for 3.4, and it seems to > work fine, at least on ircs.segfault.org:994 no way to connect on this ! Le Samedi 5 Février 2005 12:56, Michel Hermier a écrit : > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > > http://bugs.kde.org/show_bug.cgi?id=90212 > > > > > ------- Additional Comments From michel.hermier wanadoo fr 2005-02-05 > 12:56 ------- can you check the segfault when trying to log in a IRC server > with SSL enabled while the server don't have SSL? Michel, peut-on poursuivre sur un canal Kopete pour des test ? ; si oui lequel Le Samedi 5 Février 2005 12:56, Michel Hermier a écrit : > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > > http://bugs.kde.org/show_bug.cgi?id=90212 > > > > > ------- Additional Comments From michel.hermier wanadoo fr 2005-02-05 > 12:56 ------- can you check the segfault when trying to log in a IRC server > with SSL enabled while the server don't have SSL? a priori impossible de choisir ircs.segfault.org:994 j'ai 1024 et j'ai l'icone en bas à droite qui flashe don problème ; que faut-il essayer exactement ? Please, write in English because there are other people reading these reports who don't speak French. Also, preferrably, use the web interface for posting comments. Or at least remove the quotation when replying emails. Wait a few days that I'll have my dsl connection up and you'll probably see me on the channel with the nick: Slayer[RTFM] I am going to re-enable SSL support in CVS after the freeze and close this bug - i definitely can *not* reproduce any crashes in SSL here. Either my patch fixed it, or it was a KSSL problem that went away. CVS commit by brunes: Fix a bunch of bugs, including - Missing signal errors - Missing numeric replies - Don't "Error" on unknown replies - there are too many, and they aren't really errors. Dump to kdWarning though.. - Fixed status handling - Fixed empty password handling - Re-enable SSL support, tested and working BUG: 98590 BUG: 97918 BUG: 92454 BUG: 94293 BUG: 71204 BUG: 77239 BUG: 90212 M +2 -2 ircaccount.cpp 1.132 M +44 -0 irccontactmanager.cpp 1.39 M +3 -0 irccontactmanager.h 1.16 M +60 -12 ircprotocol.cpp 1.204 M +19 -0 ircprotocol.h 1.94 M +74 -26 ircusercontact.cpp 1.107 M +3 -0 ircusercontact.h 1.46 M +3 -0 libkirc/kircengine.h 1.19 M +20 -8 libkirc/kircengine_numericreplies.cpp 1.14 > - Re-enable SSL support, tested and working
Are you sure? I just updated my cvs head and installed but I cannot select
"prefer SSL-based connections" box.
CVS commit by brunes: Forgot to re-enable checkbox CCMAIL:90212@bugs.kde.org M +0 -3 irceditaccount.ui 1.61 --- kdenetwork/kopete/protocols/irc/ui/irceditaccount.ui #1.60:1.61 @@ -379,7 +379,4 @@ <cstring>preferSSL</cstring> </property> - <property name="enabled"> - <bool>false</bool> - </property> <property name="text"> <string>&Prefer SSL-based connections</string> Can you explain me how to connect via SSL with Kopete? Because I cannot, maybe I do the wrong steps, but in this way Kopete needs more usability to use this feature. Thank you. Le Dimanche 6 Février 2005 23:25, Giovanni Venturi a écrit : > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > > http://bugs.kde.org/show_bug.cgi?id=90212 > > > > > ------- Additional Comments From gventuri73 tiscali it 2005-02-06 23:25 > ------- Can you explain me how to connect via SSL with Kopete? Because I > cannot, maybe I do the wrong steps, but in this way Kopete needs more > usability to use this feature. The SSL protocol is set for connexion is the account not the channel ; so it is global ; you will see in the account setup in "connection" "Pefer SSL connection". Regards. If it's so than the bug is not fixed at all. I set "Pefer SSL connection" but then I get no SSL connection. You can't just set 'Prefer SSL', you have to, a) be connecting to a network that has SSL capable servers, b) Make sure that server is in your network configuration with the 'SSL' box checked. All 'Prefer SSL' does is that it will try the servers with SSL capability *first*, no matter what order the servers are in the network config. If the network doesn't have any SSL servers it isn't going to do anything. Well I tryed, but it doesn't work (I tryed so before you told me to do in that way), but if you tested the code before committing it, than ok let this bug closed. You are Kopete developers and you know better than anyone if a feature works or not, but using Konversation the SSL was ok at once, so I'm using that. Maybe Kopete will be better on IRC for KDE 4, but for the moment it's not. I haven't so much time free to help Kopete developing, sorry. I just told you this things because I like KDE and I think Kopete could be better trying to report problems, not for other reason. Le Lundi 7 Février 2005 13:25, Jason Keirstead a écrit : > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > > http://bugs.kde.org/show_bug.cgi?id=90212 > > > > > ------- Additional Comments From jason keirstead org 2005-02-07 13:25 > ------- You can't just set 'Prefer SSL', you have to, a) be connecting to a > network that has SSL capable servers, b) Make sure that server is in your > network configuration with the 'SSL' box checked. > > All 'Prefer SSL' does is that it will try the servers with SSL capability > *first*, no matter what order the servers are in the network config. If the > network doesn't have any SSL servers it isn't going to do anything. so what you are saying is that if you check the SSL box on a server that does not support SSL it should not crash ; it this statement correct ? *** Bug 99603 has been marked as a duplicate of this bug. *** |