[sr-dev] [kamailio/kamailio] http_async_client frees pointer twice(Kamailio 5.0.4) (#1340)

Victor Seva notifications at github.com
Thu Dec 21 10:20:53 CET 2017


We're having the same issue with only one worker
```
kamcmd> core.info 
{
        version: kamailio 5.0.5
        id: unknown 
        compiler: gcc 4.8.2
        compiled: 
        flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
}
```
```
Dec 21 05:20:31 kamailio-1889-0 kamailio[4096]: INFO: <script>: Device State URL is 'http://asterisk-green-profile1-foerdc.query.consul:8088/' - ci='33bac93114af7fba0dc7e57382a1e9f4'
Dec 21 05:20:31 kamailio-1889-0 kamailio[4096]: : <core> [core/mem/q_malloc.c:483]: qm_free(): BUG: qm_free: freeing already freed pointer (0x7f01641853a0), called from http_async_client: async_http.c: set_query_params(633), first free http_async_client: http_multi.c: curl_shm_free
(334) - aborting
Dec 21 05:20:31 kamailio-1889-0 kamailio[4142]: CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 58
```
I've enabled debug log will try to add more info later

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1340#issuecomment-353300405
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20171221/c16c628c/attachment-0001.html>


More information about the sr-dev mailing list