Skip to content

Broker.start() and LinkRx.recv() never yield? #973

@thomas725

Description

@thomas725

I'm currently trying to debug hangups in my project and what both gdb stacktraces and tokio_console show me - there's something strange going on between tokio & my usage of rumqtt.

The tokio_console give's a clear WARNING: Both my tokio tasks running Broker.start() and LinkRx.recv() never yield back control.
I'm using rumqtt 0.19.0 and tokio 1.45.1.

Can you help me debug this issue? Should I do something different? My mqtt code is fairly simple and has 90 lines:
https://gitlab.com/thomas351/rust-influxdb-udp-logger/blob/a7f8fa4f7d495da48079a72d8584905b8b2be782/src/mqtt_relay.rs

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions