Crash when using SciCalc
Andrew Rawnsley (492) 1445 posts |
We’ve had a few people reporting issues when running the current version of SciCalc (which utilises BASICVFP). No problems seem to be reported when using the mouse, but people report issues when using the numeric keypad (and sometimes regular number keys). Typically, this will result in an Abort, followed by loss of pinboard/backdrop and switcher icon. I’m trying to establish if running it under BASICFPA rather than BASIC64/VFP makes a difference (ie. to see if this is a VFP issue) but I wanted to report it since it doesn’t seem to be an isolated thing. |
David Pitt (3386) 1248 posts |
Readily reproduced on a Titanium. *fx0 RISC OS 5.23 (12 Feb 2018) * SciCalc 0.87 (23-Apr-16) Attempt to enter anything with the numeric keypad. 15 Feb 21:47:27 000 80000002: Error from (unknown): Internal error: abort on data transfer at &FC22D77C *where Address &FC22D77C is at offset &00000A18 in module 'VFPSupport' * Force FPA and the issue goes away. BASICFPA -quit <SciCalc$Dir>.!RunImage |
Andrew Conroy (370) 740 posts |
Oddly enough I’ve just experienced the same issue on my Pi Zero this evening! I got an Abort on Data Transfer @ &FC2650CC which *Where tells me is in module VFPSupport. This was simply by loading SciCalc and pressing akey on the numeric keypad. |
Jeffrey Lee (213) 6048 posts |
Interesting – I can’t seem to reproduce that here (testing on a random selection of a BB-xM, Pi 3, and Pi 1). Do you have any other software running? Mind posting a full exception dump? set debugger$dumpoptions -file annotated set debugger$annotatedfile $.whatever (then trigger the crash and look at $.whatever) |
Andrew Conroy (370) 740 posts |
I started the Pi, ran SciCalc and it didn’t crash when typing with the keypad. I quit SciCalc, loaded StrongEd and then loaded SciCalc again. This time it did crash as soon as I typed on the numeric keypad. The dump file is here |
David Pitt (3386) 1248 posts |
StrongEDs 4.70a12 and 4.69f9 are contributors to the crash. More specially the KeyExtend 0.20b module. |
Jeffrey Lee (213) 6048 posts |
Yep – that does seem to be the key. Now to work out why! |
Jeffrey Lee (213) 6048 posts |
Should be fixed with Wimp 5.60 https://www.riscosopen.org/viewer/revisions/logs?ident=1518880825-318863.html |
Chris Gransden (337) 1207 posts |
It’s also had the side effect of fixing oslib/oslibsupport compiled with VFP. |
David Pitt (3386) 1248 posts |
It is, FPA SciCalc is working with the numeric keypad. Many thanks. |