#506 DROUTING - core

1.7.x
closed-fixed
modules (454)
5
2012-05-04
2012-04-09
Nick Altmann
No

Production server sometimes falls down with core dump.

opensips-1.7.2 svn 8787

info stack
#0 0x00007f2fcde6c8f1 in internal_check_rt (ptree=0x7f2fa8875988, prefix=<value optimized out>, rgid=1) at prefix_tree.c:88
#1 get_prefix (ptree=0x7f2fa8875988, prefix=<value optimized out>, rgid=1) at prefix_tree.c:165
#2 0x00007f2fcde69985 in do_routing (msg=0x85fac0, drg=<value optimized out>, sort_order=1) at drouting.c:963
#3 0x0000000000412b30 in do_action (a=0x7b28a0, msg=0x85fac0) at action.c:1280
#4 0x0000000000411453 in run_action_list (a=<value optimized out>, msg=0x85fac0) at action.c:141
#5 0x0000000000457af4 in eval_elem (e=0x7b2978, msg=0x85fac0, val=0x0) at route.c:1398
#6 0x0000000000459335 in eval_expr (e=0x7b2978, msg=0x85fac0, val=0x0) at route.c:1743
#7 0x00000000004592f9 in eval_expr (e=0x7b29c8, msg=0x85fac0, val=0x0) at route.c:1764
#8 0x0000000000412f2e in do_action (a=0x7b3bf8, msg=0x85fac0) at action.c:830
#9 0x0000000000411453 in run_action_list (a=<value optimized out>, msg=0x85fac0) at action.c:141
#10 0x0000000000414755 in run_actions (a=0x7aaed0, msg=0x85fac0) at action.c:121
#11 do_action (a=0x7aaed0, msg=0x85fac0) at action.c:504
#12 0x0000000000411453 in run_action_list (a=<value optimized out>, msg=0x85fac0) at action.c:141
#13 0x0000000000414b33 in do_action (a=0x7ab0a0, msg=0x85fac0) at action.c:847
#14 0x0000000000411453 in run_action_list (a=<value optimized out>, msg=0x85fac0) at action.c:141
#15 0x0000000000415589 in do_action (a=0x7ab250, msg=0x85fac0) at action.c:853
#16 0x0000000000411453 in run_action_list (a=<value optimized out>, msg=0x85fac0) at action.c:141
#17 0x0000000000414755 in run_actions (a=0x7a5a00, msg=0x85fac0) at action.c:121
#18 do_action (a=0x7a5a00, msg=0x85fac0) at action.c:504
#19 0x0000000000411453 in run_action_list (a=<value optimized out>, msg=0x85fac0) at action.c:141
#20 0x0000000000414755 in run_actions (a=0x79a2b8, msg=0x85fac0) at action.c:121
#21 do_action (a=0x79a2b8, msg=0x85fac0) at action.c:504
#22 0x0000000000411453 in run_action_list (a=<value optimized out>, msg=0x85fac0) at action.c:141
#23 0x0000000000414b33 in do_action (a=0x79a390, msg=0x85fac0) at action.c:847
#24 0x0000000000411453 in run_action_list (a=<value optimized out>, msg=0x85fac0) at action.c:141
#25 0x0000000000416038 in run_actions (a=0x78e168, msg=0x85fac0) at action.c:121
#26 run_top_route (a=0x78e168, msg=0x85fac0) at action.c:182
#27 0x000000000044c78f in receive_msg (buf=<value optimized out>, len=<value optimized out>, rcv_info=<value optimized out>)
at receive.c:165
#28 0x0000000000486ce5 in udp_rcv_loop () at udp_server.c:418
---Type <return> to continue, or q <return> to quit---
#29 0x00000000004288d6 in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:872
#30 main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1490

#0 0x00007f2fcde6c8f1 in internal_check_rt (ptree=0x7f2fa8875988, prefix=<value optimized out>, rgid=1) at prefix_tree.c:88
i = 0
rg_pos = 1969581679
rg = 0x960
rtlw = 0x0
#1 get_prefix (ptree=0x7f2fa8875988, prefix=<value optimized out>, rgid=1) at prefix_tree.c:165
rt = 0x0
tmp = <value optimized out>
local = <value optimized out>
idx = <value optimized out>

Discussion

  • Hi Nick,

    There was a similar bug already fixed in 1.7.2 - see rev 8870.
    Could you please update from 1.7 SVN branch and see if the crash is still happening ?

    Thanks and regards,
    Bogdan

     
    • assigned_to: nobody --> bogdan_iancu
    • status: open --> open-accepted
     
  • Nick Altmann
    Nick Altmann
    2012-04-10

    Okay, thank you. I will try 8870 and I'll open new case if there will be problems.

     
    • status: open-accepted --> open-fixed
     
  • Nick, any news on this ? is the fix holding ?

    Regards,
    Bogdan

     
  • Nick Altmann
    Nick Altmann
    2012-05-04

    No problem after upgrade. Thank you.

     
    • status: open-fixed --> closed-fixed