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: 
joetesta
Roku Guru

8.0 firmware bug runGarbageCollector() hangs

in beta testing fw 8.0 on Roku 4 build 4105-17 seeing consistently runGarbageCollector() hangs after exiting video in the app I'm working on.  Not sure how to debug this since runGarbageCollector() is a firmware function that shouldn't afaik hang, and this is working correctly (ie not hanging) in fw 7.7.
Thanks for any suggestions.

one note, when I test this in 7.7 at the point where it hangs in 8.0, this is the debug output in 7.7
orphaned objects cleaned: 0

            gcResult = RunGarbageCollector()
            print "orphaned objects cleaned: " + gcResult.orphaned.toStr())

in 8.0 it never gets to the print statement.  Maybe the 0 orphans is the issue?
aspiring
0 Kudos
3 REPLIES 3
joetesta
Roku Guru

Re: 8.0 firmware bug runGarbageCollector() hangs

This is a bug in the latest 8.0 firmware build 4105.  Started happening on a Roku 3 that got that update.  Was not happening previously on 4102.
aspiring
0 Kudos
NB_
Roku Guru

Re: 8.0 firmware bug runGarbageCollector() hangs

can you provide a MWE (minimal working example) demonstrating the alleged issue?
that will help getting it routed expeditiously.
0 Kudos
joetesta
Roku Guru

Re: 8.0 firmware bug runGarbageCollector() hangs

alleged  Smiley LOL
I put a print immediately before RunGarbageCollector() which outputs and one immediately after which doesn't. go figure.
Tried replicating the issue in a simple app and it's not happening.  Not sure what's different, but it's almost 100% consistent in the app I'm working on, crashes on video exit due to this GC call, was reported to me by 2 other people. Will try to follow up through our rep, thanks.
aspiring
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.