[SR-Users] Segfault starting kamailio, function "registered"

Jon Bonilla (Manwe) manwe at sipdoc.net
Fri Aug 14 10:23:32 CEST 2020


Hi

when I start kamailio in my dev system it fails to start and segfaults. 

Version: 5.4.0

CFG Line: if (registered("kam_location",$tu)) {

Log:
Aug 14 10:20:29 pekedev2 kamailio: CRITICAL: <core> [core/cfg.y:3588]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 382,
column 34-36: function registered: parameter 2 is not constant#012 

Aug 14
10:20:29 pekedev2 kernel: [1501045.504630] kamailio[21276]: segfault at
6e6f6974 ip 00005566607d8887 sp 00007ffd6761b240 error 4 in
kamailio[55666079d000+431000] 

Aug 14 10:20:29 pekedev2 kernel: [1501045.504655]
Code: 89 bd 68 ff ff ff 64 48 8b 04 25 28 00 00 00 48 89 45 c8 31 c0 48 83 bd
68 ff ff ff 00 0f 84 f5 09 00 00 48 8b 85 68 ff ff ff <8b> 00 83 f8 01 0f 85 65
09 00 00 48 8b 85 68 ff ff ff 8b 40 0c 85


The coredump is not clear to me. I extracted using coredumpctl (fuck you
systemd) and running gdb. Is there a new method now that systemd has taken
control of my systems?


cheers,

Jon


-- 
PekePBX, the multitenant PBX solution
https://pekepbx.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Firma digital OpenPGP
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200814/cda8a164/attachment.sig>


More information about the sr-users mailing list