Project

General

Profile

Bug #21790 » python_crash_output.txt

Python Crash output - adamoffat (Adam Moffat), 12/18/2025 06:39 PM

 
Python 3.9.6 on arm64-darwin (macOS 26.1 Tahoe)

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS

ASI Note: "crashed on child side of fork pre-exec"

Termination: Segmentation fault: 11

Crashing Thread Stack (Thread 0):
_os_log_preferences_refresh +56
os_log_type_enabled +768
[libnetwork.dylib internal]
[libnetwork.dylib internal]
[libnetwork.dylib internal]
[libnetwork.dylib internal]
[libnetwork.dylib internal]
nw_path_access_agent_cache +188
[libnetwork.dylib internal]
[libnetwork.dylib internal]
_nw_path_update_is_viableTm +84
nw_path_snapshot_path(NWConcrete_nw_path*) +64
nw_path_evaluator_evaluate(NWConcrete_nw_path_evaluator*, int*) +2308
nw_path_create_evaluator_for_endpoint +68
nw_nat64_v4_address_requires_synthesis +240
_gai_nat64_second_pass +280
si_addrinfo +1388
getaddrinfo +168
_socket.cpython-39-darwin.so (socket.getaddrinfo)
_PyObject_MakeTpCall +356
_PyEval_EvalFrameDefault +8728
_PyFunction_Vectorcall +228
PyEval_EvalCode +80
PyRun_SimpleFileExFlags +812
Py_RunMain +1448
Py_BytesMain +40
start +7184

The crash occurs in Apple's Network framework during NAT64 address synthesis,
specifically when _os_log_preferences_refresh attempts to access invalid memory
in a forked child process.

(6-6/6)