• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSLog broken after call of NSTask and setStandardError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: ERROR:Messages without a matching method signature will be assumed to return 'id' and accept '...' as arguments
  • Next by Date: NSTableView updating checkboxes
  • Previous by thread: Re: - (IBAction) executes normally, but then crushes.
  • Next by thread: NSTableView updating checkboxes
  • Index(es):
    • Date
    • Thread