Skip to content

v1.6.4 (regression) not currently running on the Tokio runtime. crash #881

Closed

Description

@sync

When using the latest async std version:
async-std = { version = "1.6.4", features = ["attributes", "tokio02"] } and tokio02

I get an error message deep down saying not currently running on the Tokio runtime.

I rely on the tokio02 feature so I can keep using https://crates.io/crates/cloud-pubsub that has a dependency on the Tokio runtime.

If I use 1.6.3 instead, I don't get the error
async-std = { version = "=1.6.3", features = ["attributes", "tokio02"] }

I looked at the latest release note and I see nothing related to a potential tokio02 change that might explain why I now get this crash.

I'll attach a sentry crash report and happy to provide further details if necessary

Activity

  1. sync commented on Sep 22, 2020

    @sync
    Author

    Here is the symbolicated crash report from sentry:

    3ddcff0bcff64b8f8769056c7fa684e2-symbolicated.crash.zip

  2. changed the title [-]v1.6.4 `not currently running on the Tokio runtime.`[/-] [+]v1.6.4 `not currently running on the Tokio runtime.` crash[/+] on Sep 22, 2020
  3. changed the title [-]v1.6.4 `not currently running on the Tokio runtime.` crash[/-] [+]v1.6.4 (regression) `not currently running on the Tokio runtime.` crash[/+] on Sep 22, 2020
  4. Keruspe commented on Sep 22, 2020

    @Keruspe
    Member

    I'm working on fixing this

  5. added a commit that references this issue on Sep 22, 2020
    b101008
  6. Keruspe commented on Sep 22, 2020

    @Keruspe
    Member

    From my testing, works fine both from within local and global tasks now

  7. added a commit that references this issue on Sep 22, 2020
    3e94498
  8. Keruspe commented on Sep 22, 2020

    @Keruspe
    Member

    @sync while waiting for a release, if you declare a dependency on async-global-executor 1.2.1 with tokio02 feature enabled (as it's disabled by default), async-std should work properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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