This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: A possible segfault involving a newly-created coroutine
Type: crash Stage: resolved
Components: asyncio, Interpreter Core Versions: Python 3.8, Python 3.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, asvetlov, miss-islington, njs, yselivanov
Priority: normal Keywords: patch

Created on 2018-11-17 17:15 by ZackerySpytz, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 10585 merged ZackerySpytz, 2018-11-17 17:20
PR 10590 merged miss-islington, 2018-11-18 16:46
Messages (4)
msg330031 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2018-11-17 17:15
If compute_cr_origin() fails in PyCoro_New(), coro->cr_origin won't be initialized. This will cause a crash during the coroutine's deallocation.

I'll create a PR for this issue.
msg330051 - (view) Author: miss-islington (miss-islington) Date: 2018-11-18 16:46
New changeset 062a57bf4b768ef726975bcc1d34398387520147 by Miss Islington (bot) (Zackery Spytz) in branch 'master':
bpo-35269: Fix a possible segfault involving a newly-created coroutine (GH-10585)
msg330052 - (view) Author: miss-islington (miss-islington) Date: 2018-11-18 16:58
New changeset ae02a929ddd748b67b3e6f6c6665267f031142e7 by Miss Islington (bot) in branch '3.7':
bpo-35269: Fix a possible segfault involving a newly-created coroutine (GH-10585)
msg330062 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2018-11-18 21:17
Thanks, Zackery!
Date User Action Args
2022-04-11 14:59:08adminsetgithub: 79450
2018-11-18 21:17:38asvetlovsetmessages: + msg330062
2018-11-18 18:12:29asvetlovsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-11-18 16:58:23miss-islingtonsetmessages: + msg330052
2018-11-18 16:46:12miss-islingtonsetpull_requests: + pull_request9836
2018-11-18 16:46:01miss-islingtonsetnosy: + miss-islington
messages: + msg330051
2018-11-17 17:34:00yselivanovsetnosy: + njs
2018-11-17 17:20:42ZackerySpytzsetkeywords: + patch
stage: patch review
pull_requests: + pull_request9829
2018-11-17 17:15:56ZackerySpytzcreate