ZeroPain the finger of suspicion
John Rickman (71) 646 posts |
I am looking for some advice on reporting ZeroPain issues. When a ZP error occurs it is sometimes not obvious where the fault lies. For example, Fred Graute’s Pinboard manager application, !ToggleBD, generates three ZP log file entries when the iconbar icon is Adjust-clicked. The log shows that the problem is occurring in the Window module on instruction LDR R0,[R4,#0]. A further compication is not knowing if the Window module is the latest version – Module is: Window Object 1.81 (31 Aug 2003) Is this a problem in !ToggleBD and something I should report to Fred, or is it a system problem and should be reported to the owner of the Window module, which presumably is ROOL? |
David Pitt (102) 743 posts |
Version 1.81 is ROLs. ROOLs latest is :- *help window ==> Help on keyword Window Module is: Window Object 1.77 (25 Sep 2015) * As I understand it the use of ROL’s 32bit Toolbox modules is not supported by ROOL.
HTH. |
Rick Murray (539) 13850 posts |
Tell me about it…
I can’t speak in this instance, however I find that when a system component throws an error (CLib and MessageTrans are good for this), it is often because they were passed a NULL pointer that they then try to use. As you noted at the top, unwinding what is actually going on can be…interesting.
Not 2013? Mine (from a self-built version of RISC OS that’s from the 5.21 era1) is 1.73 (27 Jun 2012); so I’d have expected yours to be 2013 at least. …whuh? where did you get this module? The latest one available in RISC OS 5 appears to be 1.77 → https://www.riscosopen.org/viewer/view/castle/RiscOS/Sources/Toolbox/Window/VersionNum [update: just spotted David’s post sent while I was writing this – if you’re using ROLtd modules, know that they won’t be aware of the ZPP changes nor are they ever likely to be updated to be compatible, or updated period…]
Fred reads these forums, I would imagine he’ll spot this… |
David Pitt (102) 743 posts |
It’s from ROL’s 32bit Toolbox modules, http://www.riscos.com/ftp_space/generic/index.htm When the Iyonix really was the Iyonix these were commonly used as they were more developed than the Castle Toolbox modules. They worked very well, it was never a problem at the time. That was then and this is now, ROOL’s versions are the one to use. It looks likes a (painful) flaw has finally been found within this ancient ROL stuff. |
Fred Graute (114) 645 posts |
As David has already pointed out ToggleBD seems to be ZeroPain free with the ROOL Toolbox modules. The ROL Toolbox modules, although otherwise more advanced, know nothing about ZPP so it’s no wonder they fail.
Indeed, now I know that if there’s a ZPP problem with ToggleBD it’s likely due to using the ROL Toolbox (saves me trying to chase it down :-). |
Steve Pampling (1551) 8172 posts |
The thing is the OS should be checking that the pointer is not NULL, possibly logging an error in a nice system log about the souce of the request with a null pointer and maybe popping up a GUI error report that disappears after a short period. |
John Rickman (71) 646 posts |
Thanks to all who replied. I have removed the UnplugTBox file from PreDesk and now ToggleBD runs without ZeroPain entries. |