[Pal-devel] Running PAL on Mac OS X (Leopard)
Kamil Shakirov
kamils80 at gmail.com
Tue Nov 6 11:55:56 UTC 2007
Hi Tomi,
Recently I moved to MBP3 and Mac OS X (upgraded to Leopard). First I
wanted to port all my lisp libs/tools to the new OS. So far I can run
cl-opengl (thomas branch) using lispbuilder-sdl backend for window
management. Now I am trying to run PAL, still no success. After
applying a small patch (attached) that loads SDL (from SDL offsite)
and OpenGL libraries I was able to compile and load PAL library
without any errors but constantly get the same errors and SBCL crashes
when trying to run examples. Here is my log:
devbook% sbcl
This is SBCL 1.0.11, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
; loading system definition from
; /Users/kamil/.lisp/systems/asdf-binary-locations.asd into #<PACKAGE
"ASDF0">
; registering #<SYSTEM ASDF-BINARY-LOCATIONS {11EF4709}> as
; ASDF-BINARY-LOCATIONS
* (require :pal)
; loading system definition from /Users/kamil/.lisp/systems/cffi.asd
into
; #<PACKAGE "ASDF0">
; registering #<SYSTEM CFFI {119CC061}> as CFFI
NIL
* *features*
(CFFI-FEATURES:FLAT-NAMESPACE CFFI-FEATURES:X86 CFFI-FEATURES:UNIX
CFFI-FEATURES:DARWIN :CFFI :ASDF :SB-THREAD :ANSI-CL :COMMON-
LISP :SBCL
:SB-DOC :SB-TEST :SB-LDB :SB-PACKAGE-LOCKS :SB-UNICODE :SB-EVAL
:SB-SOURCE-LOCATIONS :IEEE-FLOATING-POINT :X86 :UNIX :MACH-
O :BSD :DARWIN
:MACH-EXCEPTION-HANDLER :SB-LUTEX :RESTORE-FS-SEGMENT-REGISTER-FROM-
TLS
:GENCGC :STACK-GROWS-DOWNWARD-NOT-UPWARD :C-STACK-IS-CONTROL-STACK
:COMPARE-AND-SWAP-VOPS :UNWIND-TO-FRAME-AND-CALL-VOP
:STACK-ALLOCATABLE-CLOSURES :ALIEN-CALLBACKS :LINKAGE-TABLE
:OS-PROVIDES-DLOPEN :OS-PROVIDES-DLADDR :OS-PROVIDES-PUTWC
:OS-PROVIDES-BLKSIZE-T :OS-PROVIDES-SUSECONDS-T)
* (load "hares.lisp")
STYLE-WARNING: implicitly creating new generic function DRAW
STYLE-WARNING: implicitly creating new generic function ACT
T
* (in-package :pal-example)
#<PACKAGE "PAL-EXAMPLE">
* (example)
2007-11-06 01:37:47.938 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x121340 of class NSCFNumber autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.939 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x1217c0 of class NSCFNumber autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.940 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x121ec0 of class NSCFNumber autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.941 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x121930 of class NSCFDictionary autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.941 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0117a34 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.942 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x121ed0 of class NSCFNumber autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.942 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0117a44 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.943 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x121b20 of class NSCFNumber autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.943 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0117a54 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.944 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x1224d0 of class NSCFNumber autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.944 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0117a64 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.945 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x1224d0 of class NSCFNumber autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.945 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0117a54 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.946 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0117a64 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.946 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0117a54 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.947 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0117a64 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.947 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0117a54 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.948 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0117a54 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.948 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0117a54 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.949 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x113940 of class NSCFNumber autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.951 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x122aa0 of class __NSFontTypefaceInfo autoreleased with no
pool in place - just leaking
Stack: ()
2007-11-06 01:37:47.952 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x123a20 of class NSAffineTransform autoreleased with no pool
in place - just leaking
Stack: ()
2007-11-06 01:37:47.959 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x123ed0 of class NSFont autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:47.971 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x124010 of class NSFont autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:47.973 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x124c80 of class NSCFArray autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.973 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x125bd0 of class NSCFSet autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:47.974 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x125da0 of class NSCFArray autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.974 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x125e80 of class NSCFArray autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.974 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x124010 of class NSFont autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:47.981 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa08aae10 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.982 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa08a3990 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.982 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x113970 of class NSCFString autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.983 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x127850 of class NSCFCharacterSet autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.983 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x127ac0 of class NSDeviceRGBColor autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:47.984 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x1106f0 of class NSCFNumber autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.984 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x128490 of class NSCalibratedWhiteColor autoreleased with no
pool in place - just leaking
Stack: ()
2007-11-06 01:37:47.985 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x128730 of class NSCFArray autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.985 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x1287f0 of class NSCFSet autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:47.992 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x128750 of class NSCFArray autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:47.993 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x128be0 of class NSCFDictionary autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:48.364 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13a990 of class NSMutableParagraphStyle autoreleased with no
pool in place - just leaking
Stack: ()
2007-11-06 01:37:48.364 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13ab40 of class NSCFDictionary autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:48.365 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x10ef50 of class NSCFArray autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:48.366 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x127550 of class __NSFontTypefaceInfo autoreleased with no
pool in place - just leaking
Stack: ()
2007-11-06 01:37:48.367 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13c170 of class NSFont autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:48.367 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13c420 of class NSFont autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:48.367 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0112a34 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:48.368 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13cb10 of class _NSCachedBitmapImageRep autoreleased with no
pool in place - just leaking
Stack: ()
2007-11-06 01:37:48.369 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13cf30 of class NSImage autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:48.369 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13d240 of class _NSCachedBitmapImageRep autoreleased with no
pool in place - just leaking
Stack: ()
2007-11-06 01:37:48.370 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13d3c0 of class NSImage autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:48.370 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13afb0 of class _NSThemeCloseWidget autoreleased with no pool
in place - just leaking
Stack: ()
2007-11-06 01:37:48.371 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13d750 of class NSCFArray autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:48.372 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13c420 of class NSFont autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:48.372 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0112a34 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:48.373 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13dbe0 of class _NSCachedBitmapImageRep autoreleased with no
pool in place - just leaking
Stack: ()
2007-11-06 01:37:48.373 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13dd90 of class NSImage autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:48.374 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13dea0 of class _NSCachedBitmapImageRep autoreleased with no
pool in place - just leaking
Stack: ()
2007-11-06 01:37:48.374 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13dfc0 of class NSImage autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:48.374 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13d770 of class _NSThemeWidget autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:48.375 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13d610 of class NSCFArray autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:48.376 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13c420 of class NSFont autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:48.376 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0xa0112a34 of class NSCFString autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:48.377 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13cbb0 of class _NSCachedBitmapImageRep autoreleased with no
pool in place - just leaking
Stack: ()
2007-11-06 01:37:48.377 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x121760 of class NSImage autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:48.377 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13cfd0 of class _NSCachedBitmapImageRep autoreleased with no
pool in place - just leaking
Stack: ()
2007-11-06 01:37:48.378 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13d870 of class NSImage autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:48.378 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13e240 of class _NSThemeWidget autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:48.379 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x1273f0 of class NSCFArray autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:48.380 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13c6f0 of class NSTrackingArea autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:48.380 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x139980 of class NSTrackingArea autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:48.381 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13edb0 of class NSCFString autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:48.381 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13ed10 of class NSException autoreleased with no pool in
place - just leaking
Stack: ()
2007-11-06 01:37:48.382 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13c810 of class _NSCallStackArray autoreleased with no pool
in place - just leaking
Stack: ()
2007-11-06 01:37:48.382 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13ef20 of class NSCFString autoreleased with no pool in place
- just leaking
Stack: ()
2007-11-06 01:37:48.383 sbcl[20918:10b] *** _NSAutoreleaseNoPool():
Object 0x13efb0 of class NSCFData autoreleased with no pool in place -
just leaking
Stack: ()
2007-11-06 01:37:48.383 sbcl[20918:10b] *** Terminating app due to
uncaught exception 'NSInternalInconsistencyException', reason: 'Error
(1002) creating CGSWindow'
2007-11-06 01:37:48.384 sbcl[20918:10b] Stack: (
)
zsh: trace trap sbcl
devbook%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pal-devel/attachments/20071106/6837162a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffi-darwin.patch
Type: application/octet-stream
Size: 1027 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/pal-devel/attachments/20071106/6837162a/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pal-devel/attachments/20071106/6837162a/attachment-0001.html>
More information about the pal-devel
mailing list