[MOD-2645] ACA: Crash during payload construction
| GitHub Issue | n/a |
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2020-06-27T21:55:43.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | eric harms |
| Assignee | Gary Mathews |
| Created | 2020-06-08T18:29:21.000+0000 |
| Updated | 2020-09-29T12:36:03.000+0000 |
Description
Hi,
Srinivasan asked that I create a ticket for this one. My original support request below, and I've attached the .crashlog from organizer.
i, I'm having a crash issue that is not appearing in my appc dashboard crash logs. I have a feeling it's happening when the app is starting up - it's showing up in xCode Organizer, but not in my Appc Dashboard crash log. This would make sense if the crash module was not loaded yet. I was hoping that someone could take a look at my crash log and maybe see something I am not seeing that could point me to the issue. I can provide the crash log in an email. Thanks!
Attachments
https://github.com/appcelerator-modules/appcelerator.aca/pull/32
Hi Gary, Not sure if this is related to the issue, but it's the same stacktrace as the one I provided here. First time I'm ever seeing it myself, launched a development build locally and just before it was going to start up the app crashed and shows this message. Full build log attached. Thanks [DEBUG] Reading stylesheet from: /private/var/containers/Bundle/Application/EC6CD3A3-70CA-4F63-BA25-FBCBA37A9CC4/Lemonaid.app/stylesheet.plist [INFO] Lemonaid 5.0.1864 (Powered by Titanium 9.0.0.ff53751424) [INFO] ACA started [ERROR] Script Error { [ERROR] toJSON = "
We got the same error in simulator. Environment:
Code:Operating System Name = Mac OS X Version = 10.15.6 Architecture = 64bit # CPUs = 8 Memory = 17179869184 Node.js Node.js Version = 12.9.0 npm Version = 6.14.8 Titanium CLI CLI Version = 5.2.5 Titanium SDK SDK Version = 9.2.0.GA SDK Path = /Users/menzowijmenga/Library/Application Support/Titanium/mobilesdk/osx/9.2.0.GA Target Platform = iphone Found Titanium module id=com.appcelerator.aca version=3.0.0 Found Titanium module id=ti.cloud version=3.2.11 platform=commonjsStacktrace:try { throw new Error('example exception'); } catch (e) { aca.logHandledException(e); }[ERROR] Script Error { [ERROR] column = 30; [ERROR] line = 89; [ERROR] message = "*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]"; [ERROR] nativeStack = "3 CoreFoundation 0x00007fff23eda4a6 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 38\n4 CoreFoundation 0x00007fff23e9b787 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 247\n5 CoreFoundation 0x00007fff23e38e11 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49\n6 TitaniumKit0x0000000109098386 -[APSAnalytics createDataPayload:] + 478\n7 TitaniumKit0x00000001090975c3 -[APSAnalytics sendCrashReport:] + 30\n8 MijnZorgtoegang 0x0000000108d08f45 -[ComAppceleratorAcaModule handleScriptError:handled:] + 968\n9 MijnZorgtoegang 0x0000000108d083e2 -[ComAppceleratorAcaModule logHandledException:] + 370\n10 CoreFoundation 0x00007fff23e43e8c __invoking___ + 140\n11 CoreFoundation 0x00007fff23e41071 -[NSInvocation invoke] + 321\n12 TitaniumKit0x00000001090891a2 -[KrollMethod call:] + 1382\n13 TitaniumKit0x00000001090883ad __KrollCallAsFunction_block_invoke + 30\n14 TitaniumKit0x00000001090881c7 KrollCallAsFunction + 415\n15 JavaScriptCore 0x00007fff26c91223 _ZN3JSC16JSCallbackObjectINS_16JSNonFinalObjectEE4callEPNS_14JSGlobalObjectEPNS_9CallFrameE + 627\n16 JavaScriptCore 0x00007fff271649bf _ZN3JSC5LLInt9setUpCallEPNS_9CallFrameENS_22CodeSpecializationKindENS_7JSValueEPNS_17LLIntCallLinkInfoE + 959\n17 JavaScriptCore 0x00007fff26c4e73f llint_entry + 93330\n18 JavaScriptCore 0x00007fff26c378ff vmEntryToJavaScript + 200\n19 JavaScriptCore 0x00007fff2706e6d5 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549\n20 JavaScriptCore 0x00007fff272a898a _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170\n21 JavaScriptCore 0x00007fff26c9f75c JSObjectCallAsFunction + 620\n22 TitaniumKit0x00000001090651e9 TiBindingEventProcess + 686"; [ERROR] stack = "[native code]\n"; [ERROR] type = Error; [ERROR] }