libsystem_kernel.dylib crash

This thread has been locked by a moderator; it no longer accepts new replies.

Hi!

We have found a lib system_kernel.dylib (os_channel_flow_admissible) crash since iOS11 and later.

This bug is not highly reproducible but affects a large group of our users. You can find a stack trace below:


#4. Crashed: com.apple.network.connections
0  libsystem_kernel.dylib         0x182ec3a60 os_channel_flow_admissible + 6
1  libsystem_network.dylib        0x182f47da0 nw_channel_check_flows_allowed + 124
2  libdispatch.dylib              0x182d34a60 _dispatch_client_callout + 16
3  libdispatch.dylib              0x182d3ce94 _dispatch_continuation_pop$VARIANT$mp + 424
4  libdispatch.dylib              0x182d46784 _dispatch_source_invoke$VARIANT$mp + 1364
5  libdispatch.dylib              0x182d3e86c _dispatch_queue_serial_drain$VARIANT$mp + 280
6  libdispatch.dylib              0x182d3f2fc _dispatch_queue_invoke$VARIANT$mp + 336
7  libdispatch.dylib              0x182d3fcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
8  libdispatch.dylib              0x182d48098 _dispatch_workloop_worker_thread$VARIANT$mp + 668
9  libsystem_pthread.dylib        0x183067e70 _pthread_wqthread + 860
10 libsystem_pthread.dylib        0x183067b08 start_wqthread + 4


Is it a known issue? How can we fix it?

Thanks!

Boost

We have found a

libsystem_kernel.dylib
(
os_channel_flow_admissible
) crash since iOS11 and later.

If you post a full Apple crash report for this crash I can take a proper look.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Here is a full crash log. Thank you!

#8. Crashed: com.apple.network.connections
0  libsystem_kernel.dylib         0x1839afa60 os_channel_flow_admissible + 6
1  libsystem_network.dylib        0x183a33da0 nw_channel_check_flows_allowed + 124
2  libdispatch.dylib              0x183820a60 _dispatch_client_callout + 16
3  libdispatch.dylib              0x183828e94 _dispatch_continuation_pop$VARIANT$mp + 424
4  libdispatch.dylib              0x183832784 _dispatch_source_invoke$VARIANT$mp + 1364
5  libdispatch.dylib              0x18382a86c _dispatch_queue_serial_drain$VARIANT$mp + 280
6  libdispatch.dylib              0x18382b2fc _dispatch_queue_invoke$VARIANT$mp + 336
7  libdispatch.dylib              0x18382bcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
8  libdispatch.dylib              0x183834098 _dispatch_workloop_worker_thread$VARIANT$mp + 668
9  libsystem_pthread.dylib        0x183b53e70 _pthread_wqthread + 860
10 libsystem_pthread.dylib        0x183b53b08 start_wqthread + 4


--


#0. com.apple.main-thread
0  libsystem_kernel.dylib         0x183993e08 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x183993c80 mach_msg + 72
2  CoreFoundation                 0x183ed6e40 __CFRunLoopServiceMachPort + 196
3  CoreFoundation                 0x183ed4908 __CFRunLoopRun + 1568
4  CoreFoundation                 0x183df4da8 CFRunLoopRunSpecific + 552
5  GraphicsServices               0x185dd9020 GSEventRunModal + 100
6  UIKit                          0x18de11758 UIApplicationMain + 236
7  MyApp                          0x1003b1b08 main (main.m:15)
8  libdyld.dylib                  0x183885fc0 start + 4


#1. com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x183993e08 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x183993c80 mach_msg + 72
2  CoreFoundation                 0x183ed6e40 __CFRunLoopServiceMachPort + 196
3  CoreFoundation                 0x183ed4908 __CFRunLoopRun + 1568
4  CoreFoundation                 0x183df4da8 CFRunLoopRunSpecific + 552
5  Foundation                     0x184869674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6  Foundation                     0x1848694dc -[NSRunLoop(NSRunLoop) runUntilDate:] + 84
7  UIKit                          0x18daf6768 -[UIEventFetcher threadMain] + 136
8  Foundation                     0x184979efc __NSThread__start__ + 1040
9  libsystem_pthread.dylib        0x183b55220 _pthread_body + 272
10 libsystem_pthread.dylib        0x183b55110 _pthread_body + 290
11 libsystem_pthread.dylib        0x183b53b10 thread_start + 4


#2. com.twitter.crashlytics.ios.MachExceptionServer
0  libsystem_kernel.dylib         0x183993e08 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x183993c80 mach_msg + 72
2  MyApp                          0x100bc9630 CLSMachExceptionServer + 100
3  libsystem_pthread.dylib        0x183b55220 _pthread_body + 272
4  libsystem_pthread.dylib        0x183b55110 _pthread_body + 290
5  libsystem_pthread.dylib        0x183b53b10 thread_start + 4


#3. com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x183993e08 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x183993c80 mach_msg + 72
2  CoreFoundation                 0x183ed6e40 __CFRunLoopServiceMachPort + 196
3  CoreFoundation                 0x183ed4908 __CFRunLoopRun + 1568
4  CoreFoundation                 0x183df4da8 CFRunLoopRunSpecific + 552
5  CFNetwork                      0x1847026e0 -[__CoreSchedulingSetRunnable runForever] + 220
6  Foundation                     0x184979efc __NSThread__start__ + 1040
7  libsystem_pthread.dylib        0x183b55220 _pthread_body + 272
8  libsystem_pthread.dylib        0x183b55110 _pthread_body + 290
9  libsystem_pthread.dylib        0x183b53b10 thread_start + 4


#4. YALAFNetworking
0  libsystem_kernel.dylib         0x183993e08 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x183993c80 mach_msg + 72
2  CoreFoundation                 0x183ed6e40 __CFRunLoopServiceMachPort + 196
3  CoreFoundation                 0x183ed4908 __CFRunLoopRun + 1568
4  CoreFoundation                 0x183df4da8 CFRunLoopRunSpecific + 552
5  Foundation                     0x184869674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6  Foundation                     0x1848de1a8 -[NSRunLoop(NSRunLoop) run] + 88
7  YXAccountManager               0x1024bc964 +[YALAFURLConnectionOperation networkRequestThreadEntryPoint:] (YALAFURLConnectionOperation.m:177)
8  Foundation                     0x184979efc __NSThread__start__ + 1040
9  libsystem_pthread.dylib        0x183b55220 _pthread_body + 272
10 libsystem_pthread.dylib        0x183b55110 _pthread_body + 290
11 libsystem_pthread.dylib        0x183b53b10 thread_start + 4


#5. Thread
0  libsystem_kernel.dylib         0x1839b50f4 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x183b57c90 _pthread_cond_wait$VARIANT$mp + 644
2  libc++.1.dylib                 0x18306c25c std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3  JavaScriptCore                 0x18b57b460 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 104
4  JavaScriptCore                 0x18b57b074 bmalloc::Scavenger::threadRunLoop() + 164
5  JavaScriptCore                 0x18b57ae1c bmalloc::Scavenger::Scavenger(std::__1::lock_guard<bmalloc::StaticMutex>&) + 10
6  JavaScriptCore                 0x18b57b238 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 44
7  libsystem_pthread.dylib        0x183b55220 _pthread_body + 272
8  libsystem_pthread.dylib        0x183b55110 _pthread_body + 290
9  libsystem_pthread.dylib        0x183b53b10 thread_start + 4


#6. ru.myapp.cloud.SQLStorageQueue.WebDAVStorage.sqlite
0  libsystem_kernel.dylib         0x183996104 fsync + 8
1  libsqlite3.dylib               0x18438d650 sqlite3_free_table + 59012
2  libsqlite3.dylib               0x184398910 sqlite3_randomness + 2508
3  libsqlite3.dylib               0x18438cd94 sqlite3_free_table + 56776
4  libsqlite3.dylib               0x184379828 sqlite3_value_text + 22032
5  libsqlite3.dylib               0x184348bd8 sqlite3_finalize + 4128
6  libsqlite3.dylib               0x184372e60 sqlite3_step + 59236
7  libsqlite3.dylib               0x184365314 sqlite3_step + 3096
8  FMDB                           0x101610adc -[FMDatabase executeUpdate:error:withArgumentsInArray:orDictionary:orVAList:] (FMDatabase.m:1104)
9  FMDB                           0x101610ec8 -[FMDatabase executeUpdate:] (FMDatabase.m:1195)
10 MyApp                          0x10043e14c __65-[YOWebDAVStorage(Upload) updateUploadedSize:forUploadFileAtURL:]_block_invoke_2 (YOWebDAVStorage+Upload.m:550)
11 libdispatch.dylib              0x183820aa0 _dispatch_call_block_and_release + 24
12 libdispatch.dylib              0x183820a60 _dispatch_client_callout + 16
13 libdispatch.dylib              0x18382a9b4 _dispatch_queue_serial_drain$VARIANT$mp + 608
14 libdispatch.dylib              0x18382b2fc _dispatch_queue_invoke$VARIANT$mp + 336
15 libdispatch.dylib              0x18382bcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
16 libdispatch.dylib              0x183834098 _dispatch_workloop_worker_thread$VARIANT$mp + 668
17 libsystem_pthread.dylib        0x183b53e70 _pthread_wqthread + 860
18 libsystem_pthread.dylib        0x183b53b08 start_wqthread + 4


