🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.lisp.x
Article #33

xscheme,xlisp save/restore bug?

#33
From: John Lewis
Date: Fri, 20 Oct 1989 05:48
20 lines
1294 bytes

There is a major bug in the xscheme (0.17) save/restore functions.
Since this code was adapted directly from Xlisp2.0, i'm wondering
whether there is a similar problem in Xlisp (& a fix, hopefully),
or why it isn't a problem.

i'm not sure i can characterize the bug very well (if i could i 
would be on the way to fixing it), but my guess is that it involves
the interaction of garbage collection with restore- the image is
restored in node-array order, so collectable nodes may be restored
before the symbols they are attached to; garbage collection can
be triggered by creation of nodes during the restore, and this
GC can incorrectly free some of the partially restored image.

In any case, (restore) does not work (see recent mail on comp.lang.scheme).

Thanks for any advice
jp lewis@nyit computer graphics lab
516 686 7644(evenings)
Technical Details
Message-ID: <363@nyit.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!sunybcs!sbcs!nyit!zilla

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!sunybcs!sbcs!nyit!zilla
From: zilla@nyit.UUCP (John Lewis)
Newsgroups: comp.lang.lisp.x,comp.lang.scheme
Subject: xscheme,xlisp save/restore bug?
Keywords: xscheme xlisp bug
Message-ID: <363@nyit.UUCP>
Date: 20 Oct 89 05:48:04 GMT
Followup-To: comp.lang.lisp.x
Organization: NYIT Computer Graphics Laboratory, Old Westbury, NY
Lines: 20