Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Assertion failed: Python/qsbr.c in _Py_qsbr_poll #134679

Closed
Labels
testsTests in the Lib/test dirtopic-free-threadingtype-crashA hard crash of the interpreter, possibly with a core dump
@colesbury

Description

@colesbury

Crash report

Seen inhttps://github.com/python/cpython/actions/runs/15239974615/job/42858835898

0:07:45 load avg: 8.75 [57/60/1] test_free_threading worker non-zero exit code (Exit code -6 (SIGABRT)) -- running (2): test_socket (1 min 55 sec), test_threading (37.6 sec)python: Python/qsbr.c:164: _Bool _Py_qsbr_poll(struct _qsbr_thread_state *, uint64_t): Assertion `((_PyThreadStateImpl *)_PyThreadState_GET())->qsbr == qsbr' failed.Fatal Python error: Aborted<Cannot show all threads while the GIL is disabled>Stack (most recent call first):  File "/home/runner/work/cpython/cpython/Lib/test/test_free_threading/test_dict.py", line 185 in writer_func  File "/home/runner/work/cpython/cpython/Lib/threading.py", line 1016 in run  File "/home/runner/work/cpython/cpython/Lib/threading.py", line 1074 in _bootstrap_inner  File "/home/runner/work/cpython/cpython/Lib/threading.py", line 1036 in _bootstrapCurrent thread's C stack trace (most recent call first):python: Python/qsbr.c:164: _Bool _Py_qsbr_poll(struct _qsbr_thread_state *, uint64_t): Assertion `((_PyThreadStateImpl *)_PyThreadState_GET())->qsbr == qsbr' failed.

cpython/Python/qsbr.c

Lines 160 to 164 ina32ea45

bool
_Py_qsbr_poll(struct_qsbr_thread_state*qsbr,uint64_tgoal)
{
assert(_Py_atomic_load_int_relaxed(&_PyThreadState_GET()->state)==_Py_THREAD_ATTACHED);
assert(((_PyThreadStateImpl*)_PyThreadState_GET())->qsbr==qsbr);

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtopic-free-threadingtype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp