---

** [tickets:#1739] Logsv is providing same active handle value for different 
api calls**

**Status:** unassigned
**Milestone:** 4.6.2
**Created:** Thu Apr 07, 2016 11:48 AM UTC by Ritu Raj
**Last Updated:** Thu Apr 07, 2016 11:48 AM UTC
**Owner:** nobody


Setup:
Changeset- 7436
Version - opensaf 5.0

Issue :
  Logsv is issuing same active handle value for different api calls

Steps:
 -> The logsv application stores the global system stream handle and for couple 
of scenarios , initialization and finalization has been done.
 
 -> At the startup of the application, system stream handle (4288675841) is 
obtained.
 
 -> After couple of flows, the initialization api saLogInitialize() obtained 
same handle ( 4288675841) and was finalized.
 
 ->  So when saLogWriteLogAsync()  api is invoked  with the earlier obtained 
system stream handle, it is returning SA_AIS_ERR_BAD_HANDLE.  Note that the 
init  handle  associated with the system stream handle 4288675841  is not 
finalized.


100|0|Invoking saLogInitialize()
100|0| Return value : <-- SA_AIS_OK
100|0|  Handle obtained is 4290772993
100|0|Invoking saLogStreamOpen_2()
100|0|Handle used is 4290772993
100|0| Return value : <-- SA_AIS_OK
100|0|  Handle obtained is 4288675841
100|0|Invoking saLogStreamOpen_2()
100|0|Handle used is 4290772993
100|0| Return value : <-- SA_AIS_OK
100|0|  Handle obtained is 4287627265
100|0|Invoking saLogStreamOpen_2()
100|0|Handle used is 4290772993
100|0| Return value : <-- SA_AIS_OK
100|0|  Handle obtained is 4286578689
100|0|system stream handle  4288675841
...........................
100|0|Invoking saLogInitialize()
100|0| Return value : <-- SA_AIS_OK
100|0|  Handle obtained is 4288675841
100|0|Invoking saLogFinalize()
100|0|  Handle used is 4288675841
100|0| Return value : <-- SA_AIS_OK
100|0|Invoking saLogSelectionObjectGet()
100|0| Return value : <-- SA_AIS_ERR_BAD_HANDLE
............................
100|0|Invoking saLogWriteLogAsync()
100|0|Handle used is 4288675841
100|0| Return value : <-- SA_AIS_ERR_BAD_HANDLE
100|0|saLogWriteLogAsync return values did not match Actual_Value :9  
Expected_Value :1

 This application used to work with 4.7


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to