[Serusers] TLS problem ser 2_0_0 - ERROR: tls_init.c:366: Unable to set the memory allocation functions

.:: Francesco la Torre ::. francesco.latorre at studenti.ing.unipi.it
Fri May 9 20:16:38 CEST 2008


First of all I report a fragment of stderror :

 0(0) qm_malloc(0xb5a55000, 4) returns address 0xb5ebe7c4 frag.
0xb5ebe7ac (size=4) on 1 -th hit

0(2881) tls: _init_tls_h:  compiled  with  openssl  version "OpenSSL
0.9.8c 05 Sep 2006" (0x0090803f), kerberos support: off, compression: on

0(2881) tls: init_tls_h: installed openssl library version "OpenSSL
0.9.8c 05 Sep 2006" (0x0090803f), kerberos support: off,  zlib
compression: on
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -march=i686
-Wa,--noexecstack -g -Wall -DOPENSSL_BN     _ASM_PART_WORDS
-DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM

0(2881) ERROR: tls_init.c:520: Unable to set the memory allocation
functions

0(2881) could not initialize tls, exiting...

0(2881) qm_free(0x81dae20, 0x821038c), called from sr_module.c:
destroy_modules(459)

--------------------------------------------------------------------------

> which SER version are you using?
> 

version: ser 2.1.0+cvs20080508 (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, DISABLE_NAGLE,
USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC,
USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER,
USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
@(#) $Id: main.c,v 1.260 2008/04/30 19:53:04 andrei Exp $
main.c compiled on 21:06:27 May  9 2008 with gcc 4.1.2



> which modules are you loading?
> 

lib/ser/modules/sl.so"
lib/ser/modules/tm.so"
lib/ser/modules/rr.so"
lib/ser/modules/textops.so"
lib/ser/modules/maxfwd.so"
lib/ser/modules/usrloc.so"
lib/ser/modules/registrar.so"
lib/ser/modules/ctl.so"
lib/ser/modules/auth_identity.so"
lib/ser/modules/xlog.so"
lib/ser/modules/tls.so"


> There are some modules which uses openssl libraries and you cannot
> initialize the same functions from different modules, so there are
> some modules which are exclusive. I don't remember the whole list but
> they where tls, auth-identity, and xml stuff from presence related
> modules.
> 

IMHO this type of issue could be reported in module's documentation. 

> Hope it helps,

Yes, because I suppose the problem is with auth_identity and now could
start an hard task to investigate the reason ... I'm new in SER but I
count over community support.

> Sam

FlT

> 
> 2008/5/9 .:: Francesco la Torre ::.
> <francesco.latorre at studenti.ing.unipi.it>:
>         Have you found any solution for this issue ?
>         I'm facing with a similar problem (not the same because the
>         source of
>         same error is line 520).
>         
>         Thanks in advance
>         Francesco la Torre
>         
>         IIT/CNR-Pisa
>         
>         _______________________________________________
>         Serusers mailing list
>         Serusers at lists.iptel.org
>         http://lists.iptel.org/mailman/listinfo/serusers
> 



More information about the sr-users mailing list