Can I call Array.new in Thread block?
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 49
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
This code is not work(segfault).
th = Thread.new do
Array.new
end
a = th.join
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the provided Thread.new and Array.new snippet, then trace the mruby-thread implementation and its interaction with Array.new. Done means the example no longer segfaults and the behavior is covered by a regression test; the issue names no source file or existing test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, ruby
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100