|
From: | Riccardo Mottola |
Subject: | Re: crash in NSPathUtilies / UserDefaults (from PikoPixel) |
Date: | Fri, 23 Oct 2015 16:12:52 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38 |
Hi, Fred Kiefer wrote:
Of course this works with a normal project. What happens in PikoPixel is that the +load methods get executed before the user defaults and process arguments are properly set up and there seem to be calls to autorelease triggered by these methods and at that time the autorelease pool infrastructure is not in place with the gcc runtime. This causes an NSLog call to report this issue and this fails because the user defaults aren't setup.
the fun thing is thus that we don't have just a gcc vs. clang issue, but something that is also OS dependent? or something random?
On Linux, Windows and Solaris, with gcc, PP starts up. On NetBSD, with gcc, it crashes as seen. Riccardo
[Prev in Thread] | Current Thread | [Next in Thread] |