PistonDevelopers / PistonDevelopers/piston
Piston does not work on MacOS
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.7k
- Forks
- 235
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
[package]
name = "memory"
version = "0.1.0"
edition = "2024"
[dependencies]
piston_window = "0.132.0"
piston2d-graphics = "0.44.0"
rand = "0.8"
use piston_window::*;
...
let (width, height) = (1280.0, 960.0);
let mut window: PistonWindow = WindowSettings::new(
"particles", [width, height]
)
.exit_on_esc(true)
.build()
.expect("Could not create a window.");
thread 'main' has overflowed its stack
fatal runtime error: stack overflow, aborting
Abort trap: 6
MacOS 14.4.1
M1
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 provided piston_window example with the listed Cargo dependencies on macOS 14.4.1 with an M1, focusing on the WindowSettings build that triggers the stack overflow. Done means identifying the cause and making the example create a window without the reported abort.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100