[Regression] App crashes on iOS 18.3.2 with AIR SDK 51.2.2, but works with 51.1.3 (SIGSEGV)
Hello Harman Team,
I have identified a critical regression between AIR SDK 51.1.3 and 51.2.2. My application, which uses several ANEs, crashes on launch when compiled with SDK 51.2.2. However, the exact same project, with the same code and ANEs, compiles and runs perfectly using SDK 51.1.3.
The crash occurs on iOS 18.3.2 and presents as an AdobeAIR: application packaging error followed by a SIGSEGV signal.
Environment Details Crashing Configuration: AIR SDK 51.2.2 Working Configuration: AIR SDK 51.1.3 Development IDE: IntelliJ IDEA Target OS: iOS 18.3.2 Device: iPhone 12 ANE Utilizzate: distriqt ANE (Note: These are identical for both tests)
Observed Behavior
With AIR SDK 51.2.2: The app installs, but crashes immediately on launch. The device log shows AdobeAIR: application packaging error and a SIGSEGV(11) termination. The debugger cannot attach.
With AIR SDK 51.1.3: The app installs, launches correctly, and runs without any issues. The debugger attaches successfully.
Analysis
This A/B test strongly suggests a breaking change or a regression bug was introduced in the AIR SDK 51.2.2 release. Since the same set of ANEs works perfectly with the older SDK, the issue does not appear to be with the ANEs themselves, but rather with how the new SDK version packages, initializes, or links them on iOS 18.3.2.
This is a blocking issue for updating to the latest AIR SDK. Is the team aware of any regressions or known breaking changes in 51.2.2 related to ANE handling, packaging, or iOS 18 support that could cause this behavior?
Thank you for your investigation into this matter.
Hi
Thanks for the detailed report. My initial thought is that this may be the same underlying cause as #3930 - are you able to patch the 51.2.2 SDK with the updated ADT.jar file and re-build the IPA?
thanks
issue still persist and patch doesn't work for 51.2.2.2
Hi Support Team,
It seems that the crash issue we found is likely the same as the one reported here - and it appears that the crash issue is present across all subversions of AIR SDK 51.2.2, including the latest 51.2.2.5. We tested the same applications on different device and OS combinations (iPhone 15 with iPhone OS 26.1 and iPhone 8 with iPhone OS 15.8.4), and the problem persists in all cases. Also, the suggested patch doesn't fix the issue. As the original reporter and our tests indicate, the latest version that works stably is AIR SDK 51.4.
Here is a relevant snippet from the crash report illustrating the SIGSEGV crash on launch, which matches the behavior described in the original issue:
A relevant snippet from the crash report illustrating the SIGSEGV crash on launch, which matches the behavior described in the original issue: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000 Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler
Since this problem stops us from using the newest SDK versions on many iOS devices and OS versions, could you please let us know when a fix will be available?
Thanks and KR
@LaciFarkas There have been a few people having issues with their Assets.car that results in a similar issue. Are you using a custom asset catalogue and launch screen at all?
I’m using an online tool that generates the assets.car file from just one logo image. This setup has worked fine with older AIR SDK versions without any problems. Do you think this way of making the assets.car could cause the crash with the newer SDK versions? Please let me know if we need to check or change anything from our side.
Yes potentially that can cause issues as you'll be missing some of the AIR assets. Try using this script instead: https://github.com/distriqt/AIR-ImageScripts
Thanks for the info and for the suggestion to use the AIR-ImageScripts from distriqt. I develop cross-platform apps for both Android and iOS using AIR SDK, and currently I’m working only on a Windows PC without access to a Mac. Is there any way to generate a fully compatible assets.car file for AIR SDK using Windows tools, or is a Mac required? Any advice or workaround would be super helpful
Currently the only way I know of is to use a mac. However I've been looking into ways of automating this script so I may have something more generic available in the future. For the meantime happy to generate it for you if you send me your icon files?