Hello,

 

We setup Jabberd2.1 on Linux Kernel 2.6 with the following compilation
options : 

./configure --prefix=/usr/local/jabber/v2.1.2 --enable-debug
--enable-ssl --enable-mysql --enable-idn

 

Configuration of the computer :

- rehdat entreprise 4

- kernel 2.6.9-34

- openssl-0.9.7a-43.8

 

I activate the tag PemFile in the file C2S.xml : 

<pemfile>/usr/local/jabberd2s11.manu.etc/jabberd/server.pem</pemfile>

 

When we start the Jabberd2 deamon, the program crashes on C2S :

 

Error : *** glibc detected *** free(): invalid pointer: 0x00d9fb80 ***

Function : sx_env_plugin (env=0x98faba0, init=0x8059980 <sx_ssl_init>)
at env.c:54

 

Did you ever encounter this problem ?

 

Thank you for you help.

E.DONATO

 

Debug Traces :

(gdb) p *env

$1 = {plugins = 0x0, nplugins = 0}

(gdb) p *p

$2 = {env = 0x0, magic = 0, index = 0, private = 0x0, new = 0, free = 0,
client = 0, server = 0, wio = 0, rio = 0,

  wnad = 0, rnad = 0, header = 0, stream = 0, features = 0, process = 0,
unload = 0}

(gdb) n

62          p->env = env;

(gdb) n

63          p->index = env->nplugins;

(gdb)  p *p

$4 = {env = 0x98faba0, magic = 0, index = 0, private = 0x0, new = 0,
free = 0, client = 0, server = 0, wio = 0, rio = 0,

  wnad = 0, rnad = 0, header = 0, stream = 0, features = 0, process = 0,
unload = 0}

(gdb)  p *p->env

$5 = {plugins = 0x0, nplugins = 0}

(gdb) n

65          ret = (init)(env, p, args);

(gdb) n

glibc detected *** free(): invalid pointer: 0x00d9fb80 ***

            

_______________________________________________
jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com

Reply via email to