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: 
jayseattle
Newbie

Crashing channel: 4 years old, why happening now?

Hi Devs,

I have a channel, about 4 years old, republished 2 years ago after working with a developer found in these forums.
https://channelstore.roku.com/details/3 ... mas-winter

A simple screensaver, based on sample Roku code, and using KeyCDN as my repo. Got an email from customer that it was crashing (!) their Roku. I loaded it up on my TCL Roku TV and it, likewise, did crash after about 10-15 seconds after starting. It suddenly stops and goes back to the main Roku screen after about 5-10 seconds. The slideshow of JPGs did not even begin, just the MP3 started.

If I look at BS logs, I see:
Function getphotolistfromfeed(feed_url As Dynamic) As Object; pkg:/source/mediarsstoolkit.brs(75)

I have an average of around 30 new installs per day over December and only see a few crashes so I am confused why it does not seem to be universally crashing.

example links from my xml
http://xmroku-aea.kxcdn.com/mp3/02.mp3
http://xmroku-aea.kxcdn.com//img/hd/2.jpg

Thanks for any help, not an accomplished dev,
jay
0 Kudos
4 REPLIES 4
belltown
Roku Guru

Re: Crashing channel: 4 years old, why happening now?

Side-load the channel and run a debug session. If it crashes, you'll be able to see exactly where and why.
0 Kudos
jayseattle
Newbie

Re: Crashing channel: 4 years old, why happening now?

Sure, can try that... just wondering why this would have changed as it has not happened in last 2 years.
0 Kudos
joetesta
Roku Guru

Re: Crashing channel: 4 years old, why happening now?

Roku Co frequently pushes out new firmware.  Various devices (models) will get the new firmware at different points in time.  Sometimes there are bugs in the new firmware or perhaps a change in the firmware is exposing a bug in the code that it previously handled OK.  Hopefully debug will tell you what exactly is crashing and then someone (we devs or Roku Co) can help diagnose from there.
aspiring
0 Kudos
belltown
Roku Guru

Re: Crashing channel: 4 years old, why happening now?

It could be any number of reasons. Maybe your code contains a bug, or does something not officially supported. Newer releases of the Roku OS may be enforcing certain usages that they weren't enforcing before. Or your server may be acting differently. The best way to get a better handle on this is to debug the code.
0 Kudos