[sr-dev] segfault when hostname is not resolved
Mino Haluz
mino.haluz at gmail.com
Wed Feb 20 14:43:08 CET 2013
Hi,
my kamailio v3.3.2 has problems with tm module if it cannot resolv
hostname. I had typoo in carrierroute, so it rewrited the host and
segfaulted. It is normal behaviour?
Feb 20 14:17:45 cr kamailio[17928]: WARNING: tm [t_lookup.c:1543]: WARNING:
script writer didn't release transaction
Feb 20 14:17:45 cr kernel: [87677.608617] kamailio[17928]: segfault at 13
ip a726e440 sp bfbf8aa0 error 6 in tm.so[a7236000+71000]
#0 atomic_dec_and_test_int (p_msg=0xa769bd68) at
../../parser/../mem/../atomic/atomic_x86.h:231
231 ATOMIC_FUNC_TEST(dec_and_test, "decl %0", int, int)
(gdb) back
#0 atomic_dec_and_test_int (p_msg=0xa769bd68) at
../../parser/../mem/../atomic/atomic_x86.h:231
#1 t_unref (p_msg=0xa769bd68) at t_lookup.c:1553
#2 0xa729bd6d in w_t_unref (foo=0xa769bd68, flags=2147483649, bar=0x0) at
tm.c:709
#3 0x08100908 in exec_post_script_cb (msg=0xa769bd68,
type=REQUEST_CB_TYPE) at script_cb.c:195
#4 0x080d9866 in receive_msg (
buf=0x8296840 "INVITE ...
#5 0x08163615 in udp_rcv_loop () at udp_server.c:544
#6 0x080a6793 in main_loop () at main.c:1633
#7 0x080a94ef in main (argc=5, argv=0xbf935d14) at main.c:2546
Mino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130220/71a9d9aa/attachment.htm>
More information about the sr-dev
mailing list