<div dir="ltr"><div>hi  daniel, look at the following info,thks.</div><div><br></div><div>(gdb) bt full</div><div>#0  0x00000000005fda98 in timer_list_expire (t=1263625687, h=0x7fa5e01c19b0, slow_l=0x7fa5e01c3010, slow_mark=325) at timer.c:877</div><div>        tl = 0x7fa5e03e77d0</div><div>        ret = 0</div><div>#1  0x00000000005fc686 in timer_handler () at timer.c:953</div><div>        saved_ticks = 1263625687</div><div>        run_slow_timer = 0</div><div>        i = 325</div><div>        __FUNCTION__ = "timer_handler"</div><div>#2  0x00000000005fdd4d in timer_main () at timer.c:992</div><div>No locals.</div><div>#3  0x00000000004aa571 in main_loop () at main.c:1700</div><div>        i = 12</div><div>        pid = 0</div><div>        si = 0x0</div><div>        si_desc = "udp receiver child=11 sock=<a href="http://10.103.252.159:5160">10.103.252.159:5160</a>\000\000\b\000\000\000\000\000\000\000\000\200\024\340\245\177\000\000 ;\032\000\001\000\000\000(\325\027\340\245\177\000\000 ;\032\000\377\177\000\000\214\216N\000\000\000\000\000\335\233}{\000\000\000\000(\325\027\340\245\177\000\000\200>\032\000\377\177\000\000\000\000\000\000\001\000\000"</div><div>        nrprocs = 12</div><div>        __FUNCTION__ = "main_loop"</div><div>#4  0x00000000004af166 in main (argc=11, argv=0x7fff001a3e88) at main.c:2561</div><div>        cfg_stream = 0x19e15e0</div><div>        c = -1</div><div>        r = 0</div><div>        tmp = 0x7fff001a4681 ""</div><div>        tmp_len = 32767</div><div>        port = 1719808</div><div>        proto = 32680</div><div>        options = 0x706ec0 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:"</div><div>        ret = -1</div><div>        seed = 3548653977</div><div>        rfd = 4</div><div>        debug_save = 0</div><div>        debug_flag = 0</div><div>        dont_fork_cnt = 0</div><div>        n_lst = 0xb</div><div>        p = 0x0</div><div>        __FUNCTION__ = "main"</div><div><br></div><div><br></div><div>







<p class="">(gdb) p *tl</p>
<p class="">$1 = {next = 0x0, prev = 0x7fa5e01c19b0, expire = 1263625760, initial_timeout = 80, data = 0x7fa5e03e7750, f = 0x7fa864720942 <wait_handler>, flags = 513, </p>
<p class="">  slow_idx = 0}</p></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-17 0:40 GMT+08:00 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Can you get the output in gdb for:<br>
    <br>
    p *tl<br>
    <br>
    ?<br>
    <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <div>On 16/01/15 04:29, 张顺通 wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">I user rtimer module :
        <div><br>
          <div>loadmodule "rtimer.so"<br>
          </div>
        </div>
        <div>
          <div>modparam("rtimer", "timer",
            "name=p_route;interval=1;mode=1;")</div>
          <div>modparam("rtimer", "exec", "timer=p_route;route=P_ROUTE")</div>
        </div>
        <div><br>
        </div>
        <div>application will coredump in sometimes, and core file in
          below, what's the reason?</div>
        <div><br>
        </div>
        <div>
          <div>Program terminated with signal 11, Segmentation fault.</div>
          <div>#0  0x00000000005fda98 in timer_list_expire
            (t=1043586690, h=0x7f9ed45ac9b0, slow_l=0x7f9ed45adc80,
            slow_mark=2316) at timer.c:877</div>
          <div>877<span style="white-space:pre-wrap"> </span>timer.c:
            No such file or directory.</div>
          <div><span style="white-space:pre-wrap"> </span>in
            timer.c</div>
          <div>(gdb) bt full</div>
          <div>#0  0x00000000005fda98 in timer_list_expire
            (t=1043586690, h=0x7f9ed45ac9b0, slow_l=0x7f9ed45adc80,
            slow_mark=2316) at timer.c:877</div>
          <div>        tl = 0x7f9ed47f7e98</div>
          <div>        ret = 0</div>
          <div>#1  0x00000000005fc686 in timer_handler () at timer.c:953</div>
          <div>        saved_ticks = 1043586690</div>
          <div>        run_slow_timer = 0</div>
          <div>        i = 268</div>
          <div>        __FUNCTION__ = "timer_handler"</div>
          <div>#2  0x00000000005fdd4d in timer_main () at timer.c:992</div>
          <div>No locals.</div>
          <div>#3  0x00000000004aa571 in main_loop () at main.c:1700</div>
          <div>        i = 12</div>
          <div>        pid = 0</div>
          <div>        si = 0x0</div>
          <div>        si_desc = "udp receiver child=11
sock=10.1.*.*:5160\000\000\b\000\000\000\000\000\000\000\000\060S\324\236\177\000\000\060=#z\001\000\000\000(\205V\324\236\177\000\000\060=#z\377\177\000\000\214\216N\000\000\000\000\000\037t\372D\000\000\000\000(\205V\324\236\177\000\000\220@#z\377\177\000\000\000\000\000\000\001\000\000"</div>
          <div>        nrprocs = 12</div>
          <div>        __FUNCTION__ = "main_loop"</div>
          <div>#4  0x00000000004af166 in main (argc=11,
            argv=0x7fff7a234098) at main.c:2561</div>
          <div>        cfg_stream = 0x1da75e0</div>
          <div>        c = -1</div>
          <div>        r = 0</div>
          <div>        tmp = 0x7fff7a234681 ""</div>
          <div>        tmp_len = 32767</div>
          <div>        port = <a href="tel:2049130512" value="+12049130512" target="_blank">2049130512</a></div>
          <div>        proto = 32673</div>
          <div>        options = 0x706ec0
            ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:"</div>
          <div>        ret = -1</div>
          <div>        seed = 220012340</div>
          <div>        rfd = 4</div>
          <div>        debug_save = 0</div>
          <div>        debug_flag = 0</div>
          <div>        dont_fork_cnt = 0</div>
          <div>        n_lst = 0xb</div>
          <div>        p = 0x0</div>
          <div>        __FUNCTION__ = "main"</div>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
  </font></span></div>

</blockquote></div><br></div>