Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "bus error" when sending NSImages using distributed objects?



On Feb 28, 2006, at 8:14 AM, Jonathan del Strother wrote:

I'm using distributed objects to obtain an NSImage from a server process.
It doesn't occur all the time, but quite often, the server process just dies with a 'Bus error' on returning the NSImage.

I believe that sending the actual NSImage is bad. You'll instead want to send the image data. Since NSImage conforms to NSCoding, you should be able to encode the image on the sender side and decode it on the receiver's side.


___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >"bus error" when sending NSImages using distributed objects? (From: Jonathan del Strother <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.