Folks --

I have a large program that depends on CLX and runs fine in 19C.

I can't get it to compile and load in any version of 19D, including
  cmucl-19d-ppc-darwin w/ cmucl-19d-ppc-darwin-lib;
  cmucl-2007-03-ppc-darwin w/ cmucl-2007-03-ppc-darwin-lib;
  cmucl-2007-07-ppc-darwin w/ cmucl-2007-07-ppc-darwin-lib; and
  cmucl-2007-08-ppc-darwin w/ cmucl-2007-08-ppc-darwin-lib.

When it dies, error msgs are most unuseful, at least to me:
  ; [GC threshold exceeded with 29,234,144 bytes in use.  Commencing GC.]
  Help! 12 nested errors.  KERNEL:*MAXIMUM-ERROR-DEPTH* exceeded.
  (UNIX::SIGBUS-HANDLER #<unused-arg> #<unused-arg> #.(SYSTEM:INT-SAP 
#xBFFFED08))

It manages to compile the first CLX intensive file (there are
three) before dying, and then I can start a fresh lisp, load the
first file and then get the second compiled, then once more for
the third, but that very ugly process doesn't continue to work
for the 100 or files that are next (not that *I* would try to
actually use such a technique for anything but gathering
information ...)

And, yes, 19D clx-library.ppcf works to do Hello World.


So ....

1 Is this a known problem?

2 Is there a way that I can get more useful error msgs?

3 If none of the above, what additional log/trace info would be
useful in this situation? I have included very little in this msg ...
And, for what it's worth, up until this msg
     ; [GC threshold exceeded with 29,234,144 bytes in use.  Commencing GC.]
and then this one
     Help! 12 nested errors.  KERNEL:*MAXIMUM-ERROR-DEPTH* exceeded.
     (UNIX::SIGBUS-HANDLER #<unused-arg> #<unused-arg> #.(SYSTEM:INT-SAP 
#xBFFFED08))
trace of the 19D compile looks *exactly* the same as the 19C, but then
they fork and the 19C continues on happily and loads.

thanks,
-f

********************************

19C WORKS
  CMU Common Lisp 19c (19C), running on sax.local
  With core: /sw/cmucl-19c-ppc-darwin/lib/cmucl/lib/lisp.core
  Dumped on: Tue, 2005-11-15 16:28:20-08:00 on Anna-Toys-Mac-mini.local
  See <http://www.cons.org/cmucl/> for support information.
  Loaded subsystems:
      Python 1.1, target PowerPC
      CLOS based on Gerd's PCL 2004/04/14 03:32:47
      CLX X Library MIT R5.02
*features* =
(:CLX-MIT-R5 :CLX-MIT-R4 :XLIB :CLX 
 :GERDS-PCL :PCL-STRUCTURES :PORTABLE-COMMONLOOPS :PCL :NEW-ASSEMBLER :CMU19
 :CMU19C :PYTHON :CONSERVATIVE-FLOAT-TYPE :MODULAR-ARITH :PPC :LINKAGE-TABLE
 :RELATIVE-PACKAGE-NAMES :DARWIN :BSD :UNIX :RANDOM-MT19937 :HASH-NEW :COMMON
 :COMMON-LISP :ANSI-CL :IEEE-FLOATING-POINT :CMU)


===============================================

19D DOESN'T
  CMU Common Lisp Snapshot 2007-07 (19D), running on sax.local
  With core: /sw/cmucl-2007-07-ppc-darwin/lib/cmucl/lib/lisp.core
  Dumped on: Fri, 2007-06-29 17:09:35-07:00 on Anna-Toys-Mac-mini.local
  See <http://www.cons.org/cmucl/> for support information.
  Loaded subsystems:
      Python 1.1, target PowerPC
      CLOS based on Gerd's PCL 2004/04/14 03:32:47
      CLX X Library MIT R5.02
*features* =
(:CLX-MIT-R5 :CLX-MIT-R4 :XLIB :CLX 
 :GERDS-PCL :PCL-STRUCTURES :PORTABLE-COMMONLOOPS :PCL :NEW-ASSEMBLER :CMU19
 :CMU19D :PYTHON :CONSERVATIVE-FLOAT-TYPE :MODULAR-ARITH :PPC :LINKAGE-TABLE
 :RELATIVE-PACKAGE-NAMES :DARWIN :BSD :UNIX :RANDOM-MT19937 :GENCGC :HASH-NEW
 :DOUBLE-DOUBLE :COMMON :COMMON-LISP :ANSI-CL :IEEE-FLOATING-POINT :CMU)


******************  BRIEF TRACE  *****************

;; Loading 
#P"/sw/cmucl-2007-07-ppc-darwin-lib/lib/cmucl/lib/subsystems/clx-library.ppcf".

(featurep :CLX-MIT-R5)

loading CLX PATCHES from /Users/lakin/pam/code/lisp-utilities/CLX-patches/
;;*** RECOMPILING *** CLX patches!!

; Python version 1.1, VM version PowerPC on 10 AUG 07 05:24:20 pm.
; Compiling: 
/Users/lakin/pam/code/lisp-utilities/CLX-patches/bitmap-io-patch.lisp 09 MAY 04 
02:57:23 pm
; File: /Users/lakin/pam/code/lisp-utilities/CLX-patches/bitmap-io-patch.lisp
; /Users/lakin/pam/code/lisp-utilities/CLX-patches/bitmap-io-patch.cmufasl 
written.
; Compilation finished in 0:00:02.
;; Loading 
#P"/Users/lakin/pam/code/lisp-utilities/CLX-patches/bitmap-io-patch.cmufasl".

; Python version 1.1, VM version PowerPC on 10 AUG 07 05:24:22 pm.
; Compiling: 
/Users/lakin/pam/code/lisp-utilities/CLX-patches/garnet-pixmaps.lisp 06 JAN 04 
06:33:10 pm; File: 
/Users/lakin/pam/code/lisp-utilities/CLX-patches/garnet-pixmaps.lisp

; [GC threshold exceeded with 29,913,904 bytes in use.  Commencing GC.]
Help! 12 nested errors.  KERNEL:*MAXIMUM-ERROR-DEPTH* exceeded.

Debug  (type H for help)

(UNIX::SIGBUS-HANDLER #<unused-arg> #<unused-arg> #.(SYSTEM:INT-SAP #xBFFFECE8))


; Compilation unit aborted.
;   1 warning
;   1 note

Source: 


Error in function UNIX::SIGBUS-HANDLER:  Bus Error at #x40AE2C0.
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [CONTINUE] Return NIL from load of "home:init".
  1: [ABORT   ] Skip remaining initializations.

Debug  (type H for help)

(UNIX::SIGBUS-HANDLER #<unused-arg> #<unused-arg> #.(SYSTEM:INT-SAP #xBFFFF588))
Source: Error finding source: 
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
  target:code/signal.lisp.
0] 
Error in function UNIX::SIGBUS-HANDLER:  Bus Error at #x41D5A9C.
Error flushed ...
0] 
Error in function UNIX::SIGBUS-HANDLER:  Bus Error at #x41D5A9C.
Error flushed ...
0] 
Error in function UNIX::SIGBUS-HANDLER:  Bus Error at #x41D5A9C.
Error flushed ...
0] 
Error in function UNIX::SIGBUS-HANDLER:  Bus Error at #x41D5A9C.
Error flushed ...
0] 
Error in function UNIX::SIGBUS-HANDLER:  Bus Error at #x4CA5380.
Error flushed ...
0] 
Error in function UNIX::SIGBUS-HANDLER:  Bus Error at #x4CA5380.
Error flushed ...
0] 
Error in function UNIX::SIGBUS-HANDLER:  Bus Error at #x4CA5380.
Error flushed ...
0] 

Reply via email to