runtime error on maxima/sbcl



Am Mittwoch, 16. Januar 2008 schrieb Rupert Swarbrick:

> > ---snip---
> > fatal error encountered in SBCL pid 4595(tid 3085163232):
> > can't load .core for different runtime, sorry
> >
> > Welcome to LDB, a low-level debugger for the Lisp runtime environment.
> > ldb>
> > --snap---
> > Using maxima 5.14.0 from gentoo-overlay
> > flags: sbcl tk unicode
> >
> > sbcl 1.0.13 (1.0.9 tested producing the same error)
> > flags: doc ldb source threads unicode
> >
> > I tested to ship around this by for example using gcl, but it does
> > not compile then.
> >
> > Is there anybody who can help me?
>
> I think the problem is that you've upgraded sbcl without
> recompiling/upgrading maxima. Maxima's "program" that is run is
> actually a memory dump of a lisp image which has loaded all the
> relevant libraries.

pretext - due to serverproblems with this mailinglist, I switched my 
mailaddress, don't get confused by this. :)

> To fix this problem, try recompiling maxima. Incidentally, if you're
> running debian unstable, there was an sbcl upgrade a couple of days ago
> which would have done this - I only realised when my precompiled slime
> stopped working.

I recompiled maxima and the problem didn't solve. 

---snip---
usr # ls -l /usr/lib/maxima/5.14.0/binary-sbcl/
insgesamt 44160
-rw-r--r-- 1 root root 45215756 16. Jan 15:14 maxima.core
---snap---

As you can see I made shure the maxima.core is up to date. 
I tried the recompile before and it did not change the behaviour, so I was not 
astonished that this was not helping.

But - gee! - I think I just discoverd a trace what might happened by accident:

---snip---
blackhound usr # ls -l lib/maxima/5.14.0/binary-sbcl/
insgesamt 44160
-rw-r--r-- 1 root root 45215756 16. Jan 15:14 maxima.core
blackhound usr # sbcl --version
SBCL 1.0.13-gentoo
blackhound usr # maxima --version
fatal error encountered in SBCL pid 16767(tid 3085163232):
can't load .core for different runtime, sorry

Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb> quit
Really quit? [y] y
blackhound usr # maxima -v
+ '[' sbcl = clisp ']'
+ '[' sbcl = cmucl ']'
+ '[' sbcl = scl ']'
+ '[' sbcl = gcl ']'
+ '[' sbcl = acl ']'
+ '[' sbcl = openmcl ']'
+ '[' sbcl = sbcl ']'
+ exec 
sbcl --core /usr/local/lib/maxima/5.13.0cvs/binary-sbcl/maxima.core --noinform --end-runtime-options --eval '(cl-user::run)' --end-toplevel-options -v '' '' '' '' '' '' '' ''
fatal error encountered in SBCL pid 16784(tid 3085163232):
can't load .core for different runtime, sorry

Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb> quit
Really quit? [y] y
---snap---

Look at this: sbcl is called by --core and pointing to the wrong core. This 
must be the result of the last time I asked for help. HaraldG was telling me 
to change something on the calling parameter, what I do not remember now 
(around 2-3 months ago). And this should be the reason for this error. 

But where?

Hanno
-- 
Hanno Behrens - Hamburg http://pebbles.schattenlauf.de/
Ceterum censeo microsoft esse delendam