Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27958] Ti.Geolocation.reverseGeocoder() crashes the app on iOS

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2020-08-06T10:53:48.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.1.0
Componentsn/a
LabelsCrash, ios, iphone
ReporterFerdinando Traversa
AssigneeVijay Singh
Created2020-06-08T17:50:06.000+0000
Updated2021-02-17T11:36:29.000+0000

Description

When I use Ti.Geolocation.reverseGeocoder() function in any manner or way (for example:
        Ti.Geolocation.reverseGeocoder(response.latitude, response.longitude, function (e) {
            if (e.success) {
                $.address.show();
                $.address.text = e.places[0].address;
            } else {
                $.address.hide();
            }
        });
or, more simpler:
        Ti.Geolocation.reverseGeocoder(25, 10, function (e) {});
the iOS application crashes. On Android, there's no crash and the *geocode works perfectly*. Here is the crash log:
[ERROR] Script Error {
[ERROR]     column = 37;
[ERROR]     line = 139;
[ERROR]     message = "*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[5]";
[ERROR]     nativeStack = (
[ERROR]         0   CoreFoundation                      0x00007fff23e3cf0e __exceptionPreprocess + 350
[ERROR]         1   libobjc.A.dylib                     0x00007fff50ba89b2 objc_exception_throw + 48
[ERROR]         2   CoreFoundation                      0x00007fff23ecfa51 _CFThrowFormattedException + 194
[ERROR]         3   CoreFoundation                      0x00007fff23eda4a6 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 38
[ERROR]         4   CoreFoundation                      0x00007fff23e9b787 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 247
[ERROR]         5   CoreFoundation                      0x00007fff23e38e11 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49
[ERROR]         6   WLM Italia                          0x000000010df4adba -[GeolocationModule performGeo:address:callback:] + 394
[ERROR]         7   WLM Italia                          0x000000010df4aeb4 -[GeolocationModule reverseGeocoder:longitude:withCallback:] + 164
[ERROR]         8   CoreFoundation                      0x00007fff23e43e8c __invoking___ + 140
[ERROR]         9   CoreFoundation                      0x00007fff23e41071 -[NSInvocation invoke] + 321
[ERROR]         10  JavaScriptCore                      0x00007fff26c823bb _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 411
[ERROR]         11  JavaScriptCore                      0x00007fff26c81de7 _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 231
[ERROR]         12  JavaScriptCore                      0x00007fff26c8158f _ZN3JSC19APICallbackFunction4callINS_20ObjCCallbackFunctionEEExPNS_14JSGlobalObjectEPNS_9CallFrameE + 575
[ERROR]         13  ???                                 0x000030a99ba13527 0x0 + 53505018639655
[ERROR]         14  JavaScriptCore                      0x00007fff26c4e74d llint_entry + 93344
[ERROR]         15  JavaScriptCore                      0x00007fff26c378ff vmEntryToJavaScript + 200
[ERROR]         16  JavaScriptCore                      0x00007fff2706e6d5 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549
[ERROR]         17  JavaScriptCore                      0x00007fff272a898a _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170
[ERROR]         18  JavaScriptCore                      0x00007fff26c9f75c JSObjectCallAsFunction + 620
[ERROR]         19  TitaniumKit                         0x000000010e2d3886 __65-[KrollObject invokeCallbackForKey:withObject:thisObject:onDone:]_block_invoke + 424
[ERROR]         20  libdispatch.dylib                   0x00007fff519e2951 _dispatch_call_block_and_release + 12
[ERROR]         21  libdispatch.dylib                   0x00007fff519e38cb _dispatch_client_callout + 8
[ERROR]         22  libdispatch.dylib                   0x00007fff519efcdb _dispatch_main_queue_callback_4CF + 1042
[ERROR]         23  CoreFoundation                      0x00007fff23da0909 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
[ERROR]         24  CoreFoundation                      0x00007fff23d9b459 __CFRunLoopRun + 2041
[ERROR]         25  CoreFoundation                      0x00007fff23d9a944 CFRunLoopRunSpecific + 404
[ERROR]         26  GraphicsServices                    0x00007fff38ba6c1a GSEventRunModal + 139
[ERROR]         27  UIKitCore                           0x00007fff48c8b9ec UIApplicationMain + 1605
[ERROR]         28  WLM Italia                          0x000000010dd87d35 main + 1173
[ERROR]         29  libdyld.dylib                       0x00007fff51a231fd start + 1
[ERROR] );
[ERROR]     sourceURL = undefined;
[ERROR]     stack = "[native code]\nonload";
[ERROR] } 
[ERROR] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[5]'
[ERROR] *** First throw call stack:
[ERROR] ( 
[ERROR]         0   CoreFoundation                      0x00007fff23e3cf0e __exceptionPreprocess + 350
[ERROR]         1   libobjc.A.dylib                     0x00007fff50ba89b2 objc_exception_throw + 48
[ERROR]         2   CoreFoundation                      0x00007fff23ecfa51 _CFThrowFormattedException + 194
[ERROR]         3   CoreFoundation                      0x00007fff23eda4a6 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 38
[ERROR]         4   CoreFoundation                      0x00007fff23e9b787 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 247
[ERROR]         5   CoreFoundation                      0x00007fff23e38e11 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49
[ERROR]         6   WLM Italia                          0x000000010df4adba -[GeolocationModule performGeo:address:callback:] + 394
[ERROR]         7   WLM Italia                          0x000000010df4aeb4 -[GeolocationModule reverseGeocoder:longitude:withCallback:] + 164
[ERROR]         8   CoreFoundation                      0x00007fff23e43e8c __invoking___ + 140
[ERROR]         9   CoreFoundation                      0x00007fff23e41071 -[NSInvocation invoke] + 321
[ERROR]         10  JavaScriptCore                      0x00007fff26c823bb _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 411
[ERROR]         11  JavaScriptCore                      0x00007fff26c81de7 _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 231
[ERROR]         12  JavaScriptCore                      0x00007fff26c8158f _ZN3JSC19APICallbackFunction4callINS_20ObjCCallbackFunctionEEExPNS_14JSGlobalObjectEPNS_9CallFrameE + 575
[ERROR]         13  ???                                 0x000030a99ba13527 0x0 + 53505018639655
[ERROR]         14  JavaScriptCore                      0x00007fff26c4e74d llint_entry + 93344
[ERROR]         15  JavaScriptCore                      0x00007fff26c378ff vmEntryToJavaScript + 200
[ERROR]         16  JavaScriptCore                      0x00007fff2706e6d5 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549
[ERROR]         17  JavaScriptCore                      0x00007fff272a898a _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170
[ERROR]         18  JavaScriptCore                      0x00007fff26c9f75c JSObjectCallAsFunction + 620
[ERROR]         19  TitaniumKit                         0x000000010e2d3886 __65-[KrollObject invokeCallbackForKey:withObject:thisObject:onDone:]_block_invoke + 424
[ERROR]         20  libdispatch.dylib                   0x00007fff519e2951 _dispatch_call_block_and_release + 12
[ERROR]         21  libdispatch.dylib                   0x00007fff519e38cb _dispatch_client_callout + 8
[ERROR]         22  libdispatch.dylib                   0x00007fff519efcdb _dispatch_main_queue_callback_4CF + 1042
[ERROR]         23  CoreFoundation                      0x00007fff23da0909 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
[ERROR]         24  CoreFoundation                      0x00007fff23d9b459 __CFRunLoopRun + 2041
[ERROR]         25  CoreFoundation                      0x00007fff23d9a944 CFRunLoopRunSpecific + 404
[ERROR]         26  GraphicsServices                    0x00007fff38ba6c1a GSEventRunModal + 139
[ERROR]         27  UIKitCore                           0x00007fff48c8b9ec UIApplicationMain + 1605
[ERROR]         28  WLM Italia                          0x000000010dd87d35 main + 1173
[ERROR]         29  libdyld.dylib                       0x00007fff51a231fd start + 1
[ERROR] ) 
[ERROR] libc++abi.dylib: terminating with uncaught exception of type NSException

Comments

  1. Lokesh Choudhary 2020-06-08

    Checked & I could not reproduce this. Works for me. Probably a reproducible case will be helpful.
  2. Sebastian Klaus 2020-06-10

    It seems, it only happens on iPad for me. The same code works on iphone without any problems
       if (Ti.Geolocation.hasLocationPermissions(Ti.Geolocation.AUTHORIZATION_WHEN_IN_USE)) {
               console.log('has permission');
               getLocation();
           } else {
               Ti.Geolocation.requestLocationPermissions(Ti.Geolocation.AUTHORIZATION_WHEN_IN_USE, (e) => {
                   if (e.success) {
                       getLocation();
                   } else {
                       console.err('no permission');
                   }
               });
           }
       
       const getLocation = () => {
           Ti.Geolocation.getCurrentPosition((e) => {
               console.log('getCurrentPosition success', e.success);
               if (e.success == true) {
                   console.log('do reverseGeocoder');
                   Ti.Geolocation.reverseGeocoder(e.coords.latitude, e.coords.longitude, (geo) => {
                       console.log(geo);
                       if (geo.success == true) {
                           if (geo.places.length > 0) {
                               $.locationSearchBar.value = geo.places[0].postalCode;
                               loadPartner();
                           }
                       }
                   });
       
               }
           });
       }
       
    {noformat} [INFO] has permission [INFO] getCurrentPosition success true [INFO] do reverseGeocoder [ERROR] Script Error { [ERROR] column = 39; [ERROR] line = 643; [ERROR] message = "*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[5]"; [ERROR] nativeStack = ( [ERROR] 0 CoreFoundation 0x00007fff23e3cf0e __exceptionPreprocess + 350 [ERROR] 1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48 [ERROR] 2 CoreFoundation 0x00007fff23ecfa51 _CFThrowFormattedException + 194 [ERROR] 3 CoreFoundation 0x00007fff23eda4a6 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 38 [ERROR] 4 CoreFoundation 0x00007fff23e9b787 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 247 [ERROR] 5 CoreFoundation 0x00007fff23e38e11 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49 [ERROR] 6 Systemhaus 0x0000000108e3a26a -[GeolocationModule performGeo:address:callback:] + 394 [ERROR] 7 Systemhaus 0x0000000108e3a364 -[GeolocationModule reverseGeocoder:longitude:withCallback:] + 164 [ERROR] 8 CoreFoundation 0x00007fff23e43e8c __invoking___ + 140 [ERROR] 9 CoreFoundation 0x00007fff23e41071 -[NSInvocation invoke] + 321 [ERROR] 10 JavaScriptCore 0x00007fff26c823bb _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 411 [ERROR] 11 JavaScriptCore 0x00007fff26c81de7 _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 231 [ERROR] 12 JavaScriptCore 0x00007fff26c8158f _ZN3JSC19APICallbackFunction4callINS_20ObjCCallbackFunctionEEExPNS_14JSGlobalObjectEPNS_9CallFrameE + 575 [ERROR] 13 ??? 0x0000336698601027 0x0 + 56515736113191 [ERROR] 14 JavaScriptCore 0x00007fff26c4e74d llint_entry + 93344 [ERROR] 15 JavaScriptCore 0x00007fff26c378ff vmEntryToJavaScript + 200 [ERROR] 16 JavaScriptCore 0x00007fff2706e6d5 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549 [ERROR] 17 JavaScriptCore 0x00007fff272a898a _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170 [ERROR] 18 JavaScriptCore 0x00007fff26c9f75c JSObjectCallAsFunction + 620 [ERROR] 19 JavaScriptCore 0x00007fff26c62ebc -[JSValue callWithArguments:] + 252 [ERROR] 20 TitaniumKit 0x00000001092acdac -[ObjcProxy _fireEventToListener:withObject:listener:] + 291 [ERROR] 21 Systemhaus 0x0000000108e3d209 -[GeolocationModule fireSingleShotLocationIfNeeded:stopIfNeeded:] + 441 [ERROR] 22 Systemhaus 0x0000000108e3dfbf -[GeolocationModule locationManager:didUpdateLocations:] + 287 [ERROR] 23 CoreLocation 0x00007fff24a277a7 CLClientStopVehicleHeadingUpdates + 71699 [ERROR] 24 CoreLocation 0x00007fff24a26f10 CLClientStopVehicleHeadingUpdates + 69500 [ERROR] 25 CoreLocation 0x00007fff24a1144e CLClientInvalidate + 1479 [ERROR] 26 CoreFoundation 0x00007fff23da0b5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12 [ERROR] 27 CoreFoundation 0x00007fff23da0253 __CFRunLoopDoBlocks + 195 [ERROR] 28 CoreFoundation 0x00007fff23d9b043 __CFRunLoopRun + 995 [ERROR] 29 CoreFoundation 0x00007fff23d9a944 CFRunLoopRunSpecific + 404 [ERROR] 30 GraphicsServices 0x00007fff38ba6c1a GSEventRunModal + 139 [ERROR] 31 UIKitCore 0x00007fff48c8b9ec UIApplicationMain + 1605 [ERROR] 32 Systemhaus 0x0000000108c771e2 main + 1170 [ERROR] 33 libdyld.dylib 0x00007fff51a231fd start + 1 [ERROR] 34 ??? 0x0000000000000001 0x0 + 1 [ERROR] ); [ERROR] sourceURL = undefined; [ERROR] stack = "[native code]\n"; [ERROR] } [ERROR] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[5]' [ERROR] *** First throw call stack: [ERROR] ( [ERROR] 0 CoreFoundation 0x00007fff23e3cf0e __exceptionPreprocess + 350 [ERROR] 1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48 [ERROR] 2 CoreFoundation 0x00007fff23ecfa51 _CFThrowFormattedException + 194 [ERROR] 3 CoreFoundation 0x00007fff23eda4a6 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 38 [ERROR] 4 CoreFoundation 0x00007fff23e9b787 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 247 [ERROR] 5 CoreFoundation 0x00007fff23e38e11 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49 [ERROR] 6 Systemhaus 0x0000000108e3a26a -[GeolocationModule performGeo:address:callback:] + 394 [ERROR] 7 Systemhaus 0x0000000108e3a364 -[GeolocationModule reverseGeocoder:longitude:withCallback:] + 164 [ERROR] 8 CoreFoundation 0x00007fff23e43e8c __invoking___ + 140 [ERROR] 9 CoreFoundation 0x00007fff23e41071 -[NSInvocation invoke] + 321 [ERROR] 10 JavaScriptCore 0x00007fff26c823bb _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 411 [ERROR] 11 JavaScriptCore 0x00007fff26c81de7 _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 231 [ERROR] 12 JavaScriptCore 0x00007fff26c8158f _ZN3JSC19APICallbackFunction4callINS_20ObjCCallbackFunctionEEExPNS_14JSGlobalObjectEPNS_9CallFrameE + 575 [ERROR] 13 ??? 0x0000336698601027 0x0 + 56515736113191 [ERROR] 14 JavaScriptCore 0x00007fff26c4e74d llint_entry + 93344 [ERROR] 15 JavaScriptCore 0x00007fff26c378ff vmEntryToJavaScript + 200 [ERROR] 16 JavaScriptCore 0x00007fff2706e6d5 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549 [ERROR] 17 JavaScriptCore 0x00007fff272a898a _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170 [ERROR] 18 JavaScriptCore 0x00007fff26c9f75c JSObjectCallAsFunction + 620 [ERROR] 19 JavaScriptCore 0x00007fff26c62ebc -[JSValue callWithArguments:] + 252 [ERROR] 20 TitaniumKit 0x00000001092acdac -[ObjcProxy _fireEventToListener:withObject:listener:] + 291 [ERROR] 21 Systemhaus 0x0000000108e3d209 -[GeolocationModule fireSingleShotLocationIfNeeded:stopIfNeeded:] + 441 [ERROR] 22 Systemhaus 0x0000000108e3dfbf -[GeolocationModule locationManager:didUpdateLocations:] + 287 [ERROR] 23 CoreLocation 0x00007fff24a277a7 CLClientStopVehicleHeadingUpdates + 71699 [ERROR] 24 CoreLocation 0x00007fff24a26f10 CLClientStopVehicleHeadingUpdates + 69500 [ERROR] 25 CoreLocation 0x00007fff24a1144e CLClientInvalidate + 1479 [ERROR] 26 CoreFoundation 0x00007fff23da0b5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12 [ERROR] 27 CoreFoundation 0x00007fff23da0253 __CFRunLoopDoBlocks + 195 [ERROR] 28 CoreFoundation 0x00007fff23d9b043 __CFRunLoopRun + 995 [ERROR] 29 CoreFoundation 0x00007fff23d9a944 CFRunLoopRunSpecific + 404 [ERROR] 30 GraphicsServices 0x00007fff38ba6c1a GSEventRunModal + 139 [ERROR] 31 UIKitCore 0x00007fff48c8b9ec UIApplicationMain + 1605 [ERROR] 32 Systemhaus 0x0000000108c771e2 main + 1170 [ERROR] 33 libdyld.dylib 0x00007fff51a231fd start + 1 [ERROR] 34 ??? 0x0000000000000001 0x0 + 1 [ERROR] ) [ERROR] libc++abi.dylib: terminating with uncaught exception of type NSException {noformat}
  3. Andrea Vitale 2020-06-11

    I have the same issue on iPhone simulator.
       [DEBUG] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[5]'
       [DEBUG] *** First throw call stack:
       [DEBUG] ( 
       [DEBUG]         0   CoreFoundation                      0x00007fff23e3cf0e __exceptionPreprocess + 350
       [DEBUG]         1   libobjc.A.dylib                     0x00007fff50ba89b2 objc_exception_throw + 48
       [DEBUG]         2   CoreFoundation                      0x00007fff23ecfa51 _CFThrowFormattedException + 194
       [DEBUG]         3   CoreFoundation                      0x00007fff23eda4a6 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 38
       [DEBUG]         4   CoreFoundation                      0x00007fff23e9b787 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 247
       [DEBUG]         5   CoreFoundation                      0x00007fff23e38e11 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49
       [DEBUG]         6   Basciano                            0x00000001074b658a -[GeolocationModule performGeo:address:callback:] + 394
       [DEBUG]         7   Basciano                            0x00000001074b6684 -[GeolocationModule reverseGeocoder:longitude:withCallback:] + 164
       [DEBUG]         8   CoreFoundation                      0x00007fff23e43e8c __invoking___ + 140
       [DEBUG]         9   CoreFoundation                      0x00007fff23e41071 -[NSInvocation invoke] + 321
       [DEBUG]         10  JavaScriptCore                      0x00007fff26c823bb _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 411
       [DEBUG]         11  JavaScriptCore                      0x00007fff26c81de7 _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 231
       [DEBUG]         12  JavaScriptCore                      0x00007fff26c8158f _ZN3JSC19APICallbackFunction4callINS_20ObjCCallbackFunctionEEExPNS_14JSGlobalObjectEPNS_9CallFrameE + 575
       [DEBUG]         13  ???                                 0x00004eda6bc01027 0x0 + 86700017586215
       [DEBUG]         14  JavaScriptCore                      0x00007fff26c4e74d llint_entry + 93344
       [DEBUG]         15  JavaScriptCore                      0x00007fff26c378ff vmEntryToJavaScript + 200
       [DEBUG]         16  JavaScriptCore                      0x00007fff2706e6d5 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549
       [DEBUG]         17  JavaScriptCore                      0x00007fff272a898a _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170
       [DEBUG]         18  JavaScriptCore                      0x00007fff26c9f75c JSObjectCallAsFunction + 620
       [DEBUG]         19  JavaScriptCore                      0x00007fff26c62ebc -[JSValue callWithArguments:] + 252
       [DEBUG]         20  TitaniumKit                         0x0000000107c54b87 -[ObjcProxy fireEvent:withDict:] + 349
       [DEBUG]         21  Basciano                            0x00000001074ba2a7 -[GeolocationModule locationManager:didUpdateLocations:] + 231
       [DEBUG]         22  CoreLocation                        0x00007fff24a277a7 CLClientStopVehicleHeadingUpdates + 71699
       [DEBUG]         23  CoreLocation                        0x00007fff24a26f10 CLClientStopVehicleHeadingUpdates + 69500
       [DEBUG]         24  CoreLocation                        0x00007fff24a1144e CLClientInvalidate + 1479
       [DEBUG]         25  CoreFoundation                      0x00007fff23da0b5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
       [DEBUG]         26  CoreFoundation                      0x00007fff23da0253 __CFRunLoopDoBlocks + 195
       [DEBUG]         27  CoreFoundation                      0x00007fff23d9b5cb __CFRunLoopRun + 2411
       [DEBUG]         28  CoreFoundation                      0x00007fff23d9a944 CFRunLoopRunSpecific + 404
       [DEBUG]         29  GraphicsServices                    0x00007fff38ba6c1a GSEventRunModal + 139
       [DEBUG]         30  UIKitCore                           0x00007fff48c8b9ec UIApplicationMain + 1605
       [DEBUG]         31  Basciano                            0x00000001072eb4d2 main + 1170
       [DEBUG]         32  libdyld.dylib                       0x00007fff51a231fd start + 1
       [DEBUG]         33  ???                                 0x0000000000000001 0x0 + 1
       [DEBUG] ) 
       [DEBUG] libc++abi.dylib: terminating with uncaught exception of type NSException
       
  4. Michael Gangolf 2020-06-11

    Same for me in iPhone simulator 11 (13.5). Didn't test it on device
  5. Andrea Vitale 2020-06-11

    Added a PR [here](https://github.com/appcelerator/titanium_mobile/pull/11772).
  6. Vijay Singh 2020-06-12

    Hey Guys, Is there any specific scenario in which countryCode is coming 'nil', which is causing crash? I tried to test at my end but unable to reproduce it.
  7. Ferdinando Traversa 2020-06-12

    @Vijay Singh, simply using the code I wrote, it crashes in the emulator at least.
  8. Sebastian Klaus 2020-06-12

    I‘m from Germany
  9. Ferdinando Traversa 2020-06-12

    I’m from Italy
  10. Vijay Singh 2020-06-17

    [~benutzername] [~ferdi.traversa] Can you try to verify it with PR https://github.com/appcelerator/titanium_mobile/pull/11772 , if crash is resolved. We are not able to reproduce it at our end. Thanks!
  11. Sebastian Klaus 2020-06-18

    I cannot access https://jenkins.appcelerator.org/job/titanium-sdk/job/titanium_mobile/job/PR-11772/5/artifact/dist/mobilesdk-9.1.0.v20200617110039-osx.zip and it's not on http://builds.appcelerator.com.s3.amazonaws.com/index.html#master
  12. Vijay Singh 2020-06-19

    [~benutzername] Thanks for your quick action. You can download SDK from [here](https://www.dropbox.com/s/qm1wilw20juqoh0/9.1.0.v20200617110039.zip?dl=0) and unzip it at location /Users/user-name/Library/Application Support/Titanium/mobilesdk/osx/ . Update the sdk-version in tiapp.xml and run. Thanks!
  13. Sebastian Klaus 2020-06-22

    Thank you. I can confirm, that with 9.1.0.v20200617110039 the Ti.Geolocation.reverseGeocoder works as expected
  14. Vijay Singh 2020-06-22

    Thanks [~benutzername] .
  15. Samir Mohammed 2020-07-01

    FR Passed: Waiting on Jenkins build.
  16. Christopher Williams 2020-07-01

    merged to master for 9.1.0 target
  17. Sohail Saddique 2020-08-06

    Fix verified on build 9.1.0.v20200804082025. Closing ticket.

JSON Source