[Openmcl-devel] error handling differences between 32 and 64 bit versions of CCL 1.7

Alexander Repenning ralex at cs.colorado.edu
Mon Aug 15 12:28:32 PDT 2011


Tracked down down some tricky differences between the 32 and the 64 bit version of CCL 1.7. Error handling appears to be much more fragile in the 32 bit version, e.g.,


(in-package :ccl)

(catch :mouse-info-access-error
       (handler-bind
           ((condition #'(lambda (Condition)
                           (print Condition)
                           (throw :mouse-info-access-error :handled))))
         (objc:objc-message-send (#/sharedApplication ns:ns-application) "noSuchMethod")))

;; 64 bit version => returns :handled
;; 32 bit version => ugly crash


Is there any way to catch this?

For the most part this type of error handling is used to access newer parts of OS X apis.

any ideas?


Alex










Prof. Alexander Repenning

University of Colorado
Computer Science Department
Boulder, CO 80309-430

vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20110815/81579157/attachment.htm>


More information about the Openmcl-devel mailing list