Re: Saving a Core Image from a Compiled File Session: possible?

Raymond Toy <[email protected]>
Newsgroups gmane.lisp.cmucl.general
Message-ID <[email protected]>
>>>>> "Denis" == Denis Papathanasiou <[email protected]> writes:

    Denis> I've been unable to get CMUCL to save a core image from a compiled file.

    Denis> After loading "myapp.x86f" -- I'm running CMU Common Lisp 19c on
    Denis> debian 2.4.27-2-386, BTW -- into memory, executing (ext:save-lisp
    Denis> "myapp.core") always results in a "Segmentation Violation".

    Denis> But when I try (ext:save-lisp "myapp.core") after loading the source
    Denis> file "myapp.lisp" -- instead of "myapp.x86f" -- I can always save the
    Denis> core image successfuly.

    Denis> So is saving core images not available for compiled files?

[snip]

This is a known problem.  Core files can be created from compiled
files because that's how the core file your using was created.

Why this happens is known.  Load up myapp.lisp and then myapp.x86
could make it work.  Moving the cmucl binary to a new location might
fix things.  It's all very strange.

Sorry,

Ray
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.