noobs
noobs copied to clipboard
LibreElec & race condition
Any idea what's happened to LibreElec noobs downloads? All the necessary files seem to have gone.
This also seems to have highlighted a race condition within PINN which I think I have identified now. It will probably exist in NOOBS as well. I hope to confirm shortly.
The libreELEC mirror is down at the moment
Gordon
On Mon, 2 Apr 2018, 15:37 procount, [email protected] wrote:
Any idea what's happened to LibreElec noobs downloads? All the necessary files seem to have gone.
This also seems to have highlighted a race condition within PINN which I think I have identified now. It will probably exist in NOOBS as well. I hope to confirm shortly.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/raspberrypi/noobs/issues/486, or mute the thread https://github.com/notifications/unsubscribe-auth/AB9CHCdgN-vRJ8DEZ2RaW46fJe5gIZy9ks5tkje-gaJpZM4TDnNL .
--
Director of Software Engineering, Raspberry Pi (Trading) Limited t: +44 (0) 1223 322633 m: +44 (0) 7450 946289 e: [email protected] w: www.raspberrypi.org
OK thanks, Gordon, it seems to have been down a while.
The problem it causes in NOOBS/PINN is as follows: The "initialising" dialog takes a long time to time-out waiting for LibreElec.png to download. If a user presses Esc to cancel this dialog, they can continue to install an OS. However, if the LibreElec.png download now times out during the download, the onError() routine tries to hide and delete the progressdialog _qpd, which the user already cancelled. But this _qpd is now being used for the OS installation progress, so that gets deleted instead. Eventually when the OS has been installed, it causes a seg fault because the _qpd no longer exists.
I guess this is an odd corner case, but it can happen. It just needs the overuse of _qpd to be fixed.