Project

General

Profile

Bug #13150

TestMarshal failures on FreeBSD with gcc7 because of GC

Added by naruse (Yui NARUSE) over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:79224]

Description

  1) Failure:
TestMarshal#test_context_switch [/home/naruse/ruby/test/ruby/test_marshal.rb:368]:
[StopIteration] exception expected, not.
Class: <RuntimeError>
Message: <"Marshal.dump reentered at marshal_dump">
---Backtrace---
/home/naruse/ruby/test/ruby/test_marshal.rb:345:in `dump'
/home/naruse/ruby/test/ruby/test_marshal.rb:345:in `dump_each'
../../ruby/test/runner.rb: TestMarshal#test_context_switch:1:in `each'
---------------

  2) Failure:
TestMarshal#test_gc [/home/naruse/ruby/test/ruby/test_marshal.rb:187]:
Exception raised:
<#<RuntimeError: Marshal.dump reentered at _dump>>.

Finished tests in 0.153251s, 698.2016 tests/s, 6238.1380 assertions/s.
107 tests, 956 assertions, 2 failures, 0 errors, 0 skips

ruby -v: ruby 2.5.0dev (2017-01-23 trunk 57407) [x86_64-freebsd10.3]

Files

ruby_2_3_gcc7.patch (3.1 KB) ruby_2_3_gcc7.patch hsbt (Hiroshi SHIBATA), 07/19/2017 03:02 AM

Related issues

Has duplicate Ruby master - Bug #13168: Marshaling broken with GCC 7.xClosedActions
Has duplicate Ruby master - Bug #13319: GC issues seen with GCC7ClosedActions

Also available in: Atom PDF