• 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
Distributed Objects/NSThreads/AppleEvents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Distributed Objects/NSThreads/AppleEvents


  • Subject: Distributed Objects/NSThreads/AppleEvents
  • From: Zameer Andani <email@hidden>
  • Date: Wed, 12 Oct 2005 09:34:41 -0700

Hi there,

I am in the middle of debugging a Carbon library I have written that simply
sends apple events to an application, that supports Apple Events.

Every once in awhile, AESend hangs or crashes with an EXE_BAD_ACCESS message
both during a PerPort (not sure what this is) command (I have not been able
to find any documentation about calls OS X makes lower than AESend)

I have tested this carbon library from a single threaded Cocoa application
and I have never been able to reproduce this behavior.  If however, I create
a thread (using distributed objects) off of my window controller and then
use the library off this thread, the problem appears.

I am wondering if perhaps the overhead of Distributed Objects or whether
switching between threads in the middle of a call in AESend somehow
invalidates the apple event mach port?

Anyone have any ideas on how else I could debug this problem?

Thanks

Zameer

 _______________________________________________
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

  • Prev by Date: Re: Difference between dvd and dmg
  • Next by Date: Text not selecting in NSTextView
  • Previous by thread: Re: Newbie Q: equipping an NSDocument subclass with a window controller (2)
  • Next by thread: Text not selecting in NSTextView
  • Index(es):
    • Date
    • Thread