[ejabberd] 0.9.8 segfaulting fairly often?

Brian Campbell bacam at z273.org.uk
Thu Oct 20 23:02:15 MSD 2005

On Wed, Oct 19, 2005 at 11:09:30PM -0400, Daniel Henninger wrote:
> Hi folk,
> I upgraded erlang to the latest release and ejabberd to 0.9.8 and am  
> running into a seg fault every few login attempts:
> I'm not getting particularly useful information in the logs,  
> unfortunately.  That's all I get when I run ejabberd in debug mode.   
> Anyone else run into this issue?

This sounds like a problem I had due to OpenSSL:


Basically, the TLS/SSL support in ejabberd is dynamically loaded and
unloaded as needed, which means the libssl gets loaded and unloaded too.
Unfortunately, libssl doesn't support this and crashes occasionally.  It
doesn't do it every time though.

The easy way to workaround it is to keep a dummy SSL client logged into
the server all the time.  Another way is to add a bit of code to
ejabberd so that it never unloads it, but I can't find the code I had to
do that just now.  I'll post it to the bug if I do.

Hope that helps,


More information about the ejabberd mailing list