[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: choose-process-dialog problem



>Welcome to Macintosh Common Lisp Version 2.0b1p3!
>? 
>;Loading "Macintosh-HD:ACL2.b1:appleevent-toolkit-b1:b1-appleevent-support.fasl"...
>? 
>;Loading "Macintosh-HD:ACL2.b1:appleevent-toolkit-b1:appleevent-toolkit.lisp"...
>> Error: Unrecognized Macintosh argument type TRAPS::STR32
>> While executing: FIND-ARG-MACTYPE
>> Type Command-. to abort.
>See the RestartsI menu item for further choices.
>1 > 
>
>
>There is some one that can give me some help ?

Daniel Pliske found had this problem, too. Here is the fix that
I sent to him:

Date: Tue, 26 May 1992 16:04:19 -0500
To: dpliske@gmuvax2.gmu.edu (Daniel B. Pliske)
From: bill@cambridge.apple.com (Bill St. Clair)
Subject: Re: choose-process-dialog problem
Cc: bug-mcl
X-Attachments: :hd:1547:find-arg-mactype-patch.fasl:

>I'm still having problems with (choose-process-dialog).
>I must be overlooking something obvious. Given the source patches
>for "interfaces;types.lisp", e.g.,
>
>(defrecord str32 
>  (length :unsigned-byte)
>  (contents (:array :unsigned-byte 32)))
>
>I've modified the (defmactype strxxx ...) forms as in the example that follows:
>
>(def-mactype :str32 (find-mactype (defrecord str32
>                                    (length :unsigned-byte)
>                                    (contents (:array :unsigned-byte 32)))))
>									
>This allows me to avoid the problems recognizing the str32 argument
>to a trap call while compiling "appleevent-toolkit.lisp",
>but I am now getting a bus error when I exit (choose-process-dialog)
>with "OK".
>
>Adding the (defrecord str32 ...) form as you suggested to the front of the
>file "b1-appleevent-support.lisp" solved my immediate problems, but I would
>rather solve the problem by patching "types.lisp" to avoid
>problems later.
>
>Am I applying the source patches to "interfaces;types.lisp" correctly?

You did everything correctly. To fix your problem, you can either apply
the enclosed patch (suggested), or change "STR32" to ":STR32" in the
definitions of the #_PPCBrowser & #_NewAliasMinimalFromFullPath traps
and then (reindex-interfaces). The patch will fix similar problems with
other trap definitions. Changing the trap definitions will fix only this
particular problem.


(This file must be converted with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