Now I have MEMDBG=1 and lots of these kind of messages show up when
Kamailio fails to start due to sqlpos failing to connect to server:
Apr 26 18:06:30 edge /usr/bin/edge-proxy[8548]: CRITICAL: <core>
[core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7f7c80b347b0),
called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) -
ignoring
Apr 26 18:06:30 edge /usr/bin/edge-proxy[8548]: CRITICAL: <core>
[core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7f7c80b306b0),
called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) -
ignoring
Apr 26 18:06:30 edge /usr/bin/edge-proxy[8548]: CRITICAL: <core>
[core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7f7c80b34a30),
called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) -
ignoring
Apr 26 18:06:30 edge /usr/bin/edge-proxy[8548]: CRITICAL: <core>
[core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7f7c80b39b90),
called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) -
ignoring
-- Juha