Copy link to clipboard
Copied
Hi,
With the latest AIR sdk our app crashes at startup. I believe it did not happen with 16.0.0.240.
Is there anyway to download 16.0.0.240 so I can confirm this ?
Thanks!
-Simon
This is the log I can see from Xcode:
Incident Identifier: 00507C8D-3963-4D27-A81E-26E782DBADE6
CrashReporter Key: fea60ed69df7dba318c54dbf409ec27521f19de0
Hardware Model: iPad4,4
Process: SDTablet [1642]
Path: /var/mobile/Applications/1748CFC7-D72C-4AD7-A34A-87321157F048/SDTablet.app/SDTablet
Identifier: com.stardoll.downtown
Version: 1.4.4 (1.4.4)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-12-22 14:59:20.724 +0100
OS Version: iOS 7.0.4 (11B554a)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Triggered by Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x000000018e3f61a4 lookUpImpOrForward + 80
1 libobjc.A.dylib 0x000000018e3ebbf8 _objc_msgSend_uncached_impcache + 56
2 SDTablet 0x00000001007e2d94 0x10008c000 + 7695764
3 SDTablet 0x00000001007e2ff4 0x10008c000 + 7696372
4 SDTablet 0x00000001007e35d0 0x10008c000 + 7697872
5 SDTablet 0x000000010071043c 0x10008c000 + 6833212
6 SDTablet 0x000000010071056c 0x10008c000 + 6833516
7 SDTablet 0x0000000100710c20 0x10008c000 + 6835232
8 Foundation 0x0000000182c28610 __NSFireDelayedPerform + 388
9 CoreFoundation 0x000000018207b688 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 24
10 CoreFoundation 0x000000018207b2f8 __CFRunLoopDoTimer + 800
11 CoreFoundation 0x0000000182079020 __CFRunLoopRun + 1320
12 CoreFoundation 0x0000000181fb9b34 CFRunLoopRunSpecific + 448
13 GraphicsServices 0x000000018798b82c GSEventRunModal + 164
14 UIKit 0x0000000184ff80e4 UIApplicationMain + 1152
15 SDTablet 0x00000001007eb77c 0x10008c000 + 7731068
16 libdyld.dylib 0x000000018e9dba9c start + 0
Just now I tested the latest beta version 17.0.96, is no longer crash.
Copy link to clipboard
Copied
Hi,
Could you please share a sample app @govindag@adobe.com?
Thanks
Govinda
Copy link to clipboard
Copied
Hi Govinda,
Is a ipa ok? The project is far to big to send..
With some adt flags I have gotten a better stack trace:
Thread 0 Crashed:
0 libobjc.A.dylib 0x000000018e3f61a4 lookUpImpOrForward + 80
1 libobjc.A.dylib 0x000000018e3ebbf8 _objc_msgSend_uncached_impcache + 56
2 SDTablet 0x00000001007b2d94 runtime::getExtensionItems(NSArray*) + 692
3 SDTablet 0x00000001007b2ff4 runtime::playRawContent(avmplus::String*, avmplus::String*, avmplus::WindowInitOptionsObject*, CTAppDescriptor const*, avmplus::String*) + 164
4 SDTablet 0x00000001007b35d0 runtime::playContent(CTAppDescriptor const*) + 892
5 SDTablet 0x00000001006e043c playAIRAppContent(NSMutableArray*, runtime::Runtime&) + 892
6 SDTablet 0x00000001006e056c enterAVMCPP(NSMutableArray*, runtime::Runtime*) + 224
7 SDTablet 0x00000001006e0c20 -[CTAppController enterAVM:] + 424
8 Foundation 0x0000000182c28610 __NSFireDelayedPerform + 388
9 CoreFoundation 0x000000018207b688 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 24
10 CoreFoundation 0x000000018207b2f8 __CFRunLoopDoTimer + 800
11 CoreFoundation 0x0000000182079020 __CFRunLoopRun + 1320
12 CoreFoundation 0x0000000181fb9b34 CFRunLoopRunSpecific + 448
13 GraphicsServices 0x000000018798b82c GSEventRunModal + 164
14 UIKit 0x0000000184ff80e4 UIApplicationMain + 1152
15 SDTablet 0x00000001007bb77c main + 88
16 libdyld.dylib 0x000000018e9dba9c start + 0
Copy link to clipboard
Copied
If I remove ALL native extensions the app starts on the device.
I tried just adding Freshplanets latest Facebook ANE, and then it crashes on startup again. Same stack trace.
Copy link to clipboard
Copied
There are some ANEs that require the slower compiler, and the new AIR 16 is set to ignore the uselegacyaot setting, because it can't make 64 bit iOS apps. So, Fresh Planet need to update their ANE to be 64 bit compatible, and then maybe it will work with the faster compiler too, In the meantime, use the 222 build of AIR 16, and try to submit your app before Feb 1st.
Copy link to clipboard
Copied
The issue as far as I know only happens on iOS 7.0.4. When I tried on my phone with 8.1.2 it worked with all extensions added.
Haven't got anymore devices here at the moment, so maybe more versions are affected.
Copy link to clipboard
Copied
Still crashes for me on 16.0.0.259.
Works on iPhone6 iOS 8.1.2, but crashes at startup with same stacktrace on iPad Mini Retina iOS 7.0.4.
Copy link to clipboard
Copied
Hi,
From your last posts, it is clear that crash is happening with Facebook ANE. Could you please create a sample app with this ANE and send swf, xml and ANE it to govindag@adobe.com? just ipa file won’t help in debugging.
Thanks
Govinda Gupta
Copy link to clipboard
Copied
It is happening if I use my own native extension that just has ios helper functions.
But I'll make a sample and email it to you so this can be resolved.
Copy link to clipboard
Copied
This is also happening with the Push Woosh push notification ANE on iOS 7. It works with ios 8. We are looking to publish an app after Feb 1st, so i am trying to find out if it's an AIR problem or ANE problem.
I am using the latest AIR 16 package.
Here's the link to the ANE:
pushwoosh-sdk-samples/Adobe-Air/ANE-Pushwoosh at master · Pushwoosh/pushwoosh-sdk-samples · GitHub
Copy link to clipboard
Copied
Just received this from the Push Woosh dev.
lipo -info Adobe-Air/ANE-Pushwoosh/PushNotification/META-INF/ANE/iPhone-ARM/libPushNotification.a
Architectures in the fat file: Adobe-Air/ANE-Pushwoosh/PushNotification/META-INF/ANE/iPhone-ARM/libPushNotification.a are: armv7 arm64
There is arm64 architecture slice in the library that should be used on arm64 platform. Maybe there are some special flags to feed to the compiler but I can't find any documentation from Adobe.
Copy link to clipboard
Copied
Tried reproducing the issue wth Pushwoosh ANE but we are unable to see any crash on iOS 7.1 iPad 2 and iPad 3 both.
Could you please share a sample project to reproduce the problem.
Regards,
Jitender
Copy link to clipboard
Copied
The crash happened on an iPhone 5s running ios 7.0.4. I believe some other threads are mentioning the same problem.
Copy link to clipboard
Copied
Here’s the crash log for the device. iOS 7.1 is affected as well.
Thanks,
Dan Gurney
Director of Creative / Technology Innovations
Mobile Solutions
www.maritz.com<http://www.maritz.com/>
1400 S. Highway Drive
Fenton, MO 63099
ph: 636.827.4056
cell: 314.566.2325
Copy link to clipboard
Copied
Same problem on iPad mini (arm64) not on iphone4 IOS 7.1.2 or simulator 8.1
Same crash log, no compilation warning
latest ane from milkmangames storekit + goviral (universal ios support)
ok without ane
ok with Air15
Copy link to clipboard
Copied
Here's the console log for the iPhone 5s when it crashed. Hope it helps.
iPhone 5s iOS 7.1 ME305LL/A AT&T
Jan 12 15:05:39 Jays-iPhone SpringBoard[16] : LICreateIconForImage passed NULL CGImageRef image
Jan 12 15:05:39 Jays-iPhone kernel[0] : launchd[554] Container: /private/var/mobile/Applications/0F78E8CF-C0FC-410F-8311-55D6EDD6652A (sandbox)
Jan 12 15:05:39 Jays-iPhone Honda Status[554] : Initializing application: (null) (null)
Jan 12 15:05:39 Jays-iPhone backboardd[31] : HID: The 'Passive' connection 'Honda Status' access to protected services is denied.
Jan 12 15:05:39 Jays-iPhone Honda Status[554] : You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
Jan 12 15:05:40 Jays-iPhone Honda Status[554] : Will show push notifications alert
Jan 12 15:05:40 Jays-iPhone Honda Status[554] : Sending request: {"request":{"application":"E3170-3E6D3","v":"2.4","hwid":"46559B56-C6B3-4B5B-8532-B172DA7AFF2B"}}
Jan 12 15:05:40 Jays-iPhone Honda Status[554] : To urLhttps://cp.pushwoosh.com/json/1.3/applicationOpen
Jan 12 15:05:40 Jays-iPhone ReportCrash[558] : ReportCrash acting against PID 554
Jan 12 15:05:41 Jays-iPhone ReportCrash[558] : Formulating crash report for process Honda Status[554]
Jan 12 15:05:41 Jays-iPhone com.apple.launchd1 : (UIKitApplication:com.maritz.hondaStatusApp[0x982f]) Job appears to have crashed: Segmentation fault: 11
Jan 12 15:05:41 Jays-iPhone backboardd[31] : Application 'UIKitApplication:com.maritz.hondaStatusApp[0x982f]' exited abnormally with signal 11: Segmentation fault: 11
Jan 12 15:05:41 Jays-iPhone ReportCrash[558] : Saved crashreport to /var/mobile/Library/Logs/CrashReporter/Honda Status_2015-01-12-150540_Jays-iPhone.ips using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Copy link to clipboard
Copied
iPhone 6 console log appears with this error.
ERROR: com.maritz.hondaStatusApp is depending on legacy on-demand authorization, which is not supported for new apps
Copy link to clipboard
Copied
I'm experiencing the same issue on the latest AIR SDK 16 beta (16 Jan, 2015). Our test device is running iOS 7.1.2.
Our app uses 12 extensions. I've rebuilt them all with arm64 architecture support, the IPA builds fine without any errors or warnings.
The app now runs correctly on all the old devices, but on arm64 devices, it crashes immediately on startup with an "exited abnormally with signal 11: Segmentation fault: 11" error.
If I remove all 12 extensions and build the app, it starts up and runs fine (albeit without any of the functionality provided by the ANEs).
Could do with a fix for this ASAP please (assuming it is to be fixed at the Adobe level... otherwise I guess I need some pointers of what else I need to change in the ANEs to get them working correctly on arm64 devices with iOS 7.x).
Copy link to clipboard
Copied
Still happening on release version of AIR16.
Copy link to clipboard
Copied
Thanks all for bringing this up. With the iOS 64 bit and iOS 7.x combination. we are able to reproduce the issue.
We are investigating it further.
Thanks,
Jitender
Copy link to clipboard
Copied
Thanks for investigating this Jitender. Could you please post the bugbase issue so we can track the progress on it?
Copy link to clipboard
Copied
Hi Brad,
We have Bug#3920575 logged for this issue. However you wouldn't be able to access this bug, Just use this number for any future references.
Also, whenever the bug will be fixed we will let you know.
Thanks,
Jitender
Copy link to clipboard
Copied
Same problem with Air 16.0.0.272 and iOS 7.0.4 (iPad Air). I am looking forward to the fix too.
Copy link to clipboard
Copied
Same problem with Air 16.0.0.280 and iOS 7.0.4 (iPhone5s). I am looking forward to the fix too.
Copy link to clipboard
Copied
I have the same issues only on my iPad Mini Retina running iOS 7.1.1, it just crashes after the splashScreen.
The iPad 4th gen running iOS 7.0.4 is not crashing and neither is my iPod 5 running iOS 7.1.1
The iOS 6 devices are fine too.
My app uses milkman extensions, the latest versions of CoreMobile and the Admob extensions.