[sr-dev] [kamailio/kamailio] Kamailio 5.5.0 -[core/mem/q_malloc.c:501]: qm_free(): BUG: bad pointer crash after upgrading system to Debian 10 (Buster) (#2746)

melekoktay notifications at github.com
Fri May 28 12:35:40 CEST 2021


Hi,

I solve the issue, I write it on following lines (it may helps somebody works)


**http_client** and **my function** use **curl** library as a foundation and I did not use following curl initialization function on my module **mod_init** 

`if(curl_global_init(CURL_GLOBAL_ALL)) {
		LM_ERR("curl_global_init failed\n");
		return -1;
	}
`

Interestingly same function works very well on both  **Debian 8 + Kamailio** and also FreeSwitch. Later on, I see **FreeSwitch core** handles this curl initialization but Kamailio delegates it to module developer. 


-- 
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/2746#issuecomment-850324542
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210528/9c2d37b1/attachment.htm>


More information about the sr-dev mailing list