Ticket #632 (Open)Sun Mar 31 14:10:46 UTC 2024
Chain loading nested Obey never returns to script, and leaks RMA
Reported by: | Julie Stamp (8365) | Severity: | Normal |
Part: | RISC OS: Module | Release: | |
Milestone: | Status | Open |
Details by Julie Stamp (8365):
The below, when you run ‘prog’ should print
1 A
2 A
3 A
3 B
2 B
but instead prints
1 A
2 A
3 A
3 B
and you cannot *RMKill Obey afterwards, the blocks in RMA for Obey 2 has not been freed.
prog – BASIC program:
PRINT “1 A”
*Obey <Obey$Dir>.2
PRINT “1 B”
Obey 2:
Echo 2 A
Obey <Obey$Dir>.3
Echo 2 B
Obey 3:
Echo 3 A
Run <Obey$Dir>.blank
Echo 3 B
blank – Absolute file just containing SWI OS_Exit
Changelog:
Modified by Julie Stamp (8365) Sun, March 31 2024 - 14:16:53 GMT
Running from TaskWindow completely freezes computer.
Modified by Julie Stamp (8365) Tue, April 16 2024 - 15:46:48 GMT
I must have got confused, didn’t actually freeze TaskWindow