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: 
daleus
Visitor

Roku SDK 3.0 - bs2dtest

I ran almost all of the examples on my Roku, but this one (by default) causes my Roku to restart. As soon as it's installed, my screen turns completely blue, then after about 5 seconds, my Roku restarts.

Anyone have any insight?

Thanks
0 Kudos
6 REPLIES 6
RokuJoel
Binge Watcher

Re: Roku SDK 3.0 - bs2dtest

Which Roku, original series, or Roku2, which model, and what video mode (SD43/1080p/720p) is it?

- Joel
0 Kudos
daleus
Visitor

Re: Roku SDK 3.0 - bs2dtest

It's in my signature....

Roku 2 XS (3100X), using 1080p
0 Kudos
RokuJoel
Binge Watcher

Re: Roku SDK 3.0 - bs2dtest

Ah, I see. Many developers have a few different models of Roku to test with.

- Joel
0 Kudos
daleus
Visitor

Re: Roku SDK 3.0 - bs2dtest

Thanks for looking into this for me.
0 Kudos
RokuJoel
Binge Watcher

Re: Roku SDK 3.0 - bs2dtest

I've verified this and submitted a bug report. There are two different types of crashes, both in the same function, CheckClear. In HD mode the system reboots when it executes this line:

ba=bitmap.GetByteArray(0, 0, bitmap.GetWidth(), bitmap.GetHeight())


in SD mode, the app crashes on this line:

bitmap.Clear(color)


because the bitmap is invalid (probably ran out of available memory to create bitmaps) and the device ceases to respond to the remote (although the Brightscript console is still active for a while afterwards)

- Joel
0 Kudos
daleus
Visitor

Re: Roku SDK 3.0 - bs2dtest

Cool thanks.

PS.
I'm really starting to like the Roku team... you guys are fast with responses and give good feedback. I love it!
0 Kudos