id summary reporter owner description type status priority milestone component resolution keywords cc cvshead 96 Restart from snapshot crashes when initial working directory is not directory of stx.exe (Windows only) jan vrany "i.e., following works: {{{ stx.exe -i restart.img }}} whereas {{{ cd .. smalltalk\stx.exe -i smalltalk\restart.img }}} crashes, leading in a thundestorm of messages like: {{{ VM [dump object]:43126c38 | class:437277a8 (** invalid class: 437277a8 name: 2004a290 **) | size:48 flags:0x0 () space:0x1 (OLD) | code: 0x4d0429b | inst:1 (Integer: 0) | inst:0 (nil) | inst:0 (nil) | inst:1 (Integer: 0) | inst:d9 (Integer: 108) | inst:0 (nil) | inst:0 (nil) | inst:42d00888 (** invalid class: 4372ea60 name: 20016ca0 **) IMG [warning]: uglobal at 51283f8 (val=43126c68), but not in a class or VM IMG [info]: savedVMData: 1ffe0000..1ffe3c30; vmData: 1ffe0000..2e248900 }}} ---- The problem is, that before all uglobals are loaded from image, VM must load all compiled class libraries (.dll), In Windows this is done in {{{loadAdditionalClassLibraries()}}} which reads {{{modules.stx}}}. Lookup of that file is broken, therefore the file is not found, libraries not loaded and hence the crash (since not even class Object is loaded). The solutions seems to be to fix the lookup, which should in first instance look at directory of the executable. " defect closed major virtual machine fixed 1