Can you put a watchpoint on the expression pipe == nil? Maybe that
would show you where it's going kablooey!
On Apr 6, 2010, at 2:08 PM, Kazior Fukacz wrote:
Thanks for your answers!
By the way, are you using garbage collection? If not, then
you're leaking several objects (those pointed
Thanks for your answers!
By the way, are you using garbage collection? If not, then you're
leaking several objects (those pointed to by 'netstat', 'pipe',
and 'string').
Yeah, I suspect that the pipes (and corresponding NSFileHandles)
are indeed leaking, and that's the real problem.
Hello,
How is it that it starts to malfunction after such amount of time?
Because the leak builds up over time until you run out of file
descriptors, and -[NSPipe init] finally starts returning nil.
Yeah, I figured it out like 10 minutes after I asked that question.
Found this
On Apr 6, 2010, at 12:08 PM, Kazior Fukacz wrote:
Thanks for your answers!
By the way, are you using garbage collection? If not, then you're leaking
several objects (those pointed to by 'netstat', 'pipe', and 'string').
Yeah, I suspect that the pipes (and corresponding NSFileHandles)
Hello,
I'm working on an application named IPShowX. Take a look at for more
info: http://kaziorvb.pl/IPShowX/
When I run it, it keeps working perfectly fine for a few minutes,
then stops refreshing the IP and prints:
IPShowX[14917] *** NSTimer discarding exception '*** -[NSCFDictionary
On Apr 5, 2010, at 4:05 PM, Kazior Fukacz wrote:
When I run it, it keeps working perfectly fine for a few minutes, then stops
refreshing the IP and prints:
IPShowX[14917] *** NSTimer discarding exception '*** -[NSCFDictionary
setObject:forKey:]: attempt to insert nil value' that raised
On Apr 5, 2010, at 3:02 PM, Ken Thomases wrote:
On Apr 5, 2010, at 4:05 PM, Kazior Fukacz wrote:
When I run it, it keeps working perfectly fine for a few minutes, then stops
refreshing the IP and prints:
IPShowX[14917] *** NSTimer discarding exception '*** -[NSCFDictionary