Re: Crash "Kernel bug: The kernel cannot allocate memory needed for the ps"
Re: Crash "Kernel bug: The kernel cannot allocate memory needed for the ps"
- Subject: Re: Crash "Kernel bug: The kernel cannot allocate memory needed for the ps"
- From: Nikita Golovliov <email@hidden>
- Date: Fri, 12 May 2017 09:38:25 +0200
You can't find the string in xnu source because it's actually in libxpc. The string reads:
`Kernel bug: The kernel cannot allocate memory needed for the pseudo-receive.'
This indeed seems to be xnu bug (you can read osfmk/man/mach_msg for description
of mach_msg pseudo-receive operation). It's probably a good idea to submit a radar
along with a reproducer.
> On 12 May 2017, at 09:13, Hasselqvist Anders <email@hidden> wrote:
>
> Hi all,
>
> I’m sorry if this is the wrong place to post this question.
> I believe it is kernel related, but maybe not…
>
> Our app (a video streaming app) has started receiving many crash reports from end users that we can’t really understand the root cause of.
> 99% of the reports are coming from iPads.
>
> The call stack is like this:
>
> ----------------------
> Crashed: Kernel bug: The kernel cannot allocate memory needed for the ps
> 0 libxpc.dylib 0x182820984 _xpc_connection_handle_sent_event + 576
> 1 libxpc.dylib 0x182820984 _xpc_connection_handle_sent_event + 576
> 2 libdispatch.dylib 0x1825ce28c _dispatch_client_callout4 + 16
> 3 libdispatch.dylib 0x1825d1d80 _dispatch_mach_msg_invoke + 328
> 4 libdispatch.dylib 0x1825dc210 _dispatch_queue_serial_drain + 468
> 5 libdispatch.dylib 0x1825d11e0 _dispatch_mach_invoke + 652
> 6 libdispatch.dylib 0x1825dc210 _dispatch_queue_serial_drain + 468
> 7 libdispatch.dylib 0x1825d19a4 _dispatch_queue_invoke + 652
> 8 libdispatch.dylib 0x1825dc8d8 _dispatch_queue_override_invoke + 360
> 9 libdispatch.dylib 0x1825de34c _dispatch_root_queue_drain + 572
> 10 libdispatch.dylib 0x1825de0ac _dispatch_worker_thread3 + 124
> 11 libsystem_pthread.dylib 0x1827d72a0 _pthread_wqthread + 1288
> 12 libsystem_pthread.dylib 0x1827d6d8c start_wqthread + 4
> ----------------------
>
> Does some one here have any advice on what “The kernel cannot allocate memory needed for the ps” actually means?
>
> I checked the xnu open source archive but the string is not there.
>
> Thanks,
> Anders
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-kernel mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden