PistonDevelopers / PistonDevelopers/piston

Piston does not work on MacOS

Open
#1,407 0 comments 0 reactions 0 assignees View on GitHub

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.