Eric Marsden <[EMAIL PROTECTED]> writes:

> CMUCL version 19a will be released at the end of July. We would
> appreciate help in testing the prerelease binaries that are available

This reports my experience with CMUCL 19a-pre3 on a Debian Woody x86
system (glibc 2.2.5, XFree86 4.1.0.1, Lesstif 0.93.18, OpenMotif
2.1.30).


> === Things to test
[...]
>    - try loading shared object files and ".o" object files using the
>      function EXT:LOAD-FOREIGN, and check that you can resolve symbols
>      in these libraries and call the corresponding functions. For
>      example:
>
>      ,----
>      | CL-USER> (ext:load-foreign "/usr/lib/libcrypt.so")

;;; Opening shared library /usr/lib/libcrypt.so ...
;;; Done.
NIL
*


>      | CL-USER> (alien:alien-funcall
>      |           (alien:extern-alien "crypt"
>      |                               (function c-call:c-string c-call:c-string 
> c-call:c-string))
>      |           "key" "salt")
>      | ; Compiling lambda (#:g1469 #:g1470 #:g1471): 
>      | ; Compiling Top-Level Form: 
>      | "sacA7YLUSAodg"
>      `----

; Compiling LAMBDA (#:G1300 #:G1301 #:G1302):
; Compiling Top-Level Form:

"sacA7YLUSAodg"
*


>    - try dumping an customized CMUCL image (using the function
>      EXT:SAVE-LISP) and restarting it.

I have dumped two images, one with McCLIM built from recent CVS
sources, and another with the CLIM Listener included with McCLIM.
Both images work fine, but compilation of the latter, understandably,
stopped with the following package locking issue in cmu-hacks.lisp
(the only restart that works is UNLOCK-ALL):

[...]
; Loading #p"/home/paolo/src/McCLIM/Apps/Listener/cmu-hacks.x86f".


Attempt to modify the locked package DEBUG, by
   redefining function INTERNAL-DEBUG
   [Condition of type LISP::PACKAGE-LOCKED-ERROR]

Restarts:
  0: [CONTINUE      ] Ignore the lock and continue
  1: [UNLOCK-PACKAGE] Disable package's definition-lock, then continue
  2: [UNLOCK-ALL    ] Disable all package locks, then continue
  3:                  Return NIL from load of 
#p"/home/paolo/src/McCLIM/Apps/Listener/cmu-hacks.x86f".
  4: [RETRY         ] Retry performing #<ASDF:LOAD-OP NIL {584CF20D}> on
                      #<ASDF:CL-SOURCE-FILE "cmu-hacks" {589BD51D}>.
  5: [ACCEPT        ] Continue, treating #<ASDF:LOAD-OP NIL {584CF20D}> on
                      #<ASDF:CL-SOURCE-FILE "cmu-hacks" {589BD51D}> as having
                      been successful.
  6: [ABORT         ] Return to Top-Level.

Debug  (type H for help)

(LISP::REDEFINING-FUNCTION INTERNAL-DEBUG #<unused-arg>)
Source: Error finding source:
Error in function GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
  target:code/package.lisp.
0] 1



Attempt to modify the locked package COMMON-LISP, by
   redefining function INVOKE-DEBUGGER
   [Condition of type LISP::PACKAGE-LOCKED-ERROR]

Restarts:
  0: [CONTINUE      ] Ignore the lock and continue
  1: [UNLOCK-PACKAGE] Disable package's definition-lock, then continue
  2: [UNLOCK-ALL    ] Disable all package locks, then continue
  3:                  Return NIL from load of 
#p"/home/paolo/src/McCLIM/Apps/Listener/cmu-hacks.x86f".
  4: [RETRY         ] Retry performing #<ASDF:LOAD-OP NIL {584CF20D}> on
                      #<ASDF:CL-SOURCE-FILE "cmu-hacks" {589BD51D}>.
  5: [ACCEPT        ] Continue, treating #<ASDF:LOAD-OP NIL {584CF20D}> on
                      #<ASDF:CL-SOURCE-FILE "cmu-hacks" {589BD51D}> as having
                      been successful.
  6: [ABORT         ] Return to Top-Level.

Debug  (type H for help)

(LISP::REDEFINING-FUNCTION INVOKE-DEBUGGER #<unused-arg>)
Source: Error finding source:
Error in function GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
  target:code/package.lisp.
0] 0




Attempt to modify the locked package COMMON-LISP, by
   redefining function INVOKE-DEBUGGER
   [Condition of type LISP::PACKAGE-LOCKED-ERROR]

Restarts:
  0: [CONTINUE      ] Ignore the lock and continue
  1: [UNLOCK-PACKAGE] Disable package's definition-lock, then continue
  2: [UNLOCK-ALL    ] Disable all package locks, then continue
  3:                  Return NIL from load of 
#p"/home/paolo/src/McCLIM/Apps/Listener/cmu-hacks.x86f".
  4: [RETRY         ] Retry performing #<ASDF:LOAD-OP NIL {584CF20D}> on
                      #<ASDF:CL-SOURCE-FILE "cmu-hacks" {589BD51D}>.
  5: [ACCEPT        ] Continue, treating #<ASDF:LOAD-OP NIL {584CF20D}> on
                      #<ASDF:CL-SOURCE-FILE "cmu-hacks" {589BD51D}> as having
                      been successful.
  6: [ABORT         ] Return to Top-Level.

Debug  (type H for help)

(LISP::REDEFINING-FUNCTION INVOKE-DEBUGGER #<unused-arg>)
Source: Error finding source:
Error in function GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
  target:code/package.lisp.
0] 2

; Compilation unit finished.
;   22 notes

NIL
*

I am Cc:ing this message to the McCLIM list.  I have also tried my
favorite stress test with the listener:

  (time (clim-listener::com-show-class-subclasses t))

It takes around 1.5 seconds on my 2.8 GHz Pentium IV.  I *seem* to
remember that the time was a few tenths of a second less with CMUCL
18e.


> If you have installed the "extra" tarball for your platform, you can
> help test the CLX support, the Motif interface and the Hemlock editor. 
>
>    - try connecting to your X11 display:
>
>      ,----
>      | CL-USER> (require :clx)

; Loading #p"/usr/local/cmucl19a-pre3/lib/cmucl/lib/subsystems/clx-library.x86f".
Warning:  XLIB previously used the following packages:
  (#<The LISP package, 1772/3389 internal, 978/1227 external>)
T
*


>      | CL-USER> (ext:open-clx-display)

#<XLIB:DISPLAY :0 (The XFree86 Project, Inc R40100001)>
#<XLIB:SCREEN :0.0 1280x1024x16 TRUE-COLOR>
*


>    - try using the Motif debugger and inspector:
>
>      ,----
>      | CL-USER> (require :clm)

; Loading #p"/usr/local/cmucl19a-pre3/lib/cmucl/lib/subsystems/clm-library.x86f".
T
*


>      | CL-USER> (inspect *package*)

library:motifd: Symbol `_XmStrings' has different size in shared object, consider 
re-linking
Starting server:
   will_fork  = False
   will_trace = False
   No Inet domain socket created.
   path       = /tmp/.motif_socket-p401
Waiting for connection.
Accepting client on Unix socket.
Accepted client on fd 4
Server not forking.
Warning: Cannot convert string "#000000" to type Boolean
Warning:  Toolkit Server -- Cannot convert string "#000000" to type Boolean

#<The COMMON-LISP-USER package, 2/9 internal, 0/9 external>
*

The inspector seems to work fine.


>    - try using the Hemlock editor:
>
>      ,----
>      | CL-USER> (require :hemlock)
>      | CL-USER> (ed)

Seems to work fine.


> Thanks for your help!

Thanks to you for the great work.  I closely follow the development of
CMUCL, but the summary of new features in the release notes is
impressive.  Kudos to the CMUCL developers.


Paolo
-- 
Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film

Reply via email to