RDKEMW-18434 : [BCM Rogers Monarch IUI V2] RialtoServer process crash observed while switching between Xumo FAST channels during CC verification#556
Conversation
|
Pull request must be merged with a description containing the required fields, Summary: 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. |
There was a problem hiding this comment.
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.
…m/rdkcentral/rialto into feature/RDKEMW-18434_support8.4.4
…m/rdkcentral/rialto into feature/RDKEMW-18434_support8.4.4
ca6b2ab to
1f120ec
Compare
There was a problem hiding this comment.
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))));
|
Coverage statistics of your commit: |
|
Coverage statistics of your commit: |
Summary: handling race conditions for GstPlayer
Type: Fix
Test Plan: UT/CT, Fullstac
Jira: RDKEMW-18434