ABCLibrary 5.00 crash.
David Pitt (3386) 1248 posts |
With ABCLibrary 5.00 after either Confix 1.51 or AppBasic 3.02 have been run there is a terminal crash, with no diagnostics, on trying to shutdown the machine from the TaskManager iconbar icon. This does not happen with ABCLibrary 4.21. Tested on the Titanium with OS5.59 22May22 or OS5.28, and RPi400 with OS5.29 22May22. |
David Pitt (3386) 1248 posts |
A simple ABC “Hello World” compiled long ago crashes when run with ABCLibrary 5.00 but the same “Hello World” source compiled today with ABCLibrary 5.00 does run. Hmm!! |
Martin Avison (27) 1494 posts |
Gosh – that must have taken some narrowing down! I have tried on Titanium RO5.29 (27 Mar 2022) loading ABCLibrary v5.00, starting AppBasic v3.02, then shutting down, and I also had a total lockup like you. Alt-Break responded, but would no nothing. Running Reporter logging shows Internal errors: The second one was then repeated roughly every centisecond, but I suspect it was from Reporter trying to handle reporting an error, and not being able to handle whtever has gone wrong. To eliminate Reporter from suspicion, I tried again without it running … and had the same lockup symptoms, but no diagnostics at all. The initial Instruction Fetch abort would seem to be the cause, but I have no idea what causes that! I will try to investigate further. |
Martin Avison (27) 1494 posts |
I now have some dumps … but all different. The common factor is they are all problems when handling errors, and they all include: R14_usr = 20dca264 = ABCLibrary +2870 which I suspect reflects something that has just happened … and that function call seems to do a ChangeEnvironment for the Error handler. So perhaps ABCLib has screwed the error handler? But that could be rubbish, as I am out of my depth now, I think! [edit later] |
David Pitt (3386) 1248 posts |
Obligingly ABC compiled executables contain the version number of the ABC compiler used, it can be seen near the top of the file in a StrongED or Zap dump. Items that fail with the ABCLibrary module 5.00 are :- AppBasic Manager 3.02 ABC V4.14 ConfiX 1.51 ABC V4.20 A simple ABC ‘Hello World’ compiled with ABC V4.14 long ago, Obj414, is a simple test of the issue, with Obj430 as a reference compiled with the current ABC V4.30. With ABCLibrary module 5.00 loaded Obj414 crashes, Obj430 does not. |
Bryan (8467) 468 posts |
!Edit will do that as well. (maybe not so close to the top)
A very simple application module of mine compiled at the begining of this month with v4.18 runs OK with ABClibrary 4.20 But, when run with ABClibrary 5.00, it works fine until you try to shutdown; when it stiffs the system. Recompiling with !ABC v5.0 and everything is fine Early Pi 4B running OS 5.28 :::: Source code available |
David Pitt (3386) 1248 posts |
Import of ABCLib 5.01 fixes the issue. Many thanks. |
Bryan (8467) 468 posts |
Iris freezes when Viewing that page. (worked at second attempt) |