From: Nikodemus S. <nik...@ra...> - 2006-09-12 06:32:02
|
Stephen Westfold <wes...@ke...> writes: > I am trying to get my (large) application running on different platforms > with SBCL. It is working very well on Linux and is looking close on > Windows (!), but although it works on Mac OS X if I don't save a core > image, I get a GC invariant lost error soon after restarting a saved > core image. The transcript is below. Is there any other information that > would be useful in tracking this down? > > Stephen Westfold > > > This is SBCL 0.9.16, an implementation of ANSI Common Lisp. > More information about SBCL is available at <http://www.sbcl.org/>. > > SBCL is free software, provided as is, with absolutely no warranty. > It is mostly in the public domain; some portions are provided under > BSD-style licenses. See the CREDITS and COPYING files in the > distribution for more information. > > ... > ;;; <Initialization print-out from my application> > ... > > fatal error encountered in SBCL pid 18163: > GC invariant lost, file "gc-common.c", line 137 > > LDB monitor > ldb> Does purify affect this? (save-lisp-and-die "pure.core" :purify t) (save-lisp-and-die "impure.core" :purify nil) That is, do both cores hit the GC invariant? If they do, what does (save-lisp-end-die "test.core" :toplevel (lambda () (gc :full t) (your-toplevel))) do? The LDB backtrace (hit "b") would not hurt either, but I'm not optimistic in its ability solve this. If you cannot send us the source (or even send it to eg. me confidentially), then your best bet may be doing a binary section: take an older released SBCL, eg. 0.9.0, and try with it, then (assuming it works) with 0.9.8, and so forth, till you narrow it down to a single release where the failure appears, and finally (optionally) continuing to narrow it down into a single commit causing the failure. ...but just knowing if that this used to work with 0.9.X and stopped working with 0.9.X+1 would be quite helpfull. Cheers, -- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs." |