Ticket #377 (WorksForMe)Sun Feb 09 00:25:17 UTC 2014
ResTest crashes with "Date" object
Reported by: | Rick Murray (539) | Severity: | Minor |
Part: | RISC OS: C/C++ toolchain | Release: | |
Milestone: | Status | WorksForMe |
Details by Rick Murray (539):
Steps to reproduce:
- Load !ResEd
- Click on iconbar icon (“Untitled1” window opens)
- Menu on Untitled1, select “Prototypes…”.
- Drag “Date” from Prototypes to Untitled1.
- Menu on Untitled1 -> File -> Save -> save it somewhere.
Then:
- Load !ResTest
- Drag saved file to ResTest iconbar icon.
“ResTest may have gone wrong [blah blah]”
Describe:
“Internal error: abort on data transfer at &FC409730”, postmortem is not so helpful:
9f24 in anonymous function
cee4 in anonymous function
d170 in anonymous function
9518 in anonymous function (function names are GOOD!)
9cd0 in anonymous function
Arg2: 0×00009b84 39812 -> [0xe1a0c00d 0xe92ddbf0 0xe24cb004 0xe24dcf81]
Arg1: 0×00010138 65848 -> [0×7365523c 0×74736554 0×72694424 0×52212e3e]
fc16cfd8 in shared library function
d464 in anonymous function
ResEd v0.53
ResTest v0.73
RISC OS home-built, v5.21 based upon sources of 2014/01/03.
<br />
Side note – in the Date object properties, most of the icons have no effect. If I change “Integer” to be “1” instead of “0”, RedTest will now load the file, but trying to create the Date object will fail with “SWI &100340 not known”. This number is the class number of the Date object.
There does not appear to be a Date module in the Toolbox collection, nor is such a thing unplugged, nor does such a thing appear to be present in the sources – https://www.riscosopen.org/viewer/view/castle/R…
Nor, having just looked, is there any mention of it in the Toolbox PDF.
Looking within ResEd, it looks like it is handled by !Misc as an “unknown” object; and is apparently defined in Config as 0x100340,Date,obj_date
.
Therefore, should this “Date” object not be present?
Changelog:
Modified by Sprow (202) Wed, February 19 2014 - 08:33:35 GMT
I mashed the keyboard with the terms “date toolbox module risc os” into google and behold:
http://www.tankstage.co.uk/Software/
I don’t get an abort without the module, it just says “SWI &100340 not known”. All seems reasonable to me.
Modified by Sprow (202) Sun, May 18 2014 - 19:56:43 GMT
- Status changed from Open to WorksForMe
RISC OS 4.02, ResTest 0.73 -> describe button doesn’t postmortem, gives SWI not known error.
Pi RC12, ResTest 0.73 -> ditto