Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
jabber-server ebuild, msn component segfaults
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sgrimee
n00b
n00b


Joined: 12 Mar 2003
Posts: 3

PostPosted: Thu Apr 17, 2003 4:30 pm    Post subject: jabber-server ebuild, msn component segfaults Reply with quote

I'm using the ebuild 1.4.2-r2 of jabber-server. All works fine, except when I try to launch the msn component.
I believe I've set all hostnames and dns correctly. The msn component starts, and then segfaults after a few seconds.

I'm using the server
Code:

<servers>
   <ip>messenger.hotmail.com</ip>
</servers>


My msntrans.xml config is:
Code:

<jabber>
       <service id="msnlinker">
               <uplink/>
               <connect>
                     <ip>jabber.k-net.eu.org</ip>
                     <port>5613</port>
                     <secret>************</secret>
               </connect>
       </service>

       <service id="msn.jabber.k-net.eu.org">
               <host>conference.msn.jabber.k-net.eu.org</host>

               <msntrans xmlns="jabber:config:msntrans">
                       <instructions>Enter your MSN Messenger account and password. Example: user1@hotmail.com.  Nickname is optional.</instructions>
                <vCard>
                <FN>MSN Transport</FN>
                <DESC>This is the MSN Transport</DESC>
                <URL>http://jabber.k-net.eu.org/</URL>
                </vCard>
                       <conference id="conference.msn.jabber.k-net.eu.org">
                               <invite>Multiple users have entered the conversation..</invite>

                                <notice>
                                       <join> has joined this conversation</join>
                                       <leave> has left this conversation</leave>
                               </notice>
                       </conference>
                       <servers>
                                <ip>messenger.hotmail.com</ip>
                       </servers>

                       <headlines/>
              </msntrans>
               <load>
                       <msntrans>/usr/lib/jabber/msntrans.so</msntrans>
               </load>
       </service>
        <log id="msnlog">
                <file>/var/log/jabber/msn.log</file>
        </log>
</jabber>


Running the component with -D, I get the following logs and then a segmentation fault:
Code:

Thu Apr 17 13:38:56 2003  mio.c:607 mio while loop top
Thu Apr 17 13:38:56 2003  mio.c:620 mio while loop, working
Thu Apr 17 13:38:56 2003  mio.c:607 mio while loop top
Thu Apr 17 13:38:56 2003  mio.c:620 mio while loop, working
Thu Apr 17 13:38:56 2003  mio.c:760 MIO read from socket 8: <handshake/>
Thu Apr 17 13:38:56 2003  base_connect.c:129 process XML: m:815E1F8 state:3, arg:80BAD70, x:81646A0
Thu Apr 17 13:38:56 2003  mio.c:1054 mio_write called on x: 80BA3E8 buffer: (null)
Thu Apr 17 13:38:56 2003  mio.c:279 write_dump writing data: <log type='notice' from='-internal'>initializing server</log>
Thu Apr 17 13:38:56 2003  mio.c:607 mio while loop top
Thu Apr 17 13:38:56 2003  mio.c:620 mio while loop, working
Thu Apr 17 13:38:56 2003  mio.c:607 mio while loop top
Thu Apr 17 13:39:54 2003  jabberd.c:255 main load check of 1.00 with 13 total threads


Any idea to fix this would be more than welcome...

thanks !
Sam
Back to top
View user's profile Send private message
TrippyZ
n00b
n00b


Joined: 04 Dec 2002
Posts: 38

PostPosted: Sat Apr 19, 2003 9:00 am    Post subject: Reply with quote

You could try running it with strace.
Back to top
View user's profile Send private message
timmy
n00b
n00b


Joined: 24 May 2002
Posts: 56
Location: Bath, UK

PostPosted: Mon Jul 14, 2003 5:01 pm    Post subject: Re: jabber-server ebuild, msn component segfaults Reply with quote

sgrimee wrote:
I'm using the ebuild 1.4.2-r2 of jabber-server. All works fine, except when I try to launch the msn component.
I believe I've set all hostnames and dns correctly. The msn component starts, and then segfaults after a few seconds.


Did you ever get this working?

I've got exactly the same problem, the MSN and ICQ (AIM) transports segfault when you try and register with them.

According to the jabber admin mailing lists, they suggest you upgrade to glibc 2.3.1 and pth 1.4.0, both of which I already had installed.

im.gentoo.org's transports seem fine, and I guess they are running gentoo :)
Back to top
View user's profile Send private message
timmy
n00b
n00b


Joined: 24 May 2002
Posts: 56
Location: Bath, UK

PostPosted: Tue Jul 15, 2003 7:40 am    Post subject: Reply with quote

Finally got it working by upgrading glibc to the ~x86 version (2.3.2-r1 I think).

I just hope it doesn't break anything else...
Back to top
View user's profile Send private message
Davin
n00b
n00b


Joined: 13 May 2003
Posts: 45
Location: United States

PostPosted: Fri Jul 18, 2003 6:04 pm    Post subject: Reply with quote

Jabber transports seem to have a horrible track record of getting along with certain versions of glibc. Redhat 8 has a version of glibc installed by default that will kill the AIM-t transport as soon as someone tries to register an AIM or ICQ user. Creating a Gentoo box at work for the sake of running an un-b0rked jabber server wasn't a bad idea, but now AIM-t dies whenever a user logs out and back on. A step in the right direction, but... *sigh*

I'm going to merge the same glibc as you and hope it fixes my problem as well. The boss is going to kill me for all these delays, though.
Back to top
View user's profile Send private message
Davin
n00b
n00b


Joined: 13 May 2003
Posts: 45
Location: United States

PostPosted: Fri Jul 18, 2003 10:21 pm    Post subject: Reply with quote

Sure enough, glibc got AIM-t working...that's two out of the way! I'm still running into problems with Yahoo and MSN though. I may need to apply a patch to Yahoo, but the MSN registration problem really does have me stumped.

Since you seem to have MSN working, could you (or some kind soul who is reading this) post your MSN-related configuration somewhere for me to sneak a peek at?
Back to top
View user's profile Send private message
Davin
n00b
n00b


Joined: 13 May 2003
Posts: 45
Location: United States

PostPosted: Mon Jul 21, 2003 2:54 pm    Post subject: Reply with quote

Yahoo was a simple mistake on my part.

As for my problems with the MSN transport, apparently the official MSN client will allow you to connect if you haven't validated your e-mail address yet, but attempting to connect through the MSN transport won't work unless you've gone through the validation step. I now have all the jabber transports included with Gentoo's package up and running.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum