[Spce-user] kamailio freezes and crashes

danbratly at tuta.io danbratly at tuta.io
Fri Jan 26 08:59:24 EST 2024



Hi all,
i have updated to version mr11.5.1. since then the proxy sometimes crashes or "freezes".
With the mr10.5.4 release there were no such problems.
kamailio version used: 5.7.3-1+0~mr11.5.1.11


the following error is associated with a freeze. the message has spammed the log, no more requests were accepted and processed during this time until the proxy was restarted manually
CRITICAL: <core> [core/mem/q_malloc.c:535]: qm_free(): BUG: freeing already freed pointer (0x7f4df0ef3608), called from core: core/xavp.c: xavp_free_unsafe(101), first free pv_headers: pvh_xavp.c: pvh_xavi_new_value(112) - ignoring

However, it has already happened that the proxy froze without there being a corresponding message in the log.


Here are some more log messages that regularly appear in the log. 
ERROR: ROUTE_REG_HANDLE <core> [core/lvalue.c:351]: lval_pvar_assign(): non existing right pvar
ERROR: ROUTE_REG_HANDLE <core> [core/lvalue.c:411]: lval_assign(): assignment failed at pos: (166,15-166,57)
---
ERROR: <core> [core/udp_server.c:640]: udp_send(): sendto(sock, buf: 0x7f60bce89ea0, len: 332, 0, dst: (xxx.xxx.xxx.xxx:5060), tolen: 16) - err: Invalid argument (22)
CRITICAL: <core> [core/udp_server.c:646]: udp_send(): invalid sendtoparameters#012one possible reason is the server is bound to localhost and#012attempts to send to the net
ERROR: nathelper [nathelper.c:2380]: nh_timer(): sip udp_send failed


I have not noticed any connection between the log entries and the freezes/crashes.

Anyone have any idea where to look for the "real" error or how to fix it?

Thanks Alot !

BR 

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20240126/d28c0a04/attachment.html>


More information about the Spce-user mailing list