Menu

#3265 imm: crashes in imm agent

5.21.06
fixed
None
enhancement
imm
lib
5
minor
False
2021-05-28
2021-05-27
No

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.

Related

Wiki: ChangeLog-5.21.06

Discussion

  • Thang Duc Nguyen

    • status: assigned --> fixed
     
  • Thang Duc Nguyen

    commit 8a5dd83879f2665f800885fcc1dec2e6deb2f2b4 (HEAD -> develop, origin/develop, ticket-3265)
    Author: thang.d.nguyen thang.d.nguyen@dektech.com.au
    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.
    
     

Log in to post a comment.