TADS Bug Database

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000246TADS 3Interpreterpublic2017-09-04 13:002017-09-04 13:02
Assigned ToMichael Roberts 
PlatformIntelOSWindowsOS VersionVista
Summary0000246: Using TadsObject.setMethod() in a DynamicFunc might crash the interpreter
DescriptionDoing this:

  foo: Thing {
    'foo' 'foo';
        "Before. ";
        Compiler.eval('''foo.setMethod(&desc, 'After. ')''');

will result in either a crash or garbage strings being output on subsequent calls to foo.desc() after restarting the interpreter and restoring from a saved game where foo.desc() was already called.
Steps To ReproduceCompile the above code. Run it and do:

  SAVE "1"

Quit the interpreter and restart it. Then:


The interpreter will either crash or print out garbage.
TagsNo tags attached.
Fixed In Version
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-09-04 13:00 realnc New Issue
2017-09-04 13:00 realnc Status new => assigned
2017-09-04 13:00 realnc Assigned To => Michael Roberts
2017-09-04 13:02 realnc Description Updated View Revisions

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker