[issue28471] Python 3.6b2 crashes with "Python memory allocator called without holding the GIL"

Yury Selivanov report at bugs.python.org
Tue Oct 18 15:18:37 EDT 2016


New submission from Yury Selivanov:

The following Python program causes a segfault in Python 3.6b2:

    import socket
    import asyncio

    loop = asyncio.get_event_loop()


    sock = socket.socket()
    sock.close()

    async def client():
        reader, writer = await asyncio.open_connection(
            sock=sock,
            loop=loop)

    async def runner():
        await client()

    loop.run_until_complete(runner())

----------
components: Interpreter Core
messages: 278921
nosy: haypo, inada.naoki, ned.deily, serhiy.storchaka, yselivanov
priority: release blocker
severity: normal
status: open
title: Python 3.6b2 crashes with "Python memory allocator called without holding the GIL"
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28471>
_______________________________________


More information about the Python-bugs-list mailing list