Skip to content

Seg Fault on MacOs #6576

@roboteng

Description

@roboteng

Bevy version

0.9.0

[Optional] Relevant system information

MacOS version: 13.0.1 (22A400)
Intel i7 (not M1/M2)

Rust version:
rustc 1.65.0 (897e37553 2022-11-02)

What you did

I found this on a more complicated program, but I found the same seg fault on this:

use bevy::prelude::*;

fn main() {
    App::new().add_plugins(DefaultPlugins).run();
}

What went wrong

It runs, but crashes in runtime, and gives this error:

Finished dev [optimized + debuginfo] target(s) in 1.70s
     Running `target/debug/bevy_test`
[1]    45941 segmentation fault  cargo run
  • what were you expecting?

To show the basic window

  • what actually happened?

A segfault

Additional information

if MinimalPlugins is used instead, then everything works as expected. It's obviously something that is specific to DefaultPlugins

Additionally, I was able to run bevy 0.8.1 fine, but I ran into this issue when switching to 0.9.0

I did some quick searches in winit's and wgpu's repos, and didn't see anything related to seg faults

I'm not 100% sure what commands I can run to get more information, but I'll try what people suggest

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorO-MacOSSpecific to the MacOS (Apple) desktop operating systemP-CrashA sudden unexpected crashS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions