[Openmcl-devel] linux 2.6.23

Gary Byers gb at clozure.com
Wed Oct 24 10:03:47 PDT 2007


I saw something that looks very similar when trying to run under a
FreeBSD 7.0 prerelease a few weeks ago.

In that case, the problem had something to do with library names/version
numbers changing; the lisp image remembered that it had been using
(for example, I don't remember the exact details) "libc.so.N"; the
dynamic linker actually opened "libc.so.N+1", and the function
%REVIVE-SHARED-LIBRARIES - which tries to re-open things that had
been opened by OPEN-SHARED-LIBRARY before the image was saved -
got confused by the presence of the new C library.

In that case, it worked (for some value of "worked") to use the
bootstrapping image and fasls to create a new full image.  (That
new image would presumably have the same problems if I'd tried to
run it under an older FreeBSD.)  If you have an x86-boot64 image
and a set of fasls leftover from a previous/recent REBUILD-CCL,
building the image manually might offer a similar not-quite-right
workaround.

I think that the real fix likely has to do with doing a better
job of recognizing that libraries whose name differ only in
version suffix are likely to be "the same".


On Wed, 24 Oct 2007, Takehiko Abe wrote:

> Something in linux 2.6.23.1 kernel broke my OpenMCL.
>
> Anyone has success with linux 2.6.23 + OpenMCL? If so, please let me
> know.
>
> Thanks.
>
> $ openmcl --noinit
> Unhandled exception 11 at 0x30004006e224, context->regs at #x7fff788e77c8
> ? for help
> [8128] OpenMCL kernel debugger: b
> current thread: tcr = 0x2abb32dd56e0, native thread ID = 0x1fc0,
> interrupts disabled
>
>
> (#x00002ABB33019F10) #x0000300040038E04 : #<Anonymous Function
> #x0000300040038D2F> + 213
> (#x00002ABB33019F40) #x00003000400358F4 : #<Function
> %WALK-SHARED-LIBRARIES #x000030004003582F> + 197
> (#x00002ABB33019F68) #x0000300040038A24 : #<Function
> REVIVE-SHARED-LIBRARIES #x000030004003882F> + 501
> (#x00002ABB33019FA0) #x000030004003992C : #<Function
> REFRESH-EXTERNAL-ENTRYPOINTS #x000030004003981F> + 269
> (#x00002ABB33019FB0) #x0000300040BBE87C : #<Function
> RESTORE-LISP-POINTERS #x0000300040BBE82F> + 77
> [8128] OpenMCL kernel debugger: k
> Killed
>
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list