Post

Replies

Boosts

Views

Activity

App crashes sporadically, with "Kernel bug: The kernel cannot allocate memory needed for the pseudo-receive." message
Hi,We're currently experiencing a weird crash, without anything noticable in the call stack. The message that is posted in the subject ("Kernel bug: The kernel cannot allocate memory needed for the pseudo-receive.") is written in crash_info_entry_0.We couldn't reproduce this in our testing enviornment, so any guidance about possible culprit will be appreciated.Here's a call stack for example:Crashed: com.apple.libdispatch-manager 0 libxpc.dylib 0x1a88b3b48 _xpc_connection_release_message.cold.2 + 28 1 libxpc.dylib 0x1a8896160 _xpc_connection_release_message + 236 2 libxpc.dylib 0x1a8895ed0 _xpc_connection_handle_event_inline + 92 3 libdispatch.dylib 0x1a895508c _dispatch_mach_handle_or_push_received_msg + 124 4 libdispatch.dylib 0x1a89598dc _dispatch_mach_msg_send + 460 5 libdispatch.dylib 0x1a8959294 _dispatch_mach_send_drain + 264 6 libdispatch.dylib 0x1a8955964 _dispatch_mach_notification_merge_evt + 52 7 libdispatch.dylib 0x1a895e8f8 _dispatch_mach_notify_merge + 344 8 libdispatch.dylib 0x1a895e994 _dispatch_mach_notify_send_possible + 28 9 libdispatch.dylib 0x1a896e81c _Xmach_notify_send_possible + 56 10 libdispatch.dylib 0x1a896eb10 libdispatch_internal_protocol_server + 100 11 libdispatch.dylib 0x1a895ea80 _dispatch_mach_notification_merge_msg + 72 12 libdispatch.dylib 0x1a895d284 _dispatch_event_loop_merge + 152 13 libdispatch.dylib 0x1a89500ec _dispatch_kevent_worker_thread + 772 14 libsystem_pthread.dylib 0x1a89a774c _pthread_wqthread + 332 15 libsystem_pthread.dylib 0x1a89ad9c8 start_wqthread + 8 ne_session queue 0 libsystem_kernel.dylib 0x1a8a8716c __semwait_signal + 8 1 libsystem_c.dylib 0x1a8931510 nanosleep + 224 2 libsystem_c.dylib 0x1a89312f8 sleep + 48 3 libxpc.dylib 0x1a88a80d0 _waiting4memory + 20 4 libxpc.dylib 0x1a88a538c _xpc_mach_port_allocate + 84 5 libxpc.dylib 0x1a88957bc xpc_connection_send_message_with_reply + 156 6 libsystem_networkextension.dylib 0x1add01cc8 __ne_session_get_info_with_parameters_block_invoke + 252 7 libdispatch.dylib 0x1a894033c _dispatch_client_callout + 20 8 libdispatch.dylib 0x1a894d1f4 _dispatch_lane_barrier_sync_invoke_and_complete + 60 9 libsystem_networkextension.dylib 0x1adcfd728 ne_session_get_info_with_parameters + 172 10 NetworkExtension 0x1bba6d95c -[NEVPNConnection updateSessionInfoForce:withCompletionHandler:] + 168 11 NetworkExtension 0x1bba6e318 __93-[NEVPNConnection createSessionWithConfigurationIdentifier:forceInfoFetch:completionHandler:]_block_invoke_2 + 104 12 libsystem_networkextension.dylib 0x1add02250 __notify_client_block_invoke + 196 13 libdispatch.dylib 0x1a893eec4 _dispatch_call_block_and_release + 32 14 libdispatch.dylib 0x1a894033c _dispatch_client_callout + 20 15 libdispatch.dylib 0x1a894c600 _dispatch_main_queue_callback_4CF + 832 16 CoreFoundation 0x1a8c1b41c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 17 CoreFoundation 0x1a8c16034 __CFRunLoopRun + 1708 18 CoreFoundation 0x1a8c15660 CFRunLoopRunSpecific + 480 19 GraphicsServices 0x1b3026604 GSEventRunModal + 164 20 UIKitCore 0x1acdea15c UIApplicationMain + 1944 21 MyApp 0x10222f330 main + 17 (AppDelegate.swift:17) 22 libdyld.dylib 0x1a8a911ec start + 4 com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x1a8a64784 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1a8a63ba8 mach_msg + 76 2 CoreFoundation 0x1a8c1b080 __CFRunLoopServiceMachPort + 152 3 CoreFoundation 0x1a8c15e0c __CFRunLoopRun + 1156 4 CoreFoundation 0x1a8c15660 CFRunLoopRunSpecific + 480 5 Foundation 0x1a8f5f6a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 6 Foundation 0x1a8f5f580 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 7 UIKitCore 0x1ace8f420 -[UIEventFetcher threadMain] + 156 8 Foundation 0x1a90997a0 __NSThread__start__ + 864 9 libsystem_pthread.dylib 0x1a89a58fc _pthread_start + 168 10 libsystem_pthread.dylib 0x1a89ad9d4 thread_start + 8 JavaScriptCore bmalloc scavenger 0 libsystem_kernel.dylib 0x1a8a86bc0 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1a89a91e4 _pthread_cond_wait + 680 2 libc++.1.dylib 0x1a8adaca8 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 3 JavaScriptCore 0x1b7fa4e88 void std::__1::condition_variable_any::wait<std::__1::unique_lock>(std::__1::unique_lock&) + 104 4 JavaScriptCore 0x1b7fa8c34 bmalloc::Scavenger::threadRunLoop() + 156 5 JavaScriptCore 0x1b7fa8958 bmalloc::Scavenger::Scavenger(std::__1::lock_guard const&) + 14 6 JavaScriptCore 0x1b7fa9bd0 std::__1::__thread_specific_ptr<std::__1::__thread_struct>::set_pointer(std::__1::__thread_struct*) + 42 7 libsystem_pthread.dylib 0x1a89a58fc _pthread_start + 168 8 libsystem_pthread.dylib 0x1a89ad9d4 thread_start + 8 WebThread 0 libsystem_kernel.dylib 0x1a8a64784 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1a8a63ba8 mach_msg + 76 2 CoreFoundation 0x1a8c1b080 __CFRunLoopServiceMachPort + 152 3 CoreFoundation 0x1a8c15e0c __CFRunLoopRun + 1156 4 CoreFoundation 0x1a8c15660 CFRunLoopRunSpecific + 480 5 WebCore 0x1b13e88d4 RunWebThread(void*) + 596 6 libsystem_pthread.dylib 0x1a89a58fc _pthread_start + 168 7 libsystem_pthread.dylib 0x1a89ad9d4 thread_start + 8 com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x1a8a64784 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1a8a63ba8 mach_msg + 76 2 CoreFoundation 0x1a8c1b080 __CFRunLoopServiceMachPort + 152 3 CoreFoundation 0x1a8c15e0c __CFRunLoopRun + 1156 4 CoreFoundation 0x1a8c15660 CFRunLoopRunSpecific + 480 5 CFNetwork 0x1abf3a584 (Missing) 6 Foundation 0x1a90997a0 __NSThread__start__ + 864 7 libsystem_pthread.dylib 0x1a89a58fc _pthread_start + 168 8 libsystem_pthread.dylib 0x1a89ad9d4 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x1a8a879a8 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x1a89a7760 _pthread_wqthread + 352 2 libsystem_pthread.dylib 0x1a89ad9c8 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1a8a879a8 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x1a89a7760 _pthread_wqthread + 352 2 libsystem_pthread.dylib 0x1a89ad9c8 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1a8a879a8 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x1a89a7760 _pthread_wqthread + 352 2 libsystem_pthread.dylib 0x1a89ad9c8 start_wqthread + 8Thanks,Omer
10
0
4.4k
May ’20