On Tue, May 13, 2008 at 5:24 PM, Leonardo Varuzza <<a href="mailto:varuzza@gmail.com">varuzza@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Nope, thing get little bit worst:<br>
<br>
Errors detected in this test: 98 UNEXPECTED: 94<br>
Successes this test:601</blockquote><div><br>You get further than I do (on SBCL 1.0.10): compilation now succeeds (update in CVS), but SBCL crashes when attempting to create a Python function. Apparently you don't have this problem? If this issue is fixed in SBCL in the mean time, that would be great.<br>
<br>By the way, the module handling is rewritten so that CMUCL does not complain about modification of literal objects anymore. But CMUCL ends with an illegal instruction when creating a Python function; that is shown below this SBCL backtrace.<br>
<br>Things are still fine on Allegro and LispWorks.<br><br>- Willem<br><br>[SBCL 1.0.10]<br>* (clpython::make-py-function :name "foo" :context-name "foo" :lambda (lambda () 42))<br><br>debugger invoked on a TYPE-ERROR:<br>
  The value #<invalid object #x466F1171> is not of type LIST.<br><br>Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.<br><br>restarts (invokable by number or by possibly-abbreviated name):<br>  0: [ABORT] Exit debugger, returning to top level.<br>
<br>(NTHCDR #<error printing object>)<br>0] backtrace<br><br>0: (NTHCDR #<error printing object>)<br>1: (SB-PCL::SLOT-UNBOUND-INTERNAL #<error printing object>)<br>2: (SB-PCL::SET-ARG-INFO #<error printing object>)<br>
3: ((SB-PCL::FAST-METHOD INITIALIZE-INSTANCE :AFTER<br>     ("#<...>" . "#<...>")) #<error printing object>)<br>4: ((LAMBDA<br>        (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL.<br>         "#<...>" . "#<...>")) #<error printing object>)<br>
5: ((SB-PCL::FAST-METHOD MAKE-INSTANCE (CLASS))<br>    #<unavailable argument><br>    #<unavailable argument><br>    #<CLPYTHON::FUNCALLABLE-PYTHON-CLASS CLPYTHON::PY-FUNCTION>)<br>6: (CLPYTHON::MAKE-PY-FUNCTION)<br>
7: (SB-INT:SIMPLE-EVAL-IN-LEXENV<br>    (CLPYTHON::MAKE-PY-FUNCTION :NAME "foo" :CONTEXT-NAME "foo" :LAMBDA<br>                                (LAMBDA () 42))<br>    #<NULL-LEXENV>)<br>8: (INTERACTIVE-EVAL<br>
    (CLPYTHON::MAKE-PY-FUNCTION :NAME "foo" :CONTEXT-NAME "foo" :LAMBDA<br>                                (LAMBDA () 42)))<br>9: (SB-IMPL::REPL-FUN NIL)<br>10: (SB-IMPL::REPL-FUN NIL)<br>11: ((LAMBDA ()))<br>
12: ((LAMBDA ()))<br>13: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA #) {11631A8D}>)<br>14: (SB-IMPL::TOPLEVEL-REPL NIL)<br>15: (SB-IMPL::TOPLEVEL-INIT)<br>16: ((LABELS SB-IMPL::RESTART-LISP))<br><br><br><br>
[ CMU Common Lisp Stage 3 20071107T024924 (19D), running on Banaan ]<br>[ With core: /Users/willem/dev/lisp/cmucl-2007-11-x86-darwin/lib/cmucl/lib/lisp.core ]<br>[ Dumped on: Wed, 2007-11-07 11:49:28+01:00 on lapputoppu.local ]<br>
<br>* (clpython::make-py-function :name "foo" :context-name "foo" :lambda (lambda () 42))<br>; [GC threshold exceeded with 30,814,104 bytes in use.  Commencing GC.]<br>; [GC completed with 16,801,584 bytes retained and 14,012,520 bytes freed.]<br>
; [GC will next occur when at least 28,801,584 bytes are in use.]<br>./cmucl.sh: line 2:  7029 Illegal instruction     ~/dev/lisp/cmucl-2007-11-x86-darwin/bin/lisp<br> <br></div></div>