[sr-dev] [kamailio/kamailio] Random segfault or general protection crash on siptrace.so module (#2718)

Joshua Riffle notifications at github.com
Fri May 7 16:30:14 CEST 2021


Hi, here is what I got from running those commands in order:
```
(gdb) frame 0
#0  0x00007efc73a6adbf in msg_send_buffer (dst=0x7efc0a6064b8, 
    buf=0x7efc79a0e1e8 "\002\020\002\021\023\304\023\304\064\bɀ4\bɀ\330\037\214`\237\002\f", len=753, flags=1)
    at ../../core/forward.h:220
220			if (unlikely((dst->send_sock==0) ||
(gdb) list
215			goto done;
216		}
217	#endif
218	
219		if (likely(dst->proto==PROTO_UDP)){
220			if (unlikely((dst->send_sock==0) ||
221						(dst->send_sock->flags & SI_IS_MCAST))){
222				new_dst=*dst;
223				new_dst.send_sock=get_send_socket(0, &dst->to, dst->proto);
224				if (unlikely(new_dst.send_sock==0)){
(gdb) p *dst
$1 = {send_sock = 0x726177726f462d78, to = {s = {sa_family = 29540, sa_data = ": 70\r\nContent-"}, sin = {
      sin_family = 29540, sin_port = 8250, sin_addr = {s_addr = 168636471}, sin_zero = "Content-"}, sin6 = {
      sin6_family = 29540, sin6_port = 8250, sin6_flowinfo = 168636471, sin6_addr = {__in6_u = {
          __u6_addr8 = "Content-Length: ", __u6_addr16 = {28483, 29806, 28261, 11636, 25932, 26478, 26740, 8250}, 
          __u6_addr32 = {1953394499, 762605157, 1735288140, 540698740}}}, sin6_scope_id = 1426722096}, sas = {
      ss_family = 29540, 
      __ss_padding = ": 70\r\nContent-Length: 0\r\nUser-Agent: Skyetel\r\n\r\n", '\000' <repeats 69 times>, 
      __ss_align = 0}}, id = 0, send_flags = {f = 0, blst_imask = 0}, proto = 1 '\001', proto_pad0 = 0 '\000', 
  proto_pad1 = 0}
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2718#issuecomment-834456207
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210507/f9e364b1/attachment.htm>


More information about the sr-dev mailing list