Hello Daniel,

 

No, nothing custom. Only Kamailio modules.

After a deeper investigation, we successfully reproduced. It looks like it occurred with a particular in-dialog INVITE. Not completely sure yet the difference. We are still looking into it.

 

Regards,

 

Igor.

 

De : Daniel-Constantin Mierla <miconda@gmail.com>
Envoyé : mercredi 22 novembre 2023 09:07
À : Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Cc : Igor Potjevlesch <igor.potjevlesch@gmail.com>
Objet : Re: [SR-Users] Crash on core/mem/q_malloc.c

 

Hello,

looks like a buffer overflow by 1 byte. Are you using any custom module/additional patches, or is it stock kamailio?

Cheers,
Daniel

On 22.11.23 00:46, Igor Potjevlesch via sr-users wrote:

Hello!

 

I'm facing an issue 2/3 times a day with the following errors in the logs:

Nov 22 00:09:02 /usr/local/sbin/kamailio[3720]: CRITICAL: <core> [core/mem/q_malloc.c:150]: qm_debug_check_frag(): BUG: qm: prev. fragm. tail overwritten(c0c0c000, abcdefed)[0x7f9600b754f8:0x7f9600b75530]! Memory allocator was called from core: core/re.c:430. Fragment marked by core: db_res.c:139. Exec from core/mem/q_malloc.c:391.

Nov 22 00:09:02 /usr/local/sbin/kamailio[3720]: CRITICAL: <core> [core/mem/q_malloc.c:155]: qm_debug_check_frag(): BUG: qm: prev. fragm. tail overwritten [0x7f9600b75460:0x7f9600b75498] - fragment marked by tm: t_fwd.c:230

Nov 22 00:09:02 abrt-hook-ccpp: Process 3720 (kamailio) of user 0 killed by SIGABRT - ignoring (repeated crash)

 

Do you have any idea where it could come from? I'm running Kamailio 5.6.4.

 

Regards,

 

Igor.

 

Sans virus.www.avast.com



__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
-- 
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy and Development Services
Kamailio Advanced Training -- asipto.com