accessing menu crashes app
accessing menu crashes app
- Subject: accessing menu crashes app
- From: Nonnus™ <email@hidden>
- Date: Mon, 27 Oct 2008 12:53:09 +0000
hello
i am having a hard time catching a bug in a small NSNetService based
app i developed
all works as expected except that it crashes if i try to accees the
menu after a connection is made
i though i had tracked the issue being related to retain / release
issues
more specifically to typical bonjour [_server release]; when a
connection is made
by removing those the crash goes away but it also seems to disrupt
bonjour network as it starts leaving server instances being advertised
and just creates new ones
i have prepared a small sample app so anyone interested can check it
out: http://www.silicon-studios.com/sample.zip
to test the issue, build the app
notice you can access the menu as usual
from the terminal type
dns-sd -B _testing._tcp local
and it will probably your own machine meaning the app is advertising
its service
now type: telnet localhost:60000
it will say u are connected
if u check xcode console the app will say it is connected
if you now try to access the menu the app will now crash and no info
about the cause on console
thank your for your attention
abraços
nonnus
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden