Vega app crash during extended live playback with SSAI ads enabled (~2 Hours) on vega SDK v0.22.6759

:warning: Before you continue


Before submitting a bug report, please review our troubleshooting documentation at Troubleshoot Issues | Vega Troubleshooting

If you still want to file a bug report, please make sure to fill in all the details below and provide the necessary information.

NOTE: PLEASE ONLY REPORT A SINGLE BUG USING THIS TEMPLATE.
If you’re experiencing multiple issues, please file a separate report for each.


:backhand_index_pointing_right: Bug Description


1. Summary

Provide a brief description of the bug in the SDK and its impact on app functionality.

App Name: Amazon Vega Sample App
App Link on Amazon Appstore (found through Developer Console → Actions column in App List → View on Amazon.com): N/A

Bug Severity
Select one that applies

  • Impacts operation of app
  • Blocks current development
  • Improvement suggestion
  • Issue with documentation (If selected, please share the doc link and describe the issue)
  • Other

2. Steps to Reproduce

  1. Install and launch the latest Amazon Vega sample application.

  2. Configure the app with the hardcoded SSAI ad-enabled (SSB) live stream URL.

  3. Start live playback with SSAI ads enabled.

  4. Allow playback to continue uninterrupted.

  5. Observe application behavior after approximately 2 hours of playback.

3. Observed Behavior

Explain what actually happened, noting any discrepancies or malfunctions.

The application crashes after approximately 2 hours of continuous live playback.
The crash is consistently reproducible in the Amazon Vega sample application using the SSAI-enabled stream.

4. Expected Behavior

Describe what you expected the SDK to do under normal operation.

The application should maintain stable live playback for extended durations without freezing, crashing, or terminating, regardless of the presence of SSAI advertisements.

4.a Possible Root Cause & Temporary Workaround

Fill out anything you have tried. If you don’t know, N/A is acceptable

While reviewing Amazon's August 2025 release notes, we identified a known issue indicating that live playback may freeze or crash after extended viewing sessions when both Timeshift and SSAI are enabled. https://developer.amazon.com/docs/kepler-tv/kepler_release_notes.html#known-issues
The documented workaround was to disable one or both of these features.
We could not find any subsequent release notes explicitly stating that this issue has been resolved.
Given that:
The crash is reproducible in Amazon's sample application.
No custom Player components are involved.
No IMA SDK components are involved.
The sample app contains only Amazon-provided code.
Our findings suggest the issue may reside within the underlying Vega/Kepler platform implementation.

5. Logs or crash report

(Please make sure to provide relevant logs as attachment)

For crash issues, please refer this guide for faster troubleshooting: Detect Where the App Crash Originates | Design and Develop Vega Apps

  • App/Device Logs

  • Crash Logs

  • Crash Report

    2730#crash_1780402598_5000_5000_13167_60892293_JSThread.acr (739.2 KB)

  • For issues with Vega Studio Extension, please share log files from below folders:
    For v0.22+:

    ~/.vscode/extensions/amazon.vega-extension-<version>/ExtensionLogs
    ~/.vscode/extensions/amazon.vega-ui-extension-<version>/ExtensionLogs
    

    For v0.21 and earlier:

     ~/.vscode/extensions/amazon.kepler-extension-<version>/ExtensionLogs
     ~/.vscode/extensions/amazon.kepler-ui-extension-<version>/ExtensionLogs
    

6. Environment

Please fill out the fields related to your bug below:

  • SDK Version: Active SDK Version: 0.22.6759

    Vega CLI Version: 1.2.18

  • App State: Foreground

  • OS Information:

    NAME="OS"
    OE_VERSION="4.0.0"
    OS_MAJOR_VERSION="1"
    OS_MINOR_VERSION="1"
    RELEASE_ID="14"
    OS_VERSION="1.1"
    BRANCH_CODE="TV Ship day60"
    BUILD_DESC="OS 1.1 (TV Ship day60/102)"
    BUILD_FINGERPRINT="4.0.253712.0(3072cab629675a74)/102N:user/release-keys"
    BUILD_VARIANT="user"
    BUILD_TAGS="release-keys"
    BUILD_DATE="Fri Mar 20 21:10:28 UTC 2026"
    BUILD_TIMESTAMP="1774041028"
    VERSION_NUMBER="1401010010220"
    

7. Example Code Snippet / Screenshots / Screengrabs

Include any relevant code or component setup in React Native that can help reproduce the bug.

The issue is reproducible using the Amazon Vega sample application and a hardcoded SSAI-enabled live stream URL.
Relevant traces and live stream URL have been shared internally.

:backhand_index_pointing_right: Playback Issues


If this is a playback issue, please provide your content URL, any pre-conditions (like geo-location), and let us know if it’s x86 or arm7.


<!-- Describe your playback issue if applicable -->

Please share the following details in addition:_

  • Player SDK: [Shaka]
  • Player SDK Version: [4.8.5]
    • Manifest Types: [dash]

Q: If applicable, please provide your media/content url
If this is created dynamically, tokenized, etc please provide a way for us to access it

Content url has been shared internally.

Q: Are there any special headers required to reproduce the issue you are facing?

N/A

Hi @Kandagaddala_Varshitha

Welcome to Amazon Developer Community!!

Thank you for the detailed bug report. The fact that this is reproducible in the Amazon sample app with only Amazon-provided code is helpful for triage.

Regarding the issue you referenced - the old Kepler release notes URL (kepler_release_notes.html) is no longer available, and the current v0.22 release notes do not list this specific SSAI + Timeshift + extended playback scenario as a known issue. The August 2025 OS update did include a fix for “video freeze during transitions between SSAI and main content in Live TV playback,” but your report suggests the issue may not be fully resolved for extended sessions.

To help us investigate:

  1. ACR file - You’ve attached a crash report. Can you confirm this is the JS thread crash after ~2 hours? Any additional native crash logs would also be helpful.
  2. Timeshift - Is Timeshift explicitly enabled in your configuration, or does the crash occur with SSAI alone?
  3. Without SSAI - Does the same live stream play for 2+ hours without crashing when SSAI is disabled?
  4. Content URL - You mentioned it was shared internally. Could you confirm which internal ticket/channel this was shared on so we can locate it?

Warm Regards,
Ivy

@Ivy Yes this is the JS thread crash within ~2 hours. We have shared traces, sample app with hardcoded content url and crash report to @mithshah

The crash happens only with SSAI ads enabled. Without SSAI, the same live stream plays for much longer duration without any issues.