IronLanguages / IronLanguages/ironpython3
segmentation fault on function call on .NET 6 macOS arm64
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.8k
- Forks
- 316
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 1
Description
Function calls with 16, 24, 32, 48, 64, 128, 256, 512, 1024, 2048 arguments (not necessarily an exhaustive list) are causing a segmentation fault on .NET 6 macOS arm64. This is causing failures in test_function.test_big_calls and test_generator.test_generator_arg_counts. For example:
def f(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16): pass
f(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
I tried the 16 argument case with .NET 7 and it did not fail so I assume it's a .NET 6 issue and the resolution will be to skip the failing tests...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on .NET 6 macOS arm64 with test_function.test_big_calls and test_generator.test_generator_arg_counts, then compare the same cases on .NET 7. Trace the function-call and generator argument-count paths implicated by those tests. Done means the listed tests no longer segfault, or the supported behavior and required test handling are clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, macos, python
- Domain
- compilers, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100