8000 hang when fiber join itself · Issue #10196 · tarantool/tarantool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hang when fiber join itself #10196

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

Closed
nshy opened this issue Jul 4, 2024 · 0 comments · Fixed by #10197
Closed

hang when fiber join itself #10196

nshy opened this issue Jul 4, 2024 · 0 comments · Fixed by #10197
Labels
2.11 Target is 2.11 and all newer release/master branches 3.1 Target is 3.1 and all newer release/master branches bug Something isn't working

Comments

@nshy
Copy link
Contributor
nshy commented Jul 4, 2024

The below script never finish.

local fiber = require('fiber')
fiber.self():set_joinable(true)
fiber.self():join()
os.exit()

Situation is similar when fiber join itself using C API.

@nshy nshy added the bug Something isn't working label Jul 4, 2024
nshy added a commit to nshy/tarantool that referenced this issue Jul 4, 2024
In this case join will just hang. Instead let's raise an error in case
of Lua API and panic in case of C API.

Closes tarantool#10196

NO_DOC=minor
nshy added a commit to nshy/tarantool that referenced this issue Jul 8, 2024
In this case join will just hang. Instead let's raise an error in case
of Lua API and panic in case of C API.

Closes tarantool#10196

NO_DOC=minor
@locker locker added 2.11 Target is 2.11 and all newer release/master branches 3.1 Target is 3.1 and all newer release/master branches labels Jul 8, 2024
@locker locker closed this as completed in 1e1bf36 Jul 8, 2024
locker pushed a commit that referenced this issue Jul 8, 2024
In this case join will just hang. Instead let's raise an error in case
of Lua API and panic in case of C API.

Closes #10196

NO_DOC=minor

(cherry picked from commit 1e1bf36)
locker pushed a commit that referenced this issue Jul 8, 2024
In this case join will just hang. Instead let's raise an error in case
of Lua API and panic in case of C API.

Closes #10196

NO_DOC=minor

(cherry picked from commit 1e1bf36)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.11 Target is 2.11 and all newer release/master branches 3.1 Target is 3.1 and all newer release/master branches bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0