[jdev] sm in Jabber2 dies

Alexey Nezhdanov snake at penza-gsm.ru
Tue Mar 16 00:03:00 CST 2004

В сообщении от 15 Март 2004 23:50 Damon Register написал(a):
> Alexey Nezhdanov wrote:
> > Compile jabberd2 with debugging enabled, enable debug from command line
> > and try again.
> I just finished doing that.  Now what?  I ran it in debug, made it
> crash again but I don't know what to do with what I see.  The last few
> lines are
> ROUT: Mon Mar 15 14:40:07 2004 router.c:831 read action on fd 6
> SM  : sx (io.c:296) handing app 6071 bytes to write
> C2S : sx (chain.c:119) calling nad read chain
> ERROR: sm died.  Shutting down server.
> JBRD: Got a signal... pass it on.
> JBRD: It was a TERM.  Shut it all down!
> but how far back do I go to see anything meaningful or does this tell
> all?

Ok. I am not the jabberd2 guru - so I can not make a decision basing only on 
this several lines (AFAIRemember the jabberd2 produces a LOT of output so you 
must read last hundred lines or so to find the problem glitches). I can point 
you to some debugging tecniques:
1.Try reading debug output a several more times.
2. Try attach strace to jabberd2 and made it crash
3. Try to compare mysql data for "good" and "bad" user. If it differs try to 
merge it with preference to one or another data. Find the "rendez vous" point 
where next change causing the crash
4. Report your [un]success here - there are a lot of people on this list that 
can help. 
> Matt Mankins posted a suggestion to look for funky characters in the
> usernames but I didn't see anything that was suspicious to me.  Most of
> the usernames have an underscore in the middle but that is the only non
> alphanumeric character.
> Damon Register

Alexey Nezhdanov

More information about the JDev mailing list