
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2017-06-29 17:40 bywg, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 2490 | closed | wg,2017-06-29 17:40 | |
| PR 7545 | merged | yselivanov,2018-06-08 21:35 | |
| PR 7547 | merged | miss-islington,2018-06-08 22:25 | |
| PR 7548 | merged | miss-islington,2018-06-08 22:26 | |
| Messages (5) | |||
|---|---|---|---|
| msg297289 -(view) | Author: William Grzybowski (wg)* | Date: 2017-06-29 17:40 | |
If a process is schedule to run in the event loop with debug disabledand debug is then enabled before the process finishes it will result ina traceback: debug_log undefined.[2017/06/29 14:39:13] (ERROR) asyncio.default_exception_handler():1261 - Task exception was never retrievedfuture: <Task finished coro=<kmod_load() done, defined at /usr/local/lib/python3.6/site-packages/middlewared/plugins/vm.py:502> exception=UnboundLocalError("local variable 'debug_log' referenced before assignment",)>Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/vm.py",line 503, in kmod_load kldstat = (await (await Popen(['/sbin/kldstat'], stdout=subprocess.PIPE)).communicate())[0].decode() File "/usr/local/lib/python3.6/asyncio/subprocess.py", line 225, in create_subprocess_exec stderr=stderr, **kwds) File "/usr/local/lib/python3.6/asyncio/base_events.py", line 1194, in subprocess_exec logger.info('%s: %r', debug_log, transport) | |||
| msg319105 -(view) | Author: Ned Deily (ned.deily)*![]() | Date: 2018-06-08 20:32 | |
@yselivanov, @asvetlov: ping on the languishing PR | |||
| msg319113 -(view) | Author: Yury Selivanov (yselivanov)*![]() | Date: 2018-06-08 22:24 | |
New changeset12f482e0ae33021c04264294f33fa6baa9617cec by Yury Selivanov in branch 'master':bpo-30805: Avoid race condition with debug logging (GH-7545)https://github.com/python/cpython/commit/12f482e0ae33021c04264294f33fa6baa9617cec | |||
| msg319114 -(view) | Author: miss-islington (miss-islington) | Date: 2018-06-08 22:42 | |
New changeset21f4c780a1de99bdb37abf57445f0c942449b45b by Miss Islington (bot) in branch '3.7':bpo-30805: Avoid race condition with debug logging (GH-7545)https://github.com/python/cpython/commit/21f4c780a1de99bdb37abf57445f0c942449b45b | |||
| msg319115 -(view) | Author: miss-islington (miss-islington) | Date: 2018-06-08 22:47 | |
New changeset234b53f8b5d0615051025be26cf8adecbc346c57 by Miss Islington (bot) in branch '3.6':bpo-30805: Avoid race condition with debug logging (GH-7545)https://github.com/python/cpython/commit/234b53f8b5d0615051025be26cf8adecbc346c57 | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:48 | admin | set | github: 74988 |
| 2018-06-08 22:53:34 | yselivanov | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2018-06-08 22:47:47 | miss-islington | set | messages: +msg319115 |
| 2018-06-08 22:42:09 | miss-islington | set | nosy: +miss-islington messages: +msg319114 |
| 2018-06-08 22:26:48 | miss-islington | set | pull_requests: +pull_request7181 |
| 2018-06-08 22:25:56 | miss-islington | set | pull_requests: +pull_request7180 |
| 2018-06-08 22:24:40 | yselivanov | set | messages: +msg319113 |
| 2018-06-08 21:35:58 | yselivanov | set | keywords: +patch stage: patch review pull_requests: +pull_request7178 |
| 2018-06-08 20:32:14 | ned.deily | set | nosy: +asvetlov,ned.deily messages: +msg319105 |
| 2017-06-29 17:40:25 | wg | create | |