Issue #13859 has been reported by alexgenco (Alex Genco).

----------------------------------------
Bug #13859: Segfault running `Fiber#inspect` on trunk
https://bugs.ruby-lang.org/issues/13859

* Author: alexgenco (Alex Genco)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.0dev (2017-09-01 trunk 59716) [x86_64-darwin15]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I started encountering segfaults on ruby-head in the test suite for neovim-ruby a couple weeks ago (e.g. https://travis-ci.org/alexgenco/neovim-ruby/jobs/268931902).

After some digging, it looks like the segfaults are being caused by `Fiber#inspect`. Here's a minimal reproduction:

`ruby -r fiber -e "Fiber.current.inspect"`

I did a git bisect and it seems to be related to this commit: https://github.com/ruby/ruby/commit/43384ae9788be243746849ee54d9f5c8f7e0412b

Segfault output is attached. Please let me know if you need more information. Thanks!

---Files--------------------------------
bug_report.txt (4.27 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>