Skip to content

ShmDispatcher crash by race condition #15768

@Junxia0Wang

Description

@Junxia0Wang

Describe the bug
ShmDispatcher crash by race condition

To Reproduce
Steps to reproduce the behavior:

  1. Message enqueue to shm dispatcher
  2. Segment remap
  3. ShmDispatcher start to process message
  4. Use overdue idx to bounds check for new segment
  5. Crash

To resolve
Bounds check should before remap call

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions