Network warning in iOS 16

In iOS 16, it always show -[nw_ip_channel_inbox initWithPath:flow:parameters:delegate:] flow (some uuid interface: utun4, viable, assigned) does not specify local endpoint after call [NWListener start:].

This issue doesn't happen in iOS 15. Although it looks like a crash, the app keeps working and getting data. What does "specify local endpoint" mean?

2022-09-19 15:02:25.095386+0800 APP[9856:768096] [] -[nw_ip_channel_inbox initWithPath:flow:parameters:delegate:] flow (BD6CB5B1-1461-4B1F-B321-3A382BD259CF, interface: utun4, viable, assigned) does not specify local endpoint

2022-09-19 15:02:25.096106+0800 APP[9856:768096] [] -[nw_ip_channel_inbox initWithPath:flow:parameters:delegate:] flow (BD6CB5B1-1461-4B1F-B321-3A382BD259CF, interface: utun4, viable, assigned) does not specify local endpoint, dumping backtrace:

        [arm64] libnetcore-3013.2.2

    0   Network                             0x00000001b8d892f0 __nw_create_backtrace_string + 192

    1   Network                             0x00000001b8e450f4 F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 7389428

    2   Network                             0x00000001b8a36d84 F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 3136900

    3   Network                             0x00000001b8e35e60 nw_array_apply + 124

    4   Network                             0x00000001b8a3433c F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 3126076

    5   Network                             0x00000001b8a47a54 F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 3205716

    6   Network                             0x00000001b8a4775c F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 3204956

    7   Network                             0x00000001b9059788 F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 9570184

    8   Network                             0x00000001b90585fc F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 9565692

    9   Network                             0x00000001b90708c4 nw_path_evaluator_force_update + 124

    10  libdispatch.dylib                   0x0000000101610598 _dispatch_call_block_and_release + 32

    11  libdispatch.dylib                   0x000000010161204c _dispatch_client_callout + 20

    12  libdispatch.dylib                   0x000000010161c6f0 _dispatch_workloop_invoke + 2952

    13  libdispatch.dylib                   0x0000000101627cac _dispatch_workloop_worker_thread + 740

    14  libsystem_pthread.dylib             0x0000000204c7cdf8 _pthread_wqthread + 288

    15  libsystem_pthread.dylib             0x0000000204c7cb98 start_wqthread + 8

2022-09-19 15:02:25.098250+0800 APP[9856:768096] [] __nwlog_err_simulate_crash simulate crash already simulated "-[nw_ip_channel_inbox initWithPath:flow:parameters:delegate:] flow (BD6CB5B1-1461-4B1F-B321-3A382BD259CF, interface: utun4, viable, assigned) does not specify local endpoint"

2022-09-19 15:02:25.098871+0800 APP[9856:768096] [] -[nw_ip_channel_inbox initWithPath:flow:parameters:delegate:] flow (BD6CB5B1-1461-4B1F-B321-3A382BD259CF, interface: utun4, viable, assigned) does not specify local endpoint, dumping backtrace:

        [arm64] libnetcore-3013.2.2

    0   Network                             0x00000001b8d892f0 __nw_create_backtrace_string + 192

    1   Network                             0x00000001b8e450f4 F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 7389428

    2   Network                             0x00000001b8a36d84 F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 3136900

    3   Network                             0x00000001b8e35e60 nw_array_apply + 124

    4   Network                             0x00000001b8a3433c F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 3126076

    5   Network                             0x00000001b8a47a54 F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 3205716

    6   Network                             0x00000001b8a4775c F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 3204956

    7   Network                             0x00000001b9059788 F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 9570184

    8   Network                             0x00000001b90585fc F9E2A765-5770-3360-AF20-CA5B923FCBF2 + 9565692

    9   Network                             0x00000001b90708c4 nw_path_evaluator_force_update + 124

    10  libdispatch.dylib                   0x0000000101610598 _dispatch_call_block_and_release + 32

    11  libdispatch.dylib                   0x000000010161204c _dispatch_client_callout + 20

    12  libdispatch.dylib                   0x000000010161c6f0 _dispatch_workloop_invoke + 2952

    13  libdispatch.dylib                   0x0000000101627cac _dispatch_workloop_worker_thread + 740

    14  libsystem_pthread.dylib             0x0000000204c7cdf8 _pthread_wqthread + 288

    15  libsystem_pthread.dylib             0x0000000204c7cb98 start_wqthread + 8

Although it looks like a crash, the app keeps working and getting data.

Given that, I’d classify this as log noise.

Share and Enjoy

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

Network warning in iOS 16
 
 
Q