- **status**: assigned --> fixed
- **Comment**:
commit 8a5dd83879f2665f800885fcc1dec2e6deb2f2b4 (HEAD -> develop,
origin/develop, ticket-3265)
Author: thang.d.nguyen <[email protected]>
Date: Thu May 27 11:55:14 2021 +0700
imm: not assert when checking initial value in IMMA [#3265]
The initialize value can be not zero, so no need to
assert this check. Just log this as a warning.
---
** [tickets:#3265] imm: crashes in imm agent**
**Status:** fixed
**Milestone:** 5.21.06
**Created:** Thu May 27, 2021 04:28 AM UTC by Thang Duc Nguyen
**Last Updated:** Thu May 27, 2021 04:28 AM UTC
**Owner:** Thang Duc Nguyen
2021-05-21 22:21:11 testing SC-2-2 err src/imm/agent/imma_init.cc:152:
imma_create: Assertion 'cb->sv_id == 0' failed.
The sv_id value during initialize can be not zero. So assert below is not
needed in imma_create( )
~~~
if (cb->sv_id != 0) {
/*The osafassert below seems to occurr sometimes on some systems. */
TRACE_4("cb->sv_id is NOT ZERO (%x) on first time entry IMMA svid:%x",
cb->sv_id, sv_id);
osafassert(cb->sv_id == 0);
}
cb->sv_id = sv_id;
~~~
Moreover, imm agent still works correctly if sv_id is not zero in
initialization.
---
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