Traceback (most recent call first): File "uvloop_test.py", line 13, in __del__ self.loop.create_future() # assertion fails here #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007f2b206c1231 in __GI_abort () at abort.c:79 #2 0x00007f2b206b89da in __assert_fail_base (fmt=0x7f2b2080bd48 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x637094 "func != NULL", file=file@entry=0x636fc6 "../Objects/abstract.c", line=line@entry=2300, function=function@entry=0x6372d0 <__PRETTY_FUNCTION__.14709> "_PyObject_FastCallDict") at assert.c:92 #3 0x00007f2b206b8a52 in __GI___assert_fail (assertion=assertion@entry=0x637094 "func != NULL", file=file@entry=0x636fc6 "../Objects/abstract.c", line=line@entry=2300, function=function@entry=0x6372d0 <__PRETTY_FUNCTION__.14709> "_PyObject_FastCallDict") at assert.c:101 #4 0x000000000044b55a in _PyObject_FastCallDict (func=0x0, args=args@entry=0x0, nargs=nargs@entry=0, kwargs=kwargs@entry=0x0) at ../Objects/abstract.c:2300 #5 0x00007f2b1e6dcf47 in future_init (fut=fut@entry=0x7f2b1e6697d8, loop=) at ./Modules/_asynciomodule.c:175 #6 0x00007f2b1e6dd0ac in _asyncio_Future___init___impl (self=self@entry=0x7f2b1e6697d8, loop=) at ./Modules/_asynciomodule.c:350 #7 0x00007f2b1e6dd0f2 in _asyncio_Future___init__ (self=<_asyncio.Future at remote 0x7f2b1e6697d8>, args=, kwargs=) at ./Modules/clinic/_asynciomodule.c.h:37 #8 0x00000000004b805b in type_call (type=0x7f2b1e8e5a40 , args=(), kwds={'loop': }) at ../Objects/typeobject.c:915 #9 0x00007f2b1dfa2953 in ?? () from /usr/lib/python3/dist-packages/uvloop/loop.cpython-36dm-x86_64-linux-gnu.so #10 0x000000000049e10c in _PyCFunction_FastCallDict (func_obj=func_obj@entry=, args=args@entry=0x7f2b200ecf48, nargs=nargs@entry=0, kwargs=kwargs@entry=0x0) at ../Objects/methodobject.c:192 #11 0x000000000049e4f8 in _PyCFunction_FastCallKeywords (func=func@entry=, stack=stack@entry=0x7f2b200ecf48, nargs=nargs@entry=0, kwnames=kwnames@entry=0x0) at ../Objects/methodobject.c:294 #12 0x0000000000531d3f in call_function (pp_stack=pp_stack@entry=0x7ffe249a4698, oparg=oparg@entry=0, kwnames=kwnames@entry=0x0) at ../Python/ceval.c:4824 #13 0x000000000053c39e in _PyEval_EvalFrameDefault (f=, throwflag=) at ../Python/ceval.c:3322 #14 0x0000000000530d8d in PyEval_EvalFrameEx ( f=f@entry=Frame 0x7f2b200ecdb0, for file uvloop_test.py, line 13, in __del__ (self=) at remote 0x7f2b1e6cb878>), throwflag=throwflag@entry=0) at ../Python/ceval.c:753 #15 0x0000000000530e5d in _PyFunction_FastCall (co=co@entry=0x7f2b20349b80, args=0x7ffe249a4818, args@entry=0x7ffe249a4810, nargs=nargs@entry=1, globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': , '__spec__': None, '__annotations__': {}, '__builtins__': , '__cached__': None, 'asyncio': , 'sys': , 'uvloop': , 'LoopWrapper': , 'store_event_loop': , 'event_loop': }) at ../Python/ceval.c:4906 #16 0x000000000053e14e in _PyFunction_FastCallDict (func=func@entry=, args=args@entry=0x7ffe249a4810, nargs=nargs@entry=1, kwargs=kwargs@entry=0x0) at ../Python/ceval.c:5008 #17 0x000000000044b5cd in _PyObject_FastCallDict (func=func@entry=, args=args@entry=0x7ffe249a4810, nargs=nargs@entry=1, kwargs=kwargs@entry=0x0) at ../Objects/abstract.c:2310 #18 0x000000000044b861 in _PyObject_Call_Prepend (func=, obj=obj@entry=) at remote 0x7f2b1e6cb878>, args=args@entry=(), kwargs=kwargs@entry=0x0) at ../Objects/abstract.c:2373 #19 0x0000000000465855 in method_call (method=method@entry=, args=args@entry=(), kwargs=kwargs@entry=0x0) at ../Objects/classobject.c:317 #20 0x000000000044b4ae in _PyObject_FastCallDict (func=func@entry=, args=args@entry=0x0, nargs=nargs@entry=0, kwargs=kwargs@entry=0x0) at ../Objects/abstract.c:2331 #21 0x0000000000532436 in PyEval_CallObjectWithKeywords (func=func@entry=, args=args@entry=0x0, kwargs=kwargs@entry=0x0) at ../Python/ceval.c:4741 #22 0x00000000004bcb43 in slot_tp_finalize (self=) at ../Objects/typeobject.c:6450 #23 0x00000000004a07f2 in PyObject_CallFinalizer (self=self@entry=) at remote 0x7f2b1e6cb878>) at ../Objects/object.c:297 #24 0x00000000004a141b in PyObject_CallFinalizerFromDealloc (self=self@entry=) at remote 0x7f2b1e6cb878>) at ../Objects/object.c:314 #25 0x00000000004b25d1 in subtype_dealloc (self=self@entry=) at remote 0x7f2b1e6cb878>) at ../Objects/typeobject.c:1151 #26 0x00000000004a14cb in _Py_Dealloc (op=) at remote 0x7f2b1e6cb878>) at ../Objects/object.c:1791 #27 0x0000000000626fef in cell_dealloc (op=op@entry=0x7f2b1e3630b8) at ../Objects/cellobject.c:50 #28 0x00000000004a14cb in _Py_Dealloc (op=) at ../Objects/object.c:1791 #29 0x00000000004af2fd in tupledealloc (op=op@entry=0x7f2b1e6b5c20) at ../Objects/tupleobject.c:243 #30 0x00000000004a14cb in _Py_Dealloc (op=(,)) at ../Objects/object.c:1791 #31 0x000000000047c125 in func_dealloc (op=op@entry=0x7f2b1e36e840) at ../Objects/funcobject.c:535 #32 0x00000000004a14cb in _Py_Dealloc (op=op@entry=) at ../Objects/object.c:1791 #33 0x0000000000491c2f in insertdict (mp=mp@entry=0x7f2b219cdee0, key=key@entry='excepthook', hash=, value=value@entry=None) at ../Objects/dictobject.c:1181 #34 0x000000000049463f in PyDict_SetItem ( op=op@entry={'__name__': None, '__doc__': None, '__package__': None, '__loader__': None, '__spec__': None, 'callstats': None, '_clear_type_cache': None, '_current_frames': None, 'displayhook': None, 'exc_info': None, 'excepthook': None, 'exit': , 'getdefaultencoding': , 'getdlopenflags': , 'getallocatedblocks': , 'getfilesystemencoding': , 'getfilesystemencodeerrors': , 'getobjects': , 'gettotalrefcount': , 'getrefcount': , 'getdefaultencoding': , 'getdlopenflags': , 'getallocatedblocks': , 'getfilesystemencoding': , 'getfilesystemencodeerrors': , 'getobjects': , 'gettotalrefcount': , 'getrefcount':