accessing menu crashes app
accessing menu crashes app
- Subject: accessing menu crashes app
- From: Nonnus™ <email@hidden>
- Date: Wed, 29 Oct 2008 05:29:32 +0000
hello
i am having a hard time catching a bug in a small NSNetService based app i developed as it is supposed to interface with an iphone app it is based on apple witap sample code with some work to make it 10.4 compatible
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
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden