The following input demonstrates a crash:
f = Fiber.new do
m = Fiber.current
Fiber.yield Proc.new {}
end
f = f.resume
GC.start
Result:
Assertion failed: ((obj)->tt != MRB_TT_FREE), function mrb_gc_mark, file /Users/clayton/git/mruby/src/gc.c, line 698.
Abort trap: 6
This issue was reported by Dinko Galetic and Denis Kasak (https://hackerone.com/dgaletic). They believe the issue was introduced by ecee8c5.