[Openmcl-devel] 32 bit COCOA problem with Mac
Arthur Cater
arthur.cater at ucd.ie
Tue Aug 16 03:15:07 PDT 2016
Hi, I’ve just obtained a fresh CCL 1.11-r16635 from http://ccl.clozure.com/ftp/pub/release/1.11 <http://ccl.clozure.com/ftp/pub/release/1.11> and tried to start up the 32-bit version. I run into problems when (require “COCOA”).
I ran into the same problem when using CCL1.10-r16196, which was what provoked me into upgrading to CCL1-11.
I’m using a mid-2015 Macbook Pro with OS 10.11.5.
(It’s not a crucial issue for me because I just wanted from curiosity to find out if 32-bit would be faster than 64-bit for my application (because eg better cache behavior)).
Here is what happens: in both CCL 1.10xxx and CCL1.11-r16635 using ./dx86cl64 works fine but
Last login: Mon Aug 15 20:47:36 on ttys000
ArthursSSD:~ arthur$ cd ccl11/ccl
ArthursSSD:ccl arthur$ ./dx86cl --no-init
Welcome to Clozure Common Lisp Version 1.11-r16635 (DarwinX8632)!
CCL is developed and maintained by Clozure Associates. For more information
about CCL visit http://ccl.clozure.com. To enquire about Clozure's Common Lisp
consulting services e-mail info at clozure.com or visit http://www.clozure.com.
? (require "COCOA")
;Loading #P"ccl:mac-ui;fasls;cf-utils.dx32fsl.newest"...
;Loading #P"ccl:mac-ui;fasls;libdispatch.dx32fsl.newest"...
;Loading #P"ccl:mac-ui;fasls;ccl-application.dx32fsl.newest"...
;Loading #P"ccl:mac-ui;fasls;event-process.dx32fsl.newest"...
;Loading #P"ccl:mac-ui;fasls;cg.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;constants.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;ide-application.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;cocoa-utils.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;cocoa-defaults.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;cocoa-typeout.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;console-window.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;console-log.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;cocoa-window.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;cocoa-doc.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;compile-hemlock.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;hemlock.dx32fsl.newest"...
;;; Compiling Hemlock ...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/package.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;package.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/hemlock-ext.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;hemlock-ext.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/decls.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;decls.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/struct.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;struct.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/charmacs.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;charmacs.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/key-event.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;key-event.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/keysym-defs.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;keysym-defs.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/cocoa-hemlock.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;cocoa-hemlock.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/rompsite.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;rompsite.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/macros.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;macros.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/views.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;views.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/line.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;line.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/ring.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;ring.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/vars.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;vars.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/interp.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;interp.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/syntax.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;syntax.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/htext1.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;htext1.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/buffer.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;buffer.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/charprops.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;charprops.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/htext2.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;htext2.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/htext3.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;htext3.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/htext4.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;htext4.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/files.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;files.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/search1.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;search1.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/search2.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;search2.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/table.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;table.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/modeline.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;modeline.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/pop-up-stream.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;pop-up-stream.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/font.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;font.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/streams.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;streams.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/main.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;main.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/echo.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;echo.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/echocoms.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;echocoms.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/command.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;command.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/indent.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;indent.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/morecoms.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;morecoms.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/undo.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;undo.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/killcoms.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;killcoms.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/searchcoms.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;searchcoms.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/isearchcoms.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;isearchcoms.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/filecoms.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;filecoms.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/doccoms.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;doccoms.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/fill.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;fill.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/text.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;text.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/lispmode.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;lispmode.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/listener.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;listener.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/comments.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;comments.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/defsyn.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;defsyn.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/edit-defs.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;edit-defs.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/register.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;register.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/completion.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;completion.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/symbol-completion.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;symbol-completion.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/bindings.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;bindings.dx32fsl.newest"...
;Compiling "/Users/arthur/ccl11/ccl/cocoa-ide/hemlock/src/display.lisp"...
;Loading #P"ccl:cocoa-ide;hemlock;bin;openmcl;display.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;cocoa-editor.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;cocoa-listener.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;cocoa-grep.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;cocoa-backtrace.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;inspector.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;project.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;cocoa-remote-lisp.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;preferences-views.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;preferences.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;processes-window.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;apropos-window.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;xapropos.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;hemlock-commands.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;file-dialogs.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;menus.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;app-delegate.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;ide-self-update.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;search-files.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;start.dx32fsl.newest"...
;Loading #P"ccl:cocoa-ide;fasls;xinspector.dx32fsl.newest"...
"COCOA"
("IDE-BUNDLE" "OBJC-PACKAGE" "SEQUENCE-UTILS" "NAME-TRANSLATION" "OBJC-CLOS" "OBJC-RUNTIME" "BRIDGE" "OBJC-SUPPORT" "COMPILE-HEMLOCK" "HEMLOCK" "uiop" "UIOP" "asdf" "ASDF" "COCOA")
? Unhandled exception 10 at 0x9b0a0438, context->regs at #xbfffdd5c
Exception occurred while executing foreign code
at _class_initialize + 5
received signal 10; faulting address: 0xbf7ffffc
? for help
[5244] Clozure CL kernel debugger: b
current thread: tcr = 0x101230, native thread ID = 0x50b, interrupts enabled
(#x005CBCA0) #x0C8290F5 : #<Anonymous Function #x0C828F5E> + 407
(#x005CBCB4) #x0CE8E6AD : #<Function (:OBJC-DISPATCH addSubview:) #x0CE8E2DE> + 975
(#x005CBCEC) #x0D573335 : #<Function MAKE-SCROLLING-TEXTVIEW-FOR-PANE #x0D572DA6> + 1423
(#x005CBD14) #x0D589EFD : #<Function TEXTPANE-FOR-TEXTSTORAGE #x0D589E16> + 231
(#x005CBD44) #x0D59210D : #<Function %HEMLOCK-FRAME-FOR-TEXTSTORAGE #x0D5920B6> + 87
(#x005CBD68) #x0D633B05 : #<Function -[HemlockListenerDocument makeWindowControllers] #x0D633866> + 671
(#x005CBD98) #x041A05FD : #<Function %PASCAL-FUNCTIONS% #x041A04A6> + 343
(#x005CBDE0) #x0C6FAB6D : #<Anonymous Function #x0C6FA976> + 503
(#x005CBDF8) #x0DD10D25 : #<Function (:OBJC-DISPATCH openUntitledDocumentOfType:display:) #x0DD10956> + 975
(#x005CBE30) #x0DD0C3F5 : #<Function -[IDEApplicationDelegate newListener:] #x0DD0C176> + 639
(#x005CBE60) #x041A05FD : #<Function %PASCAL-FUNCTIONS% #x041A04A6> + 343
(#x005CBEA8) #x0C8290F5 : #<Anonymous Function #x0C828F5E> + 407
(#x005CBEBC) #x0DD0C95D : #<Function (:OBJC-DISPATCH newListener:) #x0DD0C58E> + 975
(#x005CBEF4) #x0DD1DE45 : #<Function -[IDEApplicationDelegate applicationOpenUntitledFile:] #x0DD1DB66> + 735
(#x005CBF24) #x041A05FD : #<Function %PASCAL-FUNCTIONS% #x041A04A6> + 343
(#x005CBF6C) #x0C704C15 : #<Anonymous Function #x0C704B56> + 191
(#x005CBF7C) #x0CEF147D : #<Function (:OBJC-DISPATCH run) #x0CEF10AE> + 975
(#x005CBFB4) #x0CEEEEFD : #<Function EVENT-LOOP #x0CEEED86> + 375
(#x005CBFDC) #x0CEF04DD : #<Function (:INTERNAL COCOA-STARTUP START-COCOA-IDE) #x0CEEFF6E> + 1391
[5244] Clozure CL kernel debugger: ?
(G) Set specified GPR to new value
(R) Show raw GPR/SPR register values
(L) Show Lisp values of tagged registers
(F) Show FPU registers
(S) Find and describe symbol matching specified name
(B) Show backtrace
(T) Show info about current thread
(M) Show memory areas
(X) Exit from this debugger, asserting that any exception was handled
(P) Propagate the exception to another handler (debugger or OS)
(K) Kill Clozure CL process
(V) Show Subversion revision information
(?) Show this help
[5244] Clozure CL kernel debugger: K
Killed: 9
ArthursSSD:ccl arthur$
Thanks for any advice. Anything useful I can do with the kernel debugger?
Arthur
You’ll note that
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20160816/be52c7f5/attachment.htm>
More information about the Openmcl-devel
mailing list