Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent panic in Alien Cake Addict example #1704

Closed
rparrett opened this issue Mar 20, 2021 · 4 comments
Closed

Intermittent panic in Alien Cake Addict example #1704

rparrett opened this issue Mar 20, 2021 · 4 comments
Labels
C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples P-Crash A sudden unexpected crash
Milestone

Comments

@rparrett
Copy link
Contributor

rparrett commented Mar 20, 2021

Bevy version

Found this while testing #1703, but it turned out to maybe be an existing system order ambiguity thing.

dd4a196
7b64840 (#1703)

Operating system & version

macOS

What you did

cargo run --example alien_cake_addict and wait. If cake appears, restart and try again.

What actually happened

thread 'Compute Task Pool (5)' panicked at 'called `Result::unwrap()` on an `Err` value: NoSuchEntity', examples/game/alien_cake_addict.rs:333:61
stack backtrace:
   0: rust_begin_unwind
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:493:5
   1: core::panicking::panic_fmt
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/panicking.rs:92:14
   2: core::option::expect_none_failed
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/option.rs:1268:5
   3: core::result::Result<T,E>::unwrap
             at /Users/robparrett/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:973:23
   4: alien_cake_addict::rotate_bonus
             at ./examples/game/alien_cake_addict.rs:333:34
@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior P-Crash A sudden unexpected crash C-Examples An addition or correction to our examples labels Mar 20, 2021
@rparrett
Copy link
Contributor Author

Oops, that's the same stack trace twice. One moment.

@rparrett
Copy link
Contributor Author

Fix incoming

@rparrett
Copy link
Contributor Author

rparrett commented Mar 20, 2021

There are two separate panics going on here. I'll open another issue for the other one later. (Also a separate third bonus panic from the PBR merge)

rparrett added a commit to rparrett/bevy that referenced this issue Mar 20, 2021
@alice-i-cecile
Copy link
Member

Added to the milestone due to frustrating intermittent crash that seems to be a regression.

@alice-i-cecile alice-i-cecile added this to the Bevy 0.5 milestone Mar 20, 2021
@bors bors bot closed this as completed in 3dc7b68 Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples P-Crash A sudden unexpected crash
Projects
None yet
Development

No branches or pull requests

2 participants