Hmm. Some more testing has enabled me to remove my Cocoa wrapper altogether and the issue persists. So I will move the query over to the Xcode list.
> On 2 Nov 2015, at 09:45, Jonathan Mitchell <[email protected]> wrote: > > This has me puzzled. > > I have some code that is giving trouble only when built on 10.11. > I have set up a simple test scenario and it boils down to the following. > If I execute the same 4 line test code as part of a unit test bundle it works > fine. > If I try and execute the exact same code as part of a foundation tool then it > crashes with EXC_BAD_ACCESS. > > The actual code is calling down into Mono and the crash is associated with > the AOT compiler (my Cocoa code provides a wrapper to Mono). > So there is plenty there that could be going askew on 10.11. > However the fact that the code executes successfully when running as part of > test bundle has me stumped. > The code runs fine on 10.10 and code built on 10.10 runs fine on 10.11. > > Enabling the usual debug stuff (Zombies etc) show up little. > There are some dlopen() failures logged, but these get logged for the passing > unit test case too. > > Does anyone have any idea what could be occurring here? > I though it was perhaps a SIP related issue, but I have disabled that. > > Thanks > > Jonathan > > > > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/jonathan%40mugginsoft.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
