|Anonymous | Login | Signup for a new account||2019-02-18 18:12 PST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000036||Core Inform||Assertions and creations||public||2010-06-15 08:41||2010-06-20 19:31|
|Target Version||Fixed in Version||6E59 (re-release)|
|Summary||0000036: Code 10 error from creating too many duplicate objects|
|Description||As discussed at http://groups.google.com/group/rec.arts.int-fiction/msg/ea531e4e56345cfe [^] the following code crashes the Windows compiler with code 10.|
|Minimal Source Text To Reproduce|
"Test" by Mikawa Testroom is a room. "For testers only.". A Ipad is a kind of thing. in the Testroom are 99 Ipads. A Ipod is a kind of thing. in the Testroom are 99 Ipods. A Imac is a kind of thing. in the Testroom are 99 Imacs.
|Additional Information||It reportedly works on OS X.|
99, 99, and 13 compiles, but 99, 99, and 14 crashes.
|Tags||No tags attached.|
|Effect||(critical) Compiler crashes|
Jim Aikin (reporter)
|Duplicate objects are only one of the potential causes. I suspect a more general memory allocation error, as I'm able to produce the same phenomenon by adding one too many ordinary objects to a test game that has NO duplicates.|
|This works just as it should on OS X, creating 99 of each. We're investigating.|
|Initial testing indicates that by the time the failure occurs there's no usable stack backtrace: most likely the result of stack corruption. This will take a bit of work to track down.|
This also causes a code 10:
Include Unicode Character Names by Graham Nelson.
Home is a room.
When play begins: say "[unicode latin small letter e with acute]".
|Okay, now I've got a stack backtrace. Both test cases in the above and a separate test case from Benjamin Penney fail at the same point, so they all look to be the same bug.|
|Thanks to David's detective work, we believe we understand this issue now and have fixed it. The Windows build of 6E59 is being reissued immediately with this fix, given its criticality.|
|2010-06-15 08:41||jmcgrew||New Issue|
|2010-06-15 08:41||jmcgrew||Status||new => confirmed|
|2010-06-15 08:42||jmcgrew||Description Updated||View Revisions|
|2010-06-15 14:49||Jim Aikin||Note Added: 0000005|
|2010-06-15 15:09||graham||Note Added: 0000006|
|2010-06-16 03:46||DavidK||Note Added: 0000011|
|2010-06-16 11:15||jmcgrew||Note Added: 0000013|
|2010-06-17 00:08||DavidK||Note Added: 0000019|
|2010-06-17 11:08||graham||Note Added: 0000021|
|2010-06-17 11:08||graham||Status||confirmed => resolved|
|2010-06-17 11:08||graham||Resolution||open => fixed|
|2010-06-17 11:08||graham||Assigned To||=> graham|
|2010-06-17 17:01||jmcgrew||Status||resolved => closed|
|2010-06-17 17:01||jmcgrew||Fixed in Version||=> 6E59|
|2010-06-20 19:31||jmcgrew||Fixed in Version||6E59 => 6E59 (re-release)|
|Copyright © 2000 - 2010 MantisBT Group|