Skip to content

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

Merged
skywojciechowskim merged 11 commits into
release/v0.15.2from
feature/RDKEMW-18434_support8.4.4
Jul 13, 2026
Merged

RDKEMW-18434 : [BCM Rogers Monarch IUI V2] RialtoServer process crash observed while switching between Xumo FAST channels during CC verification#556
skywojciechowskim merged 11 commits into
release/v0.15.2from
feature/RDKEMW-18434_support8.4.4

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 10, 2026 05:49
@github-actions

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

This PR aims to prevent RialtoServer crashes seen during FAST channel switching by reducing teardown-time races between the GStreamer player (timers/worker thread) and MediaPipelineServer client notifications.

Changes:

  • Adjusts playback-info notification behavior to avoid acting on invalid/tearing-down player state.
  • Attempts to stop periodic playback-info notifications during pipeline termination.
  • Relaxes a unit-test teardown expectation to tolerate additional timer interactions.

Reviewed changes

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

File Description
tests/unittests/media/server/gstplayer/genericPlayer/common/GstGenericPlayerTestCommon.cpp Loosens timer factory expectations during GstGenericPlayer destruction in unit tests.
media/server/main/source/MediaPipelineServerInternal.cpp Adds additional gating/logging around playback-info notification and includes a minor formatting-only change.
media/server/gstplayer/source/GstGenericPlayer.cpp Stops periodic playback-info notifications during pipeline termination.

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

Comment thread media/server/gstplayer/source/GstGenericPlayer.cpp
Comment thread media/server/main/source/MediaPipelineServerInternal.cpp
Comment thread media/server/main/source/MediaPipelineServerInternal.cpp
Copilot AI review requested due to automatic review settings July 10, 2026 06:20

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 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread media/server/gstplayer/source/GstGenericPlayer.cpp
Copilot AI review requested due to automatic review settings July 10, 2026 06:53

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 2 out of 2 changed files in this pull request and generated 4 comments.

Comment thread media/server/gstplayer/source/GstGenericPlayer.cpp
Comment thread media/server/gstplayer/source/GstGenericPlayer.cpp
Copilot AI review requested due to automatic review settings July 10, 2026 07:42
@rekhap2kandhavelan
rekhap2kandhavelan force-pushed the feature/RDKEMW-18434_support8.4.4 branch from ca6b2ab to 1f120ec Compare July 10, 2026 07:46

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 3 out of 3 changed files in this pull request and generated 4 comments.

Comments suppressed due to low confidence (1)

tests/unittests/media/server/gstplayer/genericPlayer/GstGenericPlayerPrivateTest.cpp:1709

  • The continuation line for this EXPECT_CALL chain is tab-indented; align it with the surrounding call chains (spaces) for consistency.
        .WillOnce(Return(ByMove(std::move(timerMock))));

Copilot AI review requested due to automatic review settings July 10, 2026 07:49

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 3 out of 3 changed files in this pull request and generated 5 comments.

Comment thread media/server/gstplayer/source/GstGenericPlayer.cpp
Copilot AI review requested due to automatic review settings July 10, 2026 08:03

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 3 out of 3 changed files in this pull request and generated 3 comments.

@github-actions

Copy link
Copy Markdown

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

Copilot AI review requested due to automatic review settings July 10, 2026 08:52

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 3 out of 3 changed files in this pull request and generated 2 comments.

Comment thread media/server/gstplayer/source/GstGenericPlayer.cpp
@github-actions

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%

@rdkcentral rdkcentral deleted a comment from github-actions Bot Jul 10, 2026

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 3 out of 3 changed files in this pull request and generated 1 comment.

@skywojciechowskim
skywojciechowskim merged commit e99eb2f into release/v0.15.2 Jul 13, 2026
33 of 35 checks passed
@skywojciechowskim
skywojciechowskim deleted the feature/RDKEMW-18434_support8.4.4 branch July 13, 2026 06:52
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants