Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2021 16:18:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 255445] lang/python 3.8/3.9 SIGSEV core dumps in libthr TrueNAS
Message-ID:  <bug-255445-21822-zWLl202uPx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255445-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255445-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255445

Kai Knoblich <kai@FreeBSD.org> changed:

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

--- Comment #12 from Kai Knoblich <kai@FreeBSD.org> ---
Created attachment 224534
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224534&action=
=3Dedit
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255445-21822-zWLl202uPx>