[Spce-user] kamailio freezes and crashes

danbratly at tuta.io danbratly at tuta.io
Mon Feb 12 10:07:44 EST 2024


Hi Marco,

have you been able to find out why the crash occurred or are you already working on a fix?

BR

Dan

Jan 30, 2024, 13:31 by spce-user at lists.sipwise.com:

> Hi Marco,
>
> both, sometimes a crash and sometimes "just" a freeze.
> I have attached a coredump of a crash as attachment.
>
> BR
>
> Dan
>
>
>
> Jan 29, 2024, 15:51 by spce-user at lists.sipwise.com:
>
>> Hi,
>>
>> It is just a simple freeze of kamailio or you have noticed a crash?
>> In the second case can you check in folder "/ngcp-data/coredumps/" if you have a core file related to kamailio? If so it would be good if you can install the kamailio debug symbols and send us back the full backtrace of the coredump (please remove any sensitive date before share it with the mailing list).
>>
>> Thank you
>> Marco
>>
>>
>> On Fri, Jan 26, 2024 at 3:00 PM danbratly--- via Spce-user <>> spce-user at lists.sipwise.com>> > wrote:
>>
>>>
>>>
>>> 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
>>> --
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com
>>> http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
>>>
>>
>>
>> --
>>
>> Sipwise GmbH | an Alcatel-Lucent Company
>> Leonard-Bernstein-Straße 10 | 1220 Wien
>> Email: invoice at sipwise.com <mailto:gfuchs at sipwise.com>
>> Website: >> https://www.sipwise.com
>>
>> Particulars according Austrian Companies Code paragraph 14
>> Geschäftsführer: DI Dr. Gernot Fuchs      Sitz: Wien             FG: Landesgericht Wien              FN: 305595f
>> Die übermittelten Informationen sind ausschließlich dem Empfänger vorbehalten und können vertrauliches oder privilegiertes Material enthalten. Ein Gebrauch, Weiterleitung oder Verbreitung in jeglicher Form seitens Dritter ist nicht gestattet. Sollten Sie diese Nachricht irrtümlich erhalten haben, bitten wir Sie, sich mit dem Absender in Verbindung zu setzen und die Nachricht einschließlich der Anlagen zu löschen. Jegliche nicht autorisierte Nutzung dieser E-Mail ist illegal.
>> Hinweis zum Datenschutz: Sipwise GmbH ist der Schutz Ihrer Daten wichtig. Auch durch die Kommunikation per E-Mail werden personenbezogene Daten ausgetauscht. Erfahren Sie mehr unter: >> www.sipwise.com <http://www.sipwise.com/>
>>
>> Managing Director: DI Dr. Gernot Fuchs     HQ: Vienna       FG: Vienna Regional Court        FN: 305595f
>> Confidentially notice. This e-mail transmission may contain legally privileged and/or confidential information. Please do not read it if you are not the intended recipient(s). Any use, reproduction or disclosure by any other person is prohibited. If you have received this e-mail in error, please notify the sender and destroy the original transmission and its attachments without reading or saving it in any manner. Any unauthorized use of this e-mail is illegal.
>> Note on data protection: Sipwise GmbH attaches great importance to the protection of your data. Personal data is also exchanged through communication by e-mail. Learn more at: >> www.sipwise.com <http://www.sipwise.com/>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20240212/9e701a03/attachment.html>


More information about the Spce-user mailing list