- **status**: assigned --> accepted
---
** [tickets:#91] AMFND crashed when SU containing components with different
compcstype, is unlocked**
**Status:** accepted
**Created:** Mon May 13, 2013 04:55 AM UTC by Nagendra Kumar
**Last Updated:** Thu Sep 19, 2013 06:24 AM UTC
**Owner:** Nagendra Kumar
Migrated from http://devel.opensaf.org/ticket/2575
Changeset : 3406
2N SG configured with 2 SUs each containing 5 components
2 CSTYPEs : CsType1 and CsType2
7 SIs each having 5 CSIs with different CsTypes in the following manner:
SI1, SI3, SI5 are with 5 CSIs of CSTYPE CsType1
SI2 and SI4 are with 5 CSIs of CSTYPE CsType2
CompCsTypes are created such that:
All components of SU1 are mapped to CSTYPE CsType1
All components of SU2 are mapped to CSTYPE CsType2
Dependency is configured as:
SI1 is sponsor for SI2
SI2 is sponsor for SI3, SI4, SI5, SI6 and SI7
The model is created with SUs in LOCKED-INSTANTIATION state
UNLOCK-IN admin operation is performed on SU1 and SU2
UNLOCK is performed on SU1,
SU1 got assigned with ACTIVE for SI1. As SI2 is with CSIs of type CsType2 it
cannot be assigned to SU1.
So SI2 remained unassigned and hence its dependents
UNLOCK is performed on SU2.
As per expectation, SU2 should remain unassigned as it cannot get assignment of
SI as it does not match Type configuration
But AMF is trying to assign STANDBY for SI1 to SI1 and AMFND is crashing
#0 0x0808c627 in assign_si_to_su (si=0x80c2f98, su=0x80b7aa0, single_csi=1) at
avnd_susm.c:492
492 avnd_susm.c: No such file or directory.
in avnd_susm.c
(gdb) bt
#0 0x0808c627 in assign_si_to_su (si=0x80c2f98, su=0x80b7aa0, single_csi=1) at
avnd_susm.c:492
#1 0x0808c9fb in avnd_su_si_assign (cb=0x80aa9a0, su=0x80b7aa0, si=0x80c2f98)
at avnd_susm.c:612
#2 0x0808c087 in avnd_su_si_msg_prc (cb=0x80aa9a0, su=0x80b7aa0,
info=0x80bafdc) at avnd_susm.c:352
#3 0x0808a8b4 in avnd_evt_avd_info_su_si_assign_evh (cb=0x80aa9a0,
evt=0x80bad30) at avnd_su.c:284
#4 0x08087f98 in avnd_evt_process (evt=0x80bad30) at avnd_proc.c:279
#5 0x08087da3 in avnd_main_process () at avnd_proc.c:220
#6 0x0804ff61 in main (argc=Cannot access memory at address 0x2
) at amfnd_main.c:45
(gdb) q
=======================================================
Change History
Changed 14 months ago by nagendra ¶
■type changed from defect to enhancement
■milestone changed from 4.2.1 to future_releases
The handling of mismatching components and csis is not implemented in AMF, it
will require to implement SaAmfCompCsType?, SaAmfCtCsType? and
SaAmfSvcTypeCSTypes. So, moving it into enhancement.
---
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.
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets