Opened 6 months ago

Last modified 6 months ago

#69966 assigned defect

python312 causes processor and memory errors

Reported by: workflowsguy Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: python312

Description (last modified by ryandesign (Ryan Carsten Schmidt))

After switching from python311 (3.11.9) to python312 (3.12.3), I encounter the following issues:


1) a script that used to work under 3.11 now fails with [1] 54210 illegal hardware instruction after it is called from the command line

2) another script initially worked under 3.12. After I refactored the code, it now fails with [1] 58163 segmentation fault


The port originally was installed with sudo port install python312

After encountering the above errors, I reinstalled it using sudo port install python312 +universal, but the errors remain


Machine information:
macOS 10.13.6
Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz

Change History (3)

comment:1 Changed 6 months ago by workflowsguy

Description: modified (diff)

comment:2 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to jmroot
Status: newassigned

Please attach any python312-related crash logs from ~/Library/Logs/DiagnosticReports.

Reinstalling with the universal variant would be of no use to you unless you wanted to use the 32-bit version of python.

comment:3 Changed 6 months ago by workflowsguy

Further investigation points to the issue not being related to python312 itself, but rather two python packages (rapidfuzz and PyMuPDF) that where installed at the same time and that seem to be the real causers. I am in contact with the developers of both packages and try to help them figure out what is going on here. I will report back here as soon as I have more information...

Note: See TracTickets for help on using tickets.