[Openmcl-devel] Exception when requiring cocoa-application

Robert Goldman rpgoldman at sift.info
Mon Sep 20 15:46:09 UTC 2010


On 9/20/10 Sep 20 -10:30 AM, Chris Van Dusen wrote:
> When I first saw the error, my first thought was the recent thread about
> ASDF being on a different thread, but I don't know enough about such
> things to comment with anything that even resembles feigned
> knowledge/insight.

This really looks like ASDF either not being loaded properly, or
easygui.asd being buggy.  Two possibilities:

Whatever package easygui.asd is written in is not properly importing
find-system from the ASDF package.  If you need help with this, you
should post the contents of that file.

A backtrace would be very helpful; I don't have any way to tell what is
causing easygui.asd to be loaded.  If it's being loaded by
ASDF:LOAD-SYSTEM (or ASDF:OOS) then we know that ASDF is properly loaded
and there's something wrong with easygui.asd.  If it's being loaded "by
hand" (e.g., somebody in xinspector.lisp calls (load "easygui.asd")),
then all bets are off....

r

> 
> Chris.
> 
> On Mon, Sep 20, 2010 at 9:58 AM, Robert P. Goldman <rpgoldman at sift.info
> <mailto:rpgoldman at sift.info>> wrote:
> 
>     This looks like it might be a package error. Calling FIND-SYSTEM not
>     in the ASDF package perhaps?
> 
>     "Chris Van Dusen" <cavandusen at gmail.com
>     <mailto:cavandusen at gmail.com>> wrote:
> 
>     >That fixed it.  However, I'm now getting the following when the App is
>     >opened:
>     >
>     >;Loading
>     #P"/Users/cvandusen/bin/ccl/cocoa-ide/fasls/xinspector.dx64fsl"...
>     >> Error: Undefined function FIND-SYSTEM called with arguments
>     (:COCOA.ASD) .
>     >> While executing: #<Anonymous Function #x3020022185FF>, in process
>     >listener(1).
>     >> Type cmd-/ to continue, cmd-. to abort, cmd-\ for a list of available
>     >restarts.
>     >> If continued: Retry applying FIND-SYSTEM to (:COCOA.ASD).
>     >> Type :? for other options.
>     >>   Type (:C <n>) to invoke one of the following restarts:
>     >0. Return to break level 1.
>     >1. #<RESTART CCL:ABORT-BREAK #x252953D>
>     >2. Retry applying FIND-SYSTEM to (:COCOA.ASD).
>     >3. Apply specified function to (:COCOA.ASD) this time.
>     >4. Specify a function to use as the definition of FIND-SYSTEM.
>     >5. Retry loading
>     >#P"/Users/cvandusen/bin/ccl/examples/cocoa/easygui/easygui.asd"
>     >6. Skip loading
>     >#P"/Users/cvandusen/bin/ccl/examples/cocoa/easygui/easygui.asd"
>     >7. Load other file instead of
>     >#P"/Users/cvandusen/bin/ccl/examples/cocoa/easygui/easygui.asd"
>     >8. Retry loading #P"/Users/cvandusen/bin/ccl/examples/cocoa/easygui"
>     >9. Skip loading #P"/Users/cvandusen/bin/ccl/examples/cocoa/easygui"
>     >10. Load other file instead of
>     >#P"/Users/cvandusen/bin/ccl/examples/cocoa/easygui"
>     >11. Retry loading
>     >#P"/Users/cvandusen/bin/ccl/cocoa-ide/cocoa-application.lisp"
>     >12. Skip loading
>     >#P"/Users/cvandusen/bin/ccl/cocoa-ide/cocoa-application.lisp"
>     >13. Load other file instead of
>     >#P"/Users/cvandusen/bin/ccl/cocoa-ide/cocoa-application.lisp"
>     >14. Return to toplevel.
>     >15. #<RESTART CCL:ABORT-BREAK #x252A63D>
>     >16. Reset this thread
>     >17. Kill this thread
>     >1 >
>     >
>     >Any idea as to what is causing that?
>     >
>     >Thanks again,
>     >Chris.
>     >
>     >On Mon, Sep 20, 2010 at 9:23 AM, Gary Byers <gb at clozure.com
>     <mailto:gb at clozure.com>> wrote:
>     >
>     >> Sorry; should be fixed now (in r14290).
>     >>
>     >>
>     >> On Mon, 20 Sep 2010, Chris Van Dusen wrote:
>     >>
>     >>  Hi,
>     >>>
>     >>> I updated trunk of CCL this morning and after running
>     (rebuild-ccl :full
>     >>> t), quitting and starting again (via dx86cl64) I did
>     >>> the following:
>     >>>
>     >>> Welcome to Clozure Common Lisp Version 1.6-dev-r14289M-trunk
>     >>> (DarwinX8664)!
>     >>> ? (require :cocoa-application)
>     >>>
>     >>> The app is started, but the following appears in Terminal:
>     >>>
>     >>> ;Compiling "/Users/cvandusen/bin/ccl/cocoa-ide/xinspector.lisp"...
>     >>> ;Loading
>     >>>
>     #P"/Users/cvandusen/bin/ccl/cocoa-ide/fasls/xinspector.dx64fsl"...Unhandled
>     >>> exception 10 at 0x3000000a9a47,
>     >>> context->regs at #x7fff5fbfd770
>     >>> received signal 10; faulting address: 0x200ff8
>     >>> non-existent physical address? for help
>     >>> [19200] Clozure CL kernel debugger:
>     >>>
>     >>> If there is any more info I can provide, just let me know.
>     >>>
>     >>> Thanks,
>     >>> Chris.
>     >>>
>     >>>
>     >_______________________________________________
>     >Openmcl-devel mailing list
>     >Openmcl-devel at clozure.com <mailto:Openmcl-devel at clozure.com>
>     >http://clozure.com/mailman/listinfo/openmcl-devel
> 
>     --
>     Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> 
> 




More information about the Openmcl-devel mailing list