oracle / oracle/graalpython

Native subclasses crash with asyncio

Open
#365 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

PyO3
Dominant language
Python
Stars
1.6k
Forks
155
Avg merge
9h 42m
Merged PRs (30d)
36

Description

I am currently disabling a test in PyO3:
https://github.com/PyO3/pyo3/blob/ee0d6edb6d96e88a9e46d29338ae621f7cd911f2/pytests/tests/test_awaitable.py#L9

When running it we crash with a Java stacktrace and an ArrayIndexOutOfBoundsException

Contributor guide

Open the contributing guide

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 by reproducing the failure from PyO3's pytests/tests/test_awaitable.py test referenced in the issue, with the test no longer disabled. Inspect the resulting Java stacktrace and the native-subclass asyncio interaction. Done means the test runs without the ArrayIndexOutOfBoundsException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python, rust
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.