From: samuel@... Date: 2020-12-22T04:11:26+00:00 Subject: [ruby-core:101622] [Ruby master Bug#17408] Fiber.backtrace returns [] when unavailable, unlike Thread Issue #17408 has been updated by ioquatix (Samuel Williams). > should be nil when the fiber is dead. ---------------------------------------- Bug #17408: Fiber.backtrace returns [] when unavailable, unlike Thread https://bugs.ruby-lang.org/issues/17408#change-89411 * Author: zverok (Victor Shepelev) * Status: Closed * Priority: Normal * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- ```ruby t = Thread.new{} p t.backtrace # => nil f = Fiber.new{} p f.backtrace # => [] ``` It seems inconsistent, is this intentional? Ping @ioquatix -- https://bugs.ruby-lang.org/ Unsubscribe: