MagicStack / MagicStack/uvloop

[bug report]uv__finish_close: Assertion `!(handle->flags & UV_HANDLE_CLOSED)` failed.

Open
#649 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Cython
Stars
11.9k
Forks
616
PR merge metrics
No merged PRs in 30d

Description

  • uvloop version:0.24
  • Python version:3.13.0
  • Platform:debian 12
  • Can you reproduce the bug with PYTHONASYNCIODEBUG in env?:
  • Does uvloop behave differently from vanilla asyncio? How?:

suddently only 1 line log below,and python whole process crashed.

python: src/unix/core.c:303 :uv__finish_close: Assertion `!(handle->flags & UV_HANDLE_CLOSED)` failed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the assertion at src/unix/core.c:303 and try to reproduce the crash on Debian 12 with uvloop 0.24 and Python 3.13.0. The report does not provide a reproducer, debug-mode result, or comparison with vanilla asyncio, so the failure conditions and a verifiable fix remain to be established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, networking
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.