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

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 16 17:40:24 CET 2015


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
>         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
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
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/20150116/193d0e36/attachment.html>


More information about the sr-users mailing list