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

assertion failed: prev.ref_count() >= 1 #6422

Closed
lifeRobot opened this issue Mar 22, 2024 · 5 comments
Closed

assertion failed: prev.ref_count() >= 1 #6422

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

Comments

@lifeRobot
Copy link

Version
tokio 1.36.0

Platform
Windows 11

Description
error msg:
d29d166e93046a23131b3dadc6bd0e5

I don't know which part of the code is problematic, but my program is experiencing panic!
this issue like #6402

Is it also because tokio::select! was used in the loop

@lifeRobot lifeRobot added A-tokio Area: The main tokio crate C-bug Category: This is a bug. labels Mar 22, 2024
@Darksonn Darksonn added the M-runtime Module: tokio/runtime label Mar 22, 2024
@Darksonn
Copy link
Contributor

That assertion isn't supposed to fail. Can you share some code that triggers it?

@jcsp
Copy link

jcsp commented Mar 22, 2024

We have a similar issue, haven't narrowed it down to a reproducer yet, but our service is open source & I've added links to the call site into our tracking ticket here: neondatabase/neon#7162 . I don't know that it's all that instructive, but we hadn't seen this exception before adding that particular piece of code.

@Noah-Kennedy
Copy link
Contributor

@jcsp @lifeRobot what rust versions were you on when you saw this?

@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

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

4 participants