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

Invoking vibe.d from a normal fiber causes an assertion failure #1742

Closed
s-ludwig opened this Issue Apr 14, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@s-ludwig
Member

s-ludwig commented Apr 14, 2017

From https://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/42184/:

    auto g = new Generator!int({
        auto t = runTask({});
        t.join();

        yield(0);
    });

This fails at runtime with:

core.exception.AssertError@../../.dub/packages/vibe-d-0.7.30/vibe-d/source/vibe/core/task.d(49): Invalid or null fiber used to construct Task handle.

Tested with 0.7.30 and 0.8.0-beta.5 and both dmd and ldc (...)

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