[issue38785] Segmentation fault in asyncio

2019-11-13 Thread miss-islington
miss-islington added the comment: New changeset 694c03fabb5cf3df0102cc317670a10fc39c6786 by Miss Islington (bot) in branch '3.8': bpo-38785: Prevent asyncio from crashing (GH-17144) https://github.com/python/cpython/commit/694c03fabb5cf3df0102cc317670a10fc39c6786 -- __

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread miss-islington
miss-islington added the comment: New changeset 87b4d3994e4f81d6e39a5e86c1b7040df065ea37 by Miss Islington (bot) in branch '3.7': bpo-38785: Prevent asyncio from crashing (GH-17144) https://github.com/python/cpython/commit/87b4d3994e4f81d6e39a5e86c1b7040df065ea37 -- __

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +16657 pull_request: https://github.com/python/cpython/pull/17148 ___ Python tracker ___ __

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread miss-islington
miss-islington added the comment: New changeset dad6be5ffe48beb74fad78cf758b886afddc7aed by Miss Islington (bot) (Andrew Svetlov) in branch 'master': bpo-38785: Prevent asyncio from crashing (GH-17144) https://github.com/python/cpython/commit/dad6be5ffe48beb74fad78cf758b886afddc7aed --

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +16656 pull_request: https://github.com/python/cpython/pull/17147 ___ Python tracker ___ __

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +16654 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17144 ___ Python tracker ___ _

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Looks like get_future_loop() function misses ENSURE_FUTURE_ALIVE macro call. -- ___ Python tracker ___ __

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread STINNER Victor
STINNER Victor added the comment: The crash occurs in _asyncio_Future_get_loop(): (gdb) frame #0 0x7fffea2fe689 in _Py_INCREF (op=0x0) at ./Include/object.h:459 459 op->ob_refcnt++; (gdb) up #1 0x7fffea301b14 in _asyncio_Future_get_loop_impl (self=0x7fffea2615f0) at /hom

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks for the report! I would say that deriving from the future class without calling super().__init__() is an error. After fixing this the snippet raises expected "RuntimeError: yield was used instead of yield from in task" error. -- _

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread Alex
Alex added the comment: Get seg fault on running script in attachment: root@fake:/opt/securisync/be# python3.7 scratch_15.py In tratata before In tratata2 before Segmentation fault -- ___ Python tracker ___

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread Alex
New submission from Alex : Get Segmentation fault on run script in attachment. -- components: asyncio files: scratch_15.py messages: 356523 nosy: akayunov, asvetlov, yselivanov priority: normal severity: normal status: open title: Segmentation fault in asyncio type: crash versions: Pyth