Skip to content

Idle tasks disappearing after restart #362

Open
@cameronelliott

Description

@cameronelliott

What crate(s) in this repo are involved in the problem?

tokio-console

What is the issue?

When stopping, and then re-starting tokio-console, a number of idle tasks are dropped from the task list, in situations where the task list is in a steady-state, and not changing.

I made a video to show what is happening, it seems like it might be a bug or something, I am not sure.

view online (low fidelity):
https://www.dropbox.com/s/glmi76mnqux5zv2/console%20q%202.mp4?dl=0

download for viewing (high fidelity, but 93MB)
https://www.dropbox.com/s/glmi76mnqux5zv2/console%20q%202.mp4?dl=1

How can the bug be reproduced?

This repo creates two WebRTC engines:
https://github.com/cameronelliott/webrtc-futures-leak

It has three stdin new-line prompts to allow entering the three states of the program:

press enter once - start webrtc stuff
press enter again - close both webrtc engines
press enter again - webrtc engines go out of scope

Logs, error output, etc

No response

Versions

├── console-subscriber v0.1.6
│ ├── console-api v0.3.0

Possible solution

Don't know

Additional context

Possibly lack of understanding of how console works on my part.

Would you like to work on fixing this bug?

maybe

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-bugSeverity: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions