Re: Re: Core Image
Espen S Johnsen <[email protected]> 15 Apr 2006 23:20:00 +0200
| Newsgroups | gmane.lisp.clg.devel |
|---|---|
| Message-ID | <[email protected]> |
Nikodemus Siivola <[email protected]> writes: > ephrem boudonnet <[email protected]> writes: > > > I don't know if it's a "clg question", but is there a way to save a > > core image of a project using clg. > > I just run clg (gtk::clg-init) on SBCL 0.9.9 and use the function: > > Load the things you need, and save the image before starting the > application. Things like threads and streams don't take kindly > to being saved. And in this specific case it is live proxy objects that causes the problem. When saved proxy objects are accessed later, memory faults occur because the foreign objects being referenced does not survive in the saved image. Because of this clg can not be initialized before an image is saved. When saving an image one should also check that there are no live proxies with glib::list-cached-instances and do a full GC if necessary. -- Espen ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642