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

Panic within multi-threaded scheduler #6416

Closed
hallmaxw opened this issue Mar 19, 2024 · 4 comments
Closed

Panic within multi-threaded scheduler #6416

hallmaxw opened this issue Mar 19, 2024 · 4 comments
Assignees
Labels
A-tokio Area: The main tokio crate C-bug Category: This is a bug. M-runtime Module: tokio/runtime

Comments

@hallmaxw
Copy link

Version
tokio v1.32.1

Platform
5.10.209-198.858.amzn2.x86_64

Description
My application is a web service that spawns thousands of tokio tasks. In prod, we recently saw a panic caused by this line of code within the multi-threaded scheduler https://github.com/tokio-rs/tokio/blob/tokio-1.32.x/tokio/src/runtime/scheduler/multi_thread/park.rs#L144. Unfortunately, I don't have a full backtrace or example code to cause the panic.

@hallmaxw hallmaxw added A-tokio Area: The main tokio crate C-bug Category: This is a bug. labels Mar 19, 2024
@mox692 mox692 added the M-runtime Module: tokio/runtime label Mar 20, 2024
@carllerche carllerche self-assigned this Mar 21, 2024
@hallmaxw
Copy link
Author

Here's the panic message:

inconsistent park state; actual = 0

@Noah-Kennedy
Copy link
Contributor

What rust version was this on?

@Darksonn
Copy link
Contributor

Please move discussion to #6424.

@Darksonn Darksonn closed this as not planned Won't fix, can't repro, duplicate, stale Mar 22, 2024
@Noah-Kennedy
Copy link
Contributor

@hallmaxw please hop over to the new issue if you can, we are looking for more information from folks to try and narrow down what it might be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate C-bug Category: This is a bug. M-runtime Module: tokio/runtime
Projects
None yet
Development

No branches or pull requests

5 participants