Here are some more detailed logs from the Mac. It may be a kind of sandbox violation.
On closer inspection I see a "stability" crash caused by macOS. This means the app (Python) is not using a core framework correctly and Mac is taking the application down.
Code: Select all
2022-10-29 22:39:57.454136-0700 0x971 Error 0x0 0 0 kernel: (Sandbox) Sandbox: logd_helper(360) deny(1) file-read-data /usr/local/Cellar/libtorrent-rasterbar/2.0.8/lib/python3.10/site-packages/libtorrent.cpython-310-darwin.so
2022-10-29 22:39:57.454582-0700 0x971 Error 0x0 0 0 kernel: (Sandbox) Sandbox: logd_helper(360) deny(1) file-read-data /usr/local/Cellar/pygobject3/3.42.2_1/lib/python3.10/site-packages/gi/_gi.cpython-310-darwin.so
2022-10-29 22:39:57.455004-0700 0x971 Error 0x0 0 0 kernel: (Sandbox) Sandbox: logd_helper(360) deny(1) file-read-data /usr/local/Cellar/pygobject3/3.42.2_1/lib/python3.10/site-packages/gi/_gi_cairo.cpython-310-darwin.so
2022-10-29 22:39:57.456228-0700 0x971 Error 0x0 0 0 kernel: (Sandbox) Sandbox: logd_helper(360) deny(1) file-read-data /usr/local/Cellar/py3cairo/1.21.0_1/lib/python3.10/site-packages/cairo/_cairo.cpython-310-darwin.so
2022-10-29 22:39:57.464684-0700 0x24c8b6 Default 0x0 125 2 launchservicesd: [com.apple.launchservices:cas] CHECKIN:0x0-0x601601 78863 org.python.python
2022-10-29 22:39:57.474165-0700 0x24c977 Default 0x294cd1 158 0 tccd: [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=78863.1, attribution={responsible={identifier=com.apple.Terminal, pid=498, auid=505, euid=505, responsible_path=/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal, binary_path=/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal}, requesting={identifier=<ID of InvalidCode>, pid=78863, auid=505, euid=505, binary_path=/usr/local/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/Resources/Python.app/Contents/MacOS/Python}, },
2022-10-29 22:39:57.489027-0700 0x24c3b5 Default 0x29379c 158 0 tccd: [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=157.1634, attribution={responsible={identifier=com.apple.Terminal, pid=498, auid=505, euid=505, responsible_path=/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal, binary_path=/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal}, accessing={identifier=<ID of InvalidCode>, pid=78863, auid=505, euid=505, binary_path=/usr/local/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/Resources/Python.app/Contents/MacOS/Python}, requesting={identifier=com.apple.WindowServer, pid=157, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer}, },
2022-10-29 22:39:57.489035-0700 0x24c3b5 Default 0x29379c 158 0 tccd: [com.apple.TCC:access] requestor: identifier=com.apple.WindowServer, pid=157, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer is checking access for accessor identifier=<ID of InvalidCode>, pid=78863, auid=505, euid=505, binary_path=/usr/local/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/Resources/Python.app/Contents/MacOS/Python
2022-10-29 22:39:57.528611-0700 0x221e05 Default 0x0 385 0 distnoted: [com.apple.distnoted:diagnostic] register name: com.apple.xctest.FakeForceTouchDevice object: org.python.python token: 1b00000012 pid: 78863
2022-10-29 22:39:58.732591-0700 0x221e05 Default 0x0 385 0 distnoted: [com.apple.distnoted:diagnostic] register name: com.apple.nsquiet_safe_quit_give_reason object: org.python.python token: 2d00000024 pid: 78863
2022-10-29 22:39:59.383632-0700 0x971 Default 0x0 0 0 kernel: (Sandbox) Sandbox: 1 duplicate report for logd_helper deny(1) file-read-data /usr/local/Cellar/py3cairo/1.21.0_1/lib/python3.10/site-packages/cairo/_cairo.cpython-310-darwin.so
2022-10-29 22:40:01.233698-0700 0x24c5e5 Default 0x0 715 7 ReportCrash: (CoreAnalytics) [com.apple.CoreAnalytics.stability-event:event-send] Sending event: com.apple.stability.crash {"appVersion":"3.10.8","bundleID":"org.python.python","exceptionType":1,"incidentID":"73AF8934-6B4D-44B4-9970-289F36CC77D3","logwritten":1,"process":"Python","responsibleApp":"Terminal"}
2022-10-29 22:40:01.233849-0700 0x24cb71 Default 0x0 159 7 analyticsd: [com.apple.CoreAnalytics.stability-event:event-recv] Received event: com.apple.stability.crash {"appVersion":"3.10.8","bundleID":"org.python.python","exceptionType":1,"incidentID":"73AF8934-6B4D-44B4-9970-289F36CC77D3","logwritten":1,"process":"Python","responsibleApp":"Terminal"}
2022-10-29 22:40:01.233935-0700 0x24cb71 Default 0x0 159 7 analyticsd: [com.apple.CoreAnalytics.stability-event:event-aggregated] Aggregated. Transform: StabilityCrashNumerator3WithIncidentID Dirty: 1 Event: com.apple.stability.crash {"appVersion":"3.10.8","bundleID":"org.python.python","exceptionType":1,"incidentID":"73AF8934-6B4D-44B4-9970-289F36CC77D3","logwritten":1,"process":"Python","responsibleApp":"Terminal","timestamp":1667108401223770}
2022-10-29 22:40:01.234073-0700 0x24cb71 Default 0x0 159 7 analyticsd: [com.apple.CoreAnalytics.stability-event:event-aggregated] Aggregated. Transform: StabilityCrashNumerator3 Dirty: 1 Event: com.apple.stability.crash {"appVersion":"3.10.8","bundleID":"org.python.python","exceptionType":1,"incidentID":"73AF8934-6B4D-44B4-9970-289F36CC77D3","logwritten":1,"process":"Python","responsibleApp":"Terminal","timestamp":1667108401223770}
2022-10-29 22:40:01.234188-0700 0x24cb71 Default 0x0 159 7 analyticsd: [com.apple.CoreAnalytics.stability-event:event-aggregated] Aggregated. Transform: StabilityCrashNumerator3WithBundleVersion Dirty: 1 Event: com.apple.stability.crash {"appVersion":"3.10.8","bundleID":"org.python.python","exceptionType":1,"incidentID":"73AF8934-6B4D-44B4-9970-289F36CC77D3","logwritten":1,"process":"Python","responsibleApp":"Terminal","timestamp":1667108401223770}