[Bug 255445] lang/python 3.8/3.9 SIGSEV core dumps in libthr TrueNAS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 29 16:18:12 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255445

Kai Knoblich <kai at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kai at FreeBSD.org

--- Comment #12 from Kai Knoblich <kai at FreeBSD.org> ---
Created attachment 224534
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224534&action=edit
python38-fix-threading-v1.patch

At the outset: Thanks for the report and the detailed descriptions.

The threading issue with Python 3.8 (tested with 3.8.9 from the Ports tree) can
be reproduced via the script from comment #2.  Following vanilla releases of
FreeBSD were tested:

- 11.4-RELEASE-p9 [amd64/i386]
- 12.2-RELEASE-p6 [amd64/i386]
- 13.0-RELEASE-p0 [amd64]
- 14.0-CURRENT main-n246037-ca6e1fa3ce8 [amd64]

If the attached patch is used, which contains the two backported commits, as
noted in comment #0 (BPO-19466 + BPO39511), the regression doesn't occur on any
platform listed above.

A side note: If a VM has only one vCPU, the threading issue doesn't seem to be
reproducible with an unpatched version of Python 3.8.9.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list