• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSMutableString byref + Distributed Objects = crash?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMutableString byref + Distributed Objects = crash?


  • Subject: NSMutableString byref + Distributed Objects = crash?
  • From: Jim Correia <email@hidden>
  • Date: Thu, 27 Oct 2005 17:00:36 -0400

I have an object vended via DO. It has a method

- (void)mutateString:(byref NSMutableString *)string
{
    [string appendString: @"+mutation"];
}

When I call this via a proxy in another app, the DO server app crashes (EXC_BAD_ACCESS)

#0 0xfffeff18 in objc_msgSend_rtp
#1 0x9292e3d8 in -[NSDistantObject initWithCoder:]
#2 0x9287c8ec in -[NSConcretePortCoder decodeRetainedObject]
#3 0x928790c4 in _NSWalkData
#4 0x9287d814 in -[NSInvocation _postInitWithCoder:signature:valid:wireSignature:target:selector:argCoun t:]
#5 0x9287cb74 in +[NSInvocation newInvocationWithCoder:]
#6 0x9287c8fc in -[NSConcretePortCoder decodeRetainedObject]
#7 0x928790c4 in _NSWalkData
#8 0x9287c278 in -[NSConnection handleRequest:sequence:]
#9 0x9287bf6c in -[NSConnection handlePortCoder:]
#10 0x9287bcd8 in -[NSConcretePortCoder dispatch]
#11 0x9287b6b8 in __NSFireMachPort


Is this a bug?

Should I have done something differently?

Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSMutableString byref + Distributed Objects = crash?
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: Parsing HTML
  • Next by Date: Re: runModalForWindow
  • Previous by thread: Re: Parsing HTML
  • Next by thread: Re: NSMutableString byref + Distributed Objects = crash?
  • Index(es):
    • Date
    • Thread