On Dec 20, 2005, at 5:29 AM, Ruotger Skupin wrote:
I got this bad access crash in my app. Any hints, what could have
gone wrong?
[Switching to process 3134 local thread 0xf03]
[Switching to process 3134 local thread 0xf03]
Program received signal: "EXC_BAD_ACCESS".
(gdb) bt
#0 0xfffeff20 in objc_msgSend_rtp ()
#1 0x9295d03c in -[NSNetServiceBrowser
_dispatchCallBack:flags:error:] ()
#2 0x9295cea0 in _netServiceBrowserDispatchCallBack ()
#3 0x90f24dc8 in _BrowseReply ()
The most likely thing is that the delegate of the NSNetServiceBrowser
has been released & the NSNetServiceBrowser is still expecting it to
be there.
If your delegate is going to go away, you'll have to call -
[NSNetServiceBrowser setDelegate:] with 'nil' as the parameter to
ensure that the browser doesn't try to send messages to a dead object.
.chris
--
Chris Parker
Cocoa Frameworks
Apple Computer, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bonjour-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/bonjour-dev/email@hidden