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

Cataleptic spell in Roku [bug, fw5]

The following snippet brings Roku with fw5 into catalepsy:
sub Main():
dlg = createObject("roPinEntryDialog")
dlg.show()
msg = createObject("roOneLineDialog") ' <-- it will hang here
? "this line will never print"
end sub
Player locks in stupor and cannot be woken up with ctrl-C or Home. There is no error. The last line does not print to console. Watchdog never kicks in. Roku stays in persistent vegetative state. Totally bizarre. The only way out is restarting the player.

Naturally this is not the original code i was working on but reductio ad minimum. Yes, there were ports and message loop and setting object parameters... none of that made difference, i chopped it down till the minimal hanging code remained. It took me a few hours to track it down, what with all the reboots and waiting to reload; lather, rinse, hang, reboot, repeat. It does not happen in fw3, only on fw5 - i tried it and happens reliably on 3 different models, with fw5.4 and 5.5 so it's pervasive and will be easy to reproduce.
0 Kudos
1 REPLY 1
RokuJoel
Binge Watcher

Re: Cataleptic spell in Roku

bug filed.

- Joel
0 Kudos