#7. com.apple.mobileslideshow.resourceManager.resourceRequestQueue (QOS: UNSPECIFIED)
0  libsystem_kernel.dylib         0x1839b50f4 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x183b57c90 _pthread_cond_wait$VARIANT$mp + 644
2  MyApp                          0x100802584 specialized specialized BoundedBlockingQueue.send(A) -> () (BoundedBlockingQueue.swift:36)
3  MyApp                          0x10060ace0 DataReaderFromDataProducer.(open() -> ()).(closure #1) (DataReaderFromDataProducer.swift:44)
4  MyApp                          0x10091adc0 specialized PHAssetResourceDataProducer.(requestData(withCallback : (Data) -> (), completion : (Error?) -> ()) -> Cancellable).(closure #1) (PHAssetResourceDataProducer.swift:38)
5  MyApp                          0x10091abb4 partial apply for PHAssetResourceDataProducer.(requestData(withCallback : (Data) -> (), completion : (Error?) -> ()) -> Cancellable).(closure #1) (PHAssetResourceDataProducer.swift)
6  MyApp                          0x10091a70c thunk (PHAssetResourceDataProducer.swift)
7  Photos                         0x192eba3c0 -[PHAssetResourceRequest _streamDataAtURL:progress:dataHandler:error:] + 836
8  Photos                         0x192ebb3f4 -[PHAssetResourceRequest main] + 1300
9  Foundation                     0x184897cac -[__NSOperationInternal _start:] + 848
10 Foundation                     0x18495876c __NSOQSchedule_f + 404
11 libdispatch.dylib              0x183820a60 _dispatch_client_callout + 16
12 libdispatch.dylib              0x183828e94 _dispatch_continuation_pop$VARIANT$mp + 424
13 libdispatch.dylib              0x1838277cc _dispatch_async_redirect_invoke$VARIANT$mp + 604
14 libdispatch.dylib              0x18382dcac _dispatch_root_queue_drain + 588
15 libdispatch.dylib              0x18382d9fc _dispatch_worker_thread3 + 120
16 libsystem_pthread.dylib        0x183b53fac _pthread_wqthread + 1176
17 libsystem_pthread.dylib        0x183b53b08 start_wqthread + 4


#8. Crashed: com.apple.network.connections
0  libsystem_kernel.dylib         0x1839afa60 os_channel_flow_admissible + 6
1  libsystem_network.dylib        0x183a33da0 nw_channel_check_flows_allowed + 124
2  libdispatch.dylib              0x183820a60 _dispatch_client_callout + 16
3  libdispatch.dylib              0x183828e94 _dispatch_continuation_pop$VARIANT$mp + 424
4  libdispatch.dylib              0x183832784 _dispatch_source_invoke$VARIANT$mp + 1364
5  libdispatch.dylib              0x18382a86c _dispatch_queue_serial_drain$VARIANT$mp + 280
6  libdispatch.dylib              0x18382b2fc _dispatch_queue_invoke$VARIANT$mp + 336
7  libdispatch.dylib              0x18382bcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
8  libdispatch.dylib              0x183834098 _dispatch_workloop_worker_thread$VARIANT$mp + 668
9  libsystem_pthread.dylib        0x183b53e70 _pthread_wqthread + 860
10 libsystem_pthread.dylib        0x183b53b08 start_wqthread + 4


#9. ru.myapp.cloud.UploadFileHandlerQueue
0  libsystem_kernel.dylib         0x1839b67c8 kevent_id + 8
1  libdispatch.dylib              0x18383c574 _dispatch_kq_poll + 208
2  libdispatch.dylib              0x18383cf20 _dispatch_event_loop_wait_for_ownership$VARIANT$mp + 420
3  libdispatch.dylib              0x18382eb18 _dispatch_sync_wait + 420
4  MyApp                          0x1003ea708 -[SQLSerialStorage performBlockInStorageQueue:async:] (SQLSerialStorage.m:68)
5  MyApp                          0x10043c764 -[YOWebDAVStorage(Upload) countFilesWithoutErrorInUploadQueue] (YOWebDAVStorage+Upload.m:365)
6  MyApp                          0x1004dc988 __63-[YOUploadingQueueManager uploadNextFileInQueueWithCompletion:]_block_invoke (YOUploadingQueueManager.m:401)
7  libdispatch.dylib              0x183820aa0 _dispatch_call_block_and_release + 24
8  libdispatch.dylib              0x183820a60 _dispatch_client_callout + 16
9  libdispatch.dylib              0x18382a9b4 _dispatch_queue_serial_drain$VARIANT$mp + 608
10 libdispatch.dylib              0x18382b2fc _dispatch_queue_invoke$VARIANT$mp + 336
11 libdispatch.dylib              0x18382bcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
12 libdispatch.dylib              0x183834098 _dispatch_workloop_worker_thread$VARIANT$mp + 668
13 libsystem_pthread.dylib        0x183b53e70 _pthread_wqthread + 860
14 libsystem_pthread.dylib        0x183b53b08 start_wqthread + 4


#10. fmdb.<YMMDatabaseQueue: 0x111eae5e0>
0  libsystem_kernel.dylib         0x1839b6738 guarded_pwrite_np + 8
1  libsqlite3.dylib               0x1843cbfc4 sqlite3_rekey + 2552
2  libsqlite3.dylib               0x18438d3e4 sqlite3_free_table + 58392
3  libsqlite3.dylib               0x184397f08 sqlite3_create_collation + 432
4  libsqlite3.dylib               0x184388c98 sqlite3_free_table + 40140
5  libsqlite3.dylib               0x18438c12c sqlite3_free_table + 53600
6  libsqlite3.dylib               0x184369fd8 sqlite3_step + 22748
7  libsqlite3.dylib               0x184365314 sqlite3_step + 3096
8  myappMobileMetrica            0x102fbd810 -[PodmyappMobileMetrica_FMDatabase executeUpdate:error:withArgumentsInArray:orDictionary:orVAList:] + 1796
9  myappMobileMetrica            0x102fbdd28 -[PodmyappMobileMetrica_FMDatabase executeUpdate:withParameterDictionary:] + 72
10 myappMobileMetrica            0x102f53f18 __25-[YMMDatabaseObject save]_block_invoke + 440
11 myappMobileMetrica            0x102fc0fd8 __53-[PodmyappMobileMetrica_FMDatabaseQueue inDatabase:]_block_invoke + 60
12 libdispatch.dylib              0x183820a60 _dispatch_client_callout + 16
13 libdispatch.dylib              0x1838295bc _dispatch_queue_barrier_sync_invoke_and_complete + 56
14 myappMobileMetrica            0x102fc0f48 -[PodmyappMobileMetrica_FMDatabaseQueue inDatabase:] + 160
15 myappMobileMetrica            0x102f93f28 __25-[YMMStorage inDatabase:]_block_invoke + 60
16 myappMobileMetrica            0x102f93818 -[YMMStorage inOpenedDatabase:] + 252
17 myappMobileMetrica            0x102f93ec0 -[YMMStorage inDatabase:] + 132
18 myappMobileMetrica            0x102f53d08 -[YMMDatabaseObject save] + 276
19 myappMobileMetrica            0x102f80488 -[YMMReporter addEvent:createdAt:toSession:timeSince:] + 624
20 myappMobileMetrica            0x102f7f9a8 -[YMMReporter reportEvent:createdAt:toSession:onFailure:] + 252
21 myappMobileMetrica            0x102f7f7f8 -[YMMReporter reportEvent:createdAt:onFailure:] + 216
22 myappMobileMetrica            0x102f7f278 __52-[YMMReporter reportCommonEventWithBlock:onFailure:]_block_invoke + 108
23 libdispatch.dylib              0x183820aa0 _dispatch_call_block_and_release + 24
24 libdispatch.dylib              0x183820a60 _dispatch_client_callout + 16
25 libdispatch.dylib              0x18382a9b4 _dispatch_queue_serial_drain$VARIANT$mp + 608
26 libdispatch.dylib              0x18382b2fc _dispatch_queue_invoke$VARIANT$mp + 336
27 libdispatch.dylib              0x18382bcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
28 libdispatch.dylib              0x183834098 _dispatch_workloop_worker_thread$VARIANT$mp + 668
29 libsystem_pthread.dylib        0x183b53e70 _pthread_wqthread + 860
30 libsystem_pthread.dylib        0x183b53b08 start_wqthread + 4


#11. Thread
0  libsystem_kernel.dylib         0x1839b5d84 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x183b53eb4 _pthread_wqthread + 928
2  libsystem_pthread.dylib        0x183b53b08 start_wqthread + 4


#12. Thread
0  libsystem_kernel.dylib         0x1839b5d84 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x183b540a0 _pthread_wqthread + 1420
2  libsystem_pthread.dylib        0x183b53b08 start_wqthread + 4


#13. Thread
0  libsystem_kernel.dylib         0x1839b5d84 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x183b53eb4 _pthread_wqthread + 928
2  libsystem_pthread.dylib        0x183b53b08 start_wqthread + 4

I’m sorry but that’s not a full crash report, it’s just a bunch of backtraces. I need the full report.

ps You can find an example of a full crash report linked to from this thread.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

[hello_world sent me a crash report via email but it got lost in my inbox and thus I never got around to following up. Sorry!]

This crash report looks like something we’ve seen before (r. 36983155). It seems to affect a wide variety of apps, implying that it’s an OS bug rather than an app-specific bug. As far as I can tell it’s not showing up in iOS 12 beta, which makes some degree of sense because, with the introduction of the Network framework, this part of the OS has had a lot of work in that system.

So, my advice right now is to look out for similar crashes in iOS 12 beta. If you seen none, that’s expected and we can all move on. However, if you do see a similar crash in iOS 12 beta let us know (file a new bug report, but also post a follow-up here).

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Please find stack trace for this issue, Issue is caused to one user in iOS 11.4.1


# URL: https://fabric.io/quick-ride3/ios/apps/com.disha.ios.quickride/issues/5c2cb784f8b88c2963f5cc7f?time=last-seven-days/sessions/0479a75cdb314f31a4e7fc53d5a75eda_DNE_0_v2

# Organization: Quick Ride

# Platform: ios

# Issue #: 2352

# Issue ID: 5c2cb784f8b88c2963f5cc7f

# Session ID: 0479a75cdb314f31a4e7fc53d5a75eda_DNE_0_v2

# Date: 2019-01-02T13:09:00Z

# OS Version: 11.4.1 (15G77)

# Device: iPhone 6

# RAM Free: < 1%

# Disk Free: 7.4%



#0. Crashed: locationCache.queue

0 libdispatch.dylib 0x182932bd0 _dispatch_sync_wait + 604

1 Quickride 0x1005a66f0 specialized specialized LocationCache.getLocationInfoForLatLng(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () (LocationCache.swift:44)

2 Quickride 0x1005a66f0 specialized specialized LocationCache.getLocationInfoForLatLng(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () (LocationCache.swift:44)

3 Quickride 0x1003b5e98 specialized BaseRouteViewController.checkAndUpdatePrimaryRegion(location : Location) -> () (BaseRouteViewController.swift:1890)

4 Quickride 0x1003b6504 specialized BaseRouteViewController.(moveToCurrentLocation(location : CLLocationCoordinate2D, updatePrimaryRegionIfnRequired : Bool) -> ()).(closure #1) (BaseRouteViewController.swift:1932)

5 Quickride 0x1003ad894 BaseRouteViewController.(moveToCurrentLocation(location : CLLocationCoordinate2D, updatePrimaryRegionIfnRequired : Bool) -> ()).(closure #1) (BaseRouteViewController.swift)

6 Quickride 0x1005b4b8c Location?NSError? (LocationCache.swift)

7 Quickride 0x10059ec84 LocationCache.getLocationInfoForLatLng(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () empty-list NSError (LocationCache.swift:72)

8 Quickride 0x1007c2f20 thunk (SessionManagerController.swift)

9 libdispatch.dylib 0x182924a60 _dispatch_client_callout + 16

10 libdispatch.dylib 0x18292d5bc _dispatch_queue_barrier_sync_invoke_and_complete + 56

11 Quickride 0x1005b498c LocationCache.getLocationInfoForLatLng(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () empty-list NSError (LocationCache.swift:65)

12 Quickride 0x1005a725c LocationCache.getLocationInfoForLatLng(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () empty-list NSError (LocationCache.swift)

13 Quickride 0x100433214 static MapUtils.getLocationInfo(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () empty-list NSError (MapUtils.swift:24)

14 Quickride 0x1004362d4 specialized static MapUtils.(getLocationInfoFromGeoCoder(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> ()).(closure #1) (MapUtils.swift:77)

15 Quickride 0x100434c38 partial apply for static MapUtils.(getLocationInfoFromGeoCoder(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> ()).(closure #1) (MapUtils.swift)

16 Quickride 0x1004334e8 GMSReverseGeocodeResponse?Error? (MapUtils.swift)

17 Quickride 0x100b61e10 __69-[GMSGeocoder reverseGeocodeCoordinate:completionHandler:maxResults:]_block_invoke.44 + 4309458448

18 Quickride 0x100baeaa4 -[GMSDASHProtobufferRequest scheduleRetryIfApplicableForResponse:error:connection:] + 289928

19 Quickride 0x100bae3e4 __74-[GMSDASHProtobufferRequest dispatchHandlerWithResponse:error:connection:]_block_invoke + 288200

20 libdispatch.dylib 0x182924aa0 _dispatch_call_block_and_release + 24

21 libdispatch.dylib 0x182924a60 _dispatch_client_callout + 16

22 libdispatch.dylib 0x18293165c _dispatch_main_queue_callback_4CF$VARIANT$mp + 1012

23 CoreFoundation 0x182fdb070 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12

24 CoreFoundation 0x182fd8bc8 __CFRunLoopRun + 2272

25 CoreFoundation 0x182ef8da8 CFRunLoopRunSpecific + 552

26 GraphicsServices 0x184ede020 GSEventRunModal + 100

27 UIKit 0x18cf18758 UIApplicationMain + 236

28 Quickride 0x10021e3e0 main (AppDelegate.swift:29)

29 libdyld.dylib 0x182989fc0 start + 4



--



#0. Crashed: locationCache.queue

0 libdispatch.dylib 0x182932bd0 _dispatch_sync_wait + 604

1 Quickride 0x1005a66f0 specialized specialized LocationCache.getLocationInfoForLatLng(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () (LocationCache.swift:44)

2 Quickride 0x1005a66f0 specialized specialized LocationCache.getLocationInfoForLatLng(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () (LocationCache.swift:44)

3 Quickride 0x1003b5e98 specialized BaseRouteViewController.checkAndUpdatePrimaryRegion(location : Location) -> () (BaseRouteViewController.swift:1890)

4 Quickride 0x1003b6504 specialized BaseRouteViewController.(moveToCurrentLocation(location : CLLocationCoordinate2D, updatePrimaryRegionIfnRequired : Bool) -> ()).(closure #1) (BaseRouteViewController.swift:1932)

5 Quickride 0x1003ad894 BaseRouteViewController.(moveToCurrentLocation(location : CLLocationCoordinate2D, updatePrimaryRegionIfnRequired : Bool) -> ()).(closure #1) (BaseRouteViewController.swift)

6 Quickride 0x1005b4b8c Location?NSError? (LocationCache.swift)

7 Quickride 0x10059ec84 LocationCache.getLocationInfoForLatLng(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () empty-list NSError (LocationCache.swift:72)

8 Quickride 0x1007c2f20 thunk (SessionManagerController.swift)

9 libdispatch.dylib 0x182924a60 _dispatch_client_callout + 16

10 libdispatch.dylib 0x18292d5bc _dispatch_queue_barrier_sync_invoke_and_complete + 56

11 Quickride 0x1005b498c LocationCache.getLocationInfoForLatLng(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () empty-list NSError (LocationCache.swift:65)

12 Quickride 0x1005a725c LocationCache.getLocationInfoForLatLng(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () empty-list NSError (LocationCache.swift)

13 Quickride 0x100433214 static MapUtils.getLocationInfo(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> () empty-list NSError (MapUtils.swift:24)

14 Quickride 0x1004362d4 specialized static MapUtils.(getLocationInfoFromGeoCoder(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> ()).(closure #1) (MapUtils.swift:77)

15 Quickride 0x100434c38 partial apply for static MapUtils.(getLocationInfoFromGeoCoder(coordinate : CLLocationCoordinate2D, handler : (Location?, NSError?) -> ()) -> ()).(closure #1) (MapUtils.swift)

16 Quickride 0x1004334e8 GMSReverseGeocodeResponse?Error? (MapUtils.swift)

17 Quickride 0x100b61e10 __69-[GMSGeocoder reverseGeocodeCoordinate:completionHandler:maxResults:]_block_invoke.44 + 4309458448

18 Quickride 0x100baeaa4 -[GMSDASHProtobufferRequest scheduleRetryIfApplicableForResponse:error:connection:] + 289928

19 Quickride 0x100bae3e4 __74-[GMSDASHProtobufferRequest dispatchHandlerWithResponse:error:connection:]_block_invoke + 288200

20 libdispatch.dylib 0x182924aa0 _dispatch_call_block_and_release + 24

21 libdispatch.dylib 0x182924a60 _dispatch_client_callout + 16

22 libdispatch.dylib 0x18293165c _dispatch_main_queue_callback_4CF$VARIANT$mp + 1012

23 CoreFoundation 0x182fdb070 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12

24 CoreFoundation 0x182fd8bc8 __CFRunLoopRun + 2272

25 CoreFoundation 0x182ef8da8 CFRunLoopRunSpecific + 552

26 GraphicsServices 0x184ede020 GSEventRunModal + 100

27 UIKit 0x18cf18758 UIApplicationMain + 236

28 Quickride 0x10021e3e0 main (AppDelegate.swift:29)

29 libdyld.dylib 0x182989fc0 start + 4



#1. Thread

0 libsystem_kernel.dylib 0x182ab9d78 __workq_kernreturn + 8

1 libsystem_pthread.dylib 0x182c57eb4 _pthread_wqthread + 928

2 libsystem_pthread.dylib 0x182c57b08 start_wqthread + 4



#2. com.apple.root.default-qos

0 libsystem_kernel.dylib 0x182a97e3c semaphore_timedwait_trap + 8

1 libdispatch.dylib 0x18292702c _dispatch_sema4_timedwait$VARIANT$mp + 60

2 libdispatch.dylib 0x1829278a0 _dispatch_semaphore_wait_slow + 72

3 Quickride 0x100bb4a00 -[GMSDASHStreamingReply waitForCompletionWithTimeout:] + 314340

4 Quickride 0x100bb2d18 __89-[GMSDASHConnection internalStartConnectionWithGroupID:asConnectionCheck:serverCallback:]_block_invoke + 306940

5 Quickride 0x100bb46c8 __40-[GMSDASHStreamingReply startWithError:]_block_invoke + 313516

6 libdispatch.dylib 0x182924aa0 _dispatch_call_block_and_release + 24

7 libdispatch.dylib 0x182924a60 _dispatch_client_callout + 16

8 libdispatch.dylib 0x18292bc58 _dispatch_queue_override_invoke$VARIANT$mp + 928

9 libdispatch.dylib 0x182931cac _dispatch_root_queue_drain + 588

10 libdispatch.dylib 0x1829319fc _dispatch_worker_thread3 + 120

11 libsystem_pthread.dylib 0x182c57fac _pthread_wqthread + 1176

12 libsystem_pthread.dylib 0x182c57b08 start_wqthread + 4



#3. com.apple.CoreLocation.ConnectionClient.0x15bbec180.events

0 libsystem_kernel.dylib 0x182a97e3c semaphore_timedwait_trap + 8

1 libdispatch.dylib 0x18292702c _dispatch_sema4_timedwait$VARIANT$mp + 60

2 libdispatch.dylib 0x1829278a0 _dispatch_semaphore_wait_slow + 72

3 CoreLocation 0x1897bb888 CLClientInvalidate + 888

4 CoreLocation 0x1897c1650 CLClientRetrieveData + 2276

5 CoreLocation 0x18981762c CLClientCreateIso6709Notation + 78236

6 CoreLocation 0x189813988 CLClientCreateIso6709Notation + 62712

7 CoreLocation 0x189813850 CLClientCreateIso6709Notation + 62400

8 CoreLocation 0x1898152ac CLClientCreateIso6709Notation + 69148

9 libxpc.dylib 0x182c92f30 _xpc_connection_call_event_handler + 68

10 libxpc.dylib 0x182c908c4 _xpc_connection_mach_event + 984

11 libdispatch.dylib 0x182924b30 _dispatch_client_callout4 + 16

12 libdispatch.dylib 0x18293b440 _dispatch_mach_msg_invoke$VARIANT$mp + 352

13 libdispatch.dylib 0x18292e86c _dispatch_queue_serial_drain$VARIANT$mp + 280

14 libdispatch.dylib 0x18293beec _dispatch_mach_invoke$VARIANT$mp + 508

15 libdispatch.dylib 0x18292e86c _dispatch_queue_serial_drain$VARIANT$mp + 280

16 libdispatch.dylib 0x18292f2fc _dispatch_queue_invoke$VARIANT$mp + 336

17 libdispatch.dylib 0x18292e86c _dispatch_queue_serial_drain$VARIANT$mp + 280

18 libdispatch.dylib 0x18292f2fc _dispatch_queue_invoke$VARIANT$mp + 336

19 libdispatch.dylib 0x18292fcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340

20 libdispatch.dylib 0x182938098 _dispatch_workloop_worker_thread$VARIANT$mp + 668

21 libsystem_pthread.dylib 0x182c57e70 _pthread_wqthread + 860

22 libsystem_pthread.dylib 0x182c57b08 start_wqthread + 4



#4. com.apple.uikit.eventfetch-thread

0 libsystem_kernel.dylib 0x182a97de8 mach_msg_trap + 8

1 libsystem_kernel.dylib 0x182a97c60 mach_msg + 72

2 CoreFoundation 0x182fdae40 __CFRunLoopServiceMachPort + 196

3 CoreFoundation 0x182fd8908 __CFRunLoopRun + 1568

4 CoreFoundation 0x182ef8da8 CFRunLoopRunSpecific + 552

5 Foundation 0x18396d674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304

6 Foundation 0x18396d51c -[NSRunLoop(NSRunLoop) runUntilDate:] + 148

7 UIKit 0x18cbfd768 -[UIEventFetcher threadMain] + 136

8 Foundation 0x183a7defc __NSThread__start__ + 1040

9 libsystem_pthread.dylib 0x182c59220 _pthread_body + 272

10 libsystem_pthread.dylib 0x182c59110 _pthread_body + 290

11 libsystem_pthread.dylib 0x182c57b10 thread_start + 4



#5. com.apple.root.default-qos

0 libsystem_kernel.dylib 0x182a97e24 semaphore_wait_trap + 8

1 libdispatch.dylib 0x182926f48 _dispatch_sema4_wait$VARIANT$mp + 24

2 libdispatch.dylib 0x1829278e0 _dispatch_semaphore_wait_slow + 136

3 Quickride 0x100bb5170 (anonymous namespace)::DASHDataInputProvider::EnsureBytesLeft(unsigned long, gmscore::base::scoped_dispatch_semaphore_lock&) + 316244

4 Quickride 0x100bb4f38 (anonymous namespace)::DASHDataInputProvider::ReadBytes(void*, unsigned long) + 315676

5 Quickride 0x100c48438 gmscore::utils::JavaDataInput::ReadDataOfLength(unsigned long) + 919068

6 Quickride 0x100bb689c gmscore::dash::JavaDataInputPBSupport::DataForSubdata(NSError* __autoreleasing*) + 322176

7 Quickride 0x100bb67a0 gmscore::dash::JavaDataInputPBSupport::ReadProtocolBufferOfClass(objc_class*, GMSx_GPBExtensionRegistry*, NSError* __autoreleasing*) + 321924

8 Quickride 0x100bade90 -[GMSDASHProtobufferRequest asyncReadResponse:connection:] + 286836

9 Quickride 0x100bb2fb0 -[GMSDASHConnection readRequest:dataInput:] + 307604

10 Quickride 0x100bb2a00 __89-[GMSDASHConnection internalStartConnectionWithGroupID:asConnectionCheck:serverCallback:]_block_invoke + 306148

11 Quickride 0x100bb46c8 __40-[GMSDASHStreamingReply startWithError:]_block_invoke + 313516

12 libdispatch.dylib 0x182924aa0 _dispatch_call_block_and_release + 24

13 libdispatch.dylib 0x182924a60 _dispatch_client_callout + 16

14 libdispatch.dylib 0x18292bc58 _dispatch_queue_override_invoke$VARIANT$mp + 928

15 libdispatch.dylib 0x182931cac _dispatch_root_queue_drain + 588

16 libdispatch.dylib 0x1829319fc _dispatch_worker_thread3 + 120

17 libsystem_pthread.dylib 0x182c57fac _pthread_wqthread + 1176

18 libsystem_pthread.dylib 0x182c57b08 start_wqthread + 4



#6. Thread

0 libsystem_kernel.dylib 0x182ab90e8 __psynch_cvwait + 8

1 libsystem_pthread.dylib 0x182c5bc90 _pthread_cond_wait$VARIANT$mp + 644

2 libc++.1.dylib 0x18217025c std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24

3 JavaScriptCore 0x18a68145c void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 104

4 JavaScriptCore 0x18a681070 bmalloc::Scavenger::threadRunLoop() + 164

5 JavaScriptCore 0x18a680e18 bmalloc::Scavenger::Scavenger(std::__1::lock_guard<bmalloc::StaticMutex>&) + 10

6 JavaScriptCore 0x18a681234 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 44

7 libsystem_pthread.dylib 0x182c59220 _pthread_body + 272

8 libsystem_pthread.dylib 0x182c59110 _pthread_body + 290

9 libsystem_pthread.dylib 0x182c57b10 thread_start + 4



#7. Thread

0 libsystem_pthread.dylib 0x182c57b04 start_wqthread + 122



#8. GAIThread

0 libsystem_kernel.dylib 0x182a97de8 mach_msg_trap + 8

1 libsystem_kernel.dylib 0x182a97c60 mach_msg + 72

2 CoreFoundation 0x182fdae40 __CFRunLoopServiceMachPort + 196

3 CoreFoundation 0x182fd8908 __CFRunLoopRun + 1568

4 CoreFoundation 0x182ef8da8 CFRunLoopRunSpecific + 552

5 Foundation 0x18396d674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304

6 Foundation 0x1839e21a8 -[NSRunLoop(NSRunLoop) run] + 88

7 Quickride 0x100a48de8 +[GAI threadMain:] + 4308307432

8 Foundation 0x183a7defc __NSThread__start__ + 1040

9 libsystem_pthread.dylib 0x182c59220 _pthread_body + 272

10 libsystem_pthread.dylib 0x182c59110 _pthread_body + 290

11 libsystem_pthread.dylib 0x182c57b10 thread_start + 4



#9. com.twitter.crashlytics.ios.MachExceptionServer

0 Quickride 0x100a7f65c CLSProcessRecordAllThreads + 4308530780

1 Quickride 0x100a7f65c CLSProcessRecordAllThreads + 4308530780

2 Quickride 0x100a7f518 CLSProcessRecordAllThreads + 4308530456

3 Quickride 0x100a6e184 CLSHandler + 4308459908

4 Quickride 0x100a68e34 CLSMachExceptionServer + 4308438580

5 libsystem_pthread.dylib 0x182c59220 _pthread_body + 272

6 libsystem_pthread.dylib 0x182c59110 _pthread_body + 290

7 libsystem_pthread.dylib 0x182c57b10 thread_start + 4



#10. Thread

0 libsystem_pthread.dylib 0x182c57b04 start_wqthread + 122



#11. Thread

0 libsystem_kernel.dylib 0x182ab9d78 __workq_kernreturn + 8

1 libsystem_pthread.dylib 0x182c580a0 _pthread_wqthread + 1420

2 libsystem_pthread.dylib 0x182c57b08 start_wqthread + 4



#12. com.apple.NSURLConnectionLoader

0 libsystem_kernel.dylib 0x182a97de8 mach_msg_trap + 8

1 libsystem_kernel.dylib 0x182a97c60 mach_msg + 72

2 CoreFoundation 0x182fdae40 __CFRunLoopServiceMachPort + 196

3 CoreFoundation 0x182fd8908 __CFRunLoopRun + 1568

4 CoreFoundation 0x182ef8da8 CFRunLoopRunSpecific + 552

5 CFNetwork 0x1838066e0 -[__CoreSchedulingSetRunnable runForever] + 220

6 Foundation 0x183a7defc __NSThread__start__ + 1040

7 libsystem_pthread.dylib 0x182c59220 _pthread_body + 272

8 libsystem_pthread.dylib 0x182c59110 _pthread_body + 290

9 libsystem_pthread.dylib 0x182c57b10 thread_start + 4



#13. com.google.Maps.LabelingBehavior

0 libsystem_kernel.dylib 0x182a97de8 mach_msg_trap + 8

1 libsystem_kernel.dylib 0x182a97c60 mach_msg + 72

2 CoreFoundation 0x182fdae40 __CFRunLoopServiceMachPort + 196

3 CoreFoundation 0x182fd8908 __CFRunLoopRun + 1568

4 CoreFoundation 0x182ef8da8 CFRunLoopRunSpecific + 552

5 Foundation 0x18396d674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304

6 Quickride 0x100e5bbf4 -[GMSx_GTMSimpleWorkerThread main] + 354128

7 Foundation 0x183a7defc __NSThread__start__ + 1040

8 libsystem_pthread.dylib 0x182c59220 _pthread_body + 272

9 libsystem_pthread.dylib 0x182c59110 _pthread_body + 290

10 libsystem_pthread.dylib 0x182c57b10 thread_start + 4



#14. Thread

0 libsystem_kernel.dylib 0x182ab9034 __pselect + 8

1 libsystem_kernel.dylib 0x182ab50c8 pselect + 108

2 Moscapsule 0x101d01878 mosquitto_loop + 552

3 Moscapsule 0x101d01d5c mosquitto_loop_forever + 224

4 Moscapsule 0x101d05a00 _mosquitto_thread_main + 104

5 libsystem_pthread.dylib 0x182c59220 _pthread_body + 272

6 libsystem_pthread.dylib 0x182c59110 _pthread_body + 290

7 libsystem_pthread.dylib 0x182c57b10 thread_start + 4



#15. Thread

0 libsystem_kernel.dylib 0x182ab9034 __pselect + 8

1 libsystem_kernel.dylib 0x182ab50c8 pselect + 108

2 Moscapsule 0x101d01878 mosquitto_loop + 552

3 Moscapsule 0x101d01d5c mosquitto_loop_forever + 224

4 Moscapsule 0x101d05a00 _mosquitto_thread_main + 104

5 libsystem_pthread.dylib 0x182c59220 _pthread_body + 272

6 libsystem_pthread.dylib 0x182c59110 _pthread_body + 290

7 libsystem_pthread.dylib 0x182c57b10 thread_start + 4



#16. Thread

0 libsystem_pthread.dylib 0x182c57b04 start_wqthread + 122



#17. Thread

0 libsystem_pthread.dylib 0x182c57b04 start_wqthread + 122

I am using intel macbook 2017. I purchased logic pro x in 2018 jan or so and have never found any bug like this. BUT FOR THE FIRST TIME, in new MAC OS 12.2.1 Montery, which i updated last night, Logic pro Unexpectedly quits and never reopenes!!

Here is the crash report which is very similiar to the above mentioned libsystem_pthread.dylib . It seems apple's DYNAMIC LIBRARIES CRASH not only in iOS but also in MAC OS.

This crash is definitely unrelated to the crashes discussed above. Those crashes were all related to a bug in the Network framework whereas this crash report indicates that the crash happened within Logic Pro itself:

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   Logic Pro X   …   DoMidiPlugAndPlay(TPnPMode, CmdFuncMode) + 568

Are you developing for Logic Pro? Or just trying to use it? I suspect it’s the latter, in which case I recommend that you escalate this via Apple Support.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hi I do have crash after migrating on iOS 16 Xcode 14 and only have crash in simulator with iOS 16 and device work fine its not crashing on other iOS. here is the back trace of crash. will appreciate help on it.

  • thread #10, queue = 'com.apple.root.default-qos', stop reason = signal SIGABRT

  * frame #0: 0x00007ff833de600e libsystem_kernel.dylib`__pthread_kill + 10

    frame #1: 0x00007ff833e3d1ff libsystem_pthread.dylib`pthread_kill + 263

    frame #2: 0x00007ff800132fe0 libsystem_c.dylib`abort + 130

    frame #3: 0x00007ff800257742 libc++abi.dylib`abort_message + 241

    frame #4: 0x00007ff80024895d libc++abi.dylib`demangling_terminate_handler() + 266

    frame #5: 0x00007ff800031fb6 libobjc.A.dylib`_objc_terminate() + 104

    frame #6: 0x00007ff800256b65 libc++abi.dylib`std::__terminate(void (*)()) + 8

    frame #7: 0x00007ff800256b16 libc++abi.dylib`std::terminate() + 54

    frame #8: 0x00007ff80004dd2e libobjc.A.dylib`objc_terminate + 9

    frame #9: 0x000000010de8ef6f libdispatch.dylib`_dispatch_client_callout + 28

    frame #10: 0x000000010de91a28 libdispatch.dylib`_dispatch_queue_override_invoke + 1488

    frame #11: 0x000000010dea3e77 libdispatch.dylib`_dispatch_root_queue_drain + 414

    frame #12: 0x000000010dea4b17 libdispatch.dylib`_dispatch_worker_thread2 + 278

    frame #13: 0x00007ff833e39f8a libsystem_pthread.dylib`_pthread_wqthread + 256

    frame #14: 0x00007ff833e38f57 libsystem_pthread.dylib`start_wqthread + 15

kashifjawad, This is unlikely to be related to the crash that’s the subject of this thread. Please start a new thread with the details of your crash. Tag it with Debugging so that I see it. Also, please include the full crash report, per the instructions in Posting a Crash Report.


Everyone else, I’ve locked this thread because I don’t want it to become a super mega thread for every crash ever:

  • If you have a crash that’s not related to the original crash in this thread, please follow the advice I gave to kashifjawad above.

  • If you have a crash that’s directly related to the original crash, please start a new thread, reference this thread, and also add the Network tag.

Thanks for understanding!

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

libsystem_kernel.dylib crash
 
 
Q