Unexpectedly coredump of osafntfimcnd appears in below reproduction:
1. Create a class with SA_NOTIFY flag
2. Create 20 objects of this class (or less)
3. Create a new CCB then add Delete operations of the first 10 objects to it. Do not commit the CCB.
- With the current design, if the first operation of CCB is an SA_NTF_OBJECT_DELETION operation, IMM will first issue a fake "ObjectModify" callback to osafntfimcnd (special applier) before issuing "ObjectDelete" callback. Which means there will be eleven events with 1 fake modify and 10 delete.
4. Kill the actice osafntfimcnd process, a new active instance of osafntfimcnd will be started
- The new osafntfimcnd process here doesn't contain any information about the eleven previous events
5. Add Delete operations of the remaining objects to the CCB
- The new osafntfimcnd process will only receive 10 delete events without any fake modify event.
6. Apply the CCB. The new active instance of osafntfimcnd will be crashed and coredump will be generated.
Attached are traces and logs.
https://sourceforge.net/p/opensaf/mailman/message/36333847/
commit 0f5a0a6d83aab679050d5057b496fd4e2e42ec8a (HEAD, origin/develop, develop)
Author: Hoa Le hoa.le@dektech.com.au
Date: Mon Jun 4 10:53:19 2018 +0700
Related
Tickets:
#2859