[Openmcl-devel] Advice needed to debug shared library problem on Mac and Linux

Paul Meurer Paul.Meurer at uni.no
Tue Mar 29 10:02:24 PDT 2011


Gary,

I tried your suggestion to use a larger stack, but the outcome is the same. There seems to be an infinite recursion going on:

paul at kakadu:~/lisp/ccl> ccl64 -Z 10M --no-init
Welcome to Clozure Common Lisp Version 1.7-dev-r14406M-trunk  (DarwinX8664)!
? (load "~/lisp/projects/iness/cl-fst/test-case.lisp")
; Loading system definition from /Users/paul/lisp/lib/cffi/cffi.asd into #<Package "ASDF0">
; Registering #<SYSTEM CFFI> as CFFI
; Loading system definition from /Users/paul/lisp/lib/babel/babel.asd into #<Package "ASDF0">
; Registering #<SYSTEM BABEL> as BABEL
; Loading system definition from /Users/paul/lisp/lib/alexandria/alexandria.asd into #<Package "ASDF0">
; Registering #<SYSTEM :ALEXANDRIA> as ALEXANDRIA
; Loading system definition from /Users/paul/lisp/lib/trivial-features/trivial-features.asd intoUnhandled exception 10 at 0x2a09677, context->regs at #xb0a9b6f0
Exception occurred while executing foreign code
 at cfsm_push + 23
received signal 10; faulting address: 0x0
? for help
[33962] Clozure CL kernel debugger: t
Current Thread Context Record (tcr) = 0x6050b0
Control (C) stack area:  low = 0xb0038000, high = 0xb0a9c000
Value (lisp) stack area: low = 0x1900000, high = 0x231a000
Exception stack pointer = 0xb0a9bbc0
[33962] Clozure CL kernel debugger: r
%rax = 0x0000000000000000      %r8  = 0x00000000ffffffff
%rcx = 0x000000000082ea00      %r9  = 0x0000000000000000
%rdx = 0x0000000000000000      %r10 = 0x0000000000001002
%rbx = 0x0000000002b62000      %r11 = 0x0000000000000206
%rsp = 0x00000000b0a9bbc0      %r12 = 0x0000000000000002
%rbp = 0x00000000b0a9bbd0      %r13 = 0x0000000002b06e38
%rsi = 0x0000000002b62000      %r14 = 0x0000000002b06d20
%rdi = 0x0000000000833a00      %r15 = 0x00007fff703abf40
%rip = 0x0000000002a09677   %rflags = 0x00010206
[33962] Clozure CL kernel debugger: 

I'll send you the libraries in a separate mail, it is OK for Lauri.

-- 
Paul


More information about the Openmcl-devel mailing list