Menu

#2504 imm: dispatch functions don't send imm finalize message when return ERR_BAD_HANDLE

5.17.07
fixed
None
defect
imm
-
major
False
2017-07-27
2017-06-20
No

When dispatch functions return ERR_BAD_HANDLE error, IMM finalize message is not sent to IMM service.
This works when there is only one IMM handle (IMMA closes connection with IMM service). If more handles are used, it may happen that resources in IMM service will never be released.
If oiFinalize is called after receiving ERR_BAD_HANDLE, resources on client side will be released, but not on IMM service side.

For example: if implementer is attached to OI handle, and oiDispatch returns ERR_BAD_HANDLE, the implementer will be attached, but not accessible even if oiFinalize on the oi handle is called. And a new implementer with the same implementer name will not be possible to set again.

Related

Wiki: ChangeLog-5.17.07
Wiki: ChangeLog-5.17.11
Wiki: NEWS-5.17.11

Discussion

  • Anders Widell

    Anders Widell - 2017-07-01
    • Milestone: 5.17.06 --> 5.17.08
     
  • Zoran Milinkovic

    • status: accepted --> fixed
     
  • Zoran Milinkovic

    develop(5.17.10):

    commit bb2134e532d22d72ffea151cf9ea4bd67cecfc63
    Author: Zoran Milinkovic zoran.milinkovic@ericsson.com
    Date: Tue Jul 4 15:01:15 2017 +0200

    imm: send imm finalize message to immnd when dispatch returns ERR_BAD_HANDLE [#2504]
    
    Send IMM_FINALIZE message to immnd when dispatch functions returns ERR_BAD_HANDLE.
    IMM_FINALIZE will release all allocated resources of a handle on IMM service side.
    

    release(5.17.8):

    commit 3e2eeb4ae793beb9f46f49925437537bb9606603
    Author: Zoran Milinkovic zoran.milinkovic@ericsson.com
    Date: Tue Jul 4 15:01:15 2017 +0200

    imm: send imm finalize message to immnd when dispatch returns ERR_BAD_HANDLE [#2504]
    
    Send IMM_FINALIZE message to immnd when dispatch functions returns ERR_BAD_HANDLE.
    IMM_FINALIZE will release all allocated resources of a handle on IMM service side.
    
     

Log in to post a comment.