[SR-Users] 3.3.2 dumps core on unresolvable names

Måns Nilsson mansaxel at besserwisser.org
Mon Oct 27 15:31:14 CET 2014


Hi, 

I've now twice experienced a core dump in my Kamailio install, where it tries to process an INVITE that is made to a domain name that does not exist. 

Log: 

Oct 27 14:49:58 landsort /usr/local/kamailio/sbin/kamailio[40058]: ERROR: <core> [resolve.c:1540]: ERROR: sip_hostport2su: could not resolve hostname: "ulndsort.sr.se"
Oct 27 14:49:58 landsort /usr/local/kamailio/sbin/kamailio[40058]: ERROR: tm [ut.h:327]: failed to resolve "ulndsort.sr.se"
Oct 27 14:49:58 landsort /usr/local/kamailio/sbin/kamailio[40058]: ERROR: tm [t_fwd.c:1530]: ERROR: t_forward_nonack: failure to add branches
Oct 27 14:49:58 landsort /usr/local/kamailio/sbin/kamailio[40058]: ERROR: sl [sl_funcs.c:371]: ERROR: sl_reply_error used: Unresolvable destination (478/SL)
Oct 27 14:49:58 landsort /usr/local/kamailio/sbin/kamailio[40058]: WARNING: tm [t_lookup.c:1543]: WARNING: script writer didn't release transaction
Oct 27 14:50:02 landsort /usr/local/kamailio/sbin/kamailio[40114]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 14
Oct 27 14:50:02 landsort /usr/local/kamailio/sbin/kamailio[40051]: ALERT: <core> [main.c:785]: child process 40058 exited by a signal 11
Oct 27 14:50:02 landsort /usr/local/kamailio/sbin/kamailio[40051]: ALERT: <core> [main.c:788]: core was generated

Backtrack from coredump: 

(gdb) bt
#0  t_unref (p_msg=0x8010af140) at atomic_x86.h:231
#1  0x0000000000509581 in exec_post_script_cb (msg=0x8010af140, type=Variable "type" is not available.
) at script_cb.c:195
#2  0x00000000004297fa in receive_msg (
    buf=0x891ae0 "INVITE sip:vaxo-10 at ulndsort.sr.se SIP/2.0\r\nVia: SIP/2.0/UDP 134.25.127.234:5060;rport;branch=z9hG4bKPjNOjNgRxGeWilvm07L79hdOmgzVAvYB78\r\nMax-Forwards: 69\r\nFrom: \"Teknisk Utveckling MTU 24\" <sip:mtu-24@"..., len=Variable "len" is not available.
) at receive.c:225
#3  0x00000000004b5579 in udp_rcv_loop () at udp_server.c:544
#4  0x0000000000455654 in main_loop () at main.c:1633
#5  0x0000000000459c33 in main (argc=Variable "argc" is not available.
) at main.c:2546
(gdb) 

Does this relate to any known issue? Should I just upgrade? 

FreeBSD 9, by the way. 

-- 
Måns Nilsson     primary/secondary/besserwisser/machina
MN-1334-RIPE                             +46 705 989668
You should all JUMP UP AND DOWN for TWO HOURS while I decide on a NEW CAREER!!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141027/5bf2e453/attachment.pgp>


More information about the sr-users mailing list