From: JR S. <sc...@we...> - 2013-03-23 19:56:29
|
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 -- J.R. Schmidt WebMO, LLC Fax: (734) 418-1077 E-mail: sc...@we... http://www.webmo.net |