Discussion:
[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)
Daniel-Constantin Mierla
2021-05-26 13:36:46 UTC
Permalink
The backtrace indicates crash by calling of a function `w_vg_auth()` which is not part of Kamailio public repository. We cannot help troubleshooting private extensions.
--
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-848775951
Daniel-Constantin Mierla
2021-05-26 13:36:46 UTC
Permalink
Closed #2746.
--
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#event-4799440156
melekoktay
2021-05-26 13:53:52 UTC
Permalink
Hello,

I am not interesting to solve just my own problem, I believe this issue is existing on curl library that effects Kamailio side.
My study just use CURL lib to use HTTP Post function, it is straightforward task.

I wonder, it there anybody who gets same issue ? Curl [bug](https://github.com/curl/curl/commit/1835cb916e0d40eb8bc1165d5627a0b64f911bac#diff-03eaf320162ec20f67fab4e16f494e29735dadfa12425530869d42eea86bd2cc) is could effect Kamailio side which is similar to Kamailio [issue](https://github.com/kamailio/kamailio/issues/2466)

Regards,
Melek
--
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-848789069
Daniel-Constantin Mierla
2021-05-26 15:04:06 UTC
Permalink
Hello,

if you can reproduce a similar problem with stock public kamailio, making a minimal config with http_client module (which uses curl) and you can do a POST from config, then open a new issue with related details. So far there is no similar report.
--
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-848846477
Henning Westerholt
2021-05-27 09:33:32 UTC
Permalink
There are also other issues with your used cfg:

May 26 12:12:09 dev-proxy05 kamailio[5098]: ERROR: <core> [db.c:466]: db_check_table_version(): invalid version 4 for table uacreg found, expected 5 (check table structure and table "version")
May 26 12:12:09 dev-proxy05 kamailio[5098]: ERROR: uac [uac_reg.c:1382]: uac_reg_load_db(): Error during version check for db table: uacreg, check database structure.

As recommeded from @miconda - please try to reproduce it with a minimal cfg.
--
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-849487310
melekoktay
2021-05-28 10:35:40 UTC
Permalink
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
Loading...