dbulli
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2013
09:04 AM
Firmware 5.2 TrackIDSubtitle+roVideoPlayer.Stop() = CRASH
So since firmware 5.2:
If I set a TrackIDSubtitle on a clip that I use with roVideoPlayer there is a crash of app when I call roVideoPlayer.Stop(). In development mode it crashes Roku player sometimes.
This only happens on the end of a stream. When i am tearing down my roVideoPlayer I perform a cleanup and call roVideoPlayer.Stop(). If the video is playing there is no issue, but once I call this with end of stream the player crashes. Not sure if this happened before firmware 5.2, but there was no caption support prior to 5.2 so I did not test before upgrade.
If I set a TrackIDSubtitle on a clip that I use with roVideoPlayer there is a crash of app when I call roVideoPlayer.Stop(). In development mode it crashes Roku player sometimes.
This only happens on the end of a stream. When i am tearing down my roVideoPlayer I perform a cleanup and call roVideoPlayer.Stop(). If the video is playing there is no issue, but once I call this with end of stream the player crashes. Not sure if this happened before firmware 5.2, but there was no caption support prior to 5.2 so I did not test before upgrade.
- Daniel
http://dbulli.com
http://dbulli.com
4 REPLIES 4

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2013
10:09 AM
Re: Firmware 5.2 TrackIDSubtitle+roVideoPlayer.Stop() = CRAS
Can you provide a stack trace of the crash? It sounds like you may have de-referenced the video player prior to calling Stop().
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
dbulli
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2013
10:27 AM
Re: Firmware 5.2 TrackIDSubtitle+roVideoPlayer.Stop() = CRAS
"TheEndless" wrote:
Can you provide a stack trace of the crash? It sounds like you may have de-referenced the video player prior to calling Stop().
Endless, there is no stack trace, just crashes in a bad way. And Roku restarts. Maybe if I could do a try catch.
- Daniel
http://dbulli.com
http://dbulli.com

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2013
10:35 AM
Re: Firmware 5.2 TrackIDSubtitle+roVideoPlayer.Stop() = CRAS
"dbulli" wrote:"TheEndless" wrote:
Can you provide a stack trace of the crash? It sounds like you may have de-referenced the video player prior to calling Stop().
Endless, there is no stack trace, just crashes in a bad way. And Roku restarts. Maybe if I could do a try catch.
You said "there is a crash of the app", which would suggest it returns to the homescreen. If that's the case, then it's almost certainly a BrightScript crash. You also indicated that "sometimes" it crashes the player in development mode. Is there no stack trace when it crashes the app in development mode, but doesn't crash the player?
Also, if there's no stack trace, how do you know it's the call to Stop() that's causing it?
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2013
10:39 AM
Re: Firmware 5.2 TrackIDSubtitle+roVideoPlayer.Stop() = CRAS
Can you dropbox me, via a PM, an example .zip that demonstrates this crash that I can test and attach to a bug report?
Thanks,
-Joel
Thanks,
-Joel