Opened 2 years ago

Last modified 2 years ago

#65545 assigned defect

py39-pyobjc: broken on macOS 10.13

Reported by: kickingvegas (Charles Choi) Owned by: danchr (Dan Villiom Podlaski Christiansen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: py-pyobjc

Description

With Python 3.9.13, import of Foundation or Cocoa module will cause the macOS crash dialog to appear.

Upon invocation of import Foundation, the following message occurs and a macOS dialog is raised with attached crash log.

cchoi@dev5:~/bin> python3
Python 3.9.13 (main, May 21 2022, 02:32:17) 
[Clang 9.1.0 (clang-902.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Foundation
Segmentation fault: 11
cchoi@dev5:~/bin> 

Environment:

macOS: 10.13.6 (17G14042) HW: iMac (27-inch, Mid 2010)

Attachments (1)

python3-crash.log (50.4 KB) - added by kickingvegas (Charles Choi) 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by kickingvegas (Charles Choi)

Attachment: python3-crash.log added

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to danchr
Port: py-pyobjc added
Status: newassigned
Summary: Python3.9 import of Foundation or Cocoa will cause macOS crashpy39-pyobjc: import of Foundation or Cocoa will crash

comment:2 Changed 2 years ago by kickingvegas (Charles Choi)

Current MacPorts Python installs

cchoi@dev5:~/bin> port installed | grep python
  boost176 @1.76.0_3+no_single+no_static+python39 (active)
  mesa @19.0.8_1+osmesa+python27 (active)
  py39-python-lsp-jsonrpc @1.0.0_0 (active)
  py39-python-lsp-server @1.4.1_0 (active)
  python-lsp-server_select @0.1_0 (active)
  python3_select @0.0_2 (active)
  python39 @3.9.13_0+lto+optimizations (active)
  python310 @3.10.5_0+lto+optimizations (active)
  python_select @0.3_9 (active)
  xorg-libxcb @1.15_0+python37 (active)
  xorg-xcb-proto @1.15.2_0+python37 (active)
  youtube-dl @2021.12.17_1+ffmpeg+python310 (active)

comment:3 Changed 2 years ago by danchr (Dan Villiom Podlaski Christiansen)

Summary: py39-pyobjc: import of Foundation or Cocoa will crashpy39-pyobjc: broken on macOS 10.13
Note: See TracTickets for help on using tickets.