Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2645] ACA: Crash during payload construction

GitHub Issuen/a
Resolution Date2020-06-27T21:55:43.000+0000
Affected Version/sn/a
Fix Version/sn/a
Reportereric harms
AssigneeGary Mathews


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!




  1. Gary Mathews 2020-06-09

  2. eric harms 2020-06-12

    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 = ""; [ERROR] } [ERROR] Script Error { [ERROR] toJSON = ""; [ERROR] } [DEBUG] ACA crash.report: { [DEBUG] "aca_version" = "1.4.3"; [DEBUG] message = "*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]"; [DEBUG] meta = { [DEBUG] handled = 0; [DEBUG] }; [DEBUG] stack = ( [DEBUG] "Lemonaid 0x000000010332c488 _ZN18otk_displayer_impl14ReleaseFrameCBEPv + 1314020\nTitaniumKit 0x00000001046156e0 -[KrollBridge evalFileOnThread:context:] + 852\nTitaniumKit 0x000000010464b214 -[KrollInvocation invoke:] + 60\nTitaniumKit 0x000000010464bce8 -[KrollContext invoke:] + 116\nTitaniumKit 0x0000000104616600 -[KrollBridge didStartNewContext:] + 2824\nTitaniumKit 0x000000010464c47c -[KrollContext main] + 1096\nGraphicsServices 0x00000001a0588604 GSEventRunModal + 164\nLemonaid 0x0000000102b26824 Lemonaid + 59428\nlibdyld.dylib 0x0000000195fed2dc E5E56A85-E4D6-332E-9F32-FED4B986AFE0 + 4828" [DEBUG] ); [DEBUG] } -- End application log -------------------------------------------------------
  3. VDLP 2020-09-29

    We got the same error in simulator. Environment:
       Operating System
         Name                        = Mac OS X
         Version                     = 10.15.6
         Architecture                = 64bit
         # CPUs                      = 8
         Memory                      = 17179869184
         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=commonjs 
           try {
               throw new Error('example exception');
           } catch (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] } 

JSON Source