Skip to content

[Xione/Glass UK][RDKV][VIPA 1.4.4.4][8.4p33s1] Observed "com.comcast.viper" crash with fingerprint- 61111371 contributing to OTTPENDING/BERR#1707

Open
dp0000 wants to merge 6 commits into
support/2.11.1_8.4_vipafrom
feature/DELIA-70726_fix2
Open

[Xione/Glass UK][RDKV][VIPA 1.4.4.4][8.4p33s1] Observed "com.comcast.viper" crash with fingerprint- 61111371 contributing to OTTPENDING/BERR#1707
dp0000 wants to merge 6 commits into
support/2.11.1_8.4_vipafrom
feature/DELIA-70726_fix2

Conversation

@dp0000

@dp0000 dp0000 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Adds a lifecycle guard to DrmSession — three new methods (AcquireForUse(), ReleaseAfterUse(), PrepareForDestruction()) using a mutex + condition variable to track in-flight decrypt operations and block deletion until they finish.

Guards every decrypt() call in the GStreamer decryptor plugin (gstcdmidecryptor.cpp) with AcquireForUse() / ReleaseAfterUse(), so the session can't be freed mid-operation.

Calls PrepareForDestruction() before every delete in DrmSessionManager (session clearing, slot reuse/eviction), ensuring any in-flight decrypt drains first .

Minor fix: a sinkCaps reference-counting tweak to avoid accessing freed caps after unlocking the mutex.

@dp0000 dp0000 requested a review from a team as a code owner July 9, 2026 04:31
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.

1 participant