[Bug-openmcl] Odd cocoa behavior

Paul Wallich pw at panix.com
Thu Feb 12 08:54:35 MST 2004


(This is with 0.14.1 on Panther, starting from a Terminal command line)

please excuse the mostly clueless dilettantism:

When I start up a cocoa listener (require 'cocoa) and then use the menu 
to open a file, an error message gets printed in the original Terminal 
window:

 > Error: Stack overflow on control stack.
 > While executing: CCL::%PASCAL-FUNCTIONS%

The cocoa listener and the now-open file window continue working fine, 
but the Terminal window doesn't seem to be parsing input at this point
(I could be wrong on that). So I'm not sure whom I would ask for a 
backtrace...

I also get


;;;
;;; #<APPKIT-PROCESS Initial(0) [Active] #x61042DE> requires access to 
Shared Terminal Input
;;;

and eventually manage to put up a spinning beachball in the cocoa 
listener, at which point I have to force-quit the cocoa listener (and 
thus also the process running in the Terminal window) from the dock.

Easiest way to clobber the cocoa section is to use the menu to ask it to 
open a file containing lisp source that doesn't have a .lisp extension, btw.

(All of this is in pursuit of something to take the place of the old 
choose-file-dialog function, btw. All the code I've looked through so 
far seems to use the Cocoa stuff to open a window with the file in it, 
which can then be manipulated, but doesn't appear -- although that could 
just be my ignorance -- to ever hand a pathname back to the underlying 
lisp so that open and load and friends can do their stuff.)

Any advice, including "go away, come back when the Cocoa stuff is 
finished" would be appreciated.

paul



More information about the Bug-openmcl mailing list