Location.reverseGeocodeAsync crashing w/ certain latlongs in ios

Hello,

Whether in Expo, or an ejected app (either way on iOS), I’m getting an expo based crash when hitting passing this latlong object to it:

Object {
“latitude”: 21.387669764905322,
“longitude”: -157.9598918929696,
}

So far it’s worked for other latlong objects.

When running it natively as an ejected app, Crashlytics sends me this crash:

[EXLocation.m line 280]
[__44-[EXLocation locationMap:resolver:rejecter:]_block_invoke]

Here is the full stack from crashlytics:

Date: 2018-10-23T02:03:00Z

OS Version: 12.0.1 (16A404) (doesn’t matter the OS version

Device: iPhone X

RAM Free: 1.6%

Disk Free: 51.3%

#0. Crashed: com.twitter.crashlytics.ios.exception
0 quickscip 0x1025c7cd8 CLSProcessRecordAllThreads + 1573172
1 quickscip 0x1025c8198 CLSProcessRecordAllThreads + 1574388
2 quickscip 0x1025b79e8 CLSHandler + 1506884
3 quickscip 0x1025c62e8 __CLSExceptionRecord_block_invoke + 1566532
4 libdispatch.dylib 0x1fedfc484 _dispatch_client_callout + 16
5 libdispatch.dylib 0x1feddc754 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6 quickscip 0x1025c5d58 CLSExceptionRecord + 1565108
7 quickscip 0x1025c5b88 CLSExceptionRecordNSException + 1564644
8 quickscip 0x1025c5780 CLSTerminateHandler() + 1563612
9 libc++abi.dylib 0x1fe5850fc std::__terminate(void (*)()) + 16
10 libc++abi.dylib 0x1fe585188 std::terminate() + 84
11 libobjc.A.dylib 0x1fe591da4 _destroyAltHandlerList + 10
12 libdispatch.dylib 0x1fedfc498 _dispatch_client_callout + 36
13 libdispatch.dylib 0x1feddbb44 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 1012
14 CoreFoundation 0x1ff3521bc CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
15 CoreFoundation 0x1ff34d084 __CFRunLoopRun + 1964
16 CoreFoundation 0x1ff34c5b8 CFRunLoopRunSpecific + 436
17 GraphicsServices 0x2015c0584 GSEventRunModal + 100
18 UIKitCore 0x22c1f4bc8 UIApplicationMain + 212
19 quickscip 0x102159778 main (main.m:8)
20 libdyld.dylib 0x1fee0cb94 start + 4

Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x1ff3c3ef8 __exceptionPreprocess
1 libobjc.A.dylib 0x1fe591a40 objc_exception_throw
2 CoreFoundation 0x1ff33985c _CFArgv
3 CoreFoundation 0x1ff2bfeb0 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
4 CoreFoundation 0x1ff2b09f4 +[NSDictionary dictionaryWithObjects:forKeys:count:]
5 quickscip 0x1022883a8 __44-[EXLocation locationMap:resolver:rejecter:]_block_invoke (EXLocation.m:280)
6 libdispatch.dylib 0x1fedfb6c8 _dispatch_call_block_and_release
7 libdispatch.dylib 0x1fedfc484 _dispatch_client_callout
8 libdispatch.dylib 0x1feddbb44 _dispatch_main_queue_callback_4CF$VARIANT$armv81
9 CoreFoundation 0x1ff3521bc CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
10 CoreFoundation 0x1ff34d084 __CFRunLoopRun
11 CoreFoundation 0x1ff34c5b8 CFRunLoopRunSpecific
12 GraphicsServices 0x2015c0584 GSEventRunModal
13 UIKitCore 0x22c1f4bc8 UIApplicationMain
14 quickscip 0x102159778 main (main.m:8)
15 libdyld.dylib 0x1fee0cb94 start

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.