Menu

#926 AMF: assert in standby amfd, ckpt of si_dep_state

4.3.3
fixed
None
defect
amf
d
4.3
major
2014-08-20
2014-05-23
Hans Feldt
No

Installing an application that includes an SI dependency ends up like this on the standby amfd:

#0  0x00007f71264bcb35 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f71264be111 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007f7127d51e07 in __osafassert_fail (__file=<optimized out>, __line=<optimized out>, __func=<optimized out>, __assertion=<optimized out>)
    at sysf_def.c:401
No locals.
#3  0x00000000004103e7 in dec_si_dep_state (cb=0x69c980, dec=<optimized out>) at avd_ckpt_dec.c:2042
        status = 1
        si_ptr_dec = 0x7fffb986d1d0
        dec_si = {tree_node = {bit = 0, left = 0x0, right = 0x0, key_info = 0x0}, name = {length = 50,

my analysis is that this is a race condition when the standby amfd as applier has not yet got the SI from IMM and therefore when the si_dep_state is checkpointed the object does not exist. Just yet another variant of the same problem we have had before (due to race with being applier).

Related

Tickets: #926
Wiki: ChangeLog-4.3.3
Wiki: ChangeLog-4.4.1

Discussion

  • Hans Feldt

    Hans Feldt - 2014-05-23
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,6 @@
     Installing an application that includes an SI dependency ends up like this on the standby amfd:
    
    -
    +~~~~
     #0  0x00007f71264bcb35 in raise () from /lib64/libc.so.6
     No symbol table info available.
     #1  0x00007f71264be111 in abort () from /lib64/libc.so.6
    @@ -12,5 +12,5 @@
             status = 1
             si_ptr_dec = 0x7fffb986d1d0
             dec_si = {tree_node = {bit = 0, left = 0x0, right = 0x0, key_info = 0x0}, name = {length = 50,
    -
    +~~~~
     my analysis is that this is a race condition when the standby amfd as applier has not yet got the SI from IMM and therefore when the si_dep_state is checkpointed the object does not exist. Just yet another variant of the same problem we have had before (due to race with being applier).
    
     
  • Hans Feldt

    Hans Feldt - 2014-05-23
    • status: unassigned --> accepted
    • assigned_to: Hans Feldt
     
  • Hans Feldt

    Hans Feldt - 2014-05-23
    • status: accepted --> review
     
  • Hans Feldt

    Hans Feldt - 2014-05-26
    • status: review --> fixed
     
  • Hans Feldt

    Hans Feldt - 2014-05-26

    changeset: 5310:b9ce483b8635
    branch: opensaf-4.3.x
    parent: 5303:db4a69482c27
    user: Hans Feldt hans.feldt@ericsson.com
    date: Mon May 26 09:56:19 2014 +0200
    summary: avd: create SI to store ckpt:ed dep_state [#926]

    changeset: 5311:b7cae73a2b5f
    branch: opensaf-4.4.x
    parent: 5308:eeb028eff1af
    user: Hans Feldt hans.feldt@ericsson.com
    date: Mon May 26 10:28:12 2014 +0200
    summary: amfd: create SI to store ckpt:ed dep_state [#926]

    changeset: 5312:145127a3e60f
    tag: tip
    parent: 5309:d93a77d0206a
    user: Hans Feldt hans.feldt@ericsson.com
    date: Mon May 26 10:40:44 2014 +0200
    summary: amfd: create SI to store ckpt:ed dep_state [#926]

    We really need to see if any similar problems remain!

     

    Related

    Tickets: #926


Log in to post a comment.