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
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