Opened 4 years ago

Closed 4 months ago

#65545 closed defect (wontfix)

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) 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by kickingvegas (Charles Choi)

Attachment: python3-crash.log​ added

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

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

comment:2 Changed 4 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 4 years ago by danchr (Dan Villiom Podlaski Christiansen)

Summary: py39-pyobjc: import of Foundation or Cocoa will crash → py39-pyobjc: broken on macOS 10.13

comment:4 Changed 4 months ago by reneeotten (Renee Otten)

Resolution: → wontfix
Status: assigned → closed

Current version of py-pyobjc is 12.1 and the PY39 subport does no longer exist; additionally, import Foundation works on macOS 26.

I am going to close this ticket as "wontfix"; feel free to create a new ticket or reopen this one if the issue still persists in the current version.

Note: See TracTickets for help on using tickets.