Forum Discussion

daleus's avatar
daleus
Visitor
14 years ago

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

6 Replies

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

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

    - Joel
  • 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
  • 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!