Thanks Ben.
We can continue in the ticket. I added my findings.
Joel.
On Wed, May 15, 2024 at 07:10 Ben Kaufman via sr-users <
sr-users(a)lists.kamailio.org> wrote:
The issue is trivial to reproduce. I didn’t test
every dialplan module
function, but it occurs with both dp_transalate() and dp_match().
I’ve opened an issue in GitHub:
https://github.com/kamailio/kamailio/issues/3851
Regards,
Kaufman
*From:* Ben Kaufman via sr-users <sr-users(a)lists.kamailio.org>
*Sent:* Monday, May 13, 2024 5:05 PM
*To:* Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
*Cc:* Ben Kaufman <bkaufman(a)bcmone.com>
*Subject:* [SR-Users] Re: q_malloc.c:520 WARNINGs
*CAUTION:* This email originated from outside the organization. *Do not
click links or open attachments* unless you recognize the sender and know
the content is safe.
I’ve just noticed a similar behavior in kamailio 5.8.1 after upgrading
from 5.6.3. I haven’t had time to poke around on it much yet. Wondering
if anyone found the root cause? In my case I’m calling just `dp_match("1",
"$rU");`
I’ll try to update with a simplified scenario, etc.
*From:* Joel Serrano via sr-users <sr-users(a)lists.kamailio.org>
*Sent:* Saturday, March 9, 2024 9:30 AM
*To:* Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
*Cc:* Joel Serrano <joel(a)textplus.com>
*Subject:* [SR-Users] Re: q_malloc.c:520 WARNINGs
*CAUTION:* This email originated from outside the organization. *Do not
click links or open attachments* unless you recognize the sender and know
the content is safe.
I've tried setting corelog=L_INFO but I can still see the WARNINGS.
Also, one correction in my previous msg, I don't have 2 "debug" lines, I
have them defined within a condition:
#!ifdef WITH_DEBUG
debug=L_DBG
#!else
debug=L_NOTICE
#!endif
...
...
Joel.
On Fri, Mar 8, 2024 at 9:54 PM Joel Serrano <joel(a)textplus.com> wrote:
Hi,
Does anyone know what this WARNING means or how to fix it?
2024-03-09T00:39:15.406674-05:00 csbc03 csbc[33024]: WARNING: {1 1 INVITE
CALL-ID} <core> [core/mem/q_malloc.c:520]: qm_free(): WARNING: free(0)
called from dialplan: dp_db.c: pcre2_free(206)
2024-03-09T00:39:15.406823-05:00 csbc03 csbc[33024]: WARNING: {1 1 INVITE
CALL-ID} <core> [core/mem/q_malloc.c:520]: qm_free(): WARNING: free(0)
called from dialplan: dp_db.c: pcre2_free(206)
2024-03-09T00:39:15.406973-05:00 csbc03 csbc[33024]: WARNING: {1 1 INVITE
CALL-ID} <core> [core/mem/q_malloc.c:520]: qm_free(): WARNING: free(0)
called from dialplan: dp_db.c: pcre2_free(206)
2024-03-09T00:39:15.407089-05:00 csbc03 csbc[33024]: WARNING: {1 1 INVITE
CALL-ID} <core> [core/mem/q_malloc.c:520]: qm_free(): WARNING: free(0)
called from dialplan: dp_db.c: pcre2_free(206)
2024-03-09T00:39:15.407178-05:00 csbc03 csbc[33024]: WARNING: {1 1 INVITE
CALL-ID} <core> [core/mem/q_malloc.c:520]: qm_free(): WARNING: free(0)
called from dialplan: dp_db.c: pcre2_free(206)
2024-03-09T00:39:15.407278-05:00 csbc03 csbc[33024]: WARNING: {1 1 INVITE
CALL-ID} <core> [core/mem/q_malloc.c:520]: qm_free(): WARNING: free(0)
called from dialplan: dp_db.c: pcre2_free(206)
2024-03-09T00:39:15.407375-05:00 csbc03 csbc[33024]: WARNING: {1 1 INVITE
CALL-ID} <core> [core/mem/q_malloc.c:520]: qm_free(): WARNING: free(0)
called from dialplan: dp_db.c: pcre2_free(206)
It happens after running dp_translate().
These are my settings:
debug=L_DBG
debug=L_NOTICE
memdbg=L_INFO
memlog=L_INFO
corelog=L_ERR
mem_summary=12
log_stderror=no
log_facility=LOG_LOCAL0
log_name="csbc"
log_prefix="{$mt $hdr(CSeq) $ci} "
mem_join=1
Any ideas?
Thanks,
Joel.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe: