- **status**: review --> fixed
- **Comment**:

commit 7e3720c628ca33e76ddcc9b89cac1f01ad69e04d (HEAD -> develop, 
origin/develop, ticket-3157)
Author: thang.d.nguyen <[email protected]>
Date:   Wed Feb 19 11:21:29 2020 +0700

    amfnd: correct handling "terminate success" event in terminating state 
[#3157]

    While node shutdown, NPI component was restarted by adm op and
    another component failed caused node failover. The NPI component
    was uninstantiated after all assignment removed.

    In function handling "terminate success" event in terminating state".
    Amf need to exit when all comps terminated in node shutdown state.
    It avoid coredump in FSM running later.




---

** [tickets:#3157] amf: amfnd coredump in shutdown phase**

**Status:** fixed
**Milestone:** 5.20.05
**Created:** Tue Feb 18, 2020 11:26 AM UTC by Thang Duc Nguyen
**Last Updated:** Thu Feb 20, 2020 09:08 AM UTC
**Owner:** Thang Duc Nguyen


While node shutdown, NPI component was restarted by adm op and another 
component failed invoke node failover. The NPI component was uninstantiated 
after all assignment removed.

~~~
2020-02-18T00:37:03.137+01:00 PL-3 osafamfnd[16487]: IN 
'safComp=A,safSu=PL-3,safSg=NWA,safApp=App' Presence State INSTANTIATED => 
TERMINATING

2020-02-18T00:37:03.138+01:00 PL-3 osafamfnd[16487]: NO 
'safSu=PL-3,safSg=NWA,safApp=App' Presence State INSTANTIATED => TERMINATING

2020-02-18T00:37:03.520+01:00 PL-3 osafamfnd[16487]: NO Removed 
'safSi=A-NWA-1,safApp=App' from 'safSu=PL-3,safSg=NWA,safApp=App'

2020-02-18T00:37:03.611+01:00 PL-3 osafamfnd[16487]: IN 
'safComp=A,safSu=PL-3,safSg=NWA,safApp=App' Presence State TERMINATING => 
UNINSTANTIATED
~~~

It will try to access csi again in avnd_su_pres_terming_compuninst_hdler to 
remove assignment...
Access to csi record cause coredump due to access to null.
`2020-02-18T00:37:03.611+01:00 PL-3 osafamfnd[16487]: 
src/amf/amfnd/susm.cc:3224: avnd_su_pres_terming_compuninst_hdler: Assertion 
'curr_csi' failed.`


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to