[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: I fixed all issues which prevented to fix bpo-26789, I close thie issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset b62bdf71ea0cd52041d49691d8ae3dc645bd48e1 by Victor Stinner in branch 'master': bpo-42208: Add _locale._get_locale_encoding() (GH-23052) https://github.com/python/cpython/commit/b62bdf71ea0cd52041d49691d8ae3dc645bd48e1 -- _

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21971 pull_request: https://github.com/python/cpython/pull/23052 ___ Python tracker ___ __

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 710e82630775774dceba5e8f24b1b10e6dfaf9b7 by Victor Stinner in branch 'master': bpo-42208: Add _Py_GetLocaleEncoding() (GH-23050) https://github.com/python/cpython/commit/710e82630775774dceba5e8f24b1b10e6dfaf9b7 --

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: > This change renames collect() to gc_collect_main(). It broke test_gdb on > buildbots, whereas test_gdb passed on Travis CI on my PR 23038. Also, > test_gdb is skipped on the Ubuntu job of GitHub Action since gdb is not > installed. I created https://github

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21969 pull_request: https://github.com/python/cpython/pull/23050 ___ Python tracker ___ __

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 09c6120be8c70366495b027ae3daa213609de3ed by Miss Skeleton (bot) in branch '3.9': bpo-42208: GitHub Action: Add gdb to posix dependencies (GH-23043) (GH-23047) https://github.com/python/cpython/commit/09c6120be8c70366495b027ae3daa213609de3ed -

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +21967 pull_request: https://github.com/python/cpython/pull/23047 ___ Python tracker _

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +21968 pull_request: https://github.com/python/cpython/pull/23049 ___ Python tracker ___ __

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset eba5bf2f5672bf4861c626937597b85ac0c242b9 by Victor Stinner in branch 'master': bpo-42208: Call GC collect earlier in PyInterpreterState_Clear() (GH-23044) https://github.com/python/cpython/commit/eba5bf2f5672bf4861c626937597b85ac0c242b9 --

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21963 pull_request: https://github.com/python/cpython/pull/23044 ___ Python tracker ___ __

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21962 pull_request: https://github.com/python/cpython/pull/23043 ___ Python tracker ___ __

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: > bpo-42208: Pass tstate to _PyGC_CollectNoFail() (GH-23038) > https://github.com/python/cpython/commit/8b3414818f5289eac530bf38bcfbd7b2b851805c This change renames collect() to gc_collect_main(). It broke test_gdb on buildbots, whereas test_gdb passed on Tra

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset b9ee4af4c643a323779fd7076e80b29d611f2709 by Victor Stinner in branch 'master': bpo-42208: Fix test_gdb for gc_collect_main() name (GH-23041) https://github.com/python/cpython/commit/b9ee4af4c643a323779fd7076e80b29d611f2709 --

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset dff1ad509051f7e07e77d1e3ec83314d53fb1118 by Victor Stinner in branch 'master': bpo-42208: Move _PyImport_Cleanup() to pylifecycle.c (GH-23040) https://github.com/python/cpython/commit/dff1ad509051f7e07e77d1e3ec83314d53fb1118 -- __

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21960 pull_request: https://github.com/python/cpython/pull/23041 ___ Python tracker ___ __

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21959 pull_request: https://github.com/python/cpython/pull/23040 ___ Python tracker ___ __

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8b3414818f5289eac530bf38bcfbd7b2b851805c by Victor Stinner in branch 'master': bpo-42208: Pass tstate to _PyGC_CollectNoFail() (GH-23038) https://github.com/python/cpython/commit/8b3414818f5289eac530bf38bcfbd7b2b851805c -- ___

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21957 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23038 ___ Python tracker ___ __

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
New submission from STINNER Victor : If you apply attached logging.patch, Python crash using attached crash.py: $ echo|./python -i crash.py >>> >>> python: Python/_warnings.c:872: setup_context: Assertion `globals != NULL' failed. Abandon (core dumped) Attached logging.patch is a fix for bp

[issue42208] Using logging or warnings during Python finalization does crash Python

2020-10-30 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file49554/crash.py ___ Python tracker ___ ___ Python-bugs-list mailing list U