Project

General

Profile

Actions

Bug #17408

closed

Fiber.backtrace returns [] when unavailable, unlike Thread

Added by zverok (Victor Shepelev) over 3 years ago. Updated over 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:101530]

Description

t = Thread.new{}
p t.backtrace
# => nil

f = Fiber.new{}
p f.backtrace
# => []

It seems inconsistent, is this intentional?

Ping @ioquatix (Samuel Williams)

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0