<div dir="ltr"><div>There you go:<br><br>~~~~<br>(gdb) bt<br>#0  tcp_read_req (con=con@entry=0xa773e948, bytes_read=bytes_read@entry=0xbfb3b8cc) at tcp_read.c:711<br>#1  0x080e08a2 in handle_io (fm=0x99015c8, idx=idx@entry=-1, event_type=event_type@entry=1) at tcp_read.c:1036<br>#2  0x080e271c in io_wait_loop_epoll (repeat=&lt;optimized out&gt;, h=&lt;optimized out&gt;, t=&lt;optimized out&gt;) at io_wait.h:867<br>#3  tcp_receive_loop (unix_sock=72) at tcp_read.c:1144<br>#4  0x080dc690 in tcp_init_children (chd_rank=chd_rank@entry=0x81e362c, startup_done=startup_done@entry=0x0) at tcp_main.c:2378<br>#5  0x0805db02 in main_loop () at main.c:1011<br>#6  main (argc=11, argv=0xbfb3bbf4) at main.c:1612<br>(gdb) print req<br>$1 = (struct tcp_req *) 0x995eaf8<br>(gdb) print cur<br>cur_lock             curr_dir             current_dlg_pointer  current_req<br>(gdb) print current_req<br>$2 = {next = 0x0,<br>  buf = &quot;\r\n\r\n2.0 200 OK\r\nVia: SIP/2.0/TLS 81.23.228.129:443;received=81.23.228.129;branch=z9hG4bK5a46.32065967.0\r\nVia: SIP/2.0/UDP 81.23.228.150:5060;branch=z9hG4bK5a46.b782e725.0\r\nRecord-Route: &lt;sip:81.23.228&quot;...,<br>  start = 0x8221ae4 &quot;\r\n\r\n2.0 200 OK\r\nVia: SIP/2.0/TLS 81.23.228.129:443;received=81.23.228.129;branch=z9hG4bK5a46.32065967.0\r\nVia: SIP/2.0/UDP 81.23.228.150:5060;branch=z9hG4bK5a46.b782e725.0\r\nRecord-Route: &lt;sip:81.23.228&quot;...,<br>  pos = 0x8221ae4 &quot;\r\n\r\n2.0 200 OK\r\nVia: SIP/2.0/TLS 81.23.228.129:443;received=81.23.228.129;branch=z9hG4bK5a46.32065967.0\r\nVia: SIP/2.0/UDP 81.23.228.150:5060;branch=z9hG4bK5a46.b782e725.0\r\nRecord-Route: &lt;sip:81.23.228&quot;...,<br>  parsed = 0x8221ae4 &quot;\r\n\r\n2.0 200 OK\r\nVia: SIP/2.0/TLS 81.23.228.129:443;received=81.23.228.129;branch=z9hG4bK5a46.32065967.0\r\nVia: SIP/2.0/UDP 81.23.228.150:5060;branch=z9hG4bK5a46.b782e725.0\r\nRecord-Route: &lt;sip:81.23.228&quot;..., body = 0x0, content_len = 0,<br>  has_content_len = 0, complete = 0, bytes_to_go = 0, error = TCP_REQ_OK, state = H_SKIP_EMPTY}<br>(gdb) print *req<br>Cannot access memory at address 0x995eaf8<br>(gdb)<br>~~~~<br><br><br></div>I&#39;m currently using the system allocator.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 4, 2016 at 2:58 PM, Răzvan Crainea <span dir="ltr">&lt;<a href="mailto:notifications@github.com" target="_blank">notifications@github.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p>What allocator are you using? Could you print the <code>req</code> variable in gdb and paste the output here?</p>

</span><p style="font-size:small;color:#666">—<span class=""><br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/813#issuecomment-192293339" target="_blank">view it on GitHub</a>.<img alt="" src="https://github.com/notifications/beacon/AFOciXnfET4VuDsPOp82G0UvFVXwMX71ks5pqDqOgaJpZM4HlWvm.gif" height="1" width="1"></span></p>
<div>
<div>
  
  
</div>

</div>
<br>_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">/Saúl<br><a href="http://bettercallsaghul.com" target="_blank">bettercallsaghul.com</a></div>
</div>