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

remove_unreachable: Assertion `target->b_predecessors == 0 || target == b->b_next' failed #124871

Closed
Assignees
iritkatriel
Labels
3.13bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dump
@15r10nk

Description

@15r10nk

Crash report

What happened?

The following code causes an assertion in a cpython debug build

name_3=5name_2=2name_1=0whilename_3<=name_2>name_1:try:raiseexcept:passfinally:pass

output (Python 3.13.0a5+):

python3:Python/flowgraph.c:994:remove_unreachable:Assertion `target->b_predecessors==0||target==b->b_next'failed.

The bug is in the current 3.13 branch.
I bisected the problem down to04697bc
@iritkatriel I think this is again one for you.

Little side note. I found this bug after fuzzing for ~3 days. I want to start to test the cpython main branch in the future and I hope to find bugs like this earlier.

CPython versions tested on:

3.13

Operating systems tested on:

No response

Output from running 'python -VV' on the command line:

No response

Linked PRs

Metadata

Metadata

Assignees

Labels

3.13bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-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