#1101296 pypy3: reproducible crash while compiling pysnmp4

Package:
pypy3
Source:
pypy3
Description:
fast alternative implementation of Python 3.x - PyPy interpreter
Submitter:
Laurent Bonnaud
Date:
2025-03-25 09:36:02 UTC
Severity:
normal
#1101296#5
Date:
2025-03-25 09:27:05 UTC
From:
To:
Dear Maintainer,

here is the problem:

# /usr/bin/pypy3 /usr/bin/pypy3compile -p python3-pysnmp4
RPython traceback:
   File "pypy_interpreter.c", line 59811, in PythonAstCompiler__compile_ast
   File "pypy_interpreter_astcompiler.c", line 1790, in compile_ast
   File "pypy_interpreter_astcompiler.c", line 13477, in PythonCodeGenerator__handle_body
   File "pypy_interpreter_astcompiler.c", line 22949, in PythonCodeGenerator__visit_body
   File "pypy_interpreter_astcompiler_1.c", line 52072, in PythonCodeGenerator_visit_ClassDef
   File "pypy_interpreter_astcompiler_2.c", line 2159, in PythonCodeGenerator_sub_scope
   File "pypy_interpreter_astcompiler_1.c", line 49415, in ClassCodeGenerator__compile
   File "pypy_interpreter_astcompiler.c", line 13477, in PythonCodeGenerator__handle_body
   File "pypy_interpreter_astcompiler.c", line 22949, in PythonCodeGenerator__visit_body
   File "pypy_interpreter_astcompiler_1.c", line 53494, in PythonCodeGenerator_visit_FunctionDef
   File "pypy_interpreter_astcompiler_2.c", line 6280, in _visit_function__FunctionCodeGenerator
   File "pypy_interpreter_astcompiler_2.c", line 2172, in PythonCodeGenerator_sub_scope
   File "pypy_interpreter_astcompiler.c", line 8865, in PythonCodeMaker_assemble
   File "pypy_interpreter_astcompiler.c", line 17135, in PythonCodeMaker__finalize_blocks
   File "pypy_interpreter_astcompiler.c", line 27813, in PythonCodeMaker_optimize_unreachable_code
Fatal RPython error: AssertionError
Aborted                    (core dumped) /usr/bin/pypy3 /usr/bin/pypy3compile -p python3-pysnmp4