|
Post by phil on Jun 23, 2021 10:02:53 GMT
I have recently had to rebuild an iOS app to target iOS 14 SDK.
The environment I have is as follows:
macOS 11 (Big Sur) Xcode 12 iOS SDK 14.0 Rhodes 7.3 Ruby 2.3.3
I looked at the crash logs and see the following in all of them:
Exception Type: EXC_BAD_ACCESS (SIGKILL) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000090 VM Region Info: 0x90 is not in any region. Bytes before following region: 4340137840 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START
Any idea what could be causing this?
Thanks
|
|
|
Post by jontara on Jun 30, 2021 19:48:34 GMT
What is the app doing when this happens? Do you have logging or could you add logging to your app to narrow it down?
I am having no trouble with Rhodes 7.4, (from master) and Xcode 12.5.1 and deploying on iOS 14.6 and iOS 12.5.3.
(BTW, Xcode 12.5.1 does not yet come with 14.6 frameworks, it will complain about devices with 14.6 if they've never been prepared for development, but app will still install.)
FWIW, I use Ruby 3.0.1 for build and so far no trouble, though I imagine Ruby 3 is not officially supported. Anyway, the Ruby you use to build likely has nothing to do with your trouble.
|
|
|
Post by Alex Epifanov on Jun 30, 2021 20:51:33 GMT
@phil, as jontara mentioned, please attach any technical information, logs, app config, code sample, environment info, steps to reproduce.
|
|
|
Post by phil on Jul 6, 2021 10:59:24 GMT
Thanks for the replies.
Current environment is as follows:
macOS 11.4 (Big Sur) Xcode 12.5.1 iOS SDK 14.5 Rhodes SDK 7.3.7 Ruby 2.4.10
Extensions: json, openssl.so, openssl, digest, digest-sha2, mediacapture Capabilities: camera, sdcard
The app used to work fine built with an earlier version of Rhodes (version 6.0), but we had to rebuild to target iOS SDK 14, so upgraded to 7.3, and now get crashes when doing the initial sync to the web server. I've tried various combinations of both ruby and rhodes, but keep getting the same issue. The strange thing is it doesn't crash when debugging, just with an adhoc/release build.
There is nothing in the Rho logs, it just shows the app restarting. In the apple crash logs it shows the error mentioned below
Exception Type: EXC_BAD_ACCESS (SIGKILL) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000090 VM Region Info: 0x90 is not in any region. Bytes before following region: 4340137840 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START
|
|
|
Post by phil on Jul 7, 2021 8:34:51 GMT
Just as an update, I rolled back to Rho 6.2.0 and it stopped crashing, so its something thats changed from 7.0 onwards by the looks of it? I'm guessing maybe in the openssl area, as it seems to be when communicating to the web server via https that it crashes? I'll keep investigating anyway.
|
|
|
Post by Dmitry Soldatenkov on Sept 10, 2021 22:24:36 GMT
Please provide test app sources where crash is reproduced and we will investigate this issue.
|
|