• 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
Re: stdout hanging on iOS 5.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stdout hanging on iOS 5.1


  • Subject: Re: stdout hanging on iOS 5.1
  • From: Jonas Maebe <email@hidden>
  • Date: Wed, 14 Mar 2012 01:37:47 +0100

On 13 Mar 2012, at 23:08, Jens Alfke wrote:

> Through trial and error I’ve figured out that the problem has to do with writing to stdout (i.e. calling printf). I don’t do it myself, but some gnarly code I use (the Erlang runtime) does. As near as I can tell, on iOS 5.1 this is causing the thread to hang. The reason I know this is because if I call freopen to redirect stdout to a file (which I did in an attempt to capture any error messages that weren’t showing up in the console afterward), the problem goes away and the app launches.
>
> So is anyone aware of any problems using stdout in iOS apps?

Yes, there's a long thread about it on our bug tracker (although there someone reports that a plain printf() or write() from a pure Objective-C app does work for him): http://bugs.freepascal.org/view.php?id=21440 (it also has a weird crash report attached, with a crash in an "unknown thread" due to writing to stdout)

There's also this post from the MonoTouch guys, but I can't find the "iOS 5.1 guidelines" they refer to: http://blog.xamarin.com/2012/03/11/monotouch-and-ios-5-1/

I'd also be very interested in knowing what the deal is...


Jonas
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: stdout hanging on iOS 5.1
      • From: Jens Alfke <email@hidden>
References: 
 >stdout hanging on iOS 5.1 (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Complaints about Mac OS X and Xcode and whatever else -- A better way to give feedback to Apple?????
  • Next by Date: Re: Complaints about Mac OS X and Xcode and whatever else -- A better way to give feedback to Apple?????
  • Previous by thread: stdout hanging on iOS 5.1
  • Next by thread: Re: stdout hanging on iOS 5.1
  • Index(es):
    • Date
    • Thread