Skip to content

RDKEMW-18434 : [BCM Rogers Monarch IUI V2] RialtoServer process crash observed while switching between Xumo FAST channels during CC verification.#553

Open
rekhap2kandhavelan wants to merge 4 commits into
release/v0.15.2from
feature/RDKEMW-18434
Open

RDKEMW-18434 : [BCM Rogers Monarch IUI V2] RialtoServer process crash observed while switching between Xumo FAST channels during CC verification.#553
rekhap2kandhavelan wants to merge 4 commits into
release/v0.15.2from
feature/RDKEMW-18434

Conversation

@rekhap2kandhavelan

Copy link
Copy Markdown
Contributor

Summary: handling race conditions for GstPlayer
Type: Fix
Test Plan: UT/CT, Fullstac
Jira: RDKEMW-18434

Copilot AI review requested due to automatic review settings July 1, 2026 10:03
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Pull request must be merged with a description containing the required fields,

Summary:
Type: Feature/Fix/Cleanup
Test Plan:
Jira:

If there is no jira releated to this change, please put 'Jira: NO-JIRA'.

Description can be changed by editing the top comment on your pull request and making a new commit.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a reported RialtoServer crash during rapid FAST channel switching by adjusting teardown/notification behavior around GstPlayer to mitigate race conditions between worker-thread callbacks and main-thread task dispatch.

Changes:

  • Updates MediaPipelineServerInternal destructor teardown sequence to explicitly destroy m_gstPlayer.
  • Adds additional guarding/logging around notifyPlaybackInfo() when m_gstPlayer is not valid.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +189 to +193
m_shmBuffer.reset();
m_mainThread->unregisterClient(m_mainThreadClientId);

// Destroy GstPlayer first, while the main thread client is still registered.
// This ensures that during the worker thread drain in ~GstGenericPlayer,
Comment thread media/server/main/source/MediaPipelineServerInternal.cpp
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Coverage statistics of your commit:
Congratulations, your commit improved lines coverage from: 0.0% to 84.3%
Congratulations, your commit improved functions coverage from: 0.0% to 92.5%

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Coverage statistics of your commit:
Congratulations, your commit improved lines coverage from: 0.0% to 84.3%
Congratulations, your commit improved functions coverage from: 0.0% to 92.5%

Copilot AI review requested due to automatic review settings July 2, 2026 09:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread media/server/main/source/MediaPipelineServerInternal.cpp
Comment thread media/server/main/source/MediaPipelineServerInternal.cpp
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Coverage statistics of your commit:
Congratulations, your commit improved lines coverage from: 0.0% to 84.3%
Congratulations, your commit improved functions coverage from: 0.0% to 92.5%

@svc-rdkeportal01

Copy link
Copy Markdown

CCI-Build-Verified -1
sha: b7cfc09

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

Coverage statistics of your commit:
Congratulations, your commit improved lines coverage from: 0.0% to 84.3%
Congratulations, your commit improved functions coverage from: 0.0% to 92.5%

@LekshmiMR
LekshmiMR requested a review from a team July 7, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants