Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
joetesta
Level 10

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
joetesta
Level 10

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
Roku Employee
Roku Employee

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
Level 10

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