macOS 10.14.4 VPN extension crashing in nw_endpoint_flow_protocol_disconnected

With macOS 10.14.4 we're suddenly seeing crashes in our packet tunnel VPN extension in libnetwork every time the network interface changes, e.g. an SSID change or we roam between Wifi and Ethernet:


Thread 16 Crashed:: Dispatch queue: com.apple.network.connections

0 libnetwork.dylib 0x00007fff691189a4 nw_endpoint_flow_protocol_disconnected + 420

1 libnetwork.dylib 0x00007fff69107b79 nw_socket_handle_socket_event + 4153

2 libdispatch.dylib 0x00007fff6ac4e63d _dispatch_client_callout + 8

3 libdispatch.dylib 0x00007fff6ac50de6 _dispatch_continuation_pop + 414

4 libdispatch.dylib 0x00007fff6ac5ff42 _dispatch_source_invoke + 2056

5 libdispatch.dylib 0x00007fff6ac56667 _dispatch_workloop_invoke + 2100

6 libdispatch.dylib 0x00007fff6ac5d6ed _dispatch_workloop_worker_thread + 598

7 libsystem_pthread.dylib 0x00007fff6ae88611 _pthread_wqthread + 421

8 libsystem_pthread.dylib 0x00007fff6ae883fd start_wqthread + 13


I posted RADAR 49861136 but am curious if anyone else has seen this. Our code isn't in the stack, and in the debugger I can't find any commonality around what our other threads are doing from crash to crash.

Replies

I posted RADAR 49861136 …

Thanks!

Can you reproduce this in your office? If so, please do that, then take a sysdiagnose log, then add that to your bug report.

For more information about sysdiagnose logs, see our Bug Reporting > Profiles and Logs page.

Post back here when you’re done, and I’ll take another look.

Share and Enjoy

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

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

I attached a sysdiagnose. Thanks Quinn.

I attached a sysdiagnose.

Thanks.

I grabbed that and took a quick look. It seems likely that your bug will end up being closed a dup of another bug (r. 47846566), which we believe is a problem in the OS itself. Unfortunately I don’t have any info to share about when the fix for that bug will ship.

Share and Enjoy

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

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

Yeah, it was marked as a dup of 47846566, which is now showing as closed. Do you see any indication of it getting into a release soon?

Do you see any indication of it getting into a release soon?

The fix seems to be coincident with larger, structural changes, and it’s hard to predict when those changes will ship.

Share and Enjoy

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

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

OK, thanks Quinn.