NSLog broken after call of NSTask and setStandardError
NSLog broken after call of NSTask and setStandardError
- Subject: NSLog broken after call of NSTask and setStandardError
- From: mm w <email@hidden>
- Date: Thu, 19 Mar 2009 10:49:41 -0700
Hi all, this is an old message I know, but I run into the same issue,
the successive answers were wrong:
this is definitely a Debugger issue, this is only happens in a gdb
session, the debugguer doesn't forward sighandlers then the
StandardOutput is not restored, and if you run an another task just
behind the first one and stop it, you will close the current
StandardOutput and get a crash when ibtool is trying to log
3/19/09 10:23:17 AM ibtool[20817] *** Terminating app due to uncaught exception
'NSFileHandleOperationException', reason: '*** -[NSConcreteFileHandle
writeData:]: Broken pipe'
this condition is easily reproducible.
Cheers!
--
-mmw
_______________________________________________
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