from what you've described its hard to tell where the problem is. Can
you try to set a breakpoint and single-step until you hit the location
where things head south?
Arno
On 3/23/13 12:26 PM, JR Schmidt wrote:
> I have ported a major Java app, quite successfully, with XMLVM thus
> far. I am using the new-ios-api.
>
> The app runs fine when started from the iOS main screen (no launch
> options). It is also able of responding to a "handleURL" request to
> open a file, which also works fine SO LONG AS THE APP IS ALREADY OPEN.
>
> However, if the app is launched automatically by iOS in response to a
> request (in this case, from Mail) the app crashes. From the debugger, I
> can see that this happens VERY EARLY on:
>
> (C) main() is called, which calls
> the (Java) main(), which calls
> UIApplication.main(), which calls
> UIApplicationMain()
>
> The app crashes immediately on UIApplcationMain() and doesn't even make
> it to didFinishLaunchingWithOptions.
>
> There is no "user" code which is even touched in this process.
> Furthermore, from the debugger, all code sequence seems identical
> whether the app was launched manually or by Mail -- but it crashes in
> the latter case and works fine in the former!
>
> The crash is an EXC_BAD_ACCESS in some spin_lock.
>
> Any thoughts on this? Anyone seen this before?
>
> JR
>
|