Re: stdout hanging on iOS 5.1
Re: stdout hanging on iOS 5.1
- Subject: Re: stdout hanging on iOS 5.1
- From: Jens Alfke <email@hidden>
- Date: Tue, 13 Mar 2012 20:28:36 -0700
On Mar 13, 2012, at 5:37 PM, Jonas Maebe wrote: 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)
Huh. No one seems to be able to figure out what exactly triggers the bug. And the one I see is definitely not a crash; the printf call is made from a background thread, and the effect seems to be that the thread never gets any further, causing the main thread to eventually give up. 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/
Even weirder. For the record, that post states that “In iOS 5.1 Apple introduced restrictions to StdOut calls that cause any applications that are installed via the App Store or Ad-hoc deployment to be terminated if they attempt to write to the console. … This problem affects all apps that attempt to use StdOut calls, including those written in Objective-C.” I haven’t heard of such a thing, though I admit I haven’t pored over the details of the release notes. This seems like a backward compatibility issue that Apple might have pointed out a bit more prominently (“O HAI, ALL UR PRINTF R BELONG 2 US NAO LOLZ”).
|
_______________________________________________
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