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

Bot crash after repeated deaths #136

Closed
ProfessorQu opened this issue Mar 15, 2024 · 2 comments
Closed

Bot crash after repeated deaths #136

ProfessorQu opened this issue Mar 15, 2024 · 2 comments

Comments

@ProfessorQu
Copy link

Every once in a while when I am bullying my bot by killing it over and over again I get this error:

thread 'tokio-runtime-worker' panicked at C:\Users\user.cargo\git\checkouts\azalea-cdffe42e9d507c39\7fc31f9\azalea-physics\src\collision\world_collisions.rs:18:62:
called Option::unwrap() on a None value
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Encountered a panic in system azalea_physics::travel!
tick_run_schedule_loop error: channel closed
thread 'thread 'tokio-runtime-workertokio-runtime-worker' panicked at ' panicked at C:\Users\user.cargo\git\checkouts\azalea-cdffe42e9d507c39\7fc31f9\azalea-client\src\chat.rsC:\Users\user.cargo\git\checkouts\azalea-cdffe42e9d507c39\7fc31f9\azalea-client\src\chat.rs:thread ':174tokio-runtime-worker174:' panicked at :43C:\Users\user.cargo\git\checkouts\azalea-cdffe42e9d507c39\7fc31f9\azalea-client\src\chat.rs43:
::
called Result::unwrap() on an Err value: SendError { .. }174called Result::unwrap() on an Err value: SendError { .. }
:
43:
called Result::unwrap() on an Err value: SendError { .. }
error: process didn't exit successfully: target\debug\Bot.exe (exit code: 0xc000013a, STATUS_CONTROL_C_EXIT)

It seems to be about this line of code. I only get this sometimes when I kill my bot like 4+ times. It also, as seen in the error, crashes the program stopping the bot from running.

@1zun4
Copy link
Contributor

1zun4 commented May 26, 2024

Similiar to #151 but another point of failure. azalea often makes use of unwrap causing the whole program to panic.

@mat-1
Copy link
Collaborator

mat-1 commented Jul 22, 2024

Was fixed a few months ago with 8808ece

@mat-1 mat-1 closed this as completed Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants