Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dbulli
Visitor

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.
- Daniel
http://dbulli.com
0 Kudos
4 REPLIES 4
TheEndless
Channel Surfer

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)
0 Kudos
dbulli
Visitor

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
0 Kudos
TheEndless
Channel Surfer

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)
0 Kudos
RokuJoel
Binge Watcher

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
0 Kudos