EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2014
04:10 AM
Cataleptic spell in Roku [bug, fw5]
The following snippet brings Roku with fw5 into catalepsy:
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.
sub Main():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.
dlg = createObject("roPinEntryDialog")
dlg.show()
msg = createObject("roOneLineDialog") ' <-- it will hang here
? "this line will never print"
end sub
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.
1 REPLY 1

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2014
10:56 AM
Re: Cataleptic spell in Roku
bug filed.
- Joel
- Joel