[SR-Users] kamailio 4.2.1 core in timer.c:877

Daniel-Constantin Mierla miconda at gmail.com
Thu Jan 29 11:09:49 CET 2015


Hello,

the tl content looks good, let's see the prev and next items:

p *tl->prev
p *tl->next

Cheers,
Daniel

On 29/01/15 08:49, 张顺通 wrote:
> hi  daniel, look at the following info,thks.
>
> (gdb) bt full
> #0  0x00000000005fda98 in timer_list_expire (t=1263625687,
> h=0x7fa5e01c19b0, slow_l=0x7fa5e01c3010, slow_mark=325) at timer.c:877
>         tl = 0x7fa5e03e77d0
>         ret = 0
> #1  0x00000000005fc686 in timer_handler () at timer.c:953
>         saved_ticks = 1263625687
>         run_slow_timer = 0
>         i = 325
>         __FUNCTION__ = "timer_handler"
> #2  0x00000000005fdd4d in timer_main () at timer.c:992
> No locals.
> #3  0x00000000004aa571 in main_loop () at main.c:1700
>         i = 12
>         pid = 0
>         si = 0x0
>         si_desc = "udp receiver child=11 sock=10.103.252.159:5160
> <http://10.103.252.159:5160>\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"
>         nrprocs = 12
>         __FUNCTION__ = "main_loop"
> #4  0x00000000004af166 in main (argc=11, argv=0x7fff001a3e88) at
> main.c:2561
>         cfg_stream = 0x19e15e0
>         c = -1
>         r = 0
>         tmp = 0x7fff001a4681 ""
>         tmp_len = 32767
>         port = 1719808
>         proto = 32680
>         options = 0x706ec0
> ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:"
>         ret = -1
>         seed = 3548653977
>         rfd = 4
>         debug_save = 0
>         debug_flag = 0
>         dont_fork_cnt = 0
>         n_lst = 0xb
>         p = 0x0
>         __FUNCTION__ = "main"
>
>
> (gdb) p *tl
>
> $1 = {next = 0x0, prev = 0x7fa5e01c19b0, expire = 1263625760,
> initial_timeout = 80, data = 0x7fa5e03e7750, f = 0x7fa864720942
> <wait_handler>, flags = 513, 
>
>   slow_idx = 0}
>
>
> 2015-01-17 0:40 GMT+08:00 Daniel-Constantin Mierla <miconda at gmail.com
> <mailto:miconda at gmail.com>>:
>
>     Can you get the output in gdb for:
>
>     p *tl
>
>     ?
>
>     Cheers,
>     Daniel
>
>
>     On 16/01/15 04:29, 张顺通 wrote:
>>     I user rtimer module :
>>
>>     loadmodule "rtimer.so"
>>     modparam("rtimer", "timer", "name=p_route;interval=1;mode=1;")
>>     modparam("rtimer", "exec", "timer=p_route;route=P_ROUTE")
>>
>>     application will coredump in sometimes, and core file in below,
>>     what's the reason?
>>
>>     Program terminated with signal 11, Segmentation fault.
>>     #0  0x00000000005fda98 in timer_list_expire (t=1043586690,
>>     h=0x7f9ed45ac9b0, slow_l=0x7f9ed45adc80, slow_mark=2316) at
>>     timer.c:877
>>     877timer.c: No such file or directory.
>>     in timer.c
>>     (gdb) bt full
>>     #0  0x00000000005fda98 in timer_list_expire (t=1043586690,
>>     h=0x7f9ed45ac9b0, slow_l=0x7f9ed45adc80, slow_mark=2316) at
>>     timer.c:877
>>             tl = 0x7f9ed47f7e98
>>             ret = 0
>>     #1  0x00000000005fc686 in timer_handler () at timer.c:953
>>             saved_ticks = 1043586690
>>             run_slow_timer = 0
>>             i = 268
>>             __FUNCTION__ = "timer_handler"
>>     #2  0x00000000005fdd4d in timer_main () at timer.c:992
>>     No locals.
>>     #3  0x00000000004aa571 in main_loop () at main.c:1700
>>             i = 12
>>             pid = 0
>>             si = 0x0
>>             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"
>>             nrprocs = 12
>>             __FUNCTION__ = "main_loop"
>>     #4  0x00000000004af166 in main (argc=11, argv=0x7fff7a234098) at
>>     main.c:2561
>>             cfg_stream = 0x1da75e0
>>             c = -1
>>             r = 0
>>             tmp = 0x7fff7a234681 ""
>>             tmp_len = 32767
>>             port = 2049130512 <tel:2049130512>
>>             proto = 32673
>>             options = 0x706ec0
>>     ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:"
>>             ret = -1
>>             seed = 220012340
>>             rfd = 4
>>             debug_save = 0
>>             debug_flag = 0
>>             dont_fork_cnt = 0
>>             n_lst = 0xb
>>             p = 0x0
>>             __FUNCTION__ = "main"
>>
>>
>>
>>     _______________________________________________
>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>     -- 
>     Daniel-Constantin Mierla
>     http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>
>

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150129/afb52e73/attachment.html>


More information about the sr-users mailing list