It crashes by Fiber. #1434

Closed
click3 opened this Issue Aug 4, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@click3

click3 commented Aug 4, 2013

When the following codes are executed by mruby, crash occurs.

In my environment, it is the probability of 100%.

When something is deleted more, it stops occurring, although the code which looks meaningless exists.

A reason is unknown.

t = Fiber.new do
  while true do
    1.times do
      Fiber.yield
    end
  end
end
while true do
  [t].each do |t|
    t.resume
  end
end

@matz matz closed this in 6dc8c29 Aug 4, 2013

@click3

This comment has been minimized.

Show comment
Hide comment
@click3

click3 Aug 4, 2013

It operated correctly.
Thank you.

click3 commented Aug 4, 2013

It operated correctly.
Thank you.

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