Ruby Issue Tracking System: Issues
https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2024-01-02T10:39:09Z
Ruby Issue Tracking System
Redmine
Ruby master - Bug #20106 (Closed): Backport d3933fc753187a055a4904af82f5f3794c88c416 to fix net-h...
https://bugs.ruby-lang.org/issues/20106
2024-01-02T10:39:09Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing with Ruby 3.3, I observe test errors such as:</p>
<pre><code>108) Failure:
TestNetHTTPS#test_skip_hostname_verification [/builddir/build/BUILD/ruby-3.3.0/test/net/http/test_https.rb:217]:
Exception raised:
<#<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 peeraddr=[::1]:45081 state=error: certificate verify failed (certificate has expired)>>
Backtrace:
/builddir/build/BUILD/ruby-3.3.0/lib/net/protocol.rb:46:in `connect_nonblock'
/builddir/build/BUILD/ruby-3.3.0/lib/net/protocol.rb:46:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-3.3.0/lib/net/http.rb:1674:in `connect'
/builddir/build/BUILD/ruby-3.3.0/lib/net/http.rb:1580:in `do_start'
/builddir/build/BUILD/ruby-3.3.0/lib/net/http.rb:1575:in `start'
/builddir/build/BUILD/ruby-3.3.0/test/net/http/test_https.rb:217:in `block (2 levels) in test_skip_hostname_verification'.
</code></pre>
<p>This is likely fixed by <a class="changeset" title="[ruby/net-http] Renew test certificates The private key is replaced with a public known test key..." href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/d3933fc753187a055a4904af82f5f3794c88c416">git|d3933fc753187a055a4904af82f5f3794c88c416</a></p>
Ruby master - Bug #20048 (Closed): UDPSocket#remote_address spec errors
https://bugs.ruby-lang.org/issues/20048
2023-12-07T15:48:14Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing of Fedora Rawhide, we have recently started to observe following errors:</p>
<pre><code>$ make -C redhat-linux-build test-spec MSPECOPT="-fs ../spec/ruby/library/socket/udpsocket"
... snip ...
1)
An exception occurred during: before :each
UDPSocket#local_address using IPv4 using an implicit hostname the returned Addrinfo uses the correct IP address ERROR
Socket::ResolutionError: getaddrinfo: Name or service not known
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/local_address_spec.rb:66:in `connect'
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/local_address_spec.rb:66:in `block (4 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/local_address_spec.rb:4:in `<top (required)>'
2)
An exception occurred during: before :each
UDPSocket#local_address using IPv6 using an implicit hostname the returned Addrinfo uses the correct IP address ERROR
Socket::ResolutionError: getaddrinfo: Name or service not known
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/local_address_spec.rb:66:in `connect'
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/local_address_spec.rb:66:in `block (4 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/local_address_spec.rb:4:in `<top (required)>'
3)
An exception occurred during: before :each
UDPSocket#remote_address using IPv4 using an implicit hostname the returned Addrinfo uses the correct IP address ERROR
Socket::ResolutionError: getaddrinfo: Name or service not known
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/remote_address_spec.rb:65:in `connect'
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/remote_address_spec.rb:65:in `block (4 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/remote_address_spec.rb:4:in `<top (required)>'
4)
An exception occurred during: before :each
UDPSocket#remote_address using IPv6 using an implicit hostname the returned Addrinfo uses the correct IP address ERROR
Socket::ResolutionError: getaddrinfo: Name or service not known
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/remote_address_spec.rb:65:in `connect'
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/remote_address_spec.rb:65:in `block (4 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.3.0-071df40495/spec/ruby/library/socket/udpsocket/remote_address_spec.rb:4:in `<top (required)>'
Finished in 0.020615 seconds
11 files, 95 examples, 123 expectations, 0 failures, 4 errors, 0 tagged
make: *** [uncommon.mk:983: yes-test-spec] Error 1
make: Leaving directory '/builddir/build/BUILD/ruby-3.3.0-071df40495/redhat-linux-build'
</code></pre>
<p>Please note that the build environment does not have network connection enabled by default. As soon as the network connection is available, the test cases pass just fine.</p>
<p>This started to happen between these two commits:</p>
<p><a href="https://github.com/ruby/ruby/compare/c8b60c8ac2c8bbd077150792b5b207e983ab3634...071df40495e31f6d3fd14ae8686b01edf9a689e3" class="external">https://github.com/ruby/ruby/compare/c8b60c8ac2c8bbd077150792b5b207e983ab3634...071df40495e31f6d3fd14ae8686b01edf9a689e3</a></p>
<p>Where the culprit likely is <a class="changeset" title="Set AI_ADDRCONFIG when making getaddrinfo(3) calls for outgoing conns (#7295) When making an out..." href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/d2ba8ea54a4089959afdeecdd963e3c4ff391748">git|d2ba8ea54a4089959afdeecdd963e3c4ff391748</a></p>
<p>Originally reported <a href="https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/LEQADI6FCX74KSWJZKSJRBAJIS7EMUQS/" class="external">here</a></p>
Ruby master - Bug #19985 (Closed): Confusing error message when nonexistent `Pathname` for `require`
https://bugs.ruby-lang.org/issues/19985
2023-11-02T09:30:04Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>It seems that RubyGems / Bundler <code>require</code> method overrides of accept <code>Pathname</code> as and argument</p>
<pre><code>$ ruby -rpathname -e '
pa = Pathname.new("test")
require pa
'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- test (LoadError)
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
from -e:3:in `<main>'
</code></pre>
<p>while plain Ruby require does not:</p>
<pre><code>$ ruby --disable-gems -rpathname -e '
pa = Pathname.new("test")
require pa
'
-e:3:in `require': no implicit conversion of Pathname into String (TypeError)
from -e:3:in `<main>'
</code></pre>
<p>This inconsistency is surprising. It seems that RubyGems / Bundler developers think <a href="https://github.com/rubygems/rubygems/pull/7128" class="external">1</a> that Ruby <code>require</code> should also accept <code>Pathname</code>.</p>
<pre><code>$ ruby -v
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
</code></pre>
Ruby master - Bug #19927 (Closed): TestCoverage#test_coverage_suspendable fails on ppc64le
https://bugs.ruby-lang.org/issues/19927
2023-10-13T15:32:30Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing on Fedora Rawhide, I am facing the following test error on ppc64le:</p>
<pre><code> 94) Failure:
TestCoverage#test_coverage_suspendable [/builddir/build/BUILD/ruby-3.3.0-35edc14ee1/test/coverage/test_coverage.rb:870]:
pid 192974 exit 0.
1. [1/2] Assertion for "stdout"
| <["{:lines=>[0, 0, nil, nil, 0, 1, nil, nil, 0, 0, nil], :branches=>{}, :methods=>{[Object, :baz, 9, 12, 11, 15]=>0, [Object, :bar, 5, 12, 7, 15]=>1, [Object, :foo, 1, 12, 3, 15]=>0}}",
| "{:lines=>[0, 0, nil, nil, 0, 1, nil, nil, 0, 1, nil], :branches=>{}, :methods=>{[Object, :baz, 9, 12, 11, 15]=>1, [Object, :bar, 5, 12, 7, 15]=>1, [Object, :foo, 1, 12, 3, 15]=>0}}"]> expected but was
| <["{:lines=>[0, 0, nil, nil, 0, 1, nil, nil, 0, 0, nil], :branches=>{}, :methods=>{[Object, :foo, 1, 12, 3, 15]=>0, [Object, :baz, 9, 12, 11, 15]=>0, [Object, :bar, 5, 12, 7, 15]=>1}}",
| "{:lines=>[0, 0, nil, nil, 0, 1, nil, nil, 0, 1, nil], :branches=>{}, :methods=>{[Object, :foo, 1, 12, 3, 15]=>0, [Object, :baz, 9, 12, 11, 15]=>1, [Object, :bar, 5, 12, 7, 15]=>1}}"]>.
</code></pre>
<p>Please note that the test passes on other arches just fine</p>
Ruby master - Bug #19923 (Closed): Ractor / YJIT failures on PPC64LE
https://bugs.ruby-lang.org/issues/19923
2023-10-12T15:44:06Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Let me share snippet of the log:</p>
<pre><code>... snip ...
+ DISABLE_TESTS=
+ MSPECOPTS=
+ DISABLE_TESTS=' -n !/TestYJIT#test_bug_19316/'
+ make -C redhat-linux-build check 'TESTS=-v --show-skip -n !/TestYJIT#test_bug_19316/' 'MSPECOPT=-fs '
make: Entering directory '/builddir/build/BUILD/ruby-3.3.0-e029375a7d/redhat-linux-build'
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -m64
XCFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/powerpc64le-linux -I/builddir/build/BUILD/ruby-3.3.0-e029375a7d/include -I/builddir/build/BUILD/ruby-3.3.0-e029375a7d -I/builddir/build/BUILD/ruby-3.3.0-e029375a7d/prism -I/builddir/build/BUILD/ruby-3.3.0-e029375a7d/enc/unicode/15.0.0
CPPFLAGS =
DLDFLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-soname,libruby.so.3.3 -fstack-protector-strong -m64
SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread
LANG = C.UTF-8
LC_ALL =
LC_CTYPE =
MFLAGS =
RUSTC = no
YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/builddir/build/BUILD/ruby-3.3.0-e029375a7d/redhat-linux-build/yjit/target/release/' /builddir/build/BUILD/ruby-3.3.0-e029375a7d/yjit/src/lib.rs
gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3)
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
generating enc.mk
making srcs under enc
make[1]: Entering directory '/builddir/build/BUILD/ruby-3.3.0-e029375a7d/redhat-linux-build'
... snip ...
make[1]: Leaving directory '/builddir/build/BUILD/ruby-3.3.0-e029375a7d/redhat-linux-build'
2023-10-12 15:27:51 +0000
Driver is ruby 3.3.0dev (2023-10-12 master e029375a7d) [powerpc64le-linux]
Target is ruby 3.3.0dev (2023-10-12 master e029375a7d) [powerpc64le-linux]
test_attr.rb ...
test_autoload.rb ........
test_block.rb ....................................................
......
test_class.rb ................................................
test_constant_cache.rb ..........
test_env.rb ..
test_eval.rb ........................................
test_exception.rb ..................................
test_fiber.rb .....
test_finalizer.rb .
test_flip.rb .
test_flow.rb ....................................................
..........
test_fork.rb ....
test_gc.rb ..
test_insns.rb ....................................................
...............................................................................
...............................................................................
...............................................................................
...............................................................................
...................
test_io.rb ..................
test_jump.rb .............................
test_literal.rb ....................................................
...............................................................................
.........................
test_literal_suffix.rb ................................................
test_load.rb ..
test_marshal.rb .
test_massign.rb ..................................
test_method.rb ....................................................
...............................................................................
...............................................................................
.............
test_objectspace.rb ......
test_proc.rb .....................................
test_ractor.rb .Fstderr output is not empty
<internal:ractor>:282:in `new': can't create Thread: Invalid argument (ThreadError)
from bootstraptest.test_ractor.rb_7_1222.rb:2:in `<main>'
.Fstderr output is not empty
<internal:ractor>:282:in `new': can't create Thread: Invalid argument (ThreadError)
from bootstraptest.test_ractor.rb_30_1224.rb:2:in `<main>'
Fstderr output is not empty
<internal:ractor>:282:in `new': can't create Thread: Invalid argument (ThreadError)
from bootstraptest.test_ractor.rb_37_1225.rb:2:in `<main>'
... snip ...
<internal:ractor>:282:in `new': can't create Thread: Invalid argument (ThreadError)
from bootstraptest.test_yjit_rust_port.rb_391_1855.rb:3:in `<main>'
Fstderr output is not empty
<internal:ractor>:282:in `new': can't create Thread: Invalid argument (ThreadError)
from bootstraptest.test_yjit_rust_port.rb_401_1856.rb:2:in `<main>'
.
Finished in 57.56 sec
Fiber count: 10000 (skipping)
#1222 test_ractor.rb:7:
Ractor.new{}.class
#=> "" (expected "Ractor")
#1224 test_ractor.rb:30:
r = Ractor.new name: 'test-name' do
end
r.name
#=> "" (expected "test-name")
... snip ...
#1856 test_yjit_rust_port.rb:401:
r = Ractor.new do
msg = Ractor.receive
end
r.send 'ok'
r.take
#=> "" (expected "ok")
FAIL 95/1857 tests failed
make: Leaving directory '/builddir/build/BUILD/ruby-3.3.0-e029375a7d/redhat-linux-build'
make: *** [uncommon.mk:886: yes-btest-ruby] Error 1
</code></pre>
<p>The full log is in attachment.</p>
Ruby master - Bug #19921 (Closed): TestYJIT#test_bug_19316 test failure
https://bugs.ruby-lang.org/issues/19921
2023-10-12T12:41:23Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing with 52709a4862 on Fedora Rawhide, I observe following failure:</p>
<pre><code> 94) Failure:
TestYJIT#test_bug_19316 [/builddir/build/BUILD/ruby-3.3.0-52709a4862/test/ruby/test_yjit.rb:1126]:
Expected no exits, but got
{:opt_and=>1}
</code></pre>
Ruby master - Bug #19897 (Closed): Please backport fixes from #18914 into Ruby 3.1 / 3.0
https://bugs.ruby-lang.org/issues/19897
2023-09-22T09:29:28Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I cannot modify the backport field anymore, therefore please backport the fixes from <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Segmentation fault during Ruby test suite execution (Closed)" href="https://bugs.ruby-lang.org/issues/18914">#18914</a> to Ruby 3.1 / 3.0. Ruby 3.2 should already contain the fixes.</p>
Ruby master - Bug #19892 (Closed): Build fails when release archive is prepared with `-keep_temp`...
https://bugs.ruby-lang.org/issues/19892
2023-09-19T13:49:05Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I observe following build failure:</p>
<pre><code>$ configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-rubylibprefix=/usr/share/ruby --with-archlibdir=/usr/lib64 --with-rubyarchprefix=/usr/lib64/ruby --with-sitedir=/usr/local/share/ruby/site_ruby --with-sitearchdir=/usr/local/lib64/ruby/site_ruby --with-vendordir=/usr/share/ruby/vendor_ruby --with-vendorarchdir=/usr/lib64/ruby/vendor_ruby --with-rubyhdrdir=/usr/include --with-rubyarchhdrdir=/usr/include '--with-sitearchhdrdir=$(sitehdrdir)/$(arch)' '--with-vendorarchhdrdir=$(vendorhdrdir)/$(arch)' --with-rubygemsdir=/usr/share/rubygems --with-ruby-pc=ruby.pc --with-compress-debug-sections=no --disable-rpath --enable-mkmf-verbose --enable-shared --with-ruby-version= --enable-multiarch --enable-yjit
... snip ...
---
Configuration summary for ruby version 3.3.0
* Installation prefix: /usr
* exec prefix: /usr
* arch: x86_64-linux
* site arch: ${arch}
* RUBY_BASE_NAME: ruby
* enable shared: yes
* ruby lib prefix: ${exec_prefix}/share/ruby
* site libraries path: ${sitearchlibdir}/${RUBY_BASE_NAME}
* vendor path: /usr/share/ruby/vendor_ruby
* target OS: linux
* compiler: gcc
* with thread: pthread
* with coroutine: amd64
* enable shared libs: yes
* dynamic library ext: so
* CFLAGS: ${optflags} ${debugflags} ${warnflags}
* LDFLAGS: -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now \
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld \
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 \
-Wl,--build-id=sha1 -fstack-protector-strong \
-rdynamic -Wl,-export-dynamic -Wl,--no-as-needed
* DLDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now \
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld \
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 \
-Wl,--build-id=sha1
* optflags: -O3 -fno-fast-math
* debugflags: -ggdb3
* warnflags: -Wall -Wextra -Wdeprecated-declarations \
-Wdiv-by-zero -Wduplicated-cond \
-Wimplicit-function-declaration -Wimplicit-int \
-Wpointer-arith -Wwrite-strings \
-Wold-style-definition -Wimplicit-fallthrough=0 \
-Wmissing-noreturn -Wno-cast-function-type \
-Wno-constant-logical-operand -Wno-long-long \
-Wno-missing-field-initializers \
-Wno-overlength-strings \
-Wno-packed-bitfield-compat \
-Wno-parentheses-equality -Wno-self-assign \
-Wno-tautological-compare -Wno-unused-parameter \
-Wno-unused-value -Wsuggest-attribute=format \
-Wsuggest-attribute=noreturn -Wunused-variable \
-Wmisleading-indentation -Wundef
* strip command: strip -S -x
* install doc: rdoc
* YJIT support: yes
* RJIT support: yes
* man page type: doc
---
+ popd
~/build/BUILD/ruby-3.3.0-8f1b688177
+ /usr/bin/make -O -j1 V=1 VERBOSE=1 'COPY=cp -p' -C redhat-linux-build
make: Entering directory '/builddir/build/BUILD/ruby-3.3.0-8f1b688177/redhat-linux-build'
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -m64
XCFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/x86_64-linux -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/include -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177 -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/yarp -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/enc/unicode/15.0.0
CPPFLAGS =
DLDFLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-soname,libruby.so.3.3 -fstack-protector-strong -m64
SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread
LANG = C.UTF-8
LC_ALL =
LC_CTYPE =
MFLAGS = -j1 -Otarget
RUSTC = rustc
YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/builddir/build/BUILD/ruby-3.3.0-8f1b688177/redhat-linux-build/yjit/target/release/' /builddir/build/BUILD/ruby-3.3.0-8f1b688177/yjit/src/lib.rs
... snip ...
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -m64 -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -fstack-protector-strong main.o dmydln.o miniinit.o dmyext.o abrt.o array.o ast.o bignum.o class.o compar.o compile.o complex.o cont.o debug.o debug_counter.o dir.o dln_find.o encoding.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o io_buffer.o iseq.o load.o marshal.o math.o memory_view.o rjit.o rjit_c.o node.o node_dump.o numeric.o object.o pack.o parse.o parser_st.o proc.o process.o ractor.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o ruby_parser.o scheduler.o shape.o signal.o sprintf.o st.o strftime.o string.o struct.o symbol.o thread.o time.o transcode.o util.o variable.o version.o vm.o vm_backtrace.o vm_dump.o vm_sync.o vm_trace.o weakmap.o yarp/api_node.o yarp/api_pack.o yarp/diagnostic.o yarp/enc/yp_big5.o yarp/enc/yp_euc_jp.o yarp/enc/yp_gbk.o yarp/enc/yp_shift_jis.o yarp/enc/yp_tables.o yarp/enc/yp_unicode.o yarp/enc/yp_windows_31j.o yarp/extension.o yarp/node.o yarp/pack.o yarp/prettyprint.o yarp/regexp.o yarp/serialize.o yarp/token_type.o yarp/unescape.o yarp/util/yp_buffer.o yarp/util/yp_char.o yarp/util/yp_constant_pool.o yarp/util/yp_list.o yarp/util/yp_memchr.o yarp/util/yp_newline_list.o yarp/util/yp_state_stack.o yarp/util/yp_string.o yarp/util/yp_string_list.o yarp/util/yp_strncasecmp.o yarp/util/yp_strpbrk.o yarp/yarp.o yarp/yarp_init.o yjit.o yjit/target/release/libyjit.o coroutine/amd64/Context.o probes.o enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o enc/trans/newline.o setproctitle.o addr2line.o -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread -o miniruby
:
exit > .revision.time
./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common -n \
-e 'BEGIN{version=ARGV.shift;mis=ARGV.dup}' \
-e 'END{abort "UNICODE version mismatch: #{mis}" unless mis.empty?}' \
-e '(mis.delete(ARGF.path); ARGF.close) if /ONIG_UNICODE_VERSION_STRING +"#{Regexp.quote(version)}"/o' \
15.0.0 /builddir/build/BUILD/ruby-3.3.0-8f1b688177/enc/unicode/15.0.0/casefold.h /builddir/build/BUILD/ruby-3.3.0-8f1b688177/enc/unicode/15.0.0/name2ctype.h
./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common /builddir/build/BUILD/ruby-3.3.0-8f1b688177/tool/mkconfig.rb \
-arch=x86_64-linux -version=3.3.0 \
-install_name=ruby \
-so_name=ruby \
-unicode_version=15.0.0 \
-unicode_emoji_version=15.0 \
> rbconfig.tmp
/bin/sh /builddir/build/BUILD/ruby-3.3.0-8f1b688177/tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
rbconfig.rb updated
./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common /builddir/build/BUILD/ruby-3.3.0-8f1b688177/tool/generic_erb.rb -c -o encdb.h /builddir/build/BUILD/ruby-3.3.0-8f1b688177/template/encdb.h.tmpl /builddir/build/BUILD/ruby-3.3.0-8f1b688177/enc enc
encdb.h updated
./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common /builddir/build/BUILD/ruby-3.3.0-8f1b688177/enc/make_encmake.rb \
--builtin-encs="enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o" --builtin-transes="enc/trans/newline.o" --module enc.mk
/usr/bin/make -f enc.mk V="1" UNICODE_HDR_DIR="/builddir/build/BUILD/ruby-3.3.0-8f1b688177/enc/unicode/15.0.0" RUBY=" ./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common " MINIRUBY=" ./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common " -Otarget srcs
make[1]: Entering directory '/builddir/build/BUILD/ruby-3.3.0-8f1b688177/redhat-linux-build'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/builddir/build/BUILD/ruby-3.3.0-8f1b688177/redhat-linux-build'
./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common /builddir/build/BUILD/ruby-3.3.0-8f1b688177/tool/generic_erb.rb -c -o transdb.h /builddir/build/BUILD/ruby-3.3.0-8f1b688177/template/transdb.h.tmpl /builddir/build/BUILD/ruby-3.3.0-8f1b688177/enc/trans enc/trans
transdb.h updated
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -m64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/x86_64-linux -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/include -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177 -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/yarp -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/enc/unicode/15.0.0 -o dln.o -c /builddir/build/BUILD/ruby-3.3.0-8f1b688177/dln.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -m64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/x86_64-linux -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/include -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177 -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/yarp -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/enc/unicode/15.0.0 -o localeinit.o -c /builddir/build/BUILD/ruby-3.3.0-8f1b688177/localeinit.c
./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common "/builddir/build/BUILD/ruby-3.3.0-8f1b688177/tool/generic_erb.rb" -o verconf.h /builddir/build/BUILD/ruby-3.3.0-8f1b688177/template/verconf.h.tmpl
verconf.h updated
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -m64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/x86_64-linux -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/include -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177 -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/yarp -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/enc/unicode/15.0.0 -o loadpath.o -c /builddir/build/BUILD/ruby-3.3.0-8f1b688177/loadpath.c
./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common /builddir/build/BUILD/ruby-3.3.0-8f1b688177/tool/generic_erb.rb -o builtin_binary.inc \
/builddir/build/BUILD/ruby-3.3.0-8f1b688177/template/builtin_binary.inc.tmpl -- --cross=no
builtin_binary.inc updated
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -m64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/x86_64-linux -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/include -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177 -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/yarp -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/enc/unicode/15.0.0 -o builtin.o -c /builddir/build/BUILD/ruby-3.3.0-8f1b688177/builtin.c
gcc-ar rcD libruby-static.a dln.o localeinit.o loadpath.o abrt.o array.o ast.o bignum.o class.o compar.o compile.o complex.o cont.o debug.o debug_counter.o dir.o dln_find.o encoding.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o io_buffer.o iseq.o load.o marshal.o math.o memory_view.o rjit.o rjit_c.o node.o node_dump.o numeric.o object.o pack.o parse.o parser_st.o proc.o process.o ractor.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o ruby_parser.o scheduler.o shape.o signal.o sprintf.o st.o strftime.o string.o struct.o symbol.o thread.o time.o transcode.o util.o variable.o version.o vm.o vm_backtrace.o vm_dump.o vm_sync.o vm_trace.o weakmap.o yarp/api_node.o yarp/api_pack.o yarp/diagnostic.o yarp/enc/yp_big5.o yarp/enc/yp_euc_jp.o yarp/enc/yp_gbk.o yarp/enc/yp_shift_jis.o yarp/enc/yp_tables.o yarp/enc/yp_unicode.o yarp/enc/yp_windows_31j.o yarp/extension.o yarp/node.o yarp/pack.o yarp/prettyprint.o yarp/regexp.o yarp/serialize.o yarp/token_type.o yarp/unescape.o yarp/util/yp_buffer.o yarp/util/yp_char.o yarp/util/yp_constant_pool.o yarp/util/yp_list.o yarp/util/yp_memchr.o yarp/util/yp_newline_list.o yarp/util/yp_state_stack.o yarp/util/yp_string.o yarp/util/yp_string_list.o yarp/util/yp_strncasecmp.o yarp/util/yp_strpbrk.o yarp/yarp.o yarp/yarp_init.o yjit.o yjit/target/release/libyjit.o coroutine/amd64/Context.o probes.o enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o enc/trans/newline.o setproctitle.o addr2line.o builtin.o dmyext.o dmyenc.o
gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-soname,libruby.so.3.3 -fstack-protector-strong -m64 dln.o localeinit.o loadpath.o abrt.o array.o ast.o bignum.o class.o compar.o compile.o complex.o cont.o debug.o debug_counter.o dir.o dln_find.o encoding.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o io_buffer.o iseq.o load.o marshal.o math.o memory_view.o rjit.o rjit_c.o node.o node_dump.o numeric.o object.o pack.o parse.o parser_st.o proc.o process.o ractor.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o ruby_parser.o scheduler.o shape.o signal.o sprintf.o st.o strftime.o string.o struct.o symbol.o thread.o time.o transcode.o util.o variable.o version.o vm.o vm_backtrace.o vm_dump.o vm_sync.o vm_trace.o weakmap.o yarp/api_node.o yarp/api_pack.o yarp/diagnostic.o yarp/enc/yp_big5.o yarp/enc/yp_euc_jp.o yarp/enc/yp_gbk.o yarp/enc/yp_shift_jis.o yarp/enc/yp_tables.o yarp/enc/yp_unicode.o yarp/enc/yp_windows_31j.o yarp/extension.o yarp/node.o yarp/pack.o yarp/prettyprint.o yarp/regexp.o yarp/serialize.o yarp/token_type.o yarp/unescape.o yarp/util/yp_buffer.o yarp/util/yp_char.o yarp/util/yp_constant_pool.o yarp/util/yp_list.o yarp/util/yp_memchr.o yarp/util/yp_newline_list.o yarp/util/yp_state_stack.o yarp/util/yp_string.o yarp/util/yp_string_list.o yarp/util/yp_strncasecmp.o yarp/util/yp_strpbrk.o yarp/yarp.o yarp/yarp_init.o yjit.o yjit/target/release/libyjit.o coroutine/amd64/Context.o probes.o enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o enc/trans/newline.o setproctitle.o addr2line.o builtin.o dmyext.o dmyenc.o -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread -o libruby.so.3.3.0
objcopy -w -L 'Init_*' -L 'ruby_static_id_*' \
-L '*_threadptr_*' -L '*_ec_*' libruby.so.3.3.0
:
/usr/bin/mkdir -p ext
./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common /builddir/build/BUILD/ruby-3.3.0-8f1b688177/tool/generic_erb.rb -o ext/configure-ext.mk -c \
/builddir/build/BUILD/ruby-3.3.0-8f1b688177/template/configure-ext.mk.tmpl --srcdir="/builddir/build/BUILD/ruby-3.3.0-8f1b688177" \
--miniruby="./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common " --script-args='--dest-dir="" --extout=".ext" --ext-build-dir="./ext" --mflags="-j1 -Otarget" --make-flags=" -j1 -Otarget -- COPY=cp\ -p VERBOSE=1 V=1"'
ext/configure-ext.mk updated
/usr/bin/mkdir -p .ext/.timestamp/x86_64-linux .ext/x86_64-linux
/usr/bin/mkdir -p .ext/.timestamp .ext/common
/usr/bin/make -f ext/configure-ext.mk -Otarget V=1 EXTSTATIC= \
gnumake=yes MINIRUBY="./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common " \
EXTLDFLAGS="" srcdir="/builddir/build/BUILD/ruby-3.3.0-8f1b688177"
make[1]: Entering directory '/builddir/build/BUILD/ruby-3.3.0-8f1b688177/redhat-linux-build'
./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common /builddir/build/BUILD/ruby-3.3.0-8f1b688177/ext/extmk.rb --make='/usr/bin/make' \
--command-output=ext/-test-/exts.mk --dest-dir="" --extout=".ext" --ext-build-dir="./ext" --mflags="-j1 -Otarget" --make-flags=" -j1 -Otarget -- COPY=cp\ -p VERBOSE=1 V=1" --gnumake=yes --extflags="" --make-flags="MINIRUBY='./miniruby -I/builddir/build/BUILD/ruby-3.3.0-8f1b688177/lib -I. -I.ext/common '" --extstatic \
-- configure ext/-test-
/builddir/build/BUILD/ruby-3.3.0-8f1b688177/ext/extmk.rb:445:in `join': no implicit conversion of nil into String (TypeError)
from /builddir/build/BUILD/ruby-3.3.0-8f1b688177/ext/extmk.rb:445:in `block in <main>'
from /builddir/build/BUILD/ruby-3.3.0-8f1b688177/ext/extmk.rb:444:in `each'
from /builddir/build/BUILD/ruby-3.3.0-8f1b688177/ext/extmk.rb:444:in `<main>'
make[1]: *** [ext/configure-ext.mk:20: ext/-test-/exts.mk] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/ruby-3.3.0-8f1b688177/redhat-linux-build'
make: *** [uncommon.mk:364: exts.mk] Error 2
make: Leaving directory '/builddir/build/BUILD/ruby-3.3.0-8f1b688177/redhat-linux-build'
</code></pre>
<p>I was previlusly testing -preview2 which worked just fine.</p>
Ruby master - Bug #19872 (Closed): TestRequireLib#test_thread_size test case is unstable
https://bugs.ruby-lang.org/issues/19872
2023-09-11T14:05:34Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Just exploring the difference in skipped test cases, it seems to be due to <code>TestRequireLib#test_thread_size</code>. One test run might look like:</p>
<pre><code> 84) Skipped:
TestRequireLib#test_thread_size:/builddir/build/BUILD/ruby-3.3.0-7c8932365f/lib/reline/history.rb [/builddir/build/BUILD/ruby-3.3.0-7c8932365f/test/ruby/test_require_lib.rb:21]:
uninitialized constant Reline
85) Skipped:
TestRequireLib#test_thread_size:/builddir/build/BUILD/ruby-3.3.0-7c8932365f/lib/reline/line_editor.rb [/builddir/build/BUILD/ruby-3.3.0-7c8932365f/test/ruby/test_require_lib.rb:21]:
uninitialized constant Reline
86) Skipped:
TestRequireLib#test_thread_size:/builddir/build/BUILD/ruby-3.3.0-7c8932365f/lib/net/http/generic_request.rb [/builddir/build/BUILD/ruby-3.3.0-7c8932365f/test/ruby/test_require_lib.rb:21]:
uninitialized constant Net
87) Skipped:
TestRequireLib#test_thread_size:/builddir/build/BUILD/ruby-3.3.0-7c8932365f/lib/rdoc/markup/formatter.rb [/builddir/build/BUILD/ruby-3.3.0-7c8932365f/test/ruby/test_require_lib.rb:21]:
uninitialized constant RDoc
88) Skipped:
TestRequireLib#test_thread_size:/builddir/build/BUILD/ruby-3.3.0-7c8932365f/lib/rdoc/generator/pot/message_extractor.rb [/builddir/build/BUILD/ruby-3.3.0-7c8932365f/test/ruby/test_require_lib.rb:21]:
uninitialized constant RDoc
89) Skipped:
TestRequireLib#test_thread_size:/builddir/build/BUILD/ruby-3.3.0-7c8932365f/lib/rdoc/markup/block_quote.rb [/builddir/build/BUILD/ruby-3.3.0-7c8932365f/test/ruby/test_require_lib.rb:21]:
uninitialized constant RDoc
90) Skipped:
TestRequireLib#test_thread_size:/builddir/build/BUILD/ruby-3.3.0-7c8932365f/lib/irb/context.rb [/builddir/build/BUILD/ruby-3.3.0-7c8932365f/test/ruby/test_require_lib.rb:21]:
uninitialized constant IRB
91) Skipped:
TestRequireLib#test_thread_size:/builddir/build/BUILD/ruby-3.3.0-7c8932365f/lib/rdoc/markup/indented_paragraph.rb [/builddir/build/BUILD/ruby-3.3.0-7c8932365f/test/ruby/test_require_lib.rb:21]:
uninitialized constant RDoc
92) Skipped:
TestRequireLib#test_thread_size:/builddir/build/BUILD/ruby-3.3.0-7c8932365f/lib/rdoc/parser/text.rb [/builddir/build/BUILD/ruby-3.3.0-7c8932365f/test/ruby/test_require_lib.rb:21]:
uninitialized constant RDoc
93) Skipped:
TestRequireLib#test_thread_size:/builddir/build/BUILD/ruby-3.3.0-7c8932365f/lib/rdoc/markup/to_label.rb [/builddir/build/BUILD/ruby-3.3.0-7c8932365f/test/ruby/test_require_lib.rb:21]:
uninitialized constant RDoc
</code></pre>
<p>While in the other run, there is e.g. just one test skipped:</p>
<pre><code> 40) Skipped:
TestRequireLib#test_thread_size:/builddir/build/BUILD/ruby-3.3.0-7c8932365f/lib/rdoc/markdown/entities.rb [/builddir/build/BUILD/ruby-3.3.0-7c8932365f/test/ruby/test_require_lib.rb:21]:
uninitialized constant RDoc
</code></pre>
<p>I can't help myself, but this test case contains too much randomness to my taste.</p>
Ruby master - Bug #19866 (Rejected): Future of `readline.rb`
https://bugs.ruby-lang.org/issues/19866
2023-09-06T15:20:37Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I wonder what is the future of readline.rb? It still tries to load <code>readline.so</code> by default. Is this intended behavior? I'd say that instead, it should rather fire a deprecation warning and load reline. Or maybe the whole readline gem should be completely removed?</p>
Ruby master - Bug #19311 (Closed): Fix `OpenSSL::X509::CertificateError: invalid digest` on CentO...
https://bugs.ruby-lang.org/issues/19311
2023-01-05T09:19:41Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>CentOS 9 / RHEL 9 requires prohibits SHA1 for signing purposes, therefore these specs fail:</p>
<pre><code>1)
OpenSSL::X509::Name.verify returns true for valid certificate ERROR
OpenSSL::X509::CertificateError: invalid digest
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:15:in `sign'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:15:in `block (2 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:4:in `<top (required)>'
2)
OpenSSL::X509::Name.verify returns false for an expired certificate ERROR
OpenSSL::X509::CertificateError: invalid digest
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:31:in `sign'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:31:in `block (2 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:4:in `<top (required)>'
</code></pre>
<p>I have opened PR <a href="https://github.com/ruby/spec/pull/990" class="external">here</a>, but I'd also like see this backported into 3.2, hence also reporting here.</p>
Ruby master - Bug #19310 (Closed): Fix "OpenSSL::X509::CertificateError: invalid digest" on CentO...
https://bugs.ruby-lang.org/issues/19310
2023-01-05T09:19:28Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>CentOS 9 / RHEL 9 requires prohibits SHA1 for signing purposes, therefore these specs fail:</p>
<pre><code>1)
OpenSSL::X509::Name.verify returns true for valid certificate ERROR
OpenSSL::X509::CertificateError: invalid digest
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:15:in `sign'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:15:in `block (2 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:4:in `<top (required)>'
2)
OpenSSL::X509::Name.verify returns false for an expired certificate ERROR
OpenSSL::X509::CertificateError: invalid digest
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:31:in `sign'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:31:in `block (2 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:4:in `<top (required)>'
</code></pre>
<p>I have opened PR <a href="https://github.com/ruby/spec/pull/990" class="external">here</a>, but I'd also like see this backported into 3.2, hence also reporting here.</p>
Ruby master - Bug #19309 (Closed): Fix `OpenSSL::X509::CertificateError: invalid digest` on CentO...
https://bugs.ruby-lang.org/issues/19309
2023-01-05T09:19:16Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>CentOS 9 / RHEL 9 requires prohibits SHA1 for signing purposes, therefore these specs fail:</p>
<pre><code>1)
OpenSSL::X509::Name.verify returns true for valid certificate ERROR
OpenSSL::X509::CertificateError: invalid digest
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:15:in `sign'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:15:in `block (2 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:4:in `<top (required)>'
2)
OpenSSL::X509::Name.verify returns false for an expired certificate ERROR
OpenSSL::X509::CertificateError: invalid digest
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:31:in `sign'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:31:in `block (2 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:4:in `<top (required)>'
</code></pre>
<p>I have opened PR <a href="https://github.com/ruby/spec/pull/990" class="external">here</a>, but I'd also like see this backported into 3.2, hence also reporting here.</p>
Ruby master - Bug #19308 (Closed): Fix `OpenSSL::X509::CertificateError: invalid digest` on CentO...
https://bugs.ruby-lang.org/issues/19308
2023-01-05T09:18:56Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>CentOS 9 / RHEL 9 requires prohibits SHA1 for signing purposes, therefore these specs fail:</p>
<pre><code>1)
OpenSSL::X509::Name.verify returns true for valid certificate ERROR
OpenSSL::X509::CertificateError: invalid digest
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:15:in `sign'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:15:in `block (2 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:4:in `<top (required)>'
2)
OpenSSL::X509::Name.verify returns false for an expired certificate ERROR
OpenSSL::X509::CertificateError: invalid digest
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:31:in `sign'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:31:in `block (2 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:4:in `<top (required)>'
</code></pre>
<p>I have opened PR <a href="https://github.com/ruby/spec/pull/990" class="external">here</a>, but I'd also like see this backported into 3.2, hence also reporting here.</p>
Ruby master - Bug #19307 (Closed): Fix `OpenSSL::X509::CertificateError: invalid digest` on CentO...
https://bugs.ruby-lang.org/issues/19307
2023-01-05T09:18:44Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>CentOS 9 / RHEL 9 requires prohibits SHA1 for signing purposes, therefore these specs fail:</p>
<pre><code>1)
OpenSSL::X509::Name.verify returns true for valid certificate ERROR
OpenSSL::X509::CertificateError: invalid digest
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:15:in `sign'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:15:in `block (2 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:4:in `<top (required)>'
2)
OpenSSL::X509::Name.verify returns false for an expired certificate ERROR
OpenSSL::X509::CertificateError: invalid digest
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:31:in `sign'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:31:in `block (2 levels) in <top (required)>'
/builddir/build/BUILD/ruby-3.2.0/spec/ruby/library/openssl/x509/name/verify_spec.rb:4:in `<top (required)>'
</code></pre>
<p>I have opened PR <a href="https://github.com/ruby/spec/pull/990" class="external">here</a>, but I'd also like see this backported into 3.2, hence also reporting here.</p>
Ruby master - Bug #19298 (Closed): `lib/mjit/instruction.rb` was reintroduced by merge mistake
https://bugs.ruby-lang.org/issues/19298
2023-01-02T14:11:47Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>It seems that <code>lib/mjit/instruction.rb</code> should not be shipped anymore since <a class="changeset" title="Put RubyVM::MJIT::Compiler under ruby_vm directory (#6989) [Misc #19250]" href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/bb4cbd0803c3297ad036008adc7a01159ce44e1e">git|bb4cbd0803c3297ad036008adc7a01159ce44e1e</a>, but it was re-introduced into the repository by merge mistake <a class="changeset" title="Merge RubyGems-3.4.0 and Bundler-2.4.0" href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/f6620037ba1477d2c337d7b511f094d6d0fbb69c">git|f6620037ba1477d2c337d7b511f094d6d0fbb69c</a>. Actually, it was probably never part of the repository, but was part of the tarball, but it seems it should not be.</p>
Ruby master - Bug #19254 (Third Party's Issue): Enabling YJIT configuration option breaks rspec-c...
https://bugs.ruby-lang.org/issues/19254
2022-12-23T15:20:19Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>In preparation for Ruby 3.2, we have enabled YJIT in Fedora:</p>
<p><a href="https://src.fedoraproject.org/rpms/ruby/c/3c1be9f9c2c1d8679eebb9a185fefa15baa1bcfc?branch=private-ruby-3.2" class="external">https://src.fedoraproject.org/rpms/ruby/c/3c1be9f9c2c1d8679eebb9a185fefa15baa1bcfc?branch=private-ruby-3.2</a></p>
<p>Since that moment, rspec-core test suite started to fail (see the attached log for all details):</p>
<pre><code>... snip ...
1) RSpec::Core::Example#run memory leaks, see GH-321, GH-1921 releases references to the examples / their ivars
Failure/Error: expect(get_all.call).to eq opts.fetch(:post_gc)
expected: []
got: ["after_all", "before_all"]
(compared using ==)
# ./spec/rspec/core/example_spec.rb:469:in `expect_gc'
# ./spec/rspec/core/example_spec.rb:492:in `block (4 levels) in <top (required)>'
# ./spec/support/sandboxing.rb:16:in `block (3 levels) in <top (required)>'
# ./spec/support/sandboxing.rb:7:in `block (2 levels) in <top (required)>'
Finished in 8.98 seconds (files took 0.47612 seconds to load)
2209 examples, 1 failure, 4 pending
</code></pre>
<p>Please note that the YJIT was not enabled during runtime, just the support was enabled. Disabling the YJIT supports makes the test case pass.</p>
Ruby master - Bug #19248 (Closed): TestGCCompact#test_moving_objects_between_size_pools test failure
https://bugs.ruby-lang.org/issues/19248
2022-12-21T14:42:24Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing on Fedora Rawhide with <a class="changeset" title="Set up RBS_SKIP_TESTS (#6862) * Set up RBS_SKIP_TESTS" href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/6af6857ecfd5d67e5e9125c7ace0900475481275">git|6af6857ecf</a>, I observe the following error:</p>
<pre><code> 1) Error:
TestGCCompact#test_moving_objects_between_size_pools:
NoMethodError: undefined method `>=' for nil:NilClass
/builddir/build/BUILD/ruby-3.2.0-6af6857ecf/test/ruby/test_gc_compact.rb:278:in `<main>'
/builddir/build/BUILD/ruby-3.2.0-6af6857ecf/test/ruby/test_gc_compact.rb:256:in `test_moving_objects_between_size_pools'
/builddir/build/BUILD/ruby-3.2.0-6af6857ecf/tool/test/runner.rb:23:in `<top (required)>'
/builddir/build/BUILD/ruby-3.2.0-6af6857ecf/test/runner.rb:16:in `require_relative'
/builddir/build/BUILD/ruby-3.2.0-6af6857ecf/test/runner.rb:16:in `<main>'
</code></pre>
<p>Testing previously with <a class="changeset" title="[Bug #19167] Remove useless conversion of classes for special const" href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/11acb7f7bcf6e80e03cf83bba863b9b3f980fdca">git|11acb7f7bc</a>, everything was fine. I might just guess that this is related to <a class="changeset" title="Fix Object Movement allocation in GC When moving Objects between size pools we have to assign a ..." href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/bfc66e07b7e0134dfa2041c311dc56941fe1caf0">git|bfc66e07b7e0134dfa2041c311dc56941fe1caf0</a></p>
Ruby master - Bug #19147 (Closed): `TestFileExhaustive#test_expand_path_for_existent_username` an...
https://bugs.ruby-lang.org/issues/19147
2022-11-24T13:28:14Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing with <a class="changeset" title="Relax the timeout of TestRegexp#test_cache_optimization_square It fails on riscv (QEmu) http://..." href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/66e5200ba435361624caa3e23db7962d906b70db">git|66e5200ba4</a> on Fedora Rawhide, I observe following error just on i686 (other platforms are passing just fine):</p>
<pre><code> 1) Error:
TestFileExhaustive#test_expand_path_for_existent_username:
RuntimeError: can't set length of shared string
/builddir/build/BUILD/ruby-3.2.0-66e5200ba4/test/ruby/test_file_exhaustive.rb:1122:in `expand_path'
/builddir/build/BUILD/ruby-3.2.0-66e5200ba4/test/ruby/test_file_exhaustive.rb:1122:in `test_expand_path_for_existent_username'
2) Error:
TestDir#test_home:
RuntimeError: can't set length of shared string
/builddir/build/BUILD/ruby-3.2.0-66e5200ba4/test/ruby/test_dir.rb:537:in `expand_path'
/builddir/build/BUILD/ruby-3.2.0-66e5200ba4/test/ruby/test_dir.rb:537:in `block in test_home'
</code></pre>
<p>Previously testing with <a class="changeset" title="[ruby/uri] Fix splitting relative URI https://github.com/ruby/uri/commit/ffbab83de6" href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/4b1504ae0a5118153f8b47d7bd0fff7e61553d17">git|4b1504ae0a</a>, the tests were passing just fine.</p>
Ruby master - Bug #19145 (Closed): TestException#test_exception_in_message timeouts
https://bugs.ruby-lang.org/issues/19145
2022-11-24T10:32:58Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing with 66e5200ba4, I observe following error:</p>
<pre><code>$ make -C redhat-linux-build test-all 'TESTS=-v -n /TestException#test_exception_in_message/' 'MSPECOPT=-fs '
make: Entering directory '/builddir/build/BUILD/ruby-3.2.0-66e5200ba4/redhat-linux-build'
Run options:
--seed=50244
"--ruby=./miniruby -I/builddir/build/BUILD/ruby-3.2.0-66e5200ba4/lib -I. -I.ext/common /builddir/build/BUILD/ruby-3.2.0-66e5200ba4/tool/runruby.rb --extout=.ext -- --disable-gems"
--excludes-dir=/builddir/build/BUILD/ruby-3.2.0-66e5200ba4/test/excludes
--name=!/memory_leak/
-v
-n
/TestException#test_exception_in_message/
# Running tests:
[1/0] TestException#test_exception_in_message = 3.10 sT
1) Timeout:
TestException#test_exception_in_message
Finished tests in 6.405179s, 0.1561 tests/s, 0.3122 assertions/s.
1 tests, 2 assertions, 0 failures, 1 errors, 0 skips
ruby -v: ruby 3.2.0dev (2022-11-24 master 66e5200ba4) [x86_64-linux]
make: *** [uncommon.mk:855: yes-test-all] Error 1
make: Leaving directory '/builddir/build/BUILD/ruby-3.2.0-66e5200ba4/redhat-linux-build'
</code></pre>
<p>Last time I was testing with 4b1504ae0a beginning of November and there was not issue</p>
Ruby master - Bug #18755 (Closed): Backport rubygems/pull/5154 into Ruby 3.0
https://bugs.ruby-lang.org/issues/18755
2022-04-27T09:29:38Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Please backport <a href="https://github.com/rubygems/rubygems/pull/5044" class="external">RubyGems PR#5154</a>. Fedora is still affected by this issue:</p>
<p><a href="https://bodhi.fedoraproject.org/updates/FEDORA-2022-8cf0124add" class="external">https://bodhi.fedoraproject.org/updates/FEDORA-2022-8cf0124add</a></p>
<p><a class="user active user-mention" href="https://bugs.ruby-lang.org/users/7174">@deivid (David Rodríguez)</a> Not sure you are going to release RubyGems 3.2.34 due to this.</p>
Ruby master - Bug #18746 (Closed): /TestGCCompact#test_(ast_compacts|compact_count|complex_hash_k...
https://bugs.ruby-lang.org/issues/18746
2022-04-20T13:47:34Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>With Ruby 3.0.4, I observe the following segfault, which was not the case for Ruby 3.0.2, neither this is issue for Ruby 3.1.2:</p>
<pre><code>... snip ...
[ 8892/21302] TestGCCompact#test_ast_compacts<internal:gc>:213: [BUG] Couldn't unprotect page 0x0000000158eac000
ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [powerpc64le-linux]
-- Control frame information -----------------------------------------------
c:0031 p:0003 s:0175 e:000174 METHOD <internal:gc>:213
c:0030 p:0031 s:0171 e:000169 METHOD /builddir/build/BUILD/ruby-3.0.4/test/ruby/test_gc_compact.rb:146
c:0029 p:0052 s:0165 e:000164 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1286
c:0028 p:0065 s:0159 e:000158 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:1324
c:0027 p:0013 s:0150 e:000149 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit/testcase.rb:18
c:0026 p:0077 s:0145 e:000144 BLOCK /builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:973 [FINISH]
c:0025 p:---- s:0138 e:000137 CFUNC :map
c:0024 p:0006 s:0134 e:000133 BLOCK /builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:966
c:0023 p:0163 s:0130 E:001d60 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:993
c:0022 p:0042 s:0118 e:000117 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1139
c:0021 p:0010 s:0111 e:000109 BLOCK /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:630 [FINISH]
c:0020 p:---- s:0105 e:000104 CFUNC :each
c:0019 p:0054 s:0101 E:000b58 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:628
c:0018 p:0008 s:0094 E:001908 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:665
c:0017 p:0140 s:0087 E:000148 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:908
c:0016 p:0016 s:0074 E:000d08 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1076
c:0015 p:0005 s:0069 E:000c10 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:1141
c:0014 p:0006 s:0065 E:000dd8 BLOCK /builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:1128 [FINISH]
c:0013 p:---- s:0061 e:000060 CFUNC :each
c:0012 p:0047 s:0057 E:001288 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:1127
c:0011 p:0013 s:0052 E:002658 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:1115
c:0010 p:0008 s:0047 E:000d80 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:850
c:0009 p:0008 s:0041 E:0001c0 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:698
c:0008 p:0015 s:0035 E:0005e8 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:34
c:0007 p:0006 s:0030 E:000658 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1178
c:0006 p:0032 s:0025 E:001c50 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1248
c:0005 p:0009 s:0021 E:001da8 METHOD /builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1252
c:0004 p:0172 s:0016 E:001c38 TOP /builddir/build/BUILD/ruby-3.0.4/tool/test/runner.rb:23 [FINISH]
c:0003 p:---- s:0011 e:000010 CFUNC :require_relative
c:0002 p:0092 s:0006 E:000140 EVAL ./test/runner.rb:11 [FINISH]
c:0001 p:0000 s:0003 E:000700 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
./test/runner.rb:11:in `<main>'
./test/runner.rb:11:in `require_relative'
/builddir/build/BUILD/ruby-3.0.4/tool/test/runner.rb:23:in `<top (required)>'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1252:in `run'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1248:in `run'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1178:in `run'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:34:in `run'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:698:in `run'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:850:in `run'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:1115:in `run'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:1127:in `_run'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:1127:in `each'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:1128:in `block in _run'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:1141:in `run_tests'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1076:in `_run_anything'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:908:in `_run_anything'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:665:in `_run_suites'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:628:in `_run_suites'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:628:in `each'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:630:in `block in _run_suites'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1139:in `_run_suite'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:993:in `_run_suite'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:966:in `block in _run_suite'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:966:in `map'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:973:in `block (2 levels) in _run_suite'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit/testcase.rb:18:in `run'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/minitest/unit.rb:1324:in `run'
/builddir/build/BUILD/ruby-3.0.4/tool/lib/test/unit.rb:1286:in `run_test'
/builddir/build/BUILD/ruby-3.0.4/test/ruby/test_gc_compact.rb:146:in `test_ast_compacts'
<internal:gc>:213:in `compact'
-- C level backtrace information -------------------------------------------
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_vm_bugreport+0xc0) [0x7fffbd88cf10] vm_dump.c:758
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_bug_without_die+0x90) [0x7fffbd65a590] error.c:764
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(die+0x0) [0x7fffbd5c0594] error.c:772
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_bug) error.c:774
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(gc_sweep_step+0x1514) [0x7fffbd68c674] gc.c:4503
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(gc_sweep_rest+0x24) [0x7fffbd68c7ac] gc.c:5151
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(gc_sweep) gc.c:5268
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(gc_start+0x8c8) [0x7fffbd689d98] gc.c:7463
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(garbage_collect+0x60) [0x7fffbd68a380] gc.c:8200
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(gc_compact+0x48) [0x7fffbd68d3c8] gc.c:8543
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(builtin_invoker0+0x24) [0x7fffbd855a74] vm_insnhelper.c:5442
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_exec_core+0x19d0) [0x7fffbd873200] insns.def:1482
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_vm_exec+0x140) [0x7fffbd877770] vm.c:2171
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(invoke_block_from_c_bh+0x3a8) [0x7fffbd87bc08] vm.c:1263
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_yield+0x48) [0x7fffbd87d540] vm.c:1398
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_yield_0) vm_eval.c:1331
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_yield) vm_eval.c:1347
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_ary_collect+0x74) [0x7fffbd5cc094] array.c:3635
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(ractor_safe_call_cfunc_0+0x24) [0x7fffbd8552f4] vm_insnhelper.c:2745
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_call_cfunc_with_frame+0x14c) [0x7fffbd86a74c] vm_insnhelper.c:2928
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_sendish+0x3cc) [0x7fffbd86d47c] vm_insnhelper.c:4529
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_exec_core+0x198) [0x7fffbd8719c8] insns.def:770
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_vm_exec+0x140) [0x7fffbd877770] vm.c:2171
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(invoke_block_from_c_bh+0x3a8) [0x7fffbd87bc08] vm.c:1263
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_yield+0x48) [0x7fffbd87d540] vm.c:1398
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_yield_0) vm_eval.c:1331
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_yield) vm_eval.c:1347
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_ary_each+0x20) [0x7fffbd5c2a44] array.c:2523
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_ary_each) array.c:2517
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(ractor_safe_call_cfunc_0+0x24) [0x7fffbd8552f4] vm_insnhelper.c:2745
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_call_cfunc_with_frame+0x14c) [0x7fffbd86a74c] vm_insnhelper.c:2928
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_call_method_each_type+0x6c8) [0x7fffbd879e68] vm_insnhelper.c:3397
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_sendish+0x3cc) [0x7fffbd86d47c] vm_insnhelper.c:4529
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_exec_core+0x198) [0x7fffbd8719c8] insns.def:770
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_vm_exec+0x140) [0x7fffbd877770] vm.c:2171
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(invoke_block_from_c_bh+0x3a8) [0x7fffbd87bc08] vm.c:1263
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_yield+0x48) [0x7fffbd87d540] vm.c:1398
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_yield_0) vm_eval.c:1331
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_yield) vm_eval.c:1347
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_ary_each+0x20) [0x7fffbd5c2a44] array.c:2523
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_ary_each) array.c:2517
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(ractor_safe_call_cfunc_0+0x24) [0x7fffbd8552f4] vm_insnhelper.c:2745
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_call_cfunc_with_frame+0x14c) [0x7fffbd86a74c] vm_insnhelper.c:2928
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_call_method_each_type+0x6c8) [0x7fffbd879e68] vm_insnhelper.c:3397
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_sendish+0x3cc) [0x7fffbd86d47c] vm_insnhelper.c:4529
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_exec_core+0x198) [0x7fffbd8719c8] insns.def:770
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_vm_exec+0x140) [0x7fffbd877770] vm.c:2171
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_iseq_eval+0x154) [0x7fffbd878a24] vm.c:2408
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(require_internal+0x7f8) [0x7fffbd6cf438] load.c:638
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_require_string+0x44) [0x7fffbd6d0e34] load.c:1186
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_f_require_relative+0x48) [0x7fffbd6d0f58] load.c:901
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(ractor_safe_call_cfunc_1+0x28) [0x7fffbd855348] vm_insnhelper.c:2752
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_call_cfunc_with_frame+0x14c) [0x7fffbd86a74c] vm_insnhelper.c:2928
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_sendish+0x3cc) [0x7fffbd86d47c] vm_insnhelper.c:4529
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(vm_exec_core+0x12c) [0x7fffbd87195c] insns.def:789
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_vm_exec+0x140) [0x7fffbd877770] vm.c:2171
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_iseq_eval_main+0xec) [0x7fffbd878b6c] vm.c:2419
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(rb_ec_exec_node+0xbc) [0x7fffbd66206c] eval.c:317
/builddir/build/BUILD/ruby-3.0.4/libruby.so.3.0.4(ruby_run_node+0x7c) [0x7fffbd66672c] eval.c:375
/builddir/build/BUILD/ruby-3.0.4/ruby(main+0x78) [0x11e650a88] ./main.c:50
-- Other runtime information ----------------------------------------------
... snip ...
</code></pre>
Ruby master - Bug #18684 (Closed): Support for out of source build
https://bugs.ruby-lang.org/issues/18684
2022-04-07T11:47:11Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Trying out of source build, it fails:</p>
<pre><code>... snip ...
compiling ../ruby-3.1.1/vm_sync.c
compiling ../ruby-3.1.1/vm_trace.c
compiling ../ruby-3.1.1/yjit.c
assembling ../ruby-3.1.1/coroutine/amd64/Context.S
Assembler messages:
Fatal error: can't create coroutine/amd64/Context.o: No such file or directory
make: *** [Makefile:438: coroutine/amd64/Context.o] Error 1
</code></pre>
<p>I wonder if there is any chance to make this work?</p>
Ruby master - Bug #18560 (Closed): "Compaction isn't available on this platform" error running PG...
https://bugs.ruby-lang.org/issues/18560
2022-01-31T15:13:30Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Trying to execute test suite of <code>pg</code> gem on ppc64le, I observe a following error:</p>
<pre><code>... snip ...
1) GC.compact should compact PG::TypeMapByClass #328
Failure/Error: GC.verify_compaction_references(toward: :empty, double_heap: true)
NotImplementedError:
Compaction isn't available on this platform
# <internal:gc>:257:in `verify_compaction_references'
# ./spec/pg/gc_compact_spec.rb:58:in `block (2 levels) i
... snip ...
</code></pre>
<p>This is surprising, given that the test suite seems to do reasonable effort to guard this behavior <a href="https://github.com/ged/ruby-pg/blob/6c436bda9aaf7bc053ef348afd99e2e035d5d0a3/spec/pg/gc_compact_spec.rb#L26" class="external">1</a>:</p>
<pre><code>... snip ...
describe "GC.compact", if: GC.respond_to?(:compact) do
... snip ...
</code></pre>
<p>Is this expected or bug?</p>
Ruby master - Bug #18500 (Closed): Fix segfault in `TestArray#test_sample` on s390x.
https://bugs.ruby-lang.org/issues/18500
2022-01-20T10:27:29Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Building with gcc 12 on Fedora Rawhide s390x, I observe following segfault in test suite:</p>
<pre><code>... snip ...
[ 3104/21226] TestArray#test_sample/builddir/build/BUILD/ruby-3.0.3/test/ruby/test_array.rb:2871: [BUG] Segmentation fault at 0x00000000c04fb000
ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [s390x-linux]
-- Control frame information -----------------------------------------------
c:0031 p:---- s:0176 e:000175 CFUNC :srand
c:0030 p:0011 s:0171 e:000170 METHOD /builddir/build/BUILD/ruby-3.0.3/test/ruby/test_array.rb:2871
c:0029 p:0052 s:0165 e:000164 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1283
c:0028 p:0065 s:0159 e:000158 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:1330
c:0027 p:0013 s:0150 e:000149 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit/testcase.rb:18
c:0026 p:0077 s:0145 e:000144 BLOCK /builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:979 [FINISH]
c:0025 p:---- s:0138 e:000137 CFUNC :map
c:0024 p:0006 s:0134 E:0012c8 BLOCK /builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:972
c:0023 p:0186 s:0130 E:000ba0 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:999
c:0022 p:0042 s:0118 E:000888 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1136
c:0021 p:0010 s:0111 E:0007a0 BLOCK /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:627 [FINISH]
c:0020 p:---- s:0105 e:000104 CFUNC :each
c:0019 p:0054 s:0101 E:001588 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:625
c:0018 p:0008 s:0094 E:001eb8 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:662
c:0017 p:0140 s:0087 E:0011a8 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:908
c:0016 p:0016 s:0074 E:001ca8 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1073
c:0015 p:0005 s:0069 E:000710 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:1147
c:0014 p:0006 s:0065 E:000438 BLOCK /builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:1134 [FINISH]
c:0013 p:---- s:0061 e:000060 CFUNC :each
c:0012 p:0047 s:0057 E:0022b8 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:1133
c:0011 p:0013 s:0052 E:000288 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:1121
c:0010 p:0008 s:0047 E:000c70 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:847
c:0009 p:0008 s:0041 E:0008d0 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:695
c:0008 p:0015 s:0035 E:001f08 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:34
c:0007 p:0006 s:0030 E:0003c8 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1175
c:0006 p:0032 s:0025 E:000e80 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1245
c:0005 p:0009 s:0021 E:0018b8 METHOD /builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1249
c:0004 p:0172 s:0016 E:0001b8 TOP /builddir/build/BUILD/ruby-3.0.3/tool/test/runner.rb:23 [FINISH]
c:0003 p:---- s:0011 e:000010 CFUNC :require_relative
c:0002 p:0092 s:0006 E:001bf0 EVAL ./test/runner.rb:11 [FINISH]
c:0001 p:0000 s:0003 E:0004f0 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
./test/runner.rb:11:in `<main>'
./test/runner.rb:11:in `require_relative'
/builddir/build/BUILD/ruby-3.0.3/tool/test/runner.rb:23:in `<top (required)>'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1249:in `run'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1245:in `run'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1175:in `run'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:34:in `run'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:695:in `run'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:847:in `run'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:1121:in `run'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:1133:in `_run'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:1133:in `each'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:1134:in `block in _run'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:1147:in `run_tests'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1073:in `_run_anything'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:908:in `_run_anything'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:662:in `_run_suites'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:625:in `_run_suites'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:625:in `each'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:627:in `block in _run_suites'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1136:in `_run_suite'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:999:in `_run_suite'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:972:in `block in _run_suite'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:972:in `map'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:979:in `block (2 levels) in _run_suite'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit/testcase.rb:18:in `run'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/minitest/unit.rb:1330:in `run'
/builddir/build/BUILD/ruby-3.0.3/tool/lib/test/unit.rb:1283:in `run_test'
/builddir/build/BUILD/ruby-3.0.3/test/ruby/test_array.rb:2871:in `test_sample'
/builddir/build/BUILD/ruby-3.0.3/test/ruby/test_array.rb:2871:in `srand'
-- C level backtrace information -------------------------------------------
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_print_backtrace+0x1c) [0x3ffab964c5c] vm_dump.c:758
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_vm_bugreport.constprop.0+0x4ba) [0x3ffab977f0a] vm_dump.c:998
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_bug_for_fatal_signal+0xb2) [0x3ffab7b2252] error.c:786
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(sigsegv+0x58) [0x3ffab8d2fb8] signal.c:963
[0x3ffabb7e490]
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_free_tmp_buffer+0x4) [0x3ffab7d1114] gc.c:11047
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rand_init+0x122) [0x3ffab896892] random.c:387
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_f_srand+0x6e) [0x3ffab8975fe] random.c:873
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_call_cfunc_with_frame+0x170) [0x3ffab9421f0] vm_insnhelper.c:2931
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_sendish+0x53a) [0x3ffab94659a] vm_insnhelper.c:4532
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_exec_core.lto_priv.0+0xe6) [0x3ffab947d16] insns.def:789
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_vm_exec+0x1ee) [0x3ffab96129e] vm.c:2172
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_yield+0xaa) [0x3ffab951a6a] vm.c:1398
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_ary_collect.lto_priv.0+0x6a) [0x3ffab742d6a] array.c:3635
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_call_cfunc_with_frame+0x170) [0x3ffab9421f0] vm_insnhelper.c:2931
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_sendish+0x53a) [0x3ffab94659a] vm_insnhelper.c:4532
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_exec_core.lto_priv.0+0x21c0) [0x3ffab949df0] insns.def:770
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_vm_exec+0x1ee) [0x3ffab96129e] vm.c:2172
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_yield+0xaa) [0x3ffab951a6a] vm.c:1398
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_ary_each+0x4c) [0x3ffab742aac] array.c:2523
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_call_cfunc_with_frame+0x170) [0x3ffab9421f0] vm_insnhelper.c:2931
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_call_method_each_type+0x530) [0x3ffab942d20] vm_insnhelper.c:3400
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_sendish+0x53a) [0x3ffab94659a] vm_insnhelper.c:4532
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_exec_core.lto_priv.0+0x21c0) [0x3ffab949df0] insns.def:770
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_vm_exec+0x1ee) [0x3ffab96129e] vm.c:2172
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_yield+0xaa) [0x3ffab951a6a] vm.c:1398
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_ary_each+0x4c) [0x3ffab742aac] array.c:2523
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_call_cfunc_with_frame+0x170) [0x3ffab9421f0] vm_insnhelper.c:2931
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_call_method_each_type+0x530) [0x3ffab942d20] vm_insnhelper.c:3400
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_sendish+0x53a) [0x3ffab94659a] vm_insnhelper.c:4532
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_exec_core.lto_priv.0+0x21c0) [0x3ffab949df0] insns.def:770
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_vm_exec+0x1ee) [0x3ffab96129e] vm.c:2172
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(require_internal.lto_priv.0+0xbc6) [0x3ffab809be6] load.c:1109
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_require_string+0x48) [0x3ffab809db8] load.c:1186
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_call_cfunc_with_frame+0x170) [0x3ffab9421f0] vm_insnhelper.c:2931
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_sendish+0x53a) [0x3ffab94659a] vm_insnhelper.c:4532
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(vm_exec_core.lto_priv.0+0xe6) [0x3ffab947d16] insns.def:789
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_vm_exec+0x1ee) [0x3ffab96129e] vm.c:2172
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(rb_ec_exec_node+0x10c) [0x3ffab7b71ac] eval.c:317
/builddir/build/BUILD/ruby-3.0.3/libruby.so.3.0.3(ruby_run_node+0x70) [0x3ffab7b72c0] eval.c:375
[0x2aa26e811f0]
[0x3ffab4b3872]
[0x3ffab4b3950]
[0x2aa26e81250]
... snip ...
</code></pre>
<p>Looking around, there is this <a class="changeset" title="Fix stack buffer overflow https://hackerone.com/reports/1306859" href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/bcc2bb28b04054106f4a36e8fd69b2af6ecb033a">git|bcc2bb28b04054106f4a36e8fd69b2af6ecb033a</a> in Ruby 3.1 (yes, Ruby 3.1 passes the test case just fine). Trying the patch in Ruby 3.0, it seems to fix the issue.</p>
Ruby master - Bug #18419 (Rejected): TestObjectSpace#test_finalizer_thread_raise deadlocks
https://bugs.ruby-lang.org/issues/18419
2021-12-21T14:29:39Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing Ruby 3.1 <a class="changeset" title="* gems/default_gems: Fix CI builds" href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/a6f76122a2395bd914daa0aa04fb5a6ce4e0c045">git|a6f76122a2</a>, I have started to observe deadlock in <code>TestObjectSpace#test_finalizer_thread_raise</code>. I hope I am not just impatient, but I have not observer any issues testing previously with <a class="changeset" title="Update bundled gems list at 2021-12-17" href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/74b58dd6906b83990d268e758ffab43f1cd62811">git|74b58dd690</a></p>
Ruby master - Bug #18414 (Closed): win32ole.gemspec installed on Linux?
https://bugs.ruby-lang.org/issues/18414
2021-12-17T17:09:04Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>While win32ole is not built on Linux and it used to not be installed. But the .gemspes is installed now. I believe that this is due to <a href="https://github.com/ruby/ruby/pull/5206" class="external">https://github.com/ruby/ruby/pull/5206</a>.</p>
<p>Besides the win32ole.gemspec being installed now, I think that the PR should be completely reverted, because the gem extensions are not build probably due to <a href="https://bugs.ruby-lang.org/issues/18373" class="external">https://bugs.ruby-lang.org/issues/18373</a> and not because of statical linking. The gems should have build extensions no matter if statical linking is enabled or not, so the analysis of the issue is wrong IMO.</p>
Ruby master - Bug #18393 (Closed): TestReadline#test_interrupt_in_other_thread fails on armv7hl
https://bugs.ruby-lang.org/issues/18393
2021-12-07T14:03:42Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing Ruby 3.1 on Fedora, I observe following issue:</p>
<pre><code> 1) Failure:
TestReadline#test_interrupt_in_other_thread [/builddir/build/BUILD/ruby-3.1.0-ec878dac90/test/readline/test_readline.rb:574]:
Unknown failure with exit status pid 12195 exit 1
Log: ** START **Readline::VERSION is 8.1.
#<Thread:0xb4619004 /tmp/interrupt_in_other_thread20211207-8101-5l3i8y:9 run> terminated with exception (report_on_exception is true):
/tmp/interrupt_in_other_thread20211207-8101-5l3i8y:13:in `readline': stack level too deep (SystemStackError)
from /tmp/interrupt_in_other_thread20211207-8101-5l3i8y:13:in `block in <main>'
/tmp/interrupt_in_other_thread20211207-8101-5l3i8y:13:in `readline': stack level too deep (SystemStackError)
from /tmp/interrupt_in_other_thread20211207-8101-5l3i8y:13:in `block in <main>'
</code></pre>
<p>It seems this is <a href="https://github.com/ruby/ruby/blob/a2d4e1cda68a49980a4f9f353f400efbde7e7884/.travis.yml#L100" class="external">know issue</a>. But I wonder:</p>
<ol>
<li>Can it be disabled similarly as the <a href="https://github.com/ruby/ruby/blob/a2d4e1cda68a49980a4f9f353f400efbde7e7884/.travis.yml#L100" class="external">i686</a> so one does not need to trying to figure this out.</li>
<li>If this is possibly readline issue, is there some upstream ticket somewhere? I see just reference to CI etc.</li>
</ol>
Ruby master - Bug #18391 (Closed): Error building gems with binary extensions on Ruby 3.1
https://bugs.ruby-lang.org/issues/18391
2021-12-06T17:14:40Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing Ruby 3.1 on Fedora, it seems that every gem with binary extension fails to build. This is the mkmf.log:</p>
<pre><code>LD_LIBRARY_PATH=.:/usr/lib64 pkg-config --exists openssl
LD_LIBRARY_PATH=.:/usr/lib64 pkg-config --libs openssl |
=> "-lssl -lcrypto \n"
LD_LIBRARY_PATH=.:/usr/lib64 "gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection conftest.c -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -lruby -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm -lm -lc"
/usr/bin/ld: cannot find -lz
/usr/bin/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return !!argv[argc];
6: }
/* end */
</code></pre>
<p>and the issue are missing gmp-devel and zlib-devel packages, which were never needed previously. It seems the issue is that <code>LIBRUBYARG_SHARED</code> includes <code>$(MAINLIBS)</code> since <a class="changeset" title="Shared libruby also needs MAINLIBS for jemalloc" href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/372d94b6ba73d85b2c63c70e873a4914bbe9dbad">git|372d94b6ba73d85b2c63c70e873a4914bbe9dbad</a>.</p>
<p>Please note that in Fedora, we construct the buildroot from scratch for every package. Therefore while the development dependencies are available during build of Ruby, they are not available during build of other packages. In essence, this is similar to <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Ruby configuration options should not be reused for gem builds (Closed)" href="https://bugs.ruby-lang.org/issues/14422">#14422</a></p>
Ruby master - Bug #18381 (Closed): Default vs Bundled gems
https://bugs.ruby-lang.org/issues/18381
2021-12-02T13:24:43Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Could there be documented what is the difference between default and bundled gems? E.g.</p>
<ul>
<li>Are the Bundled gems considered a part of StdLib or not?</li>
<li>What is general strategy for the future, seeing more and more gems moving from default to bundled gems in Ruby 3.1</li>
<li>Default gems does not need to be listed in Gemfile where Bundled gems needs to be listed in Gemfile</li>
<li>Default gems can be used without RubyGems where Bundled gems requires RubyGems</li>
</ul>
Ruby master - Bug #18380 (Closed): TestAddressResolve#test_socket_getnameinfo_domain_blocking tes...
https://bugs.ruby-lang.org/issues/18380
2021-12-02T08:32:59Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing Ruby 3.1.0, I observe the following test failure:</p>
<pre><code> 2) Error:
TestAddressResolve#test_socket_getnameinfo_domain_blocking:
SocketError: getnameinfo: Temporary failure in name resolution
/builddir/build/BUILD/ruby-3.1.0-a84dc9d80d/test/fiber/test_address_resolve.rb:272:in `getnameinfo'
/builddir/build/BUILD/ruby-3.1.0-a84dc9d80d/test/fiber/test_address_resolve.rb:272:in `block (2 levels) in test_socket_getnameinfo_domain_blocking'
</code></pre>
<p>Please note that the test is executed in container without network access.</p>
Ruby master - Bug #18374 (Closed): make: Circular spec/ruby/optional/capi/ext/array_spec.c <- spe...
https://bugs.ruby-lang.org/issues/18374
2021-12-01T11:43:16Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>The build log contains plenty of messages such as:</p>
<pre><code>... snip ...
make: Circular spec/ruby/optional/capi/ext/array_spec.c <- spec/ruby/optional/capi/ext/array_spec.c dependency dropped.
make: Circular spec/ruby/optional/capi/ext/basic_object_spec.c <- spec/ruby/optional/capi/ext/basic_object_spec.c dependency dropped.
make: Circular spec/ruby/optional/capi/ext/bignum_spec.c <- spec/ruby/optional/capi/ext/bignum_spec.c dependency dropped.
make: Circular spec/ruby/optional/capi/ext/binding_spec.c <- spec/ruby/optional/capi/ext/binding_spec.c dependency dropped.
make: Circular spec/ruby/optional/capi/ext/boolean_spec.c <- spec/ruby/optional/capi/ext/boolean_spec.c dependency dropped.
make: Circular spec/ruby/optional/capi/ext/class_id_under_autoload_spec.c <- spec/ruby/optional/capi/ext/class_id_under_autoload_spec.c dependency dropped.
... snip ...
</code></pre>
<p>What is it about? That does not look healthy to me.</p>
Ruby master - Bug #18373 (Closed): Bundled gem (RBS, debug) extensions are not properly built
https://bugs.ruby-lang.org/issues/18373
2021-12-01T11:11:24Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Trying to build Ruby 3.1.0 preview1 (or the current snapshot), I observe the following issue during installation of bundled RBS:</p>
<pre><code>Building native extensions. This could take a while...
/builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:95:in `run': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
current directory: /builddir/build/BUILDROOT/ruby-3.1.0-0.1.20211201git0b53a8895f.fc36.x86_64/usr/share/ruby/gems/gems/rbs-1.7.1/ext/rbs_extension
/builddir/build/BUILDROOT/ruby-3.1.0-0.1.20211201git0b53a8895f.fc36.x86_64/usr/bin/ruby --disable\\=gems -I/builddir/build/BUILDROOT/ruby-3.1.0-0.1.20211201git0b53a8895f.fc36.x86_64/usr/lib64/ruby -I /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib -r ./siteconf20211201-24852-213cgt.rb extconf.rb
creating Makefile
current directory: /builddir/build/BUILDROOT/ruby-3.1.0-0.1.20211201git0b53a8895f.fc36.x86_64/usr/share/ruby/gems/gems/rbs-1.7.1/ext/rbs_extension
make DESTDIR\\= clean
make[1]: Entering directory '/builddir/build/BUILDROOT/ruby-3.1.0-0.1.20211201git0b53a8895f.fc36.x86_64/usr/share/ruby/gems/gems/rbs-1.7.1/ext/rbs_extension'
rm -f
rm -fr rbs_extension.so false *.o *.bak mkmf.log .*.time
make[1]: Leaving directory '/builddir/build/BUILDROOT/ruby-3.1.0-0.1.20211201git0b53a8895f.fc36.x86_64/usr/share/ruby/gems/gems/rbs-1.7.1/ext/rbs_extension'
current directory: /builddir/build/BUILDROOT/ruby-3.1.0-0.1.20211201git0b53a8895f.fc36.x86_64/usr/share/ruby/gems/gems/rbs-1.7.1/ext/rbs_extension
make DESTDIR\\=
make[1]: Entering directory '/builddir/build/BUILDROOT/ruby-3.1.0-0.1.20211201git0b53a8895f.fc36.x86_64/usr/share/ruby/gems/gems/rbs-1.7.1/ext/rbs_extension'
make[1]: *** No rule to make target '/include/x86_64-linux/ruby/config.h', needed by 'constants.o'. Stop.
make[1]: Leaving directory '/builddir/build/BUILDROOT/ruby-3.1.0-0.1.20211201git0b53a8895f.fc36.x86_64/usr/share/ruby/gems/gems/rbs-1.7.1/ext/rbs_extension'
make failed, exit code 2
Gem files will remain installed in /builddir/build/BUILDROOT/ruby-3.1.0-0.1.20211201git0b53a8895f.fc36.x86_64/usr/share/ruby/gems/gems/rbs-1.7.1 for inspection.
Results logged to /builddir/build/BUILDROOT/ruby-3.1.0-0.1.20211201git0b53a8895f.fc36.x86_64/usr/share/ruby/gems/extensions/x86_64-linux/3.1.0/rbs-1.7.1/gem_make.out
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:44:in `block in make'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:36:in `each'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:36:in `make'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/ext_conf_builder.rb:63:in `block in build'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/tempfile.rb:317:in `open'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/ext_conf_builder.rb:26:in `build'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:161:in `build_extension'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:195:in `block in build_extensions'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:192:in `each'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:192:in `build_extensions'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/installer.rb:837:in `build_extensions'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/installer.rb:318:in `install'
from ./tool/rbinstall.rb:895:in `block in install'
from ./tool/rbinstall.rb:719:in `no_write'
from ./tool/rbinstall.rb:895:in `install'
from ./tool/rbinstall.rb:1062:in `block (2 levels) in <main>'
from ./tool/rbinstall.rb:1037:in `foreach'
from ./tool/rbinstall.rb:1037:in `block in <main>'
from ./tool/rbinstall.rb:1121:in `block in <main>'
from ./tool/rbinstall.rb:1118:in `each'
from ./tool/rbinstall.rb:1118:in `<main>'
/builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:95:in `run': make failed, exit code 2 (Gem::InstallError)
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:44:in `block in make'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:36:in `each'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:36:in `make'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/ext_conf_builder.rb:63:in `block in build'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/tempfile.rb:317:in `open'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/ext_conf_builder.rb:26:in `build'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:161:in `build_extension'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:195:in `block in build_extensions'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:192:in `each'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/ext/builder.rb:192:in `build_extensions'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/installer.rb:837:in `build_extensions'
from /builddir/build/BUILD/ruby-3.1.0-0b53a8895f/lib/rubygems/installer.rb:318:in `install'
from ./tool/rbinstall.rb:895:in `block in install'
from ./tool/rbinstall.rb:719:in `no_write'
from ./tool/rbinstall.rb:895:in `install'
from ./tool/rbinstall.rb:1062:in `block (2 levels) in <main>'
from ./tool/rbinstall.rb:1037:in `foreach'
from ./tool/rbinstall.rb:1037:in `block in <main>'
from ./tool/rbinstall.rb:1121:in `block in <main>'
from ./tool/rbinstall.rb:1118:in `each'
from ./tool/rbinstall.rb:1118:in `<main>'
make: *** [uncommon.mk:383: do-install-all] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.cpHVoZ (%install)
Bad exit status from /var/tmp/rpm-tmp.cpHVoZ (%install)
</code></pre>
<p>This is probably fault of RubyGems, but also, RBS have not contained binary extension previously, if I am not mistaken. So I am not entirely sure.</p>
<p>BTW there is not Ruby installed on the build system, so this should work with the Ruby being build.</p>
Ruby master - Bug #18257 (Closed): rb_mRubyVMFrozenCore is broken by GC run
https://bugs.ruby-lang.org/issues/18257
2021-10-20T10:28:03Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing Ruby with SystemTap on RHEL9 beta following these steps:</p>
<pre><code>$ stap -v /usr/share/doc/ruby-doc/ruby-exercise.stp &
$ ruby -e '[1, 2, 3].push(4)'
</code></pre>
<p>I get the following error:</p>
<pre><code>/usr/share/rubygems/rubygems/errors.rb:181: [BUG] Segmentation fault at 0x0000000000000014
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [powerpc64le-linux]
-- Control frame information -----------------------------------------------
c:0008 p:0028 s:0032 e:000027 CLASS /usr/share/rubygems/rubygems/errors.rb:181
c:0007 p:0110 s:0025 e:000024 CLASS /usr/share/rubygems/rubygems/errors.rb:153
c:0006 p:0007 s:0022 e:000021 TOP /usr/share/rubygems/rubygems/errors.rb:9 [FINISH]
c:0005 p:---- s:0019 e:000018 CFUNC :require
c:0004 p:0037 s:0014 e:000013 TOP /usr/share/rubygems/rubygems.rb:19 [FINISH]
c:0003 p:---- s:0011 e:000010 CFUNC :require
c:0002 p:0012 s:0006 e:000005 TOP <internal:gem_prelude>:2 [FINISH]
c:0001 p:0000 s:0003 E:0026c0 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
<internal:gem_prelude>:2:in `<internal:gem_prelude>'
<internal:gem_prelude>:2:in `require'
/usr/share/rubygems/rubygems.rb:19:in `<top (required)>'
/usr/share/rubygems/rubygems.rb:19:in `require'
/usr/share/rubygems/rubygems/errors.rb:9:in `<top (required)>'
/usr/share/rubygems/rubygems/errors.rb:153:in `<module:Gem>'
/usr/share/rubygems/rubygems/errors.rb:181:in `<class:SourceFetchProblem>'
-- C level backtrace information -------------------------------------------
/lib64/libruby.so.3.0(0x7fffb3b06ba0) [0x7fffb3b06ba0]
/lib64/libruby.so.3.0(0x7fffb38d9680) [0x7fffb38d9680]
/lib64/libruby.so.3.0(0x7fffb3a4b9d8) [0x7fffb3a4b9d8]
linux-vdso64.so.1(__kernel_sigtramp_rt64+0x0) [0x7fffb3ca0464]
[0x7fffb3a67ff8]
/lib64/libruby.so.3.0(rb_str_dup+0x130) [0x7fffb3a6b950]
/lib64/libruby.so.3.0(rb_class_path+0x3c) [0x7fffb3ac72ac]
/lib64/libruby.so.3.0(rb_dtrace_setup+0x134) [0x7fffb3ae46a4]
[0x7fffb3ae4a00]
[0x7fffb3ae7644]
[0x7fffb3aeba5c]
/lib64/libruby.so.3.0(rb_vm_exec+0x140) [0x7fffb3af1710]
/lib64/libruby.so.3.0(rb_iseq_eval+0x164) [0x7fffb3af29f4]
[0x7fffb394ce68]
/lib64/libruby.so.3.0(rb_require_string+0x44) [0x7fffb394e7f4]
/lib64/libruby.so.3.0(rb_f_require+0x1c) [0x7fffb394e88c]
[0x7fffb3acf538]
[0x7fffb3ae4900]
[0x7fffb3ae7644]
[0x7fffb3aeba5c]
/lib64/libruby.so.3.0(rb_vm_exec+0x140) [0x7fffb3af1710]
/lib64/libruby.so.3.0(rb_iseq_eval+0x164) [0x7fffb3af29f4]
[0x7fffb394ce68]
/lib64/libruby.so.3.0(rb_require_string+0x44) [0x7fffb394e7f4]
/lib64/libruby.so.3.0(rb_f_require+0x1c) [0x7fffb394e88c]
[0x7fffb3acf538]
[0x7fffb3ae4900]
[0x7fffb3ae7644]
[0x7fffb3aeba5c]
/lib64/libruby.so.3.0(rb_vm_exec+0x140) [0x7fffb3af1710]
/lib64/libruby.so.3.0(rb_iseq_eval+0x164) [0x7fffb3af29f4]
[0x7fffb3b15f60]
[0x7fffb3a4826c]
[0x7fffb3a499d8]
/lib64/libruby.so.3.0(ruby_process_options+0x158) [0x7fffb3a4a778]
/lib64/libruby.so.3.0(ruby_options+0xf4) [0x7fffb38e5904]
[0x11a360a60]
[0x7fffb35d7ca4]
[0x7fffb35d7e80]
-- Other runtime information -----------------------------------------------
* Loaded script: ruby
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 ruby2_keywords.rb
5 /usr/lib64/ruby/enc/encdb.so
6 /usr/lib64/ruby/enc/trans/transdb.so
7 /usr/lib64/ruby/rbconfig.rb
8 /usr/share/rubygems/rubygems/compatibility.rb
9 /usr/share/rubygems/rubygems/defaults.rb
10 /usr/share/rubygems/rubygems/deprecate.rb
* Process memory map:
11a360000-11a370000 r-xp 00000000 fd:00 34097694 /usr/bin/ruby
11a370000-11a380000 r--p 00000000 fd:00 34097694 /usr/bin/ruby
11a380000-11a390000 rw-p 00010000 fd:00 34097694 /usr/bin/ruby
1000d490000-1000d6b0000 rw-p 00000000 00:00 0 [heap]
7fffaf470000-7fffaf8d0000 r--s 00000000 fd:00 67811909 /usr/lib64/libruby.so.3.0.2
7fffaf8d0000-7fffaf8f0000 r--s 00000000 fd:00 34097694 /usr/bin/ruby
7fffaf8f0000-7fffaf900000 r-xp 00000000 fd:00 100999014 /usr/lib64/ruby/enc/trans/transdb.so
7fffaf900000-7fffaf910000 r--p 00000000 fd:00 100999014 /usr/lib64/ruby/enc/trans/transdb.so
7fffaf910000-7fffaf920000 rw-p 00000000 00:00 0
7fffaf920000-7fffaf930000 r-xp 00000000 fd:00 67811915 /usr/lib64/ruby/enc/encdb.so
7fffaf930000-7fffaf940000 r--p 00000000 fd:00 67811915 /usr/lib64/ruby/enc/encdb.so
7fffaf940000-7fffaf950000 rw-p 00000000 00:00 0
7fffaf950000-7fffaf960000 ---p 00000000 00:00 0
7fffaf960000-7fffafa10000 rw-p 00000000 00:00 0
7fffafa10000-7fffafa20000 ---p 00000000 00:00 0
7fffafa20000-7fffafad0000 rw-p 00000000 00:00 0
7fffafad0000-7fffafae0000 ---p 00000000 00:00 0
7fffafae0000-7fffafb90000 rw-p 00000000 00:00 0
7fffafb90000-7fffafba0000 ---p 00000000 00:00 0
7fffafba0000-7fffafc50000 rw-p 00000000 00:00 0
7fffafc50000-7fffafc60000 ---p 00000000 00:00 0
7fffafc60000-7fffafd10000 rw-p 00000000 00:00 0
7fffafd10000-7fffafd20000 ---p 00000000 00:00 0
7fffafd20000-7fffafdd0000 rw-p 00000000 00:00 0
7fffafdd0000-7fffafde0000 ---p 00000000 00:00 0
7fffafde0000-7fffafe90000 rw-p 00000000 00:00 0
7fffafe90000-7fffafea0000 ---p 00000000 00:00 0
7fffafea0000-7fffaff50000 rw-p 00000000 00:00 0
7fffaff50000-7fffaff60000 ---p 00000000 00:00 0
7fffaff60000-7fffb0010000 rw-p 00000000 00:00 0
7fffb0010000-7fffb0020000 ---p 00000000 00:00 0
7fffb0020000-7fffb00d0000 rw-p 00000000 00:00 0
7fffb00d0000-7fffb00e0000 ---p 00000000 00:00 0
7fffb00e0000-7fffb0190000 rw-p 00000000 00:00 0
7fffb0190000-7fffb01a0000 ---p 00000000 00:00 0
7fffb01a0000-7fffb0250000 rw-p 00000000 00:00 0
7fffb0250000-7fffb0260000 ---p 00000000 00:00 0
7fffb0260000-7fffb0310000 rw-p 00000000 00:00 0
7fffb0310000-7fffb0320000 ---p 00000000 00:00 0
7fffb0320000-7fffb03d0000 rw-p 00000000 00:00 0
7fffb03d0000-7fffb03e0000 ---p 00000000 00:00 0
7fffb03e0000-7fffb0490000 rw-p 00000000 00:00 0
7fffb0490000-7fffb04a0000 ---p 00000000 00:00 0
7fffb04a0000-7fffb0550000 rw-p 00000000 00:00 0
7fffb0550000-7fffb0560000 ---p 00000000 00:00 0
7fffb0560000-7fffb0610000 rw-p 00000000 00:00 0
7fffb0610000-7fffb0620000 ---p 00000000 00:00 0
7fffb0620000-7fffb06d0000 rw-p 00000000 00:00 0
7fffb06d0000-7fffb06e0000 ---p 00000000 00:00 0
7fffb06e0000-7fffb0790000 rw-p 00000000 00:00 0
7fffb0790000-7fffb07a0000 ---p 00000000 00:00 0
7fffb07a0000-7fffb0850000 rw-p 00000000 00:00 0
7fffb0850000-7fffb0860000 ---p 00000000 00:00 0
7fffb0860000-7fffb0910000 rw-p 00000000 00:00 0
7fffb0910000-7fffb0920000 ---p 00000000 00:00 0
7fffb0920000-7fffb09d0000 rw-p 00000000 00:00 0
7fffb09d0000-7fffb09e0000 ---p 00000000 00:00 0
7fffb09e0000-7fffb0a90000 rw-p 00000000 00:00 0
7fffb0a90000-7fffb0aa0000 ---p 00000000 00:00 0
7fffb0aa0000-7fffb0b50000 rw-p 00000000 00:00 0
7fffb0b50000-7fffb0b60000 ---p 00000000 00:00 0
7fffb0b60000-7fffb0c10000 rw-p 00000000 00:00 0
7fffb0c10000-7fffb0c20000 ---p 00000000 00:00 0
7fffb0c20000-7fffb0cd0000 rw-p 00000000 00:00 0
7fffb0cd0000-7fffb0ce0000 ---p 00000000 00:00 0
7fffb0ce0000-7fffb0d90000 rw-p 00000000 00:00 0
7fffb0d90000-7fffb0da0000 ---p 00000000 00:00 0
7fffb0da0000-7fffb0e50000 rw-p 00000000 00:00 0
7fffb0e50000-7fffb0e60000 ---p 00000000 00:00 0
7fffb0e60000-7fffb0f10000 rw-p 00000000 00:00 0
7fffb0f10000-7fffb0f20000 ---p 00000000 00:00 0
7fffb0f20000-7fffb0fd0000 rw-p 00000000 00:00 0
7fffb0fd0000-7fffb0fe0000 ---p 00000000 00:00 0
7fffb0fe0000-7fffb1090000 rw-p 00000000 00:00 0
7fffb1090000-7fffb10a0000 ---p 00000000 00:00 0
7fffb10a0000-7fffb32e0000 rw-p 00000000 00:00 0
7fffb32e0000-7fffb3340000 r--p 00000000 fd:00 33555845 /usr/lib/locale/en_US.utf8/LC_CTYPE
7fffb3340000-7fffb3420000 r-xp 00000000 fd:00 67172714 /usr/lib64/libm.so.6
7fffb3420000-7fffb3430000 r--p 000d0000 fd:00 67172714 /usr/lib64/libm.so.6
7fffb3430000-7fffb3440000 rw-p 000e0000 fd:00 67172714 /usr/lib64/libm.so.6
7fffb3440000-7fffb3480000 r-xp 00000000 fd:00 67172871 /usr/lib64/libcrypt.so.2.0.0
7fffb3480000-7fffb3490000 r--p 00030000 fd:00 67172871 /usr/lib64/libcrypt.so.2.0.0
7fffb3490000-7fffb34a0000 rw-p 00000000 00:00 0
7fffb34a0000-7fffb3540000 r-xp 00000000 fd:00 67172912 /usr/lib64/libgmp.so.10.4.0
7fffb3540000-7fffb3550000 r--p 00090000 fd:00 67172912 /usr/lib64/libgmp.so.10.4.0
7fffb3550000-7fffb3560000 rw-p 000a0000 fd:00 67172912 /usr/lib64/libgmp.so.10.4.0
7fffb3560000-7fffb3580000 r-xp 00000000 fd:00 67172832 /usr/lib64/libz.so.1.2.11
7fffb3580000-7fffb3590000 r--p 00010000 fd:00 67172832 /usr/lib64/libz.so.1.2.11
7fffb3590000-7fffb35a0000 rw-p 00020000 fd:00 67172832 /usr/lib64/libz.so.1.2.11
7fffb35a0000-7fffb37e0000 r-xp 00000000 fd:00 67172711 /usr/lib64/libc.so.6
7fffb37e0000-7fffb37f0000 r--p 00230000 fd:00 67172711 /usr/lib64/libc.so.6
7fffb37f0000-7fffb3800000 rw-p 00240000 fd:00 67172711 /usr/lib64/libc.so.6
7fffb3800000-7fffb3c30000 r-xp 00000000 fd:00 67811909 /usr/lib64/libruby.so.3.0.2
7fffb3c30000-7fffb3c40000 ---p 00430000 fd:00 67811909 /usr/lib64/libruby.so.3.0.2
7fffb3c40000-7fffb3c50000 r--p 00430000 fd:00 67811909 /usr/lib64/libruby.so.3.0.2
7fffb3c50000-7fffb3c60000 rw-p 00440000 fd:00 67811909 /usr/lib64/libruby.so.3.0.2
7fffb3c60000-7fffb3c70000 rw-p 00000000 00:00 0
7fffb3c70000-7fffb3c80000 r--s 00000000 fd:00 100673889 /usr/lib64/gconv/gconv-modules.cache
7fffb3c80000-7fffb3ca0000 r--p 00000000 00:00 0 [vvar]
7fffb3ca0000-7fffb3cb0000 r-xp 00000000 00:00 0 [vdso]
7fffb3cb0000-7fffb3d00000 r-xp 00000000 fd:00 67172707 /usr/lib64/ld64.so.2
7fffb3d00000-7fffb3d10000 r--p 00040000 fd:00 67172707 /usr/lib64/ld64.so.2
7fffb3d10000-7fffb3d20000 rw-p 00050000 fd:00 67172707 /usr/lib64/ld64.so.2
7fffdee00000-7fffdf600000 rw-p 00000000 00:00 0 [stack]
</code></pre>
<p>This should be the full BT:</p>
<pre><code>(gdb) bt
#0 0x00007fffa5711550 in uleb128 (p=0x10039917f10) at addr2line.c:200
#1 di_read_die (reader=reader@entry=0x10039917eb8, die=die@entry=0x10039917dc8) at addr2line.c:1343
#2 0x00007fffa5714574 in debug_info_read (offset=<optimized out>, lines=<optimized out>, traces=<optimized out>, num_traces=<optimized out>, reader=<optimized out>) at addr2line.c:1630
#3 fill_lines (num_traces=num_traces@entry=39, traces=traces@entry=0x7fffa585d778 <trace>, check_debuglink=check_debuglink@entry=0, objp=objp@entry=0x10039919370, lines=lines@entry=0x100399756f0,
offset=<optimized out>, offset@entry=0) at addr2line.c:1887
#4 0x00007fffa5714f28 in follow_debuglink (offset=0, lines=0x100399756f0, objp=0x10039919370, traces=<optimized out>, num_traces=39, debuglink=0x7fffa14e01e4 "ruby-3.0.2-155.el9.ppc64le.debug")
at addr2line.c:574
#5 fill_lines (num_traces=num_traces@entry=39, traces=traces@entry=0x7fffa585d778 <trace>, check_debuglink=check_debuglink@entry=1, objp=0x10039919370, objp@entry=0x100399193f0,
lines=lines@entry=0x100399756f0, offset=<optimized out>, offset@entry=-1) at addr2line.c:1925
#6 0x00007fffa571576c in rb_dump_backtrace_with_lines (num_traces=<optimized out>, traces=0x7fffa585d778 <trace>) at addr2line.c:2286
#7 0x00007fffa5706bac in rb_print_backtrace () at vm_dump.c:760
#8 rb_vm_bugreport (ctx=<optimized out>) at vm_dump.c:998
#9 0x00007fffa54d9680 in rb_bug_for_fatal_signal (default_sighandler=0x0, sig=<optimized out>, ctx=0x100399197c0, fmt=0x7fffa574e8f0 "Segmentation fault at %p") at error.c:786
#10 0x00007fffa564b9d8 in sigsegv (sig=<optimized out>, info=0x1003991a540, ctx=0x100399197c0) at signal.c:960
#11 <signal handler called>
#12 0x00007fffa5667ff8 in str_new_frozen_buffer (klass=klass@entry=1100477014720, orig=orig@entry=1100476844400, copy_encoding=copy_encoding@entry=1) at string.c:1329
#13 0x00007fffa566b950 in str_new_frozen (orig=1100476844400, klass=1100477014720) at string.c:1297
#14 str_duplicate_setup (dup=1100478149120, str=1100476844400, klass=1100477014720) at string.c:1570
#15 str_duplicate (str=1100476844400, klass=1100477014720) at string.c:1602
#16 rb_str_dup (str=1100476844400) at string.c:1608
#17 0x00007fffa56c72ac in rb_class_path (klass=1100476844480) at variable.c:173
#18 0x00007fffa56e46a4 in rb_dtrace_setup (ec=<optimized out>, klass=1100476844480, id=159, args=0x7fffe9d953d8) at vm.c:449
#19 0x00007fffa56e4a00 in vm_call_cfunc_with_frame (ec=<optimized out>, reg_cfp=0x7fffa4ecfe50, calling=<optimized out>) at vm_insnhelper.c:2916
#20 0x00007fffa56e7644 in vm_sendish (ec=0x10039811cf0, reg_cfp=0x7fffa4ecfe50, cd=0x100399a8db0, block_handler=<optimized out>, method_explorer=<optimized out>) at vm_callinfo.h:336
#21 0x00007fffa56eba5c in vm_exec_core (ec=0x10039811cf0, initial=<optimized out>, initial@entry=0) at insns.def:789
#22 0x00007fffa56f1710 in rb_vm_exec (ec=0x10039811cf0, mjit_enable_p=<optimized out>) at vm.c:2172
#23 0x00007fffa56f29f4 in rb_iseq_eval (iseq=0x100398aa7c0) at vm.c:2409
#24 0x00007fffa554ce68 in load_iseq_eval (fname=1100477137480, ec=0x10039811cf0) at load.c:594
#25 require_internal (ec=ec@entry=0x10039811cf0, fname=<optimized out>, fname@entry=1100476430040, exception=exception@entry=1) at load.c:1065
#26 0x00007fffa554e7f4 in rb_require_string (fname=1100476430040) at load.c:1142
#27 0x00007fffa554e88c in rb_f_require (obj=<optimized out>, fname=<optimized out>) at load.c:838
#28 0x00007fffa56cf538 in ractor_safe_call_cfunc_1 (recv=<optimized out>, argc=<optimized out>, argv=<optimized out>, func=<optimized out>) at vm_insnhelper.c:2750
#29 0x00007fffa56e4900 in vm_call_cfunc_with_frame (ec=0x10039811cf0, reg_cfp=0x7fffa4ecff30, calling=<optimized out>) at vm_insnhelper.c:2926
#30 0x00007fffa56e7644 in vm_sendish (ec=0x10039811cf0, reg_cfp=0x7fffa4ecff30, cd=0x10039901e50, block_handler=<optimized out>, method_explorer=<optimized out>) at vm_callinfo.h:336
#31 0x00007fffa56eba5c in vm_exec_core (ec=0x10039811cf0, initial=<optimized out>, initial@entry=0) at insns.def:789
#32 0x00007fffa56f1710 in rb_vm_exec (ec=0x10039811cf0, mjit_enable_p=<optimized out>) at vm.c:2172
#33 0x00007fffa56f29f4 in rb_iseq_eval (iseq=0x1003981b9a8) at vm.c:2409
#34 0x00007fffa554ce68 in load_iseq_eval (fname=1100476613760, ec=0x10039811cf0) at load.c:594
#35 require_internal (ec=ec@entry=0x10039811cf0, fname=<optimized out>, fname@entry=1100476614040, exception=exception@entry=1) at load.c:1065
#36 0x00007fffa554e7f4 in rb_require_string (fname=1100476614040) at load.c:1142
#37 0x00007fffa554e88c in rb_f_require (obj=<optimized out>, fname=<optimized out>) at load.c:838
#38 0x00007fffa56cf538 in ractor_safe_call_cfunc_1 (recv=<optimized out>, argc=<optimized out>, argv=<optimized out>, func=<optimized out>) at vm_insnhelper.c:2750
#39 0x00007fffa56e4900 in vm_call_cfunc_with_frame (ec=0x10039811cf0, reg_cfp=0x7fffa4ecffa0, calling=<optimized out>) at vm_insnhelper.c:2926
#40 0x00007fffa56e7644 in vm_sendish (ec=0x10039811cf0, reg_cfp=0x7fffa4ecffa0, cd=0x10039970580, block_handler=<optimized out>, method_explorer=<optimized out>) at vm_callinfo.h:336
#41 0x00007fffa56eba5c in vm_exec_core (ec=0x10039811cf0, initial=<optimized out>, initial@entry=0) at insns.def:789
#42 0x00007fffa56f1710 in rb_vm_exec (ec=0x10039811cf0, mjit_enable_p=<optimized out>) at vm.c:2172
#43 0x00007fffa56f29f4 in rb_iseq_eval (iseq=0x100398489f8) at vm.c:2409
#44 0x00007fffa5715f60 in rb_load_with_builtin_functions (feature_name=0x7fffa57b61c0 "gem_prelude", table=0x0) at builtin.c:54
#45 0x00007fffa564826c in ruby_init_prelude () at ruby.c:1498
#46 ruby_opt_init (opt=0x7fffe9d98690) at ruby.c:1521
#47 ruby_opt_init (opt=0x7fffe9d98690) at ruby.c:1506
#48 0x00007fffa56499d8 in process_options (argc=0, argc@entry=3, argv=0x7fffe9d98f10, argv@entry=0x7fffe9d98ef8, opt=opt@entry=0x7fffe9d98690) at ruby.c:1951
#49 0x00007fffa564a778 in ruby_process_options (argc=<optimized out>, argv=0x7fffe9d98ef8) at ruby.c:230
#50 0x00007fffa54e5904 in ruby_options (argc=<optimized out>, argv=0x7fffe9d98ef8) at eval.c:138
#51 0x000000010b860a60 in main (argc=<optimized out>, argv=<optimized out>) at ./main.c:50
</code></pre>
Ruby master - Bug #18156 (Closed): 3.0.2 configuration checks by default for C++ compiler instead...
https://bugs.ruby-lang.org/issues/18156
2021-09-08T14:54:20Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>It seems that with <a class="changeset" title="Update for autoconf 2.70" href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/c32375883a696fcf8e9e99875f1339ee5474a255">git|c32375883a696fcf8e9e99875f1339ee5474a255</a> the configure script does not check for C compiler but for C++ using Autoconf 2.71. This is the difference between 2.69 <a href="http://rubyci.s3.amazonaws.com/opensuseleap/ruby-master/log/20210908T123006Z.log.html.gz#configure" class="external">1</a> and 2.71 <a href="http://rubyci.s3.amazonaws.com/arch/ruby-master/log/20210908T120006Z.log.html.gz#configure" class="external">2</a>:</p>
<pre><code>--- 2.69
+++ 2.71
@@ -1,40 +1,27 @@
-+ ./configure --prefix=/home/chkbuild/chkbuild/tmp/build/20210908T123006Z --with-baseruby=/home/chkbuild/.rbenv/versions/3.0.2/bin/ruby --enable-debug-env --with-valgrind
-downloading config.guess ... done
-downloading config.sub ... done
++ ./configure --prefix=/home/chkbuild/chkbuild/tmp/build/20210908T120006Z --with-baseruby=/home/chkbuild/.rbenv/versions/3.0.2/bin/ruby --enable-debug-env --with-valgrind
+tool/config.guess already exists
+tool/config.sub already exists
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking for ld... ld
checking for gcc-ar... gcc-ar
-checking for g++... no
+checking for g++... g++
checking for gcc-nm... gcc-nm
checking for gcc-ranlib... gcc-ranlib
-checking for gcc... (cached) gcc
-checking whether the C compiler works... yes
-checking for C compiler default output file name... a.out
+checking whether the C++ compiler works... yes
+checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
-checking whether we are using the GNU C compiler... yes
+checking whether the compiler supports GNU C++... yes
+checking whether g++ accepts -g... yes
+checking for g++ option to enable C++11 features... none needed
+checking for gcc... (cached) gcc
+checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
-checking for gcc option to accept ISO C89... none needed
-checking for gcc option to accept ISO C99... none needed
-checking for g++... no
-checking for c++... no
-checking for gpp... no
-checking for aCC... no
-checking for CC... no
-checking for cxx... no
-checking for cc++... no
-checking for cl.exe... no
-checking for FCC... no
-checking for KCC... no
-checking for RCC... no
-checking for xlC_r... no
-checking for xlC... no
-checking whether we are using the GNU C++ compiler... no
-checking whether g++ accepts -g... no
+checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -E
checking for ranlib... (cached) gcc-ranlib
checking for gas... no
@@ -45,22 +32,20 @@
checking for objdump... objdump
checking for gstrip... no
checking for strip... strip
-checking for grep that handles long lines and -e... /usr/bin/grep
-checking for egrep... /usr/bin/grep -E
-checking for ANSI C header files... yes
-checking for sys/types.h... yes
-checking for sys/stat.h... yes
+checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
-checking for memory.h... yes
-checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
+checking for strings.h... yes
+checking for sys/stat.h... yes
+checking for sys/types.h... yes
checking for unistd.h... yes
-checking minix/config.h usability... no
-checking minix/config.h presence... no
+checking for wchar.h... yes
checking for minix/config.h... no
+checking for vfork.h... no
checking whether it is safe to define __EXTENSIONS__... yes
+checking whether _XOPEN_SOURCE should be defined... no
checking whether the linker is GNU ld... yes
checking whether gcc -E accepts -o... yes
checking for gcc... /usr/bin/gcc
@@ -68,7 +53,7 @@
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
-checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
+checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for dtrace... no
checking for dot... no
checking for doxygen... no
@@ -126,157 +111,64 @@
checking whether -fexcess-precision=standard is accepted as CFLAGS... yes
checking whether -fp-model precise is accepted as CFLAGS... no
checking whether compiler has statement and declarations in expressions... yes
-configure: Test skipped due to lack of a C++ compiler.
+checking whether CXXFLAGS is valid... yes
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for shutdown in -lsocket... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
+checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
-checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
-checking atomic.h usability... no
-checking atomic.h presence... no
checking for atomic.h... no
-checking copyfile.h usability... no
-checking copyfile.h presence... no
checking for copyfile.h... no
-checking direct.h usability... no
-checking direct.h presence... no
checking for direct.h... no
-checking grp.h usability... yes
-checking grp.h presence... yes
checking for grp.h... yes
-checking fcntl.h usability... yes
-checking fcntl.h presence... yes
checking for fcntl.h... yes
-checking float.h usability... yes
-checking float.h presence... yes
checking for float.h... yes
-checking ieeefp.h usability... no
-checking ieeefp.h presence... no
checking for ieeefp.h... no
-checking intrinsics.h usability... no
-checking intrinsics.h presence... no
checking for intrinsics.h... no
-checking langinfo.h usability... yes
-checking langinfo.h presence... yes
checking for langinfo.h... yes
-checking limits.h usability... yes
-checking limits.h presence... yes
checking for limits.h... yes
-checking locale.h usability... yes
-checking locale.h presence... yes
checking for locale.h... yes
-checking malloc.h usability... yes
-checking malloc.h presence... yes
checking for malloc.h... yes
-checking malloc/malloc.h usability... no
-checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
-checking malloc_np.h usability... no
-checking malloc_np.h presence... no
checking for malloc_np.h... no
-checking net/socket.h usability... no
-checking net/socket.h presence... no
checking for net/socket.h... no
-checking process.h usability... no
-checking process.h presence... no
checking for process.h... no
-checking pwd.h usability... yes
-checking pwd.h presence... yes
checking for pwd.h... yes
-checking sanitizer/asan_interface.h usability... yes
-checking sanitizer/asan_interface.h presence... yes
checking for sanitizer/asan_interface.h... yes
-checking sanitizer/msan_interface.h usability... no
-checking sanitizer/msan_interface.h presence... no
checking for sanitizer/msan_interface.h... no
-checking setjmpex.h usability... no
-checking setjmpex.h presence... no
checking for setjmpex.h... no
-checking stdalign.h usability... yes
-checking stdalign.h presence... yes
checking for stdalign.h... yes
-checking sys/attr.h usability... no
-checking sys/attr.h presence... no
checking for sys/attr.h... no
-checking sys/eventfd.h usability... yes
-checking sys/eventfd.h presence... yes
checking for sys/eventfd.h... yes
-checking sys/fcntl.h usability... yes
-checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
-checking sys/file.h usability... yes
-checking sys/file.h presence... yes
checking for sys/file.h... yes
-checking sys/id.h usability... no
-checking sys/id.h presence... no
checking for sys/id.h... no
-checking sys/ioctl.h usability... yes
-checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
-checking sys/mkdev.h usability... no
-checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
-checking sys/param.h usability... yes
-checking sys/param.h presence... yes
checking for sys/param.h... yes
-checking sys/prctl.h usability... yes
-checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
-checking sys/random.h usability... yes
-checking sys/random.h presence... yes
checking for sys/random.h... yes
-checking sys/resource.h usability... yes
-checking sys/resource.h presence... yes
checking for sys/resource.h... yes
-checking sys/select.h usability... yes
-checking sys/select.h presence... yes
checking for sys/select.h... yes
-checking sys/sendfile.h usability... yes
-checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
-checking sys/socket.h usability... yes
-checking sys/socket.h presence... yes
checking for sys/socket.h... yes
-checking sys/syscall.h usability... yes
-checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
-checking sys/sysmacros.h usability... yes
-checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
-checking sys/time.h usability... yes
-checking sys/time.h presence... yes
checking for sys/time.h... yes
-checking sys/times.h usability... yes
-checking sys/times.h presence... yes
checking for sys/times.h... yes
-checking sys/uio.h usability... yes
-checking sys/uio.h presence... yes
checking for sys/uio.h... yes
-checking sys/utime.h usability... no
-checking sys/utime.h presence... no
checking for sys/utime.h... no
-checking syscall.h usability... yes
-checking syscall.h presence... yes
checking for syscall.h... yes
-checking time.h usability... yes
-checking time.h presence... yes
checking for time.h... yes
-checking ucontext.h usability... yes
-checking ucontext.h presence... yes
checking for ucontext.h... yes
-checking utime.h usability... yes
-checking utime.h presence... yes
checking for utime.h... yes
-checking x86intrin.h usability... yes
-checking x86intrin.h presence... yes
checking for x86intrin.h... yes
-checking gmp.h usability... no
-checking gmp.h presence... no
-checking for gmp.h... no
+checking for gmp.h... yes
+checking for library containing __gmpz_init... -lgmp
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
@@ -285,7 +177,7 @@
checking for inline... inline
checking for working volatile... yes
checking for typeof syntax and keyword spelling... typeof
-checking for C/C++ restrict keyword... __restrict
+checking for C/C++ restrict keyword... __restrict__
checking for long long... yes
checking for off_t... yes
checking char bit... 8
@@ -331,7 +223,7 @@
checking for DEPRECATED_BY function attribute... __attribute__ ((__deprecated__("by "#n))) x
checking for NOINLINE function attribute... __attribute__ ((__noinline__)) x
checking for ALWAYS_INLINE function attribute... __attribute__ ((__always_inline__)) x
-checking for NO_SANITIZE function attribute... x
+checking for NO_SANITIZE function attribute... __attribute__ ((__no_sanitize__(san))) x
checking for NO_SANITIZE_ADDRESS function attribute... __attribute__ ((__no_sanitize_address__)) x
checking for NO_ADDRESS_SAFETY_ANALYSIS function attribute... __attribute__ ((__no_address_safety_analysis__)) x
checking for WARN_UNUSED_RESULT function attribute... __attribute__ ((__warn_unused_result__)) x
@@ -339,8 +231,8 @@
checking for ERRORFUNC function attribute... __attribute__ ((__error__ mesg)) x
checking for WARNINGFUNC function attribute... __attribute__ ((__warning__ mesg)) x
checking for WEAK function attribute... __attribute__ ((__weak__)) x
-checking for __attribute__((__depreacted__(msg))) in C++... no
-checking for std::nullptr_t... no
+checking for __attribute__((__depreacted__(msg))) in C++... yes
+checking for std::nullptr_t... yes
checking for FUNC_STDCALL function attribute... x
checking for FUNC_CDECL function attribute... x
checking for FUNC_FASTCALL function attribute... x
@@ -354,7 +246,8 @@
checking for RUBY_FUNC_NONNULL function attribute... __attribute__ ((__nonnull__(n))) x
checking for function name string predefined identifier... __func__
checking if enum over int is allowed... yes
-checking whether sys_nerr is declared... yes
+checking for gcc options needed to detect all undeclared functions... none needed
+checking whether sys_nerr is declared... no
checking whether getenv is declared... yes
checking for size_t... yes
checking size of size_t... 8
@@ -413,6 +306,8 @@
checking size of ssize_t... 8
checking for printf prefix for int64_t... NONE
checking for stack end address... __libc_stack_end
+checking for grep that handles long lines and -e... /usr/bin/grep
+checking for egrep... /usr/bin/grep -E
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... gid_t
checking for working alloca.h... yes
@@ -440,13 +335,8 @@
checking for strlcpy... no
checking for strstr... yes
checking for tgamma... yes
-checking sys/pstat.h usability... no
-checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking for pid_t... (cached) yes
-checking vfork.h usability... no
-checking vfork.h presence... no
-checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
@@ -514,7 +404,7 @@
checking for isfinite... no
checking for issetugid... no
checking for killpg... yes
-checking for lchmod... no
+checking for lchmod... yes
checking for lchown... yes
checking for link... yes
checking for llabs... yes
@@ -591,8 +481,6 @@
checking for __sinpi... no
checking for statx... yes
checking if getcwd allocates buffer if NULL is given... yes
-checking crypt.h usability... yes
-checking crypt.h presence... yes
checking for crypt.h... yes
checking for struct crypt_data.initialized... yes
checking for __builtin_alloca_with_align... yes
@@ -659,27 +547,17 @@
checking for getcontext... yes
checking for setcontext... yes
checking if fork works with pthread... yes
-checking sys/user.h usability... yes
-checking sys/user.h presence... yes
checking for sys/user.h... yes
checking whether PAGE_SIZE is compile-time const... yes
checking ioctl request type... unsigned long
checking whether ELF binaries are produced... yes
-checking elf.h usability... yes
-checking elf.h presence... yes
checking for elf.h... yes
-checking elf_abi.h usability... no
-checking elf_abi.h presence... no
checking for elf_abi.h... no
checking for uncompress in -lz... yes
-checking mach-o/loader.h usability... no
-checking mach-o/loader.h presence... no
checking for mach-o/loader.h... no
checking whether OS depend dynamic link works... yes
checking for backtrace... yes
checking for broken backtrace... no
-checking valgrind/memcheck.h usability... no
-checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for strip flags... -S -x
checking whether -fPIE is accepted as CFLAGS... yes
@@ -692,8 +570,6 @@
checking for sigsetjmp as a macro or function... no
checking for setjmp type... __builtin_setjmp
checking for prefix of external symbols... NONE
-checking pthread.h usability... yes
-checking pthread.h presence... yes
checking for pthread.h... yes
checking if make is GNU make... yes
.ext/include/x86_64-linux/ruby/config.h updated
@@ -704,7 +580,7 @@
---
Configuration summary for ruby version 3.1.0
- * Installation prefix: /home/chkbuild/chkbuild/tmp/build/20210908T123006Z
+ * Installation prefix: /home/chkbuild/chkbuild/tmp/build/20210908T120006Z
* exec prefix: ${prefix}
* arch: x86_64-linux
* site arch: ${arch}
</code></pre>
<p>Not sure what is the practical impact other than that the OpenSUSE CI is going break once it update to Autoconf 2.71, because there is not C++ compiler installed (and something similar already happened on Fedora <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1999479" class="external">3</a>, that is why I am looking into this).</p>
Ruby master - Bug #18133 (Closed): LTO: TestGCCompact#test_ast_compacts segfaults on i686
https://bugs.ruby-lang.org/issues/18133
2021-08-25T15:02:01Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I observe following segfault running the test suite on i686 on RHEL9:</p>
<pre><code>$ gdb --args ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems ./test/runner.rb --excludes-dir=./test/excludes -v
... snip ...
(gdb) handle SIGPIPE noprint nostop pass
Signal Stop Print Pass to program Description
SIGPIPE No No Yes Broken pipe
(gdb) r
... snip ...
[ 8347/20497] TestGBK#test_mbc_enc_len = 0.00 s
[ 8348/20497] TestGBK#test_mbc_to_code = 0.00 s
[ 8349/20497] TestGCCompact#test_ast_compacts--Type <RET> for more, q to quit, c to continue without paging--
Thread 1 "ruby" received signal SIGSEGV, Segmentation fault.
0xf7e33fe6 in rb_class_remove_from_super_subclasses (klass=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/class.c:96
96 RCLASS_EXT(entry->next->klass)->parent_subclasses = RCLASS_EXT(klass)->parent_subclasses;
(gdb) bt
#0 0xf7e33fe6 in rb_class_remove_from_super_subclasses (klass=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/class.c:96
#1 obj_free (obj=<optimized out>, objspace=0x5655ac30) at /builddir/build/BUILD/ruby-3.0.2/gc.c:3019
#2 gc_page_sweep (sweep_page=0x5a40e1f0, heap=0x5655ac48, objspace=0x5655ac30) at /builddir/build/BUILD/ruby-3.0.2/gc.c:4914
#3 gc_sweep_step.isra.0 (objspace=<optimized out>, heap=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/gc.c:5134
#4 0xf7ca3f09 in gc_sweep_rest (objspace=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/gc.c:5190
#5 gc_sweep (objspace=0x5655ac30) at /builddir/build/BUILD/ruby-3.0.2/gc.c:5313
#6 0xf7ca8250 in gc_marks (full_mark=<optimized out>, objspace=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/gc.c:7504
#7 gc_start (objspace=<optimized out>, reason=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/gc.c:8322
#8 0xf7ca8530 in garbage_collect (objspace=objspace@entry=0x5655ac30, reason=reason@entry=238592) at /builddir/build/BUILD/ruby-3.0.2/gc.c:8210
#9 0xf7caa723 in gc_start_internal (compact=2, immediate_sweep=2, immediate_mark=2, full_mark=2, self=1448715280, ec=0x5655afac) at /builddir/build/BUILD/ruby-3.0.2/gc.c:8553
#10 gc_compact (ec=0x5655afac, self=1448715280) at /builddir/build/BUILD/ruby-3.0.2/gc.c:9468
#11 0xf7dfae3c in invoke_bf (argv=0x0, bf=<optimized out>, reg_cfp=<optimized out>, ec=0x5655afac) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:5583
#12 vm_invoke_builtin_delegate (ec=0x5655afac, cfp=<optimized out>, bf=<optimized out>, start_index=0) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:5607
#13 0xf7e0664c in vm_exec_core (ec=0x0, initial=1448732852) at /builddir/build/BUILD/ruby-3.0.2/insns.def:1482
#14 0xf7e1d0d5 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm.c:2172
#15 0xf7e0c3c9 in invoke_block (captured=<optimized out>, captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=1450588460, iseq=0x5669174c, ec=0x5655afac)
at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:399
#16 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0xffffbf00, argc=1, self=1450588460, captured=<optimized out>, ec=0x5655afac)
at /builddir/build/BUILD/ruby-3.0.2/vm.c:1335
#17 invoke_block_from_c_bh (force_blockarg=<optimized out>, is_lambda=<optimized out>, cref=<optimized out>, passed_block_handler=<optimized out>, kw_splat=<optimized out>, argv=<optimized out>,
argc=<optimized out>, block_handler=<optimized out>, ec=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm.c:1353
#18 vm_yield (kw_splat=0, argv=0xffffbf00, argc=1, ec=0x5655afac) at /builddir/build/BUILD/ruby-3.0.2/vm.c:1398
#19 rb_yield_0 (argv=0xffffbf00, argc=1) at /builddir/build/BUILD/ruby-3.0.2/vm_eval.c:1333
#20 rb_yield (val=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm_eval.c:1349
#21 0xf7c2ae74 in rb_ary_collect (ary=1503666180) at /builddir/build/BUILD/ruby-3.0.2/array.c:3635
#22 0xf7dfc835 in vm_call_cfunc_with_frame (ec=0x5655afac, reg_cfp=0xf77f6d70, calling=0xffffc004) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:2929
#23 0xf7dfdd31 in vm_sendish (ec=0x5655afac, reg_cfp=0xf77f6d70, cd=0x566c8f00, block_handler=4152323453, method_explorer=mexp_search_method) at /builddir/build/BUILD/ruby-3.0.2/vm_callinfo.h:336
#24 0xf7e0590a in vm_exec_core (ec=0x0, initial=1448732852) at /builddir/build/BUILD/ruby-3.0.2/insns.def:770
#25 0xf7e1d0d5 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm.c:2172
#26 0xf7e0c3c9 in invoke_block (captured=<optimized out>, captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=1450588460, iseq=0x56691850, ec=0x5655afac)
at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:399
#27 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0xffffc2b0, argc=1, self=1450588460, captured=<optimized out>, ec=0x5655afac)
at /builddir/build/BUILD/ruby-3.0.2/vm.c:1335
#28 invoke_block_from_c_bh (force_blockarg=<optimized out>, is_lambda=<optimized out>, cref=<optimized out>, passed_block_handler=<optimized out>, kw_splat=<optimized out>, argv=<optimized out>,
argc=<optimized out>, block_handler=<optimized out>, ec=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm.c:1353
#29 vm_yield (kw_splat=0, argv=0xffffc2b0, argc=1, ec=0x5655afac) at /builddir/build/BUILD/ruby-3.0.2/vm.c:1398
#30 rb_yield_0 (argv=0xffffc2b0, argc=1) at /builddir/build/BUILD/ruby-3.0.2/vm_eval.c:1333
#31 rb_yield (val=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm_eval.c:1349
#32 0xf7c2ac4a in rb_ary_each (ary=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/array.c:2523
#33 rb_ary_each (ary=1501058480) at /builddir/build/BUILD/ruby-3.0.2/array.c:2517
#34 0xf7dfc835 in vm_call_cfunc_with_frame (ec=0x5655afac, reg_cfp=0xf77f6dfc, calling=0xffffc474) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:2929
#35 0xf7e00602 in vm_call_method_each_type (ec=0x5655afac, cfp=0xf77f6dfc, calling=0xffffc474) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:3419
#36 0xf7e00a46 in vm_call_refined (calling=<optimized out>, cfp=0xf77f6dfc, ec=0x5655afac) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:3398
#37 vm_call_method_each_type (ec=0x5655afac, cfp=0xf77f6dfc, calling=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:3476
#38 0xf7dfdd31 in vm_sendish (ec=0x5655afac, reg_cfp=0xf77f6dfc, cd=0x5669f510, block_handler=4152323593, method_explorer=mexp_search_method) at /builddir/build/BUILD/ruby-3.0.2/vm_callinfo.h:336
#39 0xf7e0590a in vm_exec_core (ec=0x0, initial=1448732852) at /builddir/build/BUILD/ruby-3.0.2/insns.def:770
#40 0xf7e1d0d5 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm.c:2172
#41 0xf7e0c3c9 in invoke_block (captured=<optimized out>, captured=<optimized out>, opt_pc=<optimized out>, type=<optimized out>, cref=0x0, self=1450588460, iseq=0x566900cc, ec=0x5655afac)
at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:399
#42 invoke_iseq_block_from_c (me=0x0, is_lambda=<optimized out>, cref=0x0, passed_block_handler=0, kw_splat=0, argv=0xffffc720, argc=1, self=1450588460, captured=<optimized out>, ec=0x5655afac)
at /builddir/build/BUILD/ruby-3.0.2/vm.c:1335
#43 invoke_block_from_c_bh (force_blockarg=<optimized out>, is_lambda=<optimized out>, cref=<optimized out>, passed_block_handler=<optimized out>, kw_splat=<optimized out>, argv=<optimized out>,
argc=<optimized out>, block_handler=<optimized out>, ec=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm.c:1353
#44 vm_yield (kw_splat=0, argv=0xffffc720, argc=1, ec=0x5655afac) at /builddir/build/BUILD/ruby-3.0.2/vm.c:1398
#45 rb_yield_0 (argv=0xffffc720, argc=1) at /builddir/build/BUILD/ruby-3.0.2/vm_eval.c:1333
#46 rb_yield (val=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm_eval.c:1349
#47 0xf7c2ac4a in rb_ary_each (ary=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/array.c:2523
--Type <RET> for more, q to quit, c to continue without paging--
#48 rb_ary_each (ary=1501058920) at /builddir/build/BUILD/ruby-3.0.2/array.c:2517
#49 0xf7dfc835 in vm_call_cfunc_with_frame (ec=0x5655afac, reg_cfp=0xf77f6ec0, calling=0xffffc8e4) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:2929
#50 0xf7e00602 in vm_call_method_each_type (ec=0x5655afac, cfp=0xf77f6ec0, calling=0xffffc8e4) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:3419
#51 0xf7e00a46 in vm_call_refined (calling=<optimized out>, cfp=0xf77f6ec0, ec=0x5655afac) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:3398
#52 vm_call_method_each_type (ec=0x5655afac, cfp=0xf77f6ec0, calling=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:3476
#53 0xf7dfdd31 in vm_sendish (ec=0x5655afac, reg_cfp=0xf77f6ec0, cd=0x566cbca0, block_handler=4152323789, method_explorer=mexp_search_method) at /builddir/build/BUILD/ruby-3.0.2/vm_callinfo.h:336
#54 0xf7e0590a in vm_exec_core (ec=0x0, initial=1448732852) at /builddir/build/BUILD/ruby-3.0.2/insns.def:770
#55 0xf7e1d0d5 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm.c:2172
#56 0xf7e1da4e in rb_iseq_eval (iseq=0x5657ad18) at /builddir/build/BUILD/ruby-3.0.2/vm.c:2409
#57 0xf7cdb23e in load_iseq_eval (ec=0x5655afac, fname=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/load.c:594
#58 0xf7ce0ef8 in require_internal (ec=<optimized out>, fname=<optimized out>, exception=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/load.c:1065
#59 0xf7ce10ce in rb_require_string (fname=1448587920) at /builddir/build/BUILD/ruby-3.0.2/load.c:1142
#60 0xf7ce117c in rb_f_require_relative (obj=1448845900, fname=1448588380) at /builddir/build/BUILD/ruby-3.0.2/load.c:857
#61 0xf7dfc835 in vm_call_cfunc_with_frame (ec=0x5655afac, reg_cfp=0xf77f6fd8, calling=0xffffce04) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:2929
#62 0xf7e00602 in vm_call_method_each_type (ec=0x5655afac, cfp=0xf77f6fd8, calling=0xffffce04) at /builddir/build/BUILD/ruby-3.0.2/vm_insnhelper.c:3419
#63 0xf7dfdd31 in vm_sendish (ec=0x5655afac, reg_cfp=0xf77f6fd8, cd=0x56616828, block_handler=0, method_explorer=mexp_search_method) at /builddir/build/BUILD/ruby-3.0.2/vm_callinfo.h:336
#64 0xf7e04d92 in vm_exec_core (ec=0x0, initial=1448732852) at /builddir/build/BUILD/ruby-3.0.2/insns.def:789
#65 0xf7e1d0d5 in rb_vm_exec (ec=<optimized out>, mjit_enable_p=<optimized out>) at /builddir/build/BUILD/ruby-3.0.2/vm.c:2172
#66 0xf7e1db19 in rb_iseq_eval_main (iseq=0x5657b63c) at /builddir/build/BUILD/ruby-3.0.2/vm.c:2420
#67 0xf7c91b99 in rb_ec_exec_node (ec=ec@entry=0x5655afac, n=n@entry=0x5657b63c) at /builddir/build/BUILD/ruby-3.0.2/eval.c:317
#68 0xf7c964fa in ruby_run_node (n=0x5657b63c) at /builddir/build/BUILD/ruby-3.0.2/eval.c:375
#69 0x56556143 in main (argc=<optimized out>, argv=<optimized out>) at ./main.c:50
</code></pre>
<p>Unfortunately:</p>
<ol>
<li>I don' have better reproducer then to run the whole test suite and even then it is not triggered always. I was not successful to hit the issue running just the single test case or the test file.</li>
<li>I have failed to reproduce this on CentOS Stream 9, which is surprising.</li>
</ol>
<p>Luckily, I can reproduce it on my system.</p>
<p>This is seems to be related to LTO, because I have never faced such issue with LTO disabled.</p>
Ruby master - Bug #18066 (Rejected): Load did_you_mean/error_highlight even with --disable-gems
https://bugs.ruby-lang.org/issues/18066
2021-08-07T20:30:45Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I guess that did_you_mean was not possible to load without RubyGems, when it used to be bundled gem. Since it is default gem, therefore part of StdLib and always available on load path, it should not be related to --disable-gems anymore.</p>
<p>IOW ruby.c contains this code:</p>
<pre><code class="ruby syntaxhl" data-language="ruby"> <span class="k">if</span> <span class="p">(</span><span class="n">opt</span><span class="o">-></span><span class="n">features</span><span class="p">.</span><span class="nf">set</span> <span class="o">&</span> <span class="no">FEATURE_BIT</span><span class="p">(</span><span class="n">gems</span><span class="p">))</span> <span class="p">{</span>
<span class="n">rb_define_module</span><span class="p">(</span><span class="s2">"Gem"</span><span class="p">);</span>
<span class="k">if</span> <span class="p">(</span><span class="n">opt</span><span class="o">-></span><span class="n">features</span><span class="p">.</span><span class="nf">set</span> <span class="o">&</span> <span class="no">FEATURE_BIT</span><span class="p">(</span><span class="n">error_highlight</span><span class="p">))</span> <span class="p">{</span>
<span class="n">rb_define_module</span><span class="p">(</span><span class="s2">"ErrorHighlight"</span><span class="p">);</span>
<span class="p">}</span>
<span class="k">if</span> <span class="p">(</span><span class="n">opt</span><span class="o">-></span><span class="n">features</span><span class="p">.</span><span class="nf">set</span> <span class="o">&</span> <span class="no">FEATURE_BIT</span><span class="p">(</span><span class="n">did_you_mean</span><span class="p">))</span> <span class="p">{</span>
<span class="n">rb_define_module</span><span class="p">(</span><span class="s2">"DidYouMean"</span><span class="p">);</span>
<span class="p">}</span>
<span class="p">}</span>
</code></pre>
<p>while it should look like:</p>
<pre><code> if (opt->features.set & FEATURE_BIT(gems)) {
rb_define_module("Gem");
}
if (opt->features.set & FEATURE_BIT(error_highlight)) {
rb_define_module("ErrorHighlight");
}
if (opt->features.set & FEATURE_BIT(did_you_mean)) {
rb_define_module("DidYouMean");
}
</code></pre>
<p>(I have not checked error_highlight, but I assume it behaves similarly to did_you_mean)</p>
Ruby master - Bug #18062 (Closed): Ruby with enabled LTO segfaults during build
https://bugs.ruby-lang.org/issues/18062
2021-08-05T07:56:39Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>After a while, I am trying to enable LTO for Ruby in Fedora. Previously I hit <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Ruby with LTO enabled has issues with SIGSEGV handler (Closed)" href="https://bugs.ruby-lang.org/issues/17052">#17052</a>, but now I observe issues much earlier during compliation already:</p>
<pre><code>./miniruby -I./lib -I. -I.ext/common ./tool/generic_erb.rb -c -o encdb.h ./template/encdb.h.tmpl ./enc enc
<internal:gc>:240: [BUG] Segmentation fault at 0x0000000000000004
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0003 p:0008 s:0011 e:000008 CLASS <internal:gc>:240
c:0002 p:0015 s:0006 e:000005 TOP <internal:gc>:235 [FINISH]
c:0001 p:0000 s:0003 E:000230 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
<internal:gc>:235:in `<internal:gc>'
<internal:gc>:240:in `<module:ObjectSpace>'
-- Machine register context ------------------------------------------------
RIP: 0x00005585da1c832a RBP: 0x000022f100140003 RSP: 0x00007ffd6460a6a0
RAX: 0x0000000000000001 RBX: 0x00000000000022f1 RCX: 0x00005585dade5d90
RDX: 0x000022f100140003 RDI: 0x00005585dae0c2d8 RSI: 0x0000000000000000
R8: 0x0000000000000000 R9: 0x00007ffd6460a6e0 R10: 0x00005585daebbe50
R11: 0x00007f00a785baa0 R12: 0x0000000000000000 R13: 0x00005585dade5d90
R14: 0x00005585dae0c2d8 R15: 0x00005585dade5d90 EFL: 0x0000000000010202
-- C level backtrace information -------------------------------------------
./miniruby(rb_print_backtrace+0x19) [0x5585da1cdba9]
./miniruby(rb_vm_bugreport+0x215) [0x5585da1d1a05]
./miniruby(rb_bug_for_fatal_signal+0xf4) [0x5585da004fc4]
./miniruby(sigsegv+0x4d) [0x5585da13709d]
[0x7f00a76a4760]
./miniruby(vm_ccs_push.part.0.lto_priv.0+0x2a) [0x5585da1c832a]
./miniruby(vm_search_cc+0xfe) [0x5585da1a7b7e]
./miniruby(vm_search_method_slowpath0.lto_priv.0+0x40) [0x5585da1a7d30]
./miniruby(vm_sendish.lto_priv.0+0x6e4) [0x5585da1aeff4]
./miniruby(vm_exec_core.lto_priv.0+0xa8) [0x5585da1b25b8]
./miniruby(rb_vm_exec+0x110) [0x5585da1c9ea0]
./miniruby(ruby_opt_init+0x6f) [0x5585da1355af]
./miniruby(load_file_internal+0x4b2) [0x5585da1376e2]
./miniruby(rb_ensure+0x106) [0x5585da00d5a6]
./miniruby(process_options+0x19e5) [0x5585da139a65]
./miniruby(ruby_process_options+0x151) [0x5585da13a551]
./miniruby(ruby_options+0x119) [0x5585da012de9]
./miniruby(main+0x57) [0x5585d9f8a1e7]
-- Other runtime information -----------------------------------------------
* Loaded script: ./miniruby
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 ruby2_keywords.rb
* Process memory map:
5585d9f5d000-5585d9f85000 r--p 00000000 fc:05 137001366 /builddir/build/BUILD/ruby-3.0.2/miniruby
5585d9f85000-5585da1f2000 r-xp 00028000 fc:05 137001366 /builddir/build/BUILD/ruby-3.0.2/miniruby
5585da1f2000-5585da2f6000 r--p 00295000 fc:05 137001366 /builddir/build/BUILD/ruby-3.0.2/miniruby
5585da2f6000-5585da2fd000 r--p 00398000 fc:05 137001366 /builddir/build/BUILD/ruby-3.0.2/miniruby
5585da2fd000-5585da2fe000 rw-p 0039f000 fc:05 137001366 /builddir/build/BUILD/ruby-3.0.2/miniruby
5585da2fe000-5585da30e000 rw-p 00000000 00:00 0
5585dad8d000-5585daed3000 rw-p 00000000 00:00 0 [heap]
7f00a28ae000-7f00a409b000 r--s 00000000 fc:05 137001366 /builddir/build/BUILD/ruby-3.0.2/miniruby
7f00a409b000-7f00a409e000 r--p 00000000 fc:05 270435464 /usr/lib64/libgcc_s-11-20210728.so.1
7f00a409e000-7f00a40b0000 r-xp 00003000 fc:05 270435464 /usr/lib64/libgcc_s-11-20210728.so.1
7f00a40b0000-7f00a40b3000 r--p 00015000 fc:05 270435464 /usr/lib64/libgcc_s-11-20210728.so.1
7f00a40b3000-7f00a40b4000 r--p 00017000 fc:05 270435464 /usr/lib64/libgcc_s-11-20210728.so.1
7f00a40b4000-7f00a40b5000 rw-p 00018000 fc:05 270435464 /usr/lib64/libgcc_s-11-20210728.so.1
7f00a40b5000-7f00a40b6000 ---p 00000000 00:00 0
7f00a40b6000-7f00a4157000 rw-p 00000000 00:00 0
7f00a4157000-7f00a4158000 ---p 00000000 00:00 0
7f00a4158000-7f00a41f9000 rw-p 00000000 00:00 0
7f00a41f9000-7f00a41fa000 ---p 00000000 00:00 0
7f00a41fa000-7f00a429b000 rw-p 00000000 00:00 0
7f00a429b000-7f00a429c000 ---p 00000000 00:00 0
7f00a429c000-7f00a433d000 rw-p 00000000 00:00 0
7f00a433d000-7f00a433e000 ---p 00000000 00:00 0
7f00a433e000-7f00a43df000 rw-p 00000000 00:00 0
7f00a43df000-7f00a43e0000 ---p 00000000 00:00 0
7f00a43e0000-7f00a4481000 rw-p 00000000 00:00 0
7f00a4481000-7f00a4482000 ---p 00000000 00:00 0
7f00a4482000-7f00a4523000 rw-p 00000000 00:00 0
7f00a4523000-7f00a4524000 ---p 00000000 00:00 0
7f00a4524000-7f00a45c5000 rw-p 00000000 00:00 0
7f00a45c5000-7f00a45c6000 ---p 00000000 00:00 0
7f00a45c6000-7f00a4667000 rw-p 00000000 00:00 0
7f00a4667000-7f00a4668000 ---p 00000000 00:00 0
7f00a4668000-7f00a4709000 rw-p 00000000 00:00 0
7f00a4709000-7f00a470a000 ---p 00000000 00:00 0
7f00a470a000-7f00a47ab000 rw-p 00000000 00:00 0
7f00a47ab000-7f00a47ac000 ---p 00000000 00:00 0
7f00a47ac000-7f00a484d000 rw-p 00000000 00:00 0
7f00a484d000-7f00a484e000 ---p 00000000 00:00 0
7f00a484e000-7f00a48ef000 rw-p 00000000 00:00 0
7f00a48ef000-7f00a48f0000 ---p 00000000 00:00 0
7f00a48f0000-7f00a4991000 rw-p 00000000 00:00 0
7f00a4991000-7f00a4992000 ---p 00000000 00:00 0
7f00a4992000-7f00a4a33000 rw-p 00000000 00:00 0
7f00a4a33000-7f00a4a34000 ---p 00000000 00:00 0
7f00a4a34000-7f00a4ad5000 rw-p 00000000 00:00 0
7f00a4ad5000-7f00a4ad6000 ---p 00000000 00:00 0
7f00a4ad6000-7f00a4b77000 rw-p 00000000 00:00 0
7f00a4b77000-7f00a4b78000 ---p 00000000 00:00 0
7f00a4b78000-7f00a4c19000 rw-p 00000000 00:00 0
7f00a4c19000-7f00a4c1a000 ---p 00000000 00:00 0
7f00a4c1a000-7f00a4cbb000 rw-p 00000000 00:00 0
7f00a4cbb000-7f00a4cbc000 ---p 00000000 00:00 0
7f00a4cbc000-7f00a4d5d000 rw-p 00000000 00:00 0
7f00a4d5d000-7f00a4d5e000 ---p 00000000 00:00 0
7f00a4d5e000-7f00a4dff000 rw-p 00000000 00:00 0
7f00a4dff000-7f00a4e00000 ---p 00000000 00:00 0
7f00a4e00000-7f00a4ea1000 rw-p 00000000 00:00 0
7f00a4ea1000-7f00a4ea2000 ---p 00000000 00:00 0
7f00a4ea2000-7f00a4f43000 rw-p 00000000 00:00 0
7f00a4f43000-7f00a4f44000 ---p 00000000 00:00 0
7f00a4f44000-7f00a4fe5000 rw-p 00000000 00:00 0
7f00a4fe5000-7f00a4fe6000 ---p 00000000 00:00 0
7f00a4fe6000-7f00a5087000 rw-p 00000000 00:00 0
7f00a5087000-7f00a5088000 ---p 00000000 00:00 0
7f00a5088000-7f00a5129000 rw-p 00000000 00:00 0
7f00a5129000-7f00a512a000 ---p 00000000 00:00 0
7f00a512a000-7f00a51cb000 rw-p 00000000 00:00 0
7f00a51cb000-7f00a51cc000 ---p 00000000 00:00 0
7f00a51cc000-7f00a526d000 rw-p 00000000 00:00 0
7f00a526d000-7f00a526e000 ---p 00000000 00:00 0
7f00a526e000-7f00a530f000 rw-p 00000000 00:00 0
7f00a530f000-7f00a5310000 ---p 00000000 00:00 0
7f00a5310000-7f00a53b1000 rw-p 00000000 00:00 0
7f00a53b1000-7f00a53b2000 ---p 00000000 00:00 0
7f00a53b2000-7f00a5453000 rw-p 00000000 00:00 0
7f00a5453000-7f00a5454000 ---p 00000000 00:00 0
7f00a5454000-7f00a7662000 rw-p 00000000 00:00 0
7f00a7662000-7f00a768e000 r--p 00000000 fc:05 270939738 /usr/lib64/libc.so.6
7f00a768e000-7f00a7803000 r-xp 0002c000 fc:05 270939738 /usr/lib64/libc.so.6
7f00a7803000-7f00a7857000 r--p 001a1000 fc:05 270939738 /usr/lib64/libc.so.6
7f00a7857000-7f00a7858000 ---p 001f5000 fc:05 270939738 /usr/lib64/libc.so.6
7f00a7858000-7f00a785b000 r--p 001f5000 fc:05 270939738 /usr/lib64/libc.so.6
7f00a785b000-7f00a785e000 rw-p 001f8000 fc:05 270939738 /usr/lib64/libc.so.6
7f00a785e000-7f00a786b000 rw-p 00000000 00:00 0
7f00a786b000-7f00a787a000 r--p 00000000 fc:05 270939741 /usr/lib64/libm.so.6
7f00a787a000-7f00a78eb000 r-xp 0000f000 fc:05 270939741 /usr/lib64/libm.so.6
7f00a78eb000-7f00a7945000 r--p 00080000 fc:05 270939741 /usr/lib64/libm.so.6
7f00a7945000-7f00a7946000 r--p 000d9000 fc:05 270939741 /usr/lib64/libm.so.6
7f00a7946000-7f00a7947000 rw-p 000da000 fc:05 270939741 /usr/lib64/libm.so.6
7f00a7947000-7f00a7949000 r--p 00000000 fc:05 271023995 /usr/lib64/libcrypt.so.2.0.0
7f00a7949000-7f00a795d000 r-xp 00002000 fc:05 271023995 /usr/lib64/libcrypt.so.2.0.0
7f00a795d000-7f00a7976000 r--p 00016000 fc:05 271023995 /usr/lib64/libcrypt.so.2.0.0
7f00a7976000-7f00a7977000 ---p 0002f000 fc:05 271023995 /usr/lib64/libcrypt.so.2.0.0
7f00a7977000-7f00a7978000 r--p 0002f000 fc:05 271023995 /usr/lib64/libcrypt.so.2.0.0
7f00a7978000-7f00a7981000 rw-p 00000000 00:00 0
7f00a7981000-7f00a7992000 r--p 00000000 fc:05 271068897 /usr/lib64/libgmp.so.10.4.0
7f00a7992000-7f00a7a0a000 r-xp 00011000 fc:05 271068897 /usr/lib64/libgmp.so.10.4.0
7f00a7a0a000-7f00a7a21000 r--p 00089000 fc:05 271068897 /usr/lib64/libgmp.so.10.4.0
7f00a7a21000-7f00a7a23000 r--p 0009f000 fc:05 271068897 /usr/lib64/libgmp.so.10.4.0
7f00a7a23000-7f00a7a24000 rw-p 000a1000 fc:05 271068897 /usr/lib64/libgmp.so.10.4.0
7f00a7a24000-7f00a7a27000 r--p 00000000 fc:05 271023970 /usr/lib64/libz.so.1.2.11
7f00a7a27000-7f00a7a35000 r-xp 00003000 fc:05 271023970 /usr/lib64/libz.so.1.2.11
7f00a7a35000-7f00a7a3b000 r--p 00011000 fc:05 271023970 /usr/lib64/libz.so.1.2.11
7f00a7a3b000-7f00a7a3c000 ---p 00017000 fc:05 271023970 /usr/lib64/libz.so.1.2.11
7f00a7a3c000-7f00a7a3d000 r--p 00017000 fc:05 271023970 /usr/lib64/libz.so.1.2.11
7f00a7a3d000-7f00a7a3e000 rw-p 00000000 00:00 0
7f00a7a41000-7f00a7a43000 rw-p 00000000 00:00 0
7f00a7a43000-7f00a7a44000 r--p 00000000 fc:05 270939734 /usr/lib64/ld-linux-x86-64.so.2
7f00a7a44000-7f00a7a69000 r-xp 00001000 fc:05 270939734 /usr/lib64/ld-linux-x86-64.so.2
7f00a7a69000-7f00a7a73000 r--p 00026000 fc:05 270939734 /usr/lib64/ld-linux-x86-64.so.2
7f00a7a73000-7f00a7a75000 r--p 0002f000 fc:05 270939734 /usr/lib64/ld-linux-x86-64.so.2
7f00a7a75000-7f00a7a77000 rw-p 00031000 fc:05 270939734 /usr/lib64/ld-linux-x86-64.so.2
7ffd63e17000-7ffd64616000 rw-p 00000000 00:00 0 [stack]
7ffd64762000-7ffd64766000 r--p 00000000 00:00 0 [vvar]
7ffd64766000-7ffd64768000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
make: *** [uncommon.mk:1096: encdb.h] Aborted (core dumped)
</code></pre>
Ruby master - Bug #17784 (Closed): lib/exe/* mistakenly appearing in Ruby 2.7?
https://bugs.ruby-lang.org/issues/17784
2021-04-08T09:21:46Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>It seems that <a class="changeset" title="merge revision(s) eeacdcb9a073c7d8ad703e0dc9faf229a5ebbe3c: [Backport #17558] Fixed prem..." href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/931815bfd86df603337194f3fcefb46bfe3e7940">git|931815bfd86df603337194f3fcefb46bfe3e7940</a> accidentally introduces the lib/exe dir. I can't see such directory in any other Ruby version neither I understand what it would be good for.</p>
Ruby master - Bug #17778 (Third Party's Issue): Properly install Bundler man pages
https://bugs.ruby-lang.org/issues/17778
2021-04-06T10:03:40Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>With Ruby 3.0.1, the Bundler man pages moved from <code>man</code> directory to <code>lib/bundler/man</code> directory. While I appreciate, that hopefully (I have not tested it yet) Ruby installed Bundler will be able to properly display <code>bundle help</code>, this OTOH results in Bundler man pages not being correctly installed into system wide locations. This is unexpected in teeny release. While I can fix this in Fedora, I'd appreciate, if <code>make install</code> installed the Bundler man pages into proper locations.</p>
Ruby master - Bug #17653 (Closed): SEGFAULT in ossl_ssl_read_internal
https://bugs.ruby-lang.org/issues/17653
2021-02-24T11:39:26Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Trying to run <a href="https://github.com/excon/excon" class="external">excon</a> test suite agains Ruby 3.0, it mysteriously <a href="https://github.com/excon/excon/runs/1946117998?check_suite_focus=true" class="external">fails</a> from time to time. Digging deeper and executing the <a href="https://github.com/excon/excon/blob/master/tests/test_helper.rb#L248" class="external">Rack</a> server on background with debug option, I started to observer this error:</p>
<pre><code>... snip ...
/usr/share/ruby/openssl/buffering.rb:80: [BUG] during_gc != 0
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0014 p:---- s:0103 e:000102 CFUNC :sysread
c:0013 p:0015 s:0098 e:000096 METHOD /usr/share/ruby/openssl/buffering.rb:80
c:0012 p:0057 s:0093 e:000092 METHOD /usr/share/ruby/openssl/buffering.rb:121
c:0011 p:0011 s:0086 e:000085 BLOCK /usr/share/gems/gems/webrick-1.7.0/lib/webrick/httprequest.rb:565
c:0010 p:0051 s:0083 e:000082 METHOD /usr/share/gems/gems/webrick-1.7.0/lib/webrick/utils.rb:258
c:0009 p:0023 s:0076 e:000075 METHOD /usr/share/gems/gems/webrick-1.7.0/lib/webrick/httprequest.rb:564
c:0008 p:0009 s:0069 e:000068 METHOD /usr/share/gems/gems/webrick-1.7.0/lib/webrick/httprequest.rb:579
c:0007 p:0127 s:0063 e:000062 METHOD /usr/share/gems/gems/webrick-1.7.0/lib/webrick/httprequest.rb:518
c:0006 p:0034 s:0054 E:002228 METHOD /usr/share/gems/gems/webrick-1.7.0/lib/webrick/httprequest.rb:257
c:0005 p:0033 s:0049 e:000047 METHOD /usr/share/gems/gems/rack-2.2.3/lib/rack/handler/webrick.rb:71
c:0004 p:0189 s:0032 e:000031 METHOD /usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpserver.rb:140
c:0003 p:0256 s:0021 e:000020 METHOD /usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpserver.rb:96
c:0002 p:0136 s:0009 e:000008 BLOCK /usr/share/gems/gems/webrick-1.7.0/lib/webrick/server.rb:310 [FINISH]
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/server.rb:310:in `block in start_thread'
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpserver.rb:96:in `run'
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpserver.rb:140:in `service'
/usr/share/gems/gems/rack-2.2.3/lib/rack/handler/webrick.rb:71:in `service'
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httprequest.rb:257:in `body'
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httprequest.rb:518:in `read_body'
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httprequest.rb:579:in `read_data'
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httprequest.rb:564:in `_read_data'
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/utils.rb:258:in `timeout'
/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httprequest.rb:565:in `block in _read_data'
/usr/share/ruby/openssl/buffering.rb:121:in `read'
/usr/share/ruby/openssl/buffering.rb:80:in `fill_rbuff'
/usr/share/ruby/openssl/buffering.rb:80:in `sysread'
-- C level backtrace information -------------------------------------------
/lib64/libruby.so.3.0(0x7f96979f6e0a) [0x7f96979f6e0a]
/lib64/libruby.so.3.0(0x7f969784bbf6) [0x7f969784bbf6]
/lib64/libruby.so.3.0(rb_bug+0xa1) [0x7f96977d775b]
/lib64/libruby.so.3.0(0x7f96977d7fc4) [0x7f96977d7fc4]
/lib64/libruby.so.3.0(0x7f969786f05e) [0x7f969786f05e]
/lib64/libruby.so.3.0(0x7f969786f113) [0x7f969786f113]
/lib64/libruby.so.3.0(0x7f96979314ff) [0x7f96979314ff]
/lib64/libruby.so.3.0(0x7f9697870885) [0x7f9697870885]
/lib64/libruby.so.3.0(0x7f969786ec0b) [0x7f969786ec0b]
/lib64/libruby.so.3.0(0x7f969786f05e) [0x7f969786f05e]
/lib64/libruby.so.3.0(0x7f969786f223) [0x7f969786f223]
/lib64/libruby.so.3.0(0x7f969797fd2d) [0x7f969797fd2d]
/usr/lib64/ruby/openssl.so(0x7f9693d80589) [0x7f9693d80589]
/lib64/libruby.so.3.0(0x7f96979db1d5) [0x7f96979db1d5]
/lib64/libruby.so.3.0(0x7f96979dd536) [0x7f96979dd536]
/lib64/libruby.so.3.0(0x7f96979e01d2) [0x7f96979e01d2]
/lib64/libruby.so.3.0(rb_vm_exec+0x115) [0x7f96979e5555]
/lib64/libruby.so.3.0(rb_vm_invoke_proc+0x5f) [0x7f96979ea30f]
/lib64/libruby.so.3.0(0x7f96979a7ca9) [0x7f96979a7ca9]
/lib64/libruby.so.3.0(0x7f96979a82e3) [0x7f96979a82e3]
/lib64/libruby.so.3.0(0x7f96979a8a9d) [0x7f96979a8a9d]
/lib64/libpthread.so.0(start_thread+0xe9) [0x7f969759f1c9]
/lib64/libc.so.6(clone+0x43) [0x7f96976d1473]
-- Other runtime information -----------------------------------------------
... snip ...
</code></pre>
<p>So executing the rackup server outside of the test suite:</p>
<pre><code>$ "rackup" "-s" "webrick" "--host" 127.0.0.1 /builddir/build/BUILD/excon-0.74.0/usr/share/gems/gems/excon-0.74.0/tests/rackups/ssl.ru
</code></pre>
<p>with attached GDB, I was finally able to obtain this backtrace:</p>
<pre><code>(gdb)
#0 0x00007f8bedde5292 in raise () from target:/lib64/libc.so.6
#1 0x00007f8beddce8a4 in abort () from target:/lib64/libc.so.6
#2 0x00007f8bedfae760 in die () at error.c:750
#3 rb_bug (fmt=fmt@entry=0x7f8bee1e1b29 "during_gc != 0") at error.c:773
#4 0x00007f8bedfaefc4 in gc_enter (lock_lev=<optimized out>, event=<optimized out>, objspace=<optimized out>) at gc.c:8463
#5 gc_rest (objspace=<optimized out>) at gc.c:8325
#6 0x00007f8bee04605e in gc_rest (objspace=0x5628b1dc77f0) at gc.c:8323
#7 objspace_malloc_increase (objspace=0x5628b1dc77f0, new_size=<optimized out>, old_size=<optimized out>, type=<optimized out>, mem=<optimized out>) at gc.c:10445
#8 0x00007f8bee046113 in objspace_malloc_fixup (size=<optimized out>, mem=0x7f8be411f620, objspace=0x5628b1dc77f0) at gc.c:10527
#9 objspace_xcalloc (size=<optimized out>, objspace=0x5628b1dc77f0) at gc.c:10850
#10 ruby_xcalloc_body (n=<optimized out>, size=<optimized out>) at gc.c:10856
#11 0x00007f8bee1084ff in default_rand () at random.c:171
#12 default_rand () at random.c:166
#13 random_mt_free (ptr=0x5628b2b567f0) at random.c:260
#14 0x00007f8bee047885 in obj_free (obj=94732796930160, objspace=0x5628b1dc77f0) at gc.c:2946
#15 gc_page_sweep (sweep_page=0x5628b2afe1c0, heap=0x5628b1dc7818, objspace=0x5628b1dc77f0) at gc.c:4907
#16 gc_sweep_step (objspace=0x5628b1dc77f0, heap=0x5628b1dc7818) at gc.c:5127
#17 0x00007f8bee045c0b in gc_sweep_rest (objspace=<optimized out>) at gc.c:5183
#18 gc_rest (objspace=0x5628b1dc77f0) at gc.c:8333
#19 0x00007f8bee04605e in gc_rest (objspace=0x5628b1dc77f0) at gc.c:8323
#20 objspace_malloc_increase (objspace=0x5628b1dc77f0, new_size=<optimized out>, old_size=<optimized out>, type=<optimized out>, mem=<optimized out>) at gc.c:10445
#21 0x00007f8bee046223 in objspace_malloc_fixup (size=<optimized out>, mem=0x7f8be4e0dbb0, objspace=0x5628b1dc77f0) at gc.c:10527
#22 objspace_xmalloc0 (objspace=0x5628b1dc77f0, size=size@entry=16385) at gc.c:10598
#23 0x00007f8bee04a5f9 in ruby_xmalloc2_body (size=1, n=16385) at gc.c:10840
#24 0x00007f8bee156d2d in str_new0 (klass=94732783446160, ptr=ptr@entry=0x0, len=len@entry=16384, termlen=termlen@entry=1) at string.c:798
#25 0x00007f8bee1588ae in str_new (len=16384, ptr=0x0, klass=<optimized out>) at string.c:815
#26 0x00007f8bea4fb589 in ossl_ssl_read_internal (argc=<optimized out>, argv=<optimized out>, self=94732787301960, nonblock=0) at ossl_ssl.c:1834
#27 0x00007f8bee1b21d5 in vm_call_cfunc_with_frame (ec=0x5628b298a860, reg_cfp=0x7f8be9f2a918, calling=<optimized out>) at /usr/src/debug/ruby-3.0.0-145.fc34.x86_64/vm_insnhelper.c:2898
#28 0x00007f8bee1b4536 in vm_sendish (ec=0x5628b298a860, reg_cfp=0x7f8be9f2a918, cd=0x5628b21511b0, block_handler=<optimized out>, method_explorer=<optimized out>)
at /usr/src/debug/ruby-3.0.0-145.fc34.x86_64/vm_callinfo.h:336
#29 0x00007f8bee1b71d2 in vm_exec_core (ec=0x5628b298a860, initial=140238901125456) at /usr/src/debug/ruby-3.0.0-145.fc34.x86_64/insns.def:789
#30 0x00007f8bee1bc555 in rb_vm_exec (ec=0x5628b298a860, mjit_enable_p=<optimized out>) at vm.c:2172
#31 0x00007f8bee1c130f in rb_vm_invoke_proc (ec=<optimized out>, proc=proc@entry=0x5628b26b24d0, argc=argc@entry=0, argv=argv@entry=0x7f8be9e2ab40, kw_splat=<optimized out>,
passed_block_handler=passed_block_handler@entry=0) at vm.c:1485
#32 0x00007f8bee17eca9 in thread_do_start_proc (th=0x5628b2988090) at thread.c:745
#33 0x00007f8bee17f2e3 in thread_do_start (th=0x5628b2988090) at thread.c:766
#34 thread_start_func_2 (th=0x5628b2988090, stack_start=<optimized out>) at thread.c:822
#35 0x00007f8bee17fa9d in thread_start_func_1 (th_ptr=<optimized out>) at /usr/src/debug/ruby-3.0.0-145.fc34.x86_64/thread_pthread.c:994
#36 0x00007f8bedd761c9 in start_thread () from target:/lib64/libpthread.so.0
#37 0x00007f8bedea8473 in clone () from target:/lib64/libc.so.6
(gdb)
</code></pre>
<p>This resembles the <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: openssl/buffering.rb:182: [BUG] Segmentation fault at 0x00001fa0fd774000 (Closed)" href="https://bugs.ruby-lang.org/issues/17102">#17102</a> as well as possibly <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Race between OpenSSL::SSL::SSLSocket#stop and #connect can cause a segmentation fault (Closed)" href="https://bugs.ruby-lang.org/issues/12292">#12292</a>.</p>
Ruby master - Bug #17607 (Closed): ChildProcess vs RUBY_PIPE_NONBLOCK_DEFAULT
https://bugs.ruby-lang.org/issues/17607
2021-02-03T14:46:37Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I am investigating why ChildProcess test suite fails running against Ruby 3.0 <a href="https://github.com/enkessler/childprocess/issues/173" class="external">1</a>. The current failure is:</p>
<pre><code> 1) ChildProcess can write to stdin interactively if duplex = true
Failure/Error: raise msg
RuntimeError:
timed out after 10 seconds:
expected "hello\ncat: -: Resource temporarily unavailable\n" to match /\Ahello\r?\n\z/m
Diff:
@@ -1,2 +1,3 @@
-/\Ahello\r?\n\z/m
+hello
+cat: -: Resource temporarily unavailable
# ./spec/spec_helper.rb:197:in `wait_until'
# ./spec/io_spec.rb:121:in `block (2 levels) in <top (required)>'
</code></pre>
<p>and as far as I can tell, the issue is that <code>RUBY_PIPE_NONBLOCK_DEFAULT</code> in io.c, which was <code>0</code>, was changed to <code>O_NONBLOCK</code> in <a class="changeset" title="Thread scheduler for light weight concurrency." href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/0e3b0fcdba70cf96a8e0654eb8f50aacb8024bd4">0e3b0fcdba70cf96a8e0654eb8f50aacb8024bd4</a>. I have tried to replace the <code>O_NONBLOCK</code> by <code>0</code> and the test succeeded. Unfortunately, other test case started to fail then. I am not really sure what might be the right fix.</p>
<p>This might have also reintroduced the <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Rack::Deflater on Rails responds with no data on Ruby 2.6.0 (Closed)" href="https://bugs.ruby-lang.org/issues/15356">#15356</a>.</p>
Ruby master - Bug #17585 (Closed): DWARF5 support?
https://bugs.ruby-lang.org/issues/17585
2021-01-26T17:11:31Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Fedora recently switched from DWARF4 to DWARF5 and since that time, I observe test suite errors on ppc64le:</p>
<pre><code> 1) Failure:
TestBugReporter#test_bug_reporter_add [/builddir/build/BUILD/ruby-3.0.0/test/-ext-/bug_reporter/test_bug_reporter.rb:24]:
pid 1691449 killed by SIGSEGV (signal 11) (core dumped)
| -:1: [BUG] Segmentation fault at 0x000003e80019cf39
| ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [powerpc64le-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0021 s:0006 e:000005 EVAL -:1 [FINISH]
| c:0001 p:0000 s:0003 E:000480 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -:1:in `<main>'
| -:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| Expected /Sample bug reporter: 12345/
| to match
| "-- Control frame information -----------------------------------------------\n"+
| "c:0003 p:---- s:0012 e:000011 CFUNC :kill\n"+
| "c:0002 p:0021 s:0006 e:000005 EVAL -:1 [FINISH]\n"+
| "c:0001 p:0000 s:0003 E:000480 (none) [FINISH]\n\n"+
| "-- Ruby level backtrace information ----------------------------------------\n"+
| "-:1:in `<main>'\n"+
| "-:1:in `kill'\n\n"+
| "-- C level backtrace information -------------------------------------------\n"
| after 4 patterns with 119 characters.
2) Failure:
TestRubyOptions#test_segv_loaded_features [/builddir/build/BUILD/ruby-3.0.0/test/ruby/test_rubyoptions.rb:748]:
pid 1721938 killed by SIGSEGV (signal 11) (core dumped)
| -e:1: [BUG] Segmentation fault at 0x000003e8001a4652
| ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [powerpc64le-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0016 s:0006 e:000005 BLOCK -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:000f80 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `block in <main>'
| -e:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| <""> expected but was
| <"-- C level backtrace information -------------------------------------------\n">.
3) Failure:
TestRubyOptions#test_segv_setproctitle [/builddir/build/BUILD/ruby-3.0.0/test/ruby/test_rubyoptions.rb:762]:
pid 1721957 killed by SIGSEGV (signal 11) (core dumped)
| -e:1: [BUG] Segmentation fault at 0x000003e8001a4665
| ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [powerpc64le-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0029 s:0006 e:000005 EVAL -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:0015c0 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `<main>'
| -e:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| <""> expected but was
| <"-- C level backtrace information -------------------------------------------\n">.
4) Failure:
TestRubyOptions#test_segv_test [/builddir/build/BUILD/ruby-3.0.0/test/ruby/test_rubyoptions.rb:742]:
pid 1721966 killed by SIGSEGV (signal 11) (core dumped)
| -e:1: [BUG] Segmentation fault at 0x000003e8001a466e
| ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [powerpc64le-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0015 s:0006 e:000005 EVAL -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:001fa0 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `<main>'
| -e:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| <""> expected but was
| <"-- C level backtrace information -------------------------------------------\n">.
Finished tests in 1111.355067s, 18.8689 tests/s, 2396.5689 assertions/s.
20970 tests, 2663439 assertions, 4 failures, 0 errors, 60 skips
ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [powerpc64le-linux]
</code></pre>
<p>And similar issues on armv7hl:</p>
<pre><code> 1) Failure:
TestBugReporter#test_bug_reporter_add [/builddir/build/BUILD/ruby-3.0.0/test/-ext-/bug_reporter/test_bug_reporter.rb:24]:
pid 722 killed by SIGSEGV (signal 11) (core dumped)
| -:1: [BUG] Segmentation fault at 0x000002d2
| ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [armv7hl-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0021 s:0006 e:000005 EVAL -:1 [FINISH]
| c:0001 p:0000 s:0003 E:000c98 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -:1:in `<main>'
| -:1:in `kill'
|
| -- Machine register context ------------------------------------------------
| "r0: 0x00000000 "r1: 0x0000000b "r2: 0x00000001 "r3: 0x00000001 "r4: 0x000002d2
| "r5: 0xb689a028 "r6: 0x0000000b "r7: 0x00000025 "r8: 0x00000002 "r9: 0x000002d2
| "r1: 0x00000001 "sp: 0xbe846d1c "fa: 0x00000000
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| Expected /Sample bug reporter: 12345/
| to match
| "-- Control frame information -----------------------------------------------\n"+
| "c:0003 p:---- s:0012 e:000011 CFUNC :kill\n"+
| "c:0002 p:0021 s:0006 e:000005 EVAL -:1 [FINISH]\n"+
| "c:0001 p:0000 s:0003 E:000c98 (none) [FINISH]\n\n"+
| "-- Ruby level backtrace information ----------------------------------------\n"+
| "-:1:in `<main>'\n"+
| "-:1:in `kill'\n\n"+
| "-- Machine register context ------------------------------------------------\n"+
| " \"r0: 0x00000000 \"r1: 0x0000000b \"r2: 0x00000001 \"r3: 0x00000001 \"r4: 0x000002d2\n"+
| " \"r5: 0xb689a028 \"r6: 0x0000000b \"r7: 0x00000025 \"r8: 0x00000002 \"r9: 0x000002d2\n"+
| " \"r1: 0x00000001 \"sp: 0xbe846d1c \"fa: 0x00000000\n\n"+
| "-- C level backtrace information -------------------------------------------\n"
| after 4 patterns with 107 characters.
2) Failure:
TestRubyOptions#test_segv_loaded_features [/builddir/build/BUILD/ruby-3.0.0/test/ruby/test_rubyoptions.rb:748]:
pid 8085 killed by SIGSEGV (signal 11) (core dumped)
| -e:1: [BUG] Segmentation fault at 0x00001f95
| ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [armv7hl-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0016 s:0006 e:000005 BLOCK -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:000660 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `block in <main>'
| -e:1:in `kill'
|
| -- Machine register context ------------------------------------------------
| "r0: 0x00000000 "r1: 0x0000000b "r2: 0x00000001 "r3: 0x00000001 "r4: 0x00001f95
| "r5: 0xb68e3028 "r6: 0x0000000b "r7: 0x00000025 "r8: 0x00000002 "r9: 0x00001f95
| "r1: 0x00000001 "sp: 0xbe8c5ac4 "fa: 0x00000000
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| <""> expected but was
| <"-- C level backtrace information -------------------------------------------\n">.
3) Failure:
TestRubyOptions#test_segv_setproctitle [/builddir/build/BUILD/ruby-3.0.0/test/ruby/test_rubyoptions.rb:762]:
pid 8092 killed by SIGSEGV (signal 11) (core dumped)
| -e:1: [BUG] Segmentation fault at 0x00001f9c
| ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [armv7hl-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0029 s:0006 e:000005 EVAL -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:000550 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `<main>'
| -e:1:in `kill'
|
| -- Machine register context ------------------------------------------------
| "r0: 0x00000000 "r1: 0x0000000b "r2: 0x00000001 "r3: 0x00000001 "r4: 0x00001f9c
| "r5: 0xb685d028 "r6: 0x0000000b "r7: 0x00000025 "r8: 0x00000002 "r9: 0x00001f9c
| "r1: 0x00000001 "sp: 0xbef7acfc "fa: 0x00000000
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| <""> expected but was
| <"-- C level backtrace information -------------------------------------------\n">.
4) Failure:
TestRubyOptions#test_segv_test [/builddir/build/BUILD/ruby-3.0.0/test/ruby/test_rubyoptions.rb:742]:
pid 8101 killed by SIGSEGV (signal 11) (core dumped)
| -e:1: [BUG] Segmentation fault at 0x00001fa5
| ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [armv7hl-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0015 s:0006 e:000005 EVAL -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:001f50 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `<main>'
| -e:1:in `kill'
|
| -- Machine register context ------------------------------------------------
| "r0: 0x00000000 "r1: 0x0000000b "r2: 0x00000001 "r3: 0x00000001 "r4: 0x00001fa5
| "r5: 0xb68bc028 "r6: 0x0000000b "r7: 0x00000025 "r8: 0x00000002 "r9: 0x00001fa5
| "r1: 0x00000001 "sp: 0xbee96d3c "fa: 0x00000000
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| <""> expected but was
| <"-- C level backtrace information -------------------------------------------\n">.
Finished tests in 1428.305544s, 14.6810 tests/s, 1866.1553 assertions/s.
20969 tests, 2665440 assertions, 4 failures, 0 errors, 56 skips
ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [armv7hl-linux]
</code></pre>
<p>So is it really due to DWARF5? Why is that just on two platforms?</p>
Ruby master - Bug #17536 (Closed): Segfault in `CFUNC :define_method`
https://bugs.ruby-lang.org/issues/17536
2021-01-13T16:41:40Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Trying to run test suite of <code>shoulda-matchers</code>, I observe the following issue:</p>
<pre><code>... snip ...
if the given value is present in the store
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:317: [BUG] Segmentation fault at 0x0024b9040035c000
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [s390x-linux]
-- Control frame information -----------------------------------------------
c:0096 p:---- s:0560 e:000559 CFUNC :define_method
c:0095 p:0028 s:0555 E:001db8 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:317
c:0094 p:0128 s:0544 e:000543 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:114
c:0093 p:0113 s:0535 e:000534 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:586
c:0092 p:0222 s:0528 e:000527 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:1956
c:0091 p:0064 s:0510 e:000509 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:1927
c:0090 p:0066 s:0496 e:000495 BLOCK /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:1891 [FINISH]
c:0089 p:---- s:0491 e:000490 CFUNC :each
c:0088 p:0290 s:0487 e:000486 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:1885
c:0087 p:0210 s:0473 e:000472 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:1633
c:0086 p:0031 s:0463 e:000462 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:751
c:0085 p:0011 s:0455 e:000454 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:712
c:0084 p:0006 s:0449 e:000448 BLOCK /usr/share/gems/gems/railties-6.0.3.4/lib/rails/application/finisher.rb:77 [FINISH]
c:0083 p:---- s:0446 e:000445 CFUNC :instance_exec
c:0082 p:0037 s:0442 e:000441 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:426
c:0081 p:0006 s:0436 e:000435 BLOCK /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:443 [FINISH]
c:0080 p:---- s:0432 e:000431 CFUNC :each
c:0079 p:0035 s:0428 e:000427 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:443
c:0078 p:0008 s:0424 e:000423 METHOD /usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:407
c:0077 p:0019 s:0419 e:000418 METHOD /builddir/build/BUILD/spec/support/unit/rails_application.rb:56
c:0076 p:0010 s:0414 e:000411 METHOD /builddir/build/BUILD/spec/support/unit/helpers/controller_builder.rb:19
c:0075 p:0075 s:0407 E:000828 METHOD /builddir/build/BUILD/spec/support/unit/helpers/controller_builder.rb:32
c:0074 p:0007 s:0398 E:0000d0 METHOD /builddir/build/BUILD/spec/support/unit/shared_examples/set_session_or_flash.rb:352
c:0073 p:0010 s:0392 e:000391 BLOCK /builddir/build/BUILD/spec/support/unit/shared_examples/set_session_or_flash.rb:156 [FINISH]
c:0072 p:---- s:0386 e:000385 CFUNC :instance_exec
c:0071 p:0015 s:0381 e:000380 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262
c:0070 p:0003 s:0376 e:000375 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508
c:0069 p:0003 s:0373 e:000372 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465
c:0068 p:0003 s:0370 e:000369 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486
c:0067 p:0003 s:0367 e:000366 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626
c:0066 p:0018 s:0364 e:000363 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350
c:0065 p:0040 s:0358 e:000357 BLOCK /usr/share/gems/gems/rspec-rails-4.0.1/lib/rspec/rails/example/controller_example_group.rb:191 [FINISH]
c:0064 p:---- s:0353 e:000352 CFUNC :instance_exec
c:0063 p:0013 s:0348 e:000347 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455
c:0062 p:0010 s:0342 e:000341 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390
c:0061 p:0010 s:0336 e:000335 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628
c:0060 p:0018 s:0333 e:000332 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350
c:0059 p:0009 s:0327 e:000326 BLOCK /usr/share/gems/gems/rspec-rails-4.0.1/lib/rspec/rails/adapters.rb:75 [FINISH]
c:0058 p:---- s:0323 e:000322 CFUNC :instance_exec
c:0057 p:0013 s:0318 e:000317 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455
c:0056 p:0010 s:0312 e:000311 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390
c:0055 p:0010 s:0306 e:000305 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628
c:0054 p:0018 s:0303 e:000302 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350
c:0053 p:0058 s:0297 E:002548 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629
c:0052 p:0108 s:0290 E:000528 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486
c:0051 p:0011 s:0283 E:0004b8 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465
c:0050 p:0019 s:0278 E:001c48 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508
c:0049 p:0111 s:0273 E:0024e8 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259
c:0048 p:0044 s:0266 e:000265 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644 [FINISH]
c:0047 p:---- s:0260 e:000259 CFUNC :map
c:0046 p:0011 s:0256 e:000255 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640
c:0045 p:0067 s:0251 e:000250 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606
c:0044 p:0007 s:0242 e:000241 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607 [FINISH]
c:0043 p:---- s:0238 e:000237 CFUNC :map
c:0042 p:0080 s:0234 e:000233 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607
c:0041 p:0007 s:0225 e:000224 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607 [FINISH]
c:0040 p:---- s:0221 e:000220 CFUNC :map
c:0039 p:0080 s:0217 e:000216 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607
c:0038 p:0007 s:0208 e:000207 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607 [FINISH]
c:0037 p:---- s:0204 e:000203 CFUNC :map
c:0036 p:0080 s:0200 e:000199 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607
c:0035 p:0007 s:0191 e:000190 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607 [FINISH]
c:0034 p:---- s:0187 e:000186 CFUNC :map
c:0033 p:0080 s:0183 e:000182 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607
c:0032 p:0007 s:0174 e:000173 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607 [FINISH]
c:0031 p:---- s:0170 e:000169 CFUNC :map
c:0030 p:0080 s:0166 e:000165 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607
c:0029 p:0008 s:0157 e:000156 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121 [FINISH]
c:0028 p:---- s:0153 e:000152 CFUNC :map
c:0027 p:0030 s:0149 e:000148 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121
c:0026 p:0019 s:0146 e:000145 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067
c:0025 p:0007 s:0142 e:000141 BLOCK /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116
c:0024 p:0009 s:0138 e:000137 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74
c:0023 p:0019 s:0133 e:000132 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115
c:0022 p:0042 s:0126 e:000125 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89
c:0021 p:0065 s:0120 e:000119 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71
c:0020 p:0020 s:0112 e:000111 METHOD /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45
c:0019 p:0025 s:0107 e:000106 TOP /usr/share/gems/gems/rspec-core-3.10.1/exe/rspec:4 [FINISH]
c:0018 p:---- s:0104 e:000103 CFUNC :load
c:0017 p:0112 s:0099 e:000098 TOP /usr/bin/rspec:23 [FINISH]
c:0016 p:---- s:0094 e:000093 CFUNC :load
c:0015 p:0107 s:0089 e:000088 METHOD /usr/share/gems/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63
c:0014 p:0071 s:0083 e:000082 METHOD /usr/share/gems/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28
c:0013 p:0024 s:0078 e:000077 METHOD /usr/share/gems/gems/bundler-2.2.3/lib/bundler/cli.rb:497
c:0012 p:0054 s:0073 e:000072 METHOD /usr/share/gems/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27
c:0011 p:0040 s:0065 e:000064 METHOD /usr/share/gems/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127
c:0010 p:0239 s:0058 e:000057 METHOD /usr/share/gems/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392
c:0009 p:0008 s:0045 e:000044 METHOD /usr/share/gems/gems/bundler-2.2.3/lib/bundler/cli.rb:30
c:0008 p:0066 s:0040 e:000039 METHOD /usr/share/gems/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485
c:0007 p:0008 s:0033 e:000032 METHOD /usr/share/gems/gems/bundler-2.2.3/lib/bundler/cli.rb:24
c:0006 p:0109 s:0028 e:000027 BLOCK /usr/share/gems/gems/bundler-2.2.3/libexec/bundle:49
c:0005 p:0014 s:0022 e:000021 METHOD /usr/share/gems/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130
c:0004 p:0162 s:0017 E:001d58 TOP /usr/share/gems/gems/bundler-2.2.3/libexec/bundle:37 [FINISH]
c:0003 p:---- s:0013 e:000012 CFUNC :load
c:0002 p:0112 s:0008 E:001690 EVAL /usr/bin/bundle:23 [FINISH]
c:0001 p:0000 s:0003 E:002480 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
/usr/bin/bundle:23:in `<main>'
/usr/bin/bundle:23:in `load'
/usr/share/gems/gems/bundler-2.2.3/libexec/bundle:37:in `<top (required)>'
/usr/share/gems/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
/usr/share/gems/gems/bundler-2.2.3/libexec/bundle:49:in `block in <top (required)>'
/usr/share/gems/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'
/usr/share/gems/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/share/gems/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'
/usr/share/gems/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/share/gems/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/share/gems/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/share/gems/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'
/usr/share/gems/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'
/usr/share/gems/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'
/usr/share/gems/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'
/usr/bin/rspec:23:in `<top (required)>'
/usr/bin/rspec:23:in `load'
/usr/share/gems/gems/rspec-core-3.10.1/exe/rspec:4:in `<top (required)>'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:606:in `run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `run_examples'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:640:in `map'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:644:in `block in run_examples'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:259:in `run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `with_around_and_singleton_context_hooks'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `with_around_example_hooks'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'
/usr/share/gems/gems/rspec-rails-4.0.1/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:390:in `execute_with'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:455:in `instance_exec'
/usr/share/gems/gems/rspec-rails-4.0.1/lib/rspec/rails/example/controller_example_group.rb:191:in `block (2 levels) in <module:ControllerExampleGroup>'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:350:in `call'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:486:in `block in run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:465:in `block in with_around_example_hooks'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:508:in `block in with_around_and_singleton_context_hooks'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `block in run'
/usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/example.rb:262:in `instance_exec'
/builddir/build/BUILD/spec/support/unit/shared_examples/set_session_or_flash.rb:156:in `block (6 levels) in <top (required)>'
/builddir/build/BUILD/spec/support/unit/shared_examples/set_session_or_flash.rb:352:in `controller_with_store'
/builddir/build/BUILD/spec/support/unit/helpers/controller_builder.rb:32:in `build_fake_response'
/builddir/build/BUILD/spec/support/unit/helpers/controller_builder.rb:19:in `define_routes'
/builddir/build/BUILD/spec/support/unit/rails_application.rb:56:in `draw_routes'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:407:in `draw'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:443:in `clear!'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:443:in `each'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:443:in `block in clear!'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:426:in `eval_block'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:426:in `instance_exec'
/usr/share/gems/gems/railties-6.0.3.4/lib/rails/application/finisher.rb:77:in `block (2 levels) in <module:Finisher>'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:712:in `get'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:751:in `map_method'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:1633:in `match'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:1885:in `map_match'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:1885:in `each'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:1891:in `block in map_match'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:1927:in `decomposed_match'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/mapper.rb:1956:in `add_route'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:586:in `add_route'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:114:in `add'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:317:in `define_url_helper'
/usr/share/gems/gems/actionpack-6.0.3.4/lib/action_dispatch/routing/route_set.rb:317:in `define_method'
-- C level backtrace information -------------------------------------------
/lib64/libruby.so.3.0(0x3ff93674958) [0x3ff93674958]
/lib64/libruby.so.3.0(0x3ff934b754a) [0x3ff934b754a]
/lib64/libruby.so.3.0(0x3ff935dced8) [0x3ff935dced8]
[0x2aa199e87c8]
/lib64/libruby.so.3.0(0x3ff936500ce) [0x3ff936500ce]
/lib64/libruby.so.3.0(0x3ff93462f26) [0x3ff93462f26]
/lib64/libruby.so.3.0(0x3ff9365be5c) [0x3ff9365be5c]
/lib64/libruby.so.3.0(0x3ff9366b53c) [0x3ff9366b53c]
/lib64/libruby.so.3.0(0x3ff93588d9a) [0x3ff93588d9a]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(rb_yield+0xa2) [0x3ff936677d2]
/lib64/libruby.so.3.0(rb_ary_each+0x4c) [0x3ff9343e05c]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(0x3ff93666836) [0x3ff93666836]
/lib64/libruby.so.3.0(0x3ff93666a46) [0x3ff93666a46]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(rb_yield+0xa2) [0x3ff936677d2]
/lib64/libruby.so.3.0(rb_ary_each+0x4c) [0x3ff9343e05c]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(0x3ff93666836) [0x3ff93666836]
/lib64/libruby.so.3.0(0x3ff93666a46) [0x3ff93666a46]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(0x3ff93666836) [0x3ff93666836]
/lib64/libruby.so.3.0(0x3ff93666a46) [0x3ff93666a46]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(0x3ff93666836) [0x3ff93666836]
/lib64/libruby.so.3.0(0x3ff93666a46) [0x3ff93666a46]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(rb_yield+0xa2) [0x3ff936677d2]
/lib64/libruby.so.3.0(0x3ff934450da) [0x3ff934450da]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(rb_yield+0xa2) [0x3ff936677d2]
/lib64/libruby.so.3.0(0x3ff934450da) [0x3ff934450da]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(rb_yield+0xa2) [0x3ff936677d2]
/lib64/libruby.so.3.0(0x3ff934450da) [0x3ff934450da]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(rb_yield+0xa2) [0x3ff936677d2]
/lib64/libruby.so.3.0(0x3ff934450da) [0x3ff934450da]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(rb_yield+0xa2) [0x3ff936677d2]
/lib64/libruby.so.3.0(0x3ff934450da) [0x3ff934450da]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(rb_yield+0xa2) [0x3ff936677d2]
/lib64/libruby.so.3.0(0x3ff934450da) [0x3ff934450da]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(rb_yield+0xa2) [0x3ff936677d2]
/lib64/libruby.so.3.0(0x3ff934450da) [0x3ff934450da]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d4bc) [0x3ff9365d4bc]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(0x3ff9350e27e) [0x3ff9350e27e]
/lib64/libruby.so.3.0(0x3ff9350f50c) [0x3ff9350f50c]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d43a) [0x3ff9365d43a]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(0x3ff9350e27e) [0x3ff9350e27e]
/lib64/libruby.so.3.0(0x3ff9350f50c) [0x3ff9350f50c]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d43a) [0x3ff9365d43a]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(0x3ff9350e27e) [0x3ff9350e27e]
/lib64/libruby.so.3.0(0x3ff9350f50c) [0x3ff9350f50c]
/lib64/libruby.so.3.0(0x3ff9365781e) [0x3ff9365781e]
/lib64/libruby.so.3.0(0x3ff93659cbc) [0x3ff93659cbc]
/lib64/libruby.so.3.0(0x3ff9365d43a) [0x3ff9365d43a]
/lib64/libruby.so.3.0(rb_vm_exec+0x1f4) [0x3ff93662af4]
/lib64/libruby.so.3.0(0x3ff934bd49c) [0x3ff934bd49c]
/lib64/libruby.so.3.0(ruby_run_node+0x70) [0x3ff934c13a0]
/usr/bin/rspec spec/unit(0x2aa17b80a30) [0x2aa17b80a30]
/lib64/libc.so.6(__libc_start_main+0xe4) [0x3ff9322bd34]
/usr/bin/rspec spec/unit(0x2aa17b80a94) [0x2aa17b80a94]
... snip ...
</code></pre>
<p>For more information, you can check the <code>build.log</code> here:</p>
<p><a href="https://koschei.fedoraproject.org/package/rubygem-shoulda-matchers" class="external">https://koschei.fedoraproject.org/package/rubygem-shoulda-matchers</a></p>
Ruby master - Bug #17518 (Closed): escapeHTML segfaults on armv7hl
https://bugs.ruby-lang.org/issues/17518
2021-01-08T11:36:39Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Preparing Ruby 3.0 update in Fedora Rawhide, I struggle with rebuild of 'unicode' gem on armv7hl:</p>
<pre><code>... snip ...
+ gem install -V --local --build-root . --force --document=ri,rdoc unicode-0.4.4.2.gem
... snip ...
Successfully installed unicode-0.4.4.2
Parsing documentation for unicode-0.4.4.2
Parsing sources...
7% [ 1/14] README
14% [ 2/14] ext/unicode/Makefile
21% [ 3/14] ext/unicode/extconf.rb
28% [ 4/14] ext/unicode/unicode.c
35% [ 5/14] ext/unicode/unicode.o
42% [ 6/14] ext/unicode/unicode_native.so
50% [ 7/14] ext/unicode/unidata.map
57% [ 8/14] ext/unicode/ustring.c
64% [ 9/14] ext/unicode/ustring.h
71% [10/14] ext/unicode/ustring.o
78% [11/14] ext/unicode/wstring.c
85% [12/14] ext/unicode/wstring.h
92% [13/14] ext/unicode/wstring.o
100% [14/14] lib/unicode.rb
Installing ri documentation for unicode-0.4.4.2
Installing darkfish documentation for unicode-0.4.4.2
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/to_html.rb:226: [BUG] Segmentation fault at 0xb2853000
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [armv7hl-linux]
-- Control frame information -----------------------------------------------
c:0045 p:---- s:0282 e:000281 CFUNC :escapeHTML
c:0044 p:0108 s:0277 e:000276 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/to_html.rb:226
c:0043 p:0005 s:0267 e:000266 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/verbatim.rb:26
c:0042 p:0031 s:0262 e:000261 BLOCK /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/formatter.rb:75 [FINISH]
c:0041 p:---- s:0258 e:000257 CFUNC :each
c:0040 p:0007 s:0254 e:000253 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/formatter.rb:70
c:0039 p:0010 s:0249 e:000248 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/document.rb:68
c:0038 p:0070 s:0244 e:000243 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/text.rb:107
c:0037 p:0006 s:0237 e:000236 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/markup.rb:28
c:0036 p:0352 s:0233 e:000231 EVAL /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/template/darkfish/page.rhtml:44 [FINISH]
c:0035 p:---- s:0229 e:000228 CFUNC :eval
c:0034 p:0052 s:0221 e:000220 METHOD /usr/share/ruby/erb.rb:905
c:0033 p:0015 s:0216 e:000215 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:753
c:0032 p:0028 s:0208 e:000207 BLOCK /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:732 [FINISH]
c:0031 p:---- s:0204 e:000203 CFUNC :open
c:0030 p:---- s:0201 e:000200 CFUNC :open
c:0029 p:0098 s:0195 e:000194 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:727
c:0028 p:0143 s:0185 E:0018d4 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:481
c:0027 p:0022 s:0174 e:000173 BLOCK /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:417 [FINISH]
c:0026 p:---- s:0166 e:000165 CFUNC :each
c:0025 p:0095 s:0162 e:000161 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:413
c:0024 p:0019 s:0151 e:000150 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:247
c:0023 p:0019 s:0146 e:000145 BLOCK /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:137 [FINISH]
c:0022 p:---- s:0143 e:000142 CFUNC :chdir
c:0021 p:0148 s:0138 e:000137 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:134
c:0020 p:0366 s:0130 e:000129 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:196
c:0019 p:0012 s:0122 e:000121 BLOCK /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:56 [FINISH]
c:0018 p:---- s:0118 e:000117 CFUNC :each
c:0017 p:0040 s:0114 e:000113 METHOD /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:55 [FINISH]
c:0016 p:---- s:0102 e:000101 IFUNC
c:0015 p:0009 s:0099 e:000096 BLOCK /usr/share/rubygems/rubygems/request_set.rb:311 [FINISH]
c:0014 p:---- s:0093 e:000092 CFUNC :each
c:0013 p:0073 s:0089 e:000088 METHOD /usr/share/rubygems/rubygems/request_set.rb:310
c:0012 p:0118 s:0081 E:000a08 METHOD /usr/share/rubygems/rubygems/request_set.rb:209
c:0011 p:0123 s:0071 e:000069 METHOD /usr/share/rubygems/rubygems/commands/install_command.rb:207
c:0010 p:0055 s:0061 e:000060 BLOCK /usr/share/rubygems/rubygems/commands/install_command.rb:223 [FINISH]
c:0009 p:---- s:0053 e:000052 CFUNC :each
c:0008 p:0009 s:0049 e:000048 METHOD /usr/share/rubygems/rubygems/commands/install_command.rb:216
c:0007 p:0060 s:0044 e:000043 METHOD /usr/share/rubygems/rubygems/commands/install_command.rb:164
c:0006 p:0084 s:0039 e:000038 METHOD /usr/share/rubygems/rubygems/command.rb:323
c:0005 p:0109 s:0031 e:000030 METHOD /usr/share/rubygems/rubygems/command_manager.rb:178
c:0004 p:0010 s:0023 e:000022 METHOD /usr/share/rubygems/rubygems/command_manager.rb:147
c:0003 p:0048 s:0016 e:000015 METHOD /usr/share/rubygems/rubygems/gem_runner.rb:53
c:0002 p:0127 s:0009 E:00015c EVAL /usr/bin/gem:21 [FINISH]
c:0001 p:0000 s:0003 E:001c60 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
/usr/bin/gem:21:in `<main>'
/usr/share/rubygems/rubygems/gem_runner.rb:53:in `run'
/usr/share/rubygems/rubygems/command_manager.rb:147:in `run'
/usr/share/rubygems/rubygems/command_manager.rb:178:in `process_args'
/usr/share/rubygems/rubygems/command.rb:323:in `invoke_with_build_args'
/usr/share/rubygems/rubygems/commands/install_command.rb:164:in `execute'
/usr/share/rubygems/rubygems/commands/install_command.rb:216:in `install_gems'
/usr/share/rubygems/rubygems/commands/install_command.rb:216:in `each'
/usr/share/rubygems/rubygems/commands/install_command.rb:223:in `block in install_gems'
/usr/share/rubygems/rubygems/commands/install_command.rb:207:in `install_gem'
/usr/share/rubygems/rubygems/request_set.rb:209:in `install'
/usr/share/rubygems/rubygems/request_set.rb:310:in `install_hooks'
/usr/share/rubygems/rubygems/request_set.rb:310:in `each'
/usr/share/rubygems/rubygems/request_set.rb:311:in `block in install_hooks'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:55:in `generation_hook'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:55:in `each'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:56:in `block in generation_hook'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:196:in `generate'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:134:in `document'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:134:in `chdir'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb:137:in `block in document'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:247:in `generate'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:413:in `generate_file_files'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:413:in `each'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:417:in `block in generate_file_files'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:481:in `generate_page'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:727:in `render_template'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:727:in `open'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:727:in `open'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:732:in `block in render_template'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb:753:in `template_result'
/usr/share/ruby/erb.rb:905:in `result'
/usr/share/ruby/erb.rb:905:in `eval'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/template/darkfish/page.rhtml:44:in `block in generate_page'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/markup.rb:28:in `description'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/text.rb:107:in `markup'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/document.rb:68:in `accept'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/formatter.rb:70:in `accept_document'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/formatter.rb:70:in `each'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/formatter.rb:75:in `block in accept_document'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/verbatim.rb:26:in `accept'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/to_html.rb:226:in `accept_verbatim'
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/to_html.rb:226:in `escapeHTML'
-- Machine register context ------------------------------------------------
"r0: 0x00feb818 "r1: 0x00000000 "r2: 0x0090742e "r3: 0x00ff0018 "r4: 0x00601430
"r5: 0xb2853000 "r6: 0x00feb818 "r7: 0x00feb834 "r8: 0xbee932c8 "r9: 0x00000000
"r1: 0x01e03438 "sp: 0xbee931f8 "fa: 0xb2853000
-- C level backtrace information -------------------------------------------
/lib/libruby.so.3.0(0xb6e0275c) [0xb6e0275c]
/lib/libruby.so.3.0(0xb6c54310) [0xb6c54310]
/lib/libruby.so.3.0(0xb6d76fb0) [0xb6d76fb0]
/lib/libc.so.6(__default_rt_sa_restorer+0x0) [0xb6a6d690]
/lib/libruby.so.3.0(0xb6c75ae0) [0xb6c75ae0]
/lib/libruby.so.3.0(0xb6c76794) [0xb6c76794]
/lib/libruby.so.3.0(0xb6c78164) [0xb6c78164]
/lib/libruby.so.3.0(0xb6c788d8) [0xb6c788d8]
/lib/libruby.so.3.0(0xb6c78dd4) [0xb6c78dd4]
/lib/libruby.so.3.0(0xb6c79304) [0xb6c79304]
/lib/libruby.so.3.0(0xb6d894a8) [0xb6d894a8]
/usr/lib/ruby/cgi/escape.so(0xb67e8a08) [0xb67e8a08]
/usr/lib/ruby/cgi/escape.so(0xb67e8b78) [0xb67e8b78]
/lib/libruby.so.3.0(0xb6de806c) [0xb6de806c]
/lib/libruby.so.3.0(0xb6dea2d4) [0xb6dea2d4]
/lib/libruby.so.3.0(0xb6deccb0) [0xb6deccb0]
/lib/libruby.so.3.0(rb_vm_exec+0x2b0) [0xb6df13e4]
/lib/libruby.so.3.0(rb_yield+0x9c) [0xb6df5b58]
/lib/libruby.so.3.0(rb_ary_each+0x3c) [0xb6be697c]
/lib/libruby.so.3.0(0xb6de806c) [0xb6de806c]
/lib/libruby.so.3.0(0xb6dea2d4) [0xb6dea2d4]
/lib/libruby.so.3.0(0xb6decd1c) [0xb6decd1c]
/lib/libruby.so.3.0(rb_vm_exec+0x2b0) [0xb6df13e4]
/lib/libruby.so.3.0(0xb6df206c) [0xb6df206c]
/lib/libruby.so.3.0(0xb6de806c) [0xb6de806c]
/lib/libruby.so.3.0(0xb6dea2d4) [0xb6dea2d4]
/lib/libruby.so.3.0(0xb6deccb0) [0xb6deccb0]
/lib/libruby.so.3.0(rb_vm_exec+0x2b0) [0xb6df13e4]
/lib/libruby.so.3.0(rb_yield+0x9c) [0xb6df5b58]
/lib/libruby.so.3.0(rb_ensure+0xf8) [0xb6c5bb54]
/lib/libruby.so.3.0(rb_vm_call0+0x4b8) [0xb6df64fc]
/lib/libruby.so.3.0(0xb6dfd388) [0xb6dfd388]
/lib/libruby.so.3.0(0xb6de905c) [0xb6de905c]
/lib/libruby.so.3.0(rb_block_call_kw+0x5c) [0xb6de92d0]
/usr/lib/ruby/pathname.so(0xb67ff610) [0xb67ff610]
/lib/libruby.so.3.0(0xb6de806c) [0xb6de806c]
/lib/libruby.so.3.0(0xb6dea2d4) [0xb6dea2d4]
/lib/libruby.so.3.0(0xb6decd1c) [0xb6decd1c]
/lib/libruby.so.3.0(rb_vm_exec+0x2b0) [0xb6df13e4]
/lib/libruby.so.3.0(rb_yield+0x9c) [0xb6df5b58]
/lib/libruby.so.3.0(rb_ary_each+0x3c) [0xb6be697c]
/lib/libruby.so.3.0(0xb6de806c) [0xb6de806c]
/lib/libruby.so.3.0(0xb6dea2d4) [0xb6dea2d4]
/lib/libruby.so.3.0(0xb6decd1c) [0xb6decd1c]
/lib/libruby.so.3.0(rb_vm_exec+0x2b0) [0xb6df13e4]
/lib/libruby.so.3.0(rb_yield+0x9c) [0xb6df5b58]
/lib/libruby.so.3.0(rb_ensure+0xf8) [0xb6c5bb54]
/lib/libruby.so.3.0(0xb6c3a184) [0xb6c3a184]
/lib/libruby.so.3.0(0xb6de806c) [0xb6de806c]
/lib/libruby.so.3.0(0xb6dea2d4) [0xb6dea2d4]
/lib/libruby.so.3.0(0xb6decd1c) [0xb6decd1c]
/lib/libruby.so.3.0(rb_vm_exec+0x2b0) [0xb6df13e4]
/lib/libruby.so.3.0(rb_yield+0x9c) [0xb6df5b58]
/lib/libruby.so.3.0(rb_ary_each+0x3c) [0xb6be697c]
/lib/libruby.so.3.0(0xb6de806c) [0xb6de806c]
/lib/libruby.so.3.0(0xb6dea2d4) [0xb6dea2d4]
/lib/libruby.so.3.0(0xb6decd1c) [0xb6decd1c]
/lib/libruby.so.3.0(rb_vm_exec+0x2b0) [0xb6df13e4]
/lib/libruby.so.3.0(rb_vm_call0+0x364) [0xb6df63a8]
/lib/libruby.so.3.0(rb_method_call_with_block_kw+0x8c) [0xb6d25cf0]
/lib/libruby.so.3.0(0xb6de6ddc) [0xb6de6ddc]
/lib/libruby.so.3.0(0xb6de6e90) [0xb6de6e90]
/lib/libruby.so.3.0(0xb6ddc74c) [0xb6ddc74c]
/lib/libruby.so.3.0(0xb6ddc7dc) [0xb6ddc7dc]
/lib/libruby.so.3.0(0xb6dea2d4) [0xb6dea2d4]
/lib/libruby.so.3.0(0xb6deccb0) [0xb6deccb0]
/lib/libruby.so.3.0(rb_vm_exec+0x2b0) [0xb6df13e4]
/lib/libruby.so.3.0(rb_yield+0x9c) [0xb6df5b58]
/lib/libruby.so.3.0(rb_ary_each+0x3c) [0xb6be697c]
/lib/libruby.so.3.0(0xb6de806c) [0xb6de806c]
/lib/libruby.so.3.0(0xb6dea2d4) [0xb6dea2d4]
/lib/libruby.so.3.0(0xb6decd1c) [0xb6decd1c]
/lib/libruby.so.3.0(rb_vm_exec+0x2b0) [0xb6df13e4]
/lib/libruby.so.3.0(rb_yield+0x9c) [0xb6df5b58]
/lib/libruby.so.3.0(rb_ary_each+0x3c) [0xb6be697c]
/lib/libruby.so.3.0(0xb6de806c) [0xb6de806c]
/lib/libruby.so.3.0(0xb6dea2d4) [0xb6dea2d4]
/lib/libruby.so.3.0(0xb6decd1c) [0xb6decd1c]
/lib/libruby.so.3.0(rb_vm_exec+0x2b0) [0xb6df13e4]
/lib/libruby.so.3.0(0xb6c5a394) [0xb6c5a394]
/lib/libruby.so.3.0(ruby_run_node+0x68) [0xb6c5db84]
/usr/bin/ruby-mri(0x4b3810) [0x4b3810]
/lib/libc.so.6(__libc_start_main+0x118) [0xb6a5539c]
-- Other runtime information -----------------------------------------------
* Loaded script: /usr/bin/gem
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 ruby2_keywords.rb
5 /usr/lib/ruby/enc/encdb.so
6 /usr/lib/ruby/enc/trans/transdb.so
7 /usr/lib/ruby/rbconfig.rb
8 /usr/share/rubygems/rubygems/compatibility.rb
9 /usr/share/rubygems/rubygems/defaults.rb
10 /usr/share/rubygems/rubygems/deprecate.rb
11 /usr/share/rubygems/rubygems/errors.rb
12 /usr/share/rubygems/rubygems/exceptions.rb
13 /usr/share/rubygems/rubygems/defaults/operating_system.rb
14 /usr/share/rubygems/rubygems/basic_specification.rb
15 /usr/share/rubygems/rubygems/stub_specification.rb
16 /usr/share/rubygems/rubygems/text.rb
17 /usr/share/rubygems/rubygems/user_interaction.rb
18 /usr/share/rubygems/rubygems/specification_policy.rb
19 /usr/share/rubygems/rubygems/util/list.rb
20 /usr/share/rubygems/rubygems/platform.rb
21 /usr/share/rubygems/rubygems/version.rb
22 /usr/share/rubygems/rubygems/requirement.rb
23 /usr/share/rubygems/rubygems/specification.rb
24 /usr/share/rubygems/rubygems/util.rb
25 /usr/share/rubygems/rubygems/dependency.rb
26 /usr/share/rubygems/rubygems/core_ext/kernel_gem.rb
27 /usr/lib/ruby/monitor.so
28 /usr/share/ruby/monitor.rb
29 /usr/share/rubygems/rubygems/core_ext/kernel_require.rb
30 /usr/share/rubygems/rubygems/core_ext/kernel_warn.rb
31 /usr/share/rubygems/rubygems.rb
32 /usr/share/rubygems/rubygems/path_support.rb
33 /usr/share/ruby/did_you_mean/version.rb
34 /usr/share/ruby/did_you_mean/core_ext/name_error.rb
35 /usr/share/ruby/did_you_mean/levenshtein.rb
36 /usr/share/ruby/did_you_mean/jaro_winkler.rb
37 /usr/share/ruby/did_you_mean/spell_checker.rb
38 /usr/share/ruby/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
39 /usr/share/ruby/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
40 /usr/share/ruby/did_you_mean/spell_checkers/name_error_checkers.rb
41 /usr/share/ruby/did_you_mean/spell_checkers/method_name_checker.rb
42 /usr/share/ruby/did_you_mean/spell_checkers/key_error_checker.rb
43 /usr/share/ruby/did_you_mean/spell_checkers/null_checker.rb
44 /usr/share/ruby/did_you_mean/tree_spell_checker.rb
45 /usr/share/ruby/did_you_mean/spell_checkers/require_path_checker.rb
46 /usr/share/ruby/did_you_mean/formatters/plain_formatter.rb
47 /usr/share/ruby/did_you_mean.rb
48 /usr/share/rubygems/rubygems/bundler_version_finder.rb
49 /usr/share/ruby/optparse.rb
50 /usr/share/rubygems/rubygems/command.rb
51 /usr/share/rubygems/rubygems/command_manager.rb
52 /usr/share/rubygems/rubygems/gem_runner.rb
53 /usr/lib/ruby/etc.so
54 /usr/share/rubygems/rubygems/config_file.rb
55 /usr/share/ruby/psych/versions.rb
56 /usr/share/ruby/psych/exception.rb
57 /usr/share/ruby/psych/syntax_error.rb
58 /usr/lib/ruby/psych.so
59 /usr/lib/ruby/stringio.so
60 /usr/share/ruby/psych/omap.rb
61 /usr/share/ruby/psych/set.rb
62 /usr/share/ruby/psych/class_loader.rb
63 /usr/lib/ruby/strscan.so
64 /usr/share/ruby/psych/scalar_scanner.rb
65 /usr/share/ruby/psych/nodes/node.rb
66 /usr/share/ruby/psych/nodes/stream.rb
67 /usr/share/ruby/psych/nodes/document.rb
68 /usr/share/ruby/psych/nodes/sequence.rb
69 /usr/share/ruby/psych/nodes/scalar.rb
70 /usr/share/ruby/psych/nodes/mapping.rb
71 /usr/share/ruby/psych/nodes/alias.rb
72 /usr/share/ruby/psych/nodes.rb
73 /usr/share/ruby/psych/streaming.rb
74 /usr/share/ruby/psych/visitors/visitor.rb
75 /usr/share/ruby/psych/visitors/to_ruby.rb
76 /usr/share/ruby/psych/visitors/emitter.rb
77 /usr/share/ruby/psych/handler.rb
78 /usr/share/ruby/psych/tree_builder.rb
79 /usr/share/ruby/psych/visitors/yaml_tree.rb
80 /usr/share/ruby/psych/json/ruby_events.rb
81 /usr/share/ruby/psych/visitors/json_tree.rb
82 /usr/share/ruby/psych/visitors/depth_first.rb
83 /usr/share/ruby/psych/visitors.rb
84 /usr/share/ruby/psych/parser.rb
85 /usr/share/ruby/psych/coder.rb
86 /usr/share/ruby/psych/core_ext.rb
87 /usr/share/ruby/psych/stream.rb
88 /usr/share/ruby/psych/json/yaml_events.rb
89 /usr/share/ruby/psych/json/tree_builder.rb
90 /usr/share/ruby/psych/json/stream.rb
91 /usr/share/ruby/psych/handlers/document_stream.rb
92 /usr/share/ruby/forwardable/impl.rb
93 /usr/share/ruby/forwardable.rb
94 /usr/share/ruby/psych.rb
95 /usr/share/rubygems/rubygems/psych_additions.rb
96 /usr/share/rubygems/rubygems/psych_tree.rb
97 /usr/share/ruby/yaml.rb
98 /usr/share/rubygems/rubygems/safe_yaml.rb
99 /usr/share/rubygems/rubygems/syck_hack.rb
100 /usr/share/ruby/timeout.rb
101 /usr/share/rubygems/rubygems/security_option.rb
102 /usr/share/rubygems/rubygems/install_update_options.rb
103 /usr/share/ruby/tsort.rb
104 /usr/share/rubygems/rubygems/dependency_list.rb
105 /usr/lib/ruby/digest.so
106 /usr/share/ruby/digest.rb
107 /usr/lib/ruby/openssl.so
108 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/bn.rb
109 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/marshal.rb
110 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/pkey.rb
111 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/cipher.rb
112 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/config.rb
113 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb
114 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/hmac.rb
115 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/x509.rb
116 /usr/share/ruby/openssl/buffering.rb
117 /usr/lib/ruby/io/nonblock.so
118 /usr/lib/ruby/socket.so
119 /usr/lib/ruby/io/wait.so
120 /usr/share/ruby/socket.rb
121 /usr/share/ruby/ipaddr.rb
122 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/ssl.rb
123 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/pkcs5.rb
124 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/version.rb
125 /usr/share/ruby/openssl.rb
126 /usr/share/rubygems/rubygems/openssl.rb
127 /usr/share/rubygems/rubygems/security/policy.rb
128 /usr/share/rubygems/rubygems/security/policies.rb
129 /usr/share/rubygems/rubygems/security/trust_dir.rb
130 /usr/share/rubygems/rubygems/security/signer.rb
131 /usr/share/rubygems/rubygems/security.rb
132 /usr/share/rubygems/rubygems/package/digest_io.rb
133 /usr/share/rubygems/rubygems/package/source.rb
134 /usr/share/rubygems/rubygems/package/file_source.rb
135 /usr/share/rubygems/rubygems/package/io_source.rb
136 /usr/share/rubygems/rubygems/package/old.rb
137 /usr/share/rubygems/rubygems/package/tar_header.rb
138 /usr/share/rubygems/rubygems/package/tar_reader/entry.rb
139 /usr/share/rubygems/rubygems/package/tar_reader.rb
140 /usr/share/rubygems/rubygems/package/tar_writer.rb
141 /usr/share/rubygems/rubygems/package.rb
142 /usr/share/rubygems/rubygems/installer_uninstaller_utils.rb
143 /usr/share/rubygems/rubygems/ext/build_error.rb
144 /usr/share/rubygems/rubygems/ext/builder.rb
145 /usr/share/rubygems/rubygems/ext/configure_builder.rb
146 /usr/share/ruby/shellwords.rb
147 /usr/share/rubygems/rubygems/ext/ext_conf_builder.rb
148 /usr/share/rubygems/rubygems/ext/rake_builder.rb
149 /usr/share/rubygems/rubygems/ext/cmake_builder.rb
150 /usr/share/rubygems/rubygems/ext.rb
151 /usr/share/rubygems/rubygems/installer.rb
152 /usr/share/ruby/net/protocol.rb
153 /usr/share/ruby/uri/version.rb
154 /usr/share/ruby/uri/rfc2396_parser.rb
155 /usr/share/ruby/uri/rfc3986_parser.rb
156 /usr/share/ruby/uri/common.rb
157 /usr/share/ruby/uri/generic.rb
158 /usr/share/ruby/uri/file.rb
159 /usr/share/ruby/uri/ftp.rb
160 /usr/share/ruby/uri/http.rb
161 /usr/share/ruby/uri/https.rb
162 /usr/share/ruby/uri/ldap.rb
163 /usr/share/ruby/uri/ldaps.rb
164 /usr/share/ruby/uri/mailto.rb
165 /usr/share/ruby/uri.rb
166 /usr/lib/ruby/zlib.so
167 /usr/share/ruby/net/http/exceptions.rb
168 /usr/share/ruby/net/http/header.rb
169 /usr/lib/ruby/enc/windows_31j.so
170 /usr/share/ruby/net/http/generic_request.rb
171 /usr/share/ruby/net/http/request.rb
172 /usr/share/ruby/net/http/requests.rb
173 /usr/share/ruby/net/http/response.rb
174 /usr/share/ruby/net/http/responses.rb
175 /usr/share/ruby/net/http/proxy_delta.rb
176 /usr/share/ruby/net/http/backward.rb
177 /usr/share/ruby/net/http.rb
178 /usr/share/rubygems/rubygems/request/http_pool.rb
179 /usr/share/rubygems/rubygems/request/https_pool.rb
180 /usr/share/rubygems/rubygems/request/connection_pools.rb
181 /usr/share/rubygems/rubygems/request.rb
182 /usr/share/ruby/base64.rb
183 /usr/share/rubygems/rubygems/s3_uri_signer.rb
184 /usr/share/rubygems/rubygems/uri_formatter.rb
185 /usr/share/rubygems/rubygems/uri_parser.rb
186 /usr/share/rubygems/rubygems/uri_parsing.rb
187 /usr/share/ruby/securerandom.rb
188 /usr/share/ruby/resolv.rb
189 /usr/share/rubygems/rubygems/remote_fetcher.rb
190 /usr/share/rubygems/rubygems/name_tuple.rb
191 /usr/share/rubygems/rubygems/spec_fetcher.rb
192 /usr/share/rubygems/rubygems/available_set.rb
193 /usr/share/rubygems/rubygems/dependency_installer.rb
194 /usr/share/rubygems/rubygems/local_remote_options.rb
195 /usr/share/rubygems/rubygems/validator.rb
196 /usr/share/rubygems/rubygems/version_option.rb
197 /usr/share/rubygems/rubygems/commands/install_command.rb
198 /usr/share/rubygems/rubygems/install_message.rb
199 /usr/share/ruby/fileutils.rb
200 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/version.rb
201 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/i18n/text.rb
202 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/i18n.rb
203 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc.rb
204 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rubygems_hook.rb
205 /usr/share/rubygems/rubygems/rdoc.rb
206 /usr/share/rubygems/rubygems/request_set/gem_dependency_api.rb
207 /usr/share/rubygems/rubygems/request_set/lockfile/parser.rb
208 /usr/share/rubygems/rubygems/request_set/lockfile/tokenizer.rb
209 /usr/share/rubygems/rubygems/request_set/lockfile.rb
210 /usr/share/rubygems/rubygems/request_set.rb
211 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
212 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb
213 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/errors.rb
214 /usr/share/ruby/set.rb
215 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/action.rb
216 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb
217 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_vertex.rb
218 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/delete_edge.rb
219 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb
220 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/set_payload.rb
221 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/tag.rb
222 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/log.rb
223 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb
224 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb
225 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/state.rb
226 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
227 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb
228 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/resolution.rb
229 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/resolver.rb
230 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb
231 /usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo.rb
232 /usr/share/rubygems/rubygems/resolver/molinillo.rb
233 /usr/share/rubygems/rubygems/resolver/activation_request.rb
234 /usr/share/rubygems/rubygems/resolver/conflict.rb
235 /usr/share/rubygems/rubygems/resolver/dependency_request.rb
236 /usr/share/rubygems/rubygems/resolver/requirement_list.rb
237 /usr/share/rubygems/rubygems/resolver/stats.rb
238 /usr/share/rubygems/rubygems/resolver/set.rb
239 /usr/share/rubygems/rubygems/resolver/api_set.rb
240 /usr/share/rubygems/rubygems/resolver/composed_set.rb
241 /usr/share/rubygems/rubygems/resolver/best_set.rb
242 /usr/share/rubygems/rubygems/resolver/current_set.rb
243 /usr/share/rubygems/rubygems/resolver/git_set.rb
244 /usr/share/rubygems/rubygems/resolver/index_set.rb
245 /usr/share/rubygems/rubygems/resolver/installer_set.rb
246 /usr/share/rubygems/rubygems/resolver/lock_set.rb
247 /usr/share/rubygems/rubygems/resolver/vendor_set.rb
248 /usr/share/rubygems/rubygems/resolver/source_set.rb
249 /usr/share/rubygems/rubygems/resolver/specification.rb
250 /usr/share/rubygems/rubygems/resolver/spec_specification.rb
251 /usr/share/rubygems/rubygems/resolver/api_specification.rb
252 /usr/share/rubygems/rubygems/resolver/git_specification.rb
253 /usr/share/rubygems/rubygems/resolver/index_specification.rb
254 /usr/share/rubygems/rubygems/resolver/installed_specification.rb
255 /usr/share/rubygems/rubygems/resolver/local_specification.rb
256 /usr/share/rubygems/rubygems/resolver/lock_specification.rb
257 /usr/share/rubygems/rubygems/resolver/vendor_specification.rb
258 /usr/share/rubygems/rubygems/resolver.rb
259 /usr/share/rubygems/rubygems/source_list.rb
260 /usr/share/rubygems/rubygems/source/git.rb
261 /usr/share/rubygems/rubygems/source/installed.rb
262 /usr/share/rubygems/rubygems/source/specific_file.rb
263 /usr/share/rubygems/rubygems/source/local.rb
264 /usr/share/rubygems/rubygems/source/lock.rb
265 /usr/share/rubygems/rubygems/source/vendor.rb
266 /usr/share/rubygems/rubygems/source.rb
267 /usr/lib/ruby/enc/utf_16le.so
268 /usr/lib/ruby/enc/utf_16be.so
269 /usr/share/ruby/delegate.rb
270 /usr/share/ruby/tmpdir.rb
271 /usr/share/ruby/tempfile.rb
272 /usr/share/ruby/open3.rb
273 /usr/share/ruby/find.rb
274 /usr/lib/ruby/pathname.so
275 /usr/share/ruby/pathname.rb
276 /usr/lib/ruby/date_core.so
277 /usr/share/ruby/date.rb
278 /usr/share/ruby/time.rb
279 /usr/lib/ruby/cgi/escape.so
280 /usr/share/ruby/cgi/util.rb
281 /usr/share/ruby/erb.rb
282 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator.rb
283 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup.rb
284 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/formatter.rb
285 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/to_joined_paragraph.rb
286 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markdown/entities.rb
287 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markdown/literals.rb
288 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markdown.rb
289 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rd.rb
290 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/parser.rb
291 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/pre_process.rb
292 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/tom_doc.rb
293 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/text.rb
294 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/code_object.rb
295 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/method_attr.rb
296 /usr/share/ruby/cgi/core.rb
297 /usr/share/ruby/cgi/cookie.rb
298 /usr/share/ruby/cgi.rb
299 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/context.rb
300 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/class_module.rb
301 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/context/section.rb
302 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/top_level.rb
303 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/markup.rb
304 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/darkfish.rb
305 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/ri.rb
306 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/pot/message_extractor.rb
307 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/pot/po.rb
308 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/pot/po_entry.rb
309 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/pot.rb
310 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/rdoc.rb
311 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/options.rb
312 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/parser/text.rb
313 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/parser/simple.rb
314 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/parser/c.rb
315 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/parser/changelog.rb
316 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/parser/markdown.rb
317 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/parser/rd.rb
318 /usr/lib/ruby/ripper.so
319 /usr/share/ruby/ripper/core.rb
320 /usr/share/ruby/ripper/lexer.rb
321 /usr/share/ruby/ripper/filter.rb
322 /usr/share/ruby/ripper/sexp.rb
323 /usr/share/ruby/ripper.rb
324 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/parser/ripper_state_lex.rb
325 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/token_stream.rb
326 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/parser/ruby_tools.rb
327 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/parser/ruby.rb
328 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/parser.rb
329 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/store.rb
330 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/stats.rb
331 /usr/lib/ruby/io/console.so
332 /usr/share/ruby/io/console/size.rb
333 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/stats/quiet.rb
334 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/stats/normal.rb
335 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/encoding.rb
336 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/comment.rb
337 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/document.rb
338 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/require.rb
339 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/known_classes.rb
340 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/normal_module.rb
341 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/normal_class.rb
342 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/constant.rb
343 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/any_method.rb
344 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/alias.rb
345 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/raw.rb
346 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/verbatim.rb
347 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/list.rb
348 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/list_item.rb
349 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/paragraph.rb
350 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/blank_line.rb
351 /usr/share/ruby/json/version.rb
352 /usr/share/ruby/ostruct.rb
353 /usr/share/ruby/json/generic_object.rb
354 /usr/share/ruby/json/common.rb
355 /usr/lib/ruby/json/ext/parser.so
356 /usr/lib/ruby/json/ext/generator.so
357 /usr/share/ruby/json/ext.rb
358 /usr/share/ruby/json.rb
359 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/generator/json_index.rb
360 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/erbio.rb
361 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/erb_partial.rb
362 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/to_table_of_contents.rb
363 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/attribute_manager.rb
364 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/attributes.rb
365 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/to_html.rb
366 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/cross_reference.rb
367 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/to_html_crossref.rb
368 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/hard_break.rb
369 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/attr_span.rb
370 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/attr_changer.rb
371 /usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/regexp_handling.rb
* Process memory map:
004b3000-004b4000 r-xp 00000000 fc:02 1058507 /usr/bin/ruby-mri
004c3000-004c4000 r--p 00000000 fc:02 1058507 /usr/bin/ruby-mri
004c4000-004c5000 rw-p 00001000 fc:02 1058507 /usr/bin/ruby-mri
00feb000-02b0d000 rw-p 00000000 00:00 0 [heap]
b1508000-b1794000 r--s 00000000 fc:02 1057234 /usr/lib/libc-2.32.9000.so
b1794000-b1a9e000 r--s 00000000 fc:02 1058503 /usr/lib/libruby.so.3.0.0
b1a9e000-b2853000 rw-p 00000000 00:00 0
b2855000-b29e3000 rw-p 00000000 00:00 0
b29fb000-b2cff000 rw-p 00000000 00:00 0
b2cff000-b2d00000 ---p 00000000 00:00 0
b2d00000-b2e00000 rw-p 00000000 00:00 0
b2e00000-b2e21000 rw-p 00000000 00:00 0
b2e21000-b2f00000 ---p 00000000 00:00 0
b2f00000-b2f21000 rw-p 00000000 00:00 0
b2f21000-b3000000 ---p 00000000 00:00 0
b3000000-b3021000 rw-p 00000000 00:00 0
b3021000-b3100000 ---p 00000000 00:00 0
b31fe000-b31ff000 ---p 00000000 00:00 0
b31ff000-b32ff000 rw-p 00000000 00:00 0
b32ff000-b3300000 ---p 00000000 00:00 0
b3300000-b3400000 rw-p 00000000 00:00 0
b3400000-b3421000 rw-p 00000000 00:00 0
b3421000-b3500000 ---p 00000000 00:00 0
b3500000-b3521000 rw-p 00000000 00:00 0
b3521000-b3600000 ---p 00000000 00:00 0
b3600000-b3621000 rw-p 00000000 00:00 0
b3621000-b3700000 ---p 00000000 00:00 0
b37fe000-b37ff000 ---p 00000000 00:00 0
b37ff000-b38ff000 rw-p 00000000 00:00 0
b38ff000-b3900000 ---p 00000000 00:00 0
b3900000-b3a00000 rw-p 00000000 00:00 0
b3a00000-b3a21000 rw-p 00000000 00:00 0
b3a21000-b3b00000 ---p 00000000 00:00 0
b3b06000-b3b0e000 r--s 00000000 fc:02 2230523 /usr/lib/ruby/pathname.so
b3b0e000-b3b15000 r-xp 00000000 fc:02 2230812 /usr/lib/gems/ruby/json-2.5.1/json/ext/generator.so
b3b15000-b3b24000 ---p 00007000 fc:02 2230812 /usr/lib/gems/ruby/json-2.5.1/json/ext/generator.so
b3b24000-b3b25000 r--p 00006000 fc:02 2230812 /usr/lib/gems/ruby/json-2.5.1/json/ext/generator.so
b3b25000-b3b26000 rw-p 00000000 00:00 0
b3b26000-b3b2b000 r-xp 00000000 fc:02 2230813 /usr/lib/gems/ruby/json-2.5.1/json/ext/parser.so
b3b2b000-b3b3a000 ---p 00005000 fc:02 2230813 /usr/lib/gems/ruby/json-2.5.1/json/ext/parser.so
b3b3a000-b3b3b000 r--p 00004000 fc:02 2230813 /usr/lib/gems/ruby/json-2.5.1/json/ext/parser.so
b3b3b000-b3b74000 rw-p 00000000 00:00 0
b3b74000-b3bab000 r-xp 00000000 fc:02 2230531 /usr/lib/ruby/ripper.so
b3bab000-b3bbb000 ---p 00037000 fc:02 2230531 /usr/lib/ruby/ripper.so
b3bbb000-b3bbc000 r--p 00037000 fc:02 2230531 /usr/lib/ruby/ripper.so
b3bbc000-b3bbd000 rw-p 00000000 00:00 0
b3bbd000-b3bee000 r-xp 00000000 fc:02 2230440 /usr/lib/ruby/date_core.so
b3bee000-b3bfd000 ---p 00031000 fc:02 2230440 /usr/lib/ruby/date_core.so
b3bfd000-b3bfe000 r--p 00030000 fc:02 2230440 /usr/lib/ruby/date_core.so
b3bfe000-b3bff000 rw-p 00031000 fc:02 2230440 /usr/lib/ruby/date_core.so
b3bff000-b3c00000 ---p 00000000 00:00 0
b3c00000-b3d00000 rw-p 00000000 00:00 0
b3d00000-b3d5e000 rw-p 00000000 00:00 0
b3d5e000-b3e00000 ---p 00000000 00:00 0
b3e00000-b3e05000 r-xp 00000000 fc:02 2230799 /usr/lib/gems/ruby/io-console-0.5.6/io/console.so
b3e05000-b3e14000 ---p 00005000 fc:02 2230799 /usr/lib/gems/ruby/io-console-0.5.6/io/console.so
b3e14000-b3e15000 r--p 00004000 fc:02 2230799 /usr/lib/gems/ruby/io-console-0.5.6/io/console.so
b3e15000-b3e77000 rw-p 00000000 00:00 0
b3e77000-b3e78000 ---p 00000000 00:00 0
b3e78000-b3f78000 rw-p 00000000 00:00 0
b3f78000-b3f79000 ---p 00000000 00:00 0
b3f79000-b4079000 rw-p 00000000 00:00 0
b4079000-b407a000 r-xp 00000000 fc:02 2230501 /usr/lib/ruby/enc/utf_16be.so
b407a000-b4089000 ---p 00001000 fc:02 2230501 /usr/lib/ruby/enc/utf_16be.so
b4089000-b408a000 r--p 00000000 fc:02 2230501 /usr/lib/ruby/enc/utf_16be.so
b408a000-b408b000 rw-p 00000000 00:00 0
b408b000-b408c000 r-xp 00000000 fc:02 2230502 /usr/lib/ruby/enc/utf_16le.so
b408c000-b409b000 ---p 00001000 fc:02 2230502 /usr/lib/ruby/enc/utf_16le.so
b409b000-b409c000 r--p 00000000 fc:02 2230502 /usr/lib/ruby/enc/utf_16le.so
b409c000-b40ce000 rw-p 00000000 00:00 0
b40ce000-b40d0000 r-xp 00000000 fc:02 2230511 /usr/lib/ruby/enc/windows_31j.so
b40d0000-b40df000 ---p 00002000 fc:02 2230511 /usr/lib/ruby/enc/windows_31j.so
b40df000-b40e0000 r--p 00001000 fc:02 2230511 /usr/lib/ruby/enc/windows_31j.so
b40e0000-b40e1000 rw-p 00000000 00:00 0
b40e1000-b40ee000 r-xp 00000000 fc:02 2230537 /usr/lib/ruby/zlib.so
b40ee000-b40fe000 ---p 0000d000 fc:02 2230537 /usr/lib/ruby/zlib.so
b40fe000-b40ff000 r--p 0000d000 fc:02 2230537 /usr/lib/ruby/zlib.so
b40ff000-b4100000 rw-p 00000000 00:00 0
b4100000-b4102000 r-xp 00000000 fc:02 2230519 /usr/lib/ruby/io/wait.so
b4102000-b4111000 ---p 00002000 fc:02 2230519 /usr/lib/ruby/io/wait.so
b4111000-b4112000 r--p 00001000 fc:02 2230519 /usr/lib/ruby/io/wait.so
b4112000-b4113000 rw-p 00000000 00:00 0
b4113000-b413c000 r-xp 00000000 fc:02 2230532 /usr/lib/ruby/socket.so
b413c000-b414c000 ---p 00029000 fc:02 2230532 /usr/lib/ruby/socket.so
b414c000-b414d000 r--p 00029000 fc:02 2230532 /usr/lib/ruby/socket.so
b414d000-b414e000 rw-p 0002a000 fc:02 2230532 /usr/lib/ruby/socket.so
b414e000-b414f000 r-xp 00000000 fc:02 2230518 /usr/lib/ruby/io/nonblock.so
b414f000-b415e000 ---p 00001000 fc:02 2230518 /usr/lib/ruby/io/nonblock.so
b415e000-b415f000 r--p 00000000 fc:02 2230518 /usr/lib/ruby/io/nonblock.so
b415f000-b4160000 rw-p 00000000 00:00 0
b4160000-b4163000 r-xp 00000000 fc:02 2230443 /usr/lib/ruby/digest.so
b4163000-b4172000 ---p 00003000 fc:02 2230443 /usr/lib/ruby/digest.so
b4172000-b4173000 r--p 00002000 fc:02 2230443 /usr/lib/ruby/digest.so
b4173000-b4174000 rw-p 00000000 00:00 0
b4174000-b436f000 r-xp 00000000 fc:02 1057896 /usr/lib/libcrypto.so.1.1.1i
b436f000-b437e000 ---p 001fb000 fc:02 1057896 /usr/lib/libcrypto.so.1.1.1i
b437e000-b4395000 r--p 001fa000 fc:02 1057896 /usr/lib/libcrypto.so.1.1.1i
b4395000-b4397000 rw-p 00211000 fc:02 1057896 /usr/lib/libcrypto.so.1.1.1i
b4397000-b439b000 rw-p 00000000 00:00 0
b439b000-b440c000 r-xp 00000000 fc:02 1057898 /usr/lib/libssl.so.1.1.1i
b440c000-b441c000 ---p 00071000 fc:02 1057898 /usr/lib/libssl.so.1.1.1i
b441c000-b4421000 r--p 00071000 fc:02 1057898 /usr/lib/libssl.so.1.1.1i
b4421000-b4425000 rw-p 00076000 fc:02 1057898 /usr/lib/libssl.so.1.1.1i
b4425000-b4477000 r-xp 00000000 fc:02 2231033 /usr/lib/gems/ruby/openssl-2.2.0/openssl.so
b4477000-b4487000 ---p 00052000 fc:02 2231033 /usr/lib/gems/ruby/openssl-2.2.0/openssl.so
b4487000-b4489000 r--p 00052000 fc:02 2231033 /usr/lib/gems/ruby/openssl-2.2.0/openssl.so
b4489000-b448a000 rw-p 00054000 fc:02 2231033 /usr/lib/gems/ruby/openssl-2.2.0/openssl.so
b448a000-b448f000 r-xp 00000000 fc:02 2230534 /usr/lib/ruby/strscan.so
b448f000-b449e000 ---p 00005000 fc:02 2230534 /usr/lib/ruby/strscan.so
b449e000-b449f000 r--p 00004000 fc:02 2230534 /usr/lib/ruby/strscan.so
b449f000-b44a0000 rw-p 00000000 00:00 0
b44a0000-b44a7000 r-xp 00000000 fc:02 2230533 /usr/lib/ruby/stringio.so
b44a7000-b44b6000 ---p 00007000 fc:02 2230533 /usr/lib/ruby/stringio.so
b44b6000-b44b7000 r--p 00006000 fc:02 2230533 /usr/lib/ruby/stringio.so
b44b7000-b44b8000 rw-p 00000000 00:00 0
b44b8000-b44d2000 r-xp 00000000 fc:02 1058452 /usr/lib/libyaml-0.so.2.0.9
b44d2000-b44e1000 ---p 0001a000 fc:02 1058452 /usr/lib/libyaml-0.so.2.0.9
b44e1000-b44e2000 r--p 00019000 fc:02 1058452 /usr/lib/libyaml-0.so.2.0.9
b44e2000-b44e3000 rw-p 0001a000 fc:02 1058452 /usr/lib/libyaml-0.so.2.0.9
b44e3000-b44e8000 r-xp 00000000 fc:02 2231068 /usr/lib/gems/ruby/psych-3.3.0/psych.so
b44e8000-b44f8000 ---p 00005000 fc:02 2231068 /usr/lib/gems/ruby/psych-3.3.0/psych.so
b44f8000-b44f9000 r--p 00005000 fc:02 2231068 /usr/lib/gems/ruby/psych-3.3.0/psych.so
b44f9000-b44fa000 rw-p 00000000 00:00 0
b44fa000-b44ff000 r-xp 00000000 fc:02 2230512 /usr/lib/ruby/etc.so
b44ff000-b450e000 ---p 00005000 fc:02 2230512 /usr/lib/ruby/etc.so
b450e000-b450f000 r--p 00004000 fc:02 2230512 /usr/lib/ruby/etc.so
b450f000-b4510000 rw-p 00000000 00:00 0
b4510000-b4512000 r-xp 00000000 fc:02 2230520 /usr/lib/ruby/monitor.so
b4512000-b4521000 ---p 00002000 fc:02 2230520 /usr/lib/ruby/monitor.so
b4521000-b4522000 r--p 00001000 fc:02 2230520 /usr/lib/ruby/monitor.so
b4522000-b4523000 rw-p 00000000 00:00 0
b4523000-b4525000 r-xp 00000000 fc:02 2230498 /usr/lib/ruby/enc/trans/transdb.so
b4525000-b4534000 ---p 00002000 fc:02 2230498 /usr/lib/ruby/enc/trans/transdb.so
b4534000-b4535000 r--p 00001000 fc:02 2230498 /usr/lib/ruby/enc/trans/transdb.so
b4535000-b4536000 rw-p 00000000 00:00 0
b4536000-b4538000 r-xp 00000000 fc:02 2230454 /usr/lib/ruby/enc/encdb.so
b4538000-b4547000 ---p 00002000 fc:02 2230454 /usr/lib/ruby/enc/encdb.so
b4547000-b4548000 r--p 00001000 fc:02 2230454 /usr/lib/ruby/enc/encdb.so
b4548000-b4549000 rw-p 00000000 00:00 0
b4549000-b454a000 ---p 00000000 00:00 0
b454a000-b459b000 rw-p 00000000 00:00 0
b459b000-b459c000 ---p 00000000 00:00 0
b459c000-b45ed000 rw-p 00000000 00:00 0
b45ed000-b45ee000 ---p 00000000 00:00 0
b45ee000-b463f000 rw-p 00000000 00:00 0
b463f000-b4640000 ---p 00000000 00:00 0
b4640000-b4691000 rw-p 00000000 00:00 0
b4691000-b4692000 ---p 00000000 00:00 0
b4692000-b46e3000 rw-p 00000000 00:00 0
b46e3000-b46e4000 ---p 00000000 00:00 0
b46e4000-b4735000 rw-p 00000000 00:00 0
b4735000-b4736000 ---p 00000000 00:00 0
b4736000-b4787000 rw-p 00000000 00:00 0
b4787000-b4788000 ---p 00000000 00:00 0
b4788000-b67e2000 rw-p 00000000 00:00 0
b67e7000-b67ea000 r-xp 00000000 fc:02 2230437 /usr/lib/ruby/cgi/escape.so
b67ea000-b67f9000 ---p 00003000 fc:02 2230437 /usr/lib/ruby/cgi/escape.so
b67f9000-b67fa000 r--p 00002000 fc:02 2230437 /usr/lib/ruby/cgi/escape.so
b67fa000-b67fb000 rw-p 00000000 00:00 0
b67fb000-b6802000 r-xp 00000000 fc:02 2230523 /usr/lib/ruby/pathname.so
b6802000-b6811000 ---p 00007000 fc:02 2230523 /usr/lib/ruby/pathname.so
b6811000-b6812000 r--p 00006000 fc:02 2230523 /usr/lib/ruby/pathname.so
b6812000-b6894000 rw-p 00000000 00:00 0
b6894000-b68f1000 r-xp 00000000 fc:02 1057238 /usr/lib/libm-2.32.9000.so
b68f1000-b6901000 ---p 0005d000 fc:02 1057238 /usr/lib/libm-2.32.9000.so
b6901000-b6902000 r--p 0005d000 fc:02 1057238 /usr/lib/libm-2.32.9000.so
b6902000-b6903000 rw-p 0005e000 fc:02 1057238 /usr/lib/libm-2.32.9000.so
b6903000-b6934000 r-xp 00000000 fc:02 1057665 /usr/lib/libcrypt.so.2.0.0
b6934000-b6943000 ---p 00031000 fc:02 1057665 /usr/lib/libcrypt.so.2.0.0
b6943000-b6944000 r--p 00030000 fc:02 1057665 /usr/lib/libcrypt.so.2.0.0
b6944000-b694d000 rw-p 00000000 00:00 0
b694d000-b6950000 r-xp 00000000 fc:02 1057236 /usr/lib/libdl-2.32.9000.so
b6950000-b695f000 ---p 00003000 fc:02 1057236 /usr/lib/libdl-2.32.9000.so
b695f000-b6960000 r--p 00002000 fc:02 1057236 /usr/lib/libdl-2.32.9000.so
b6960000-b6961000 rw-p 00000000 00:00 0
b6961000-b69c1000 r-xp 00000000 fc:02 1057677 /usr/lib/libgmp.so.10.4.0
b69c1000-b69d0000 ---p 00060000 fc:02 1057677 /usr/lib/libgmp.so.10.4.0
b69d0000-b69d1000 r--p 0005f000 fc:02 1057677 /usr/lib/libgmp.so.10.4.0
b69d1000-b69d2000 rw-p 00060000 fc:02 1057677 /usr/lib/libgmp.so.10.4.0
b69d2000-b69d9000 r-xp 00000000 fc:02 1057250 /usr/lib/librt-2.32.9000.so
b69d9000-b69e8000 ---p 00007000 fc:02 1057250 /usr/lib/librt-2.32.9000.so
b69e8000-b69e9000 r--p 00006000 fc:02 1057250 /usr/lib/librt-2.32.9000.so
b69e9000-b69ea000 rw-p 00007000 fc:02 1057250 /usr/lib/librt-2.32.9000.so
b69ea000-b6a01000 r-xp 00000000 fc:02 1057246 /usr/lib/libpthread-2.32.9000.so
b6a01000-b6a11000 ---p 00017000 fc:02 1057246 /usr/lib/libpthread-2.32.9000.so
b6a11000-b6a12000 r--p 00017000 fc:02 1057246 /usr/lib/libpthread-2.32.9000.so
b6a12000-b6a13000 rw-p 00018000 fc:02 1057246 /usr/lib/libpthread-2.32.9000.so
b6a13000-b6a15000 rw-p 00000000 00:00 0
b6a15000-b6a29000 r-xp 00000000 fc:02 1057652 /usr/lib/libz.so.1.2.11
b6a29000-b6a38000 ---p 00014000 fc:02 1057652 /usr/lib/libz.so.1.2.11
b6a38000-b6a39000 r--p 00013000 fc:02 1057652 /usr/lib/libz.so.1.2.11
b6a39000-b6a3a000 rw-p 00000000 00:00 0
b6a3a000-b6b7d000 r-xp 00000000 fc:02 1057234 /usr/lib/libc-2.32.9000.so
b6b7d000-b6b8c000 ---p 00143000 fc:02 1057234 /usr/lib/libc-2.32.9000.so
b6b8c000-b6b8e000 r--p 00142000 fc:02 1057234 /usr/lib/libc-2.32.9000.so
b6b8e000-b6b90000 rw-p 00144000 fc:02 1057234 /usr/lib/libc-2.32.9000.so
b6b90000-b6b97000 rw-p 00000000 00:00 0
b6b97000-b6bb3000 r-xp 00000000 fc:02 1057188 /usr/lib/libgcc_s-11-20201223.so.1
b6bb3000-b6bc2000 ---p 0001c000 fc:02 1057188 /usr/lib/libgcc_s-11-20201223.so.1
b6bc2000-b6bc3000 r--p 0001b000 fc:02 1057188 /usr/lib/libgcc_s-11-20201223.so.1
b6bc3000-b6bc4000 rw-p 0001c000 fc:02 1057188 /usr/lib/libgcc_s-11-20201223.so.1
b6bc4000-b6eb9000 r-xp 00000000 fc:02 1058503 /usr/lib/libruby.so.3.0.0
b6eb9000-b6ec8000 ---p 002f5000 fc:02 1058503 /usr/lib/libruby.so.3.0.0
b6ec8000-b6ecd000 r--p 002f4000 fc:02 1058503 /usr/lib/libruby.so.3.0.0
b6ecd000-b6ece000 rw-p 002f9000 fc:02 1058503 /usr/lib/libruby.so.3.0.0
b6ece000-b6ed5000 rw-p 00000000 00:00 0
b6ed5000-b6efa000 r-xp 00000000 fc:02 1057227 /usr/lib/ld-2.32.9000.so
b6f00000-b6f04000 r--s 00000000 fc:02 2230437 /usr/lib/ruby/cgi/escape.so
b6f04000-b6f06000 rw-p 00000000 00:00 0
b6f06000-b6f08000 r--s 00000000 fc:02 1058507 /usr/bin/ruby-mri
b6f08000-b6f0a000 rw-p 00000000 00:00 0
b6f0a000-b6f0b000 r--p 00025000 fc:02 1057227 /usr/lib/ld-2.32.9000.so
b6f0b000-b6f0c000 rw-p 00026000 fc:02 1057227 /usr/lib/ld-2.32.9000.so
be697000-bee96000 rw-p 00000000 00:00 0 [stack]
beeb4000-beeb5000 r-xp 00000000 00:00 0 [sigpage]
beeb5000-beeb6000 r--p 00000000 00:00 0 [vvar]
beeb6000-beeb7000 r-xp 00000000 00:00 0 [vdso]
ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]
... snip ...
</code></pre>
<p>This is backtrace obtained by GDB:</p>
<pre><code># gdb /usr/bin/ruby-mri
GNU gdb (GDB) Fedora 10.1-2.fc34
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "armv7hl-redhat-linux-gnueabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/ruby-mri...
Reading symbols from /usr/lib/debug/usr/bin/ruby-mri-3.0.0-139.fc34.arm.debug...
(gdb) r /usr/bin/gem install -V --local --build-root . --force --document=ri,rdoc unicode-0.4.4.2.gem
Starting program: /usr/bin/ruby-mri /usr/bin/gem install -V --local --build-root . --force --document=ri,rdoc unicode-0.4.4.2.gem
... snip ...
Installing darkfish documentation for unicode-0.4.4.2
Thread 1 "ruby-mri" received signal SIGSEGV, Segmentation fault.
0xb6d69ae0 in mark_locations_array (objspace=0x412bc0, x=0xb2953000, n=6296623) at gc.c:5602
5602 gc.c: No such file or directory.
(gdb) bt
#0 0xb6d69ae0 in mark_locations_array (objspace=0x412bc0, x=0xb2953000, n=6296623) at gc.c:5602
#1 0xb6d69c20 in gc_mark_locations (end=<optimized out>, start=<optimized out>, objspace=<optimized out>) at gc.c:5614
#2 0xb6d6a794 in gc_mark_imemo (obj=<optimized out>, objspace=0x412bc0) at gc.c:6223
#3 gc_mark_children (objspace=objspace@entry=0x412bc0, obj=<optimized out>) at gc.c:6277
#4 0xb6d6c164 in gc_mark_stacked_objects (count=<optimized out>, incremental=<optimized out>, objspace=<optimized out>) at gc.c:6454
#5 gc_mark_stacked_objects_all (objspace=<optimized out>) at gc.c:6494
#6 gc_marks_rest (objspace=objspace@entry=0x412bc0) at gc.c:7435
#7 0xb6d6c8d8 in gc_marks (full_mark=<optimized out>, objspace=0x412bc0) at gc.c:7491
#8 gc_start (objspace=objspace@entry=0x412bc0, reason=<optimized out>) at gc.c:8309
#9 0xb6d6cdd4 in garbage_collect (objspace=0x412bc0, reason=<optimized out>) at gc.c:8197
#10 0xb6d6d304 in objspace_malloc_fixup (size=<optimized out>, mem=0xb1b9e008, objspace=0x412bc0) at gc.c:10527
#11 objspace_xmalloc0 (objspace=0x412bc0, size=size@entry=1688188) at gc.c:10598
#12 0xb6d71af8 in ruby_xmalloc2_body (size=1, n=1688188) at gc.c:10840
#13 0xb6e7d4a8 in str_new0 (klass=4705176,
ptr=ptr@entry=0xb1d3b008 "{ 0x0000, NULL, NULL, NULL, NULL, NULL, 0, 0, c_Cc, w_N }, \n{ 0x0001, NULL, NULL, NULL, NULL, NULL, 0, 0, c_Cc, w_N }, \n{ 0x0002, NULL, NULL, NULL, NULL, NULL, 0, 0, c_Cc, w_N }, \n{ 0x0003, NULL, NULL"..., len=1688187, termlen=termlen@entry=1) at string.c:798
#14 0xb6e80cac in str_new (len=<optimized out>,
ptr=0xb1d3b008 "{ 0x0000, NULL, NULL, NULL, NULL, NULL, 0, 0, c_Cc, w_N }, \n{ 0x0001, NULL, NULL, NULL, NULL, NULL, 0, 0, c_Cc, w_N }, \n{ 0x0002, NULL, NULL, NULL, NULL, NULL, 0, 0, c_Cc, w_N }, \n{ 0x0003, NULL, NULL"..., klass=<optimized out>) at string.c:815
#15 0xb6887a08 in optimized_escape_html (str=32509848) at escape.c:58
#16 0xb6887b78 in cgiesc_escape_html (self=<optimized out>, str=<optimized out>) at escape.c:310
#17 0xb6edc06c in vm_call_cfunc_with_frame (ec=0x412f48, reg_cfp=0xb6931b38, calling=<optimized out>) at vm_insnhelper.c:2898
#18 0xb6ede2d4 in vm_sendish (ec=0x412f48, reg_cfp=0xb6931b38, cd=0x1cb6e10, block_handler=<optimized out>, method_explorer=mexp_search_method) at vm_insnhelper.c:4499
#19 0xb6ee0cb0 in vm_exec_core (ec=0x412f48, initial=initial@entry=0) at insns.def:789
#20 0xb6ee53e4 in rb_vm_exec (ec=0x412f48, mjit_enable_p=<optimized out>) at vm.c:2172
#21 0xb6ee9b58 in vm_yield (kw_splat=0, argv=0xbeffd688, argc=1, ec=<optimized out>) at vm.c:1384
#22 rb_yield_0 (argv=0xbeffd688, argc=1) at vm_eval.c:1171
#23 rb_yield_1 (val=<optimized out>) at vm_eval.c:1177
#24 rb_yield (val=25718448) at vm_eval.c:1187
#25 0xb6cda97c in rb_ary_each (ary=<optimized out>) at array.c:2523
#26 rb_ary_each (ary=<optimized out>) at array.c:2517
#27 0xb6edc06c in vm_call_cfunc_with_frame (ec=0x412f48, reg_cfp=0xb6931ba8, calling=<optimized out>) at vm_insnhelper.c:2898
#28 0xb6ede2d4 in vm_sendish (ec=0x412f48, reg_cfp=0xb6931ba8, cd=0xabbae8, block_handler=<optimized out>, method_explorer=mexp_search_method) at vm_insnhelper.c:4499
#29 0xb6ee0d1c in vm_exec_core (ec=0x412f48, initial=initial@entry=0) at insns.def:770
#30 0xb6ee53e4 in rb_vm_exec (ec=ec@entry=0x412f48, mjit_enable_p=mjit_enable_p@entry=true) at vm.c:2172
#31 0xb6ee606c in eval_string_with_scope (line=<optimized out>, file=<optimized out>, src=30352416, scope=32249448) at vm_eval.c:1596
#32 rb_f_eval (argc=<optimized out>, argv=<optimized out>, self=30352824) at vm_eval.c:1639
#33 0xb6edc06c in vm_call_cfunc_with_frame (ec=0x412f48, reg_cfp=0xb6931c50, calling=<optimized out>) at vm_insnhelper.c:2898
#34 0xb6ede2d4 in vm_sendish (ec=0x412f48, reg_cfp=0xb6931c50, cd=0x102ecc0, block_handler=<optimized out>, method_explorer=mexp_search_method) at vm_insnhelper.c:4499
#35 0xb6ee0cb0 in vm_exec_core (ec=0x412f48, initial=initial@entry=0) at insns.def:789
#36 0xb6ee53e4 in rb_vm_exec (ec=0x412f48, mjit_enable_p=<optimized out>) at vm.c:2172
#37 0xb6ee9b58 in vm_yield (kw_splat=0, argv=0xbeffdc38, argc=1, ec=<optimized out>) at vm.c:1384
#38 rb_yield_0 (argv=0xbeffdc38, argc=1) at vm_eval.c:1171
#39 rb_yield_1 (val=<optimized out>) at vm_eval.c:1177
#40 rb_yield (val=32249520) at vm_eval.c:1187
#41 0xb6d4fb54 in rb_ensure (b_proc=<optimized out>, data1=<optimized out>, e_proc=<optimized out>, data2=<optimized out>) at eval.c:1158
#42 0xb6eea4fc in vm_call0_cfunc_with_frame (argv=0xbeffdf0c, calling=0xbeffdd58, ec=0x412f48) at vm_eval.c:95
#43 vm_call0_cfunc (argv=0xbeffdf0c, calling=0xbeffdd58, ec=0x412f48) at vm_eval.c:109
#44 vm_call0_body (argv=0xbeffdf0c, calling=0xbeffdd58, ec=0x412f48) at vm_eval.c:144
#45 rb_vm_call0 (ec=ec@entry=0x412f48, recv=recv@entry=4586472, id=id@entry=16049, argc=argc@entry=3, argv=0xbeffdf0c, cme=0x4651b0, kw_splat=0) at vm_eval.c:57
#46 0xb6eeac78 in rb_vm_call_kw (ec=ec@entry=0x412f48, recv=recv@entry=4586472, id=id@entry=16049, argc=argc@entry=3, argv=argv@entry=0xbeffdf0c, me=me@entry=0x4651b0, kw_splat=kw_splat@entry=0)
at vm_eval.c:237
#47 0xb6ef1388 in rb_call0 (self=<optimized out>, call_scope=<optimized out>, argv=<optimized out>, argc=<optimized out>, mid=<optimized out>, recv=<optimized out>, ec=<optimized out>) at vm_eval.c:361
#48 rb_call (scope=<optimized out>, argv=<optimized out>, argc=<optimized out>, mid=<optimized out>, recv=<optimized out>) at vm_eval.c:689
#49 iterate_method (obj=obj@entry=3204439744) at vm_eval.c:1406
#50 0xb6edd05c in rb_iterate0 (it_proc=0xb6ef12b0 <iterate_method>, data1=3204439744, data1@entry=3204439736, ifunc=0x0, ifunc@entry=0xbeffdf0c, ec=0x412f48) at vm_eval.c:1355
#51 0xb6edd1d0 in rb_iterate (it_proc=<optimized out>, data1=data1@entry=3204439736, bl_proc=bl_proc@entry=0x2, data2=data2@entry=3062490640) at vm_eval.c:1387
--Type <RET> for more, q to quit, c to continue without paging--
#52 0xb6edd2d0 in rb_block_call_kw (obj=obj@entry=4586472, mid=16049, mid@entry=0, argc=argc@entry=-1225876648, argv=argv@entry=0xbeffdf0c, bl_proc=bl_proc@entry=0x0, data2=data2@entry=0, kw_splat=0)
at vm_eval.c:1434
#53 0xb689e610 in path_open (argc=2, argv=0xb68b2318, self=<optimized out>) at pathname.c:680
#54 0xb6edc06c in vm_call_cfunc_with_frame (ec=0x412f48, reg_cfp=0xb6931cdc, calling=<optimized out>) at vm_insnhelper.c:2898
#55 0xb6ede2d4 in vm_sendish (ec=0x412f48, reg_cfp=0xb6931cdc, cd=0xc23ea0, block_handler=<optimized out>, method_explorer=mexp_search_method) at vm_insnhelper.c:4499
#56 0xb6ee0d1c in vm_exec_core (ec=0x412f48, initial=initial@entry=0) at insns.def:770
#57 0xb6ee53e4 in rb_vm_exec (ec=0x412f48, mjit_enable_p=<optimized out>) at vm.c:2172
#58 0xb6ee9b58 in vm_yield (kw_splat=0, argv=0xbeffe1d8, argc=1, ec=<optimized out>) at vm.c:1384
#59 rb_yield_0 (argv=0xbeffe1d8, argc=1) at vm_eval.c:1171
#60 rb_yield_1 (val=<optimized out>) at vm_eval.c:1177
#61 rb_yield (val=15142848) at vm_eval.c:1187
#62 0xb6cda97c in rb_ary_each (ary=<optimized out>) at array.c:2523
#63 rb_ary_each (ary=<optimized out>) at array.c:2517
#64 0xb6edc06c in vm_call_cfunc_with_frame (ec=0x412f48, reg_cfp=0xb6931d4c, calling=<optimized out>) at vm_insnhelper.c:2898
#65 0xb6ede2d4 in vm_sendish (ec=0x412f48, reg_cfp=0xb6931d4c, cd=0x7cb4c0, block_handler=<optimized out>, method_explorer=mexp_search_method) at vm_insnhelper.c:4499
#66 0xb6ee0d1c in vm_exec_core (ec=0x412f48, initial=initial@entry=0) at insns.def:770
#67 0xb6ee53e4 in rb_vm_exec (ec=0x412f48, mjit_enable_p=<optimized out>) at vm.c:2172
#68 0xb6ee9b58 in vm_yield (kw_splat=0, argv=0xbeffe4a8, argc=1, ec=<optimized out>) at vm.c:1384
#69 rb_yield_0 (argv=0xbeffe4a8, argc=1) at vm_eval.c:1171
#70 rb_yield_1 (val=<optimized out>) at vm_eval.c:1177
#71 rb_yield (val=23749560) at vm_eval.c:1187
#72 0xb6d4fb54 in rb_ensure (b_proc=<optimized out>, data1=<optimized out>, e_proc=<optimized out>, data2=<optimized out>) at eval.c:1158
#73 0xb6d2e184 in dir_s_chdir (argc=<optimized out>, argv=<optimized out>, obj=<optimized out>) at dir.c:1079
#74 0xb6edc06c in vm_call_cfunc_with_frame (ec=0x412f48, reg_cfp=0xb6931dbc, calling=<optimized out>) at vm_insnhelper.c:2898
#75 0xb6ede2d4 in vm_sendish (ec=0x412f48, reg_cfp=0xb6931dbc, cd=0xae1ac8, block_handler=<optimized out>, method_explorer=mexp_search_method) at vm_insnhelper.c:4499
#76 0xb6ee0d1c in vm_exec_core (ec=0x412f48, initial=initial@entry=0) at insns.def:770
#77 0xb6ee53e4 in rb_vm_exec (ec=0x412f48, mjit_enable_p=<optimized out>) at vm.c:2172
#78 0xb6ee9b58 in vm_yield (kw_splat=0, argv=0xbeffe848, argc=1, ec=<optimized out>) at vm.c:1384
#79 rb_yield_0 (argv=0xbeffe848, argc=1) at vm_eval.c:1171
#80 rb_yield_1 (val=<optimized out>) at vm_eval.c:1177
#81 rb_yield (val=7570152) at vm_eval.c:1187
#82 0xb6cda97c in rb_ary_each (ary=<optimized out>) at array.c:2523
#83 rb_ary_each (ary=<optimized out>) at array.c:2517
#84 0xb6edc06c in vm_call_cfunc_with_frame (ec=0x412f48, reg_cfp=0xb6931e2c, calling=<optimized out>) at vm_insnhelper.c:2898
#85 0xb6ede2d4 in vm_sendish (ec=0x412f48, reg_cfp=0xb6931e2c, cd=0xae6af8, block_handler=<optimized out>, method_explorer=mexp_search_method) at vm_insnhelper.c:4499
#86 0xb6ee0d1c in vm_exec_core (ec=0x412f48, initial=initial@entry=0) at insns.def:770
#87 0xb6ee53e4 in rb_vm_exec (ec=ec@entry=0x412f48, mjit_enable_p=mjit_enable_p@entry=true) at vm.c:2172
#88 0xb6eea3a8 in vm_call0_body (argv=0x66660081, calling=0xbeffeb48, ec=0x412f48) at vm_eval.c:140
#89 rb_vm_call0 (ec=ec@entry=0x412f48, recv=11822040, id=<optimized out>, argc=argc@entry=2, argv=0xb68b218c, cme=0xb45fa0, kw_splat=0) at vm_eval.c:57
#90 0xb6eeac78 in rb_vm_call_kw (ec=ec@entry=0x412f48, recv=<optimized out>, id=<optimized out>, argc=argc@entry=2, argv=argv@entry=0xb68b218c, me=0xb45fa0, kw_splat=0, kw_splat@entry=4) at vm_eval.c:237
#91 0xb6e19cf0 in call_method_data (data=<optimized out>, data=<optimized out>, kw_splat=4, passed_procval=<optimized out>, argv=0xb68b218c, argc=2, ec=0x412f48) at proc.c:2416
#92 rb_method_call_with_block_kw (argc=2, argv=0xb68b218c, method=<optimized out>, passed_procval=<optimized out>, kw_splat=0) at proc.c:2430
#93 0xb6edaddc in vm_yield_with_cfunc (ec=ec@entry=0x412f48, captured=captured@entry=0xb328b8, self=11820600, argc=<optimized out>, argv=0xb68b218c, kw_splat=0, block_handler=0, me=me@entry=0x0)
at vm_insnhelper.c:3704
#94 0xb6edae90 in vm_invoke_ifunc_block (ec=0x412f48, reg_cfp=0xb6931e64, calling=<optimized out>, ci=<optimized out>, is_lambda=true, block_handler=11741371) at vm_insnhelper.c:3854
#95 0xb6ed074c in vm_invoke_block (block_handler=11820528, is_lambda=false, ci=0x1a620105, calling=0xbeffec9c, reg_cfp=0xb6931e64, ec=0x412f48) at vm_insnhelper.c:3909
#96 vm_invoke_block_opt_call (ec=0x412f48, reg_cfp=0xb6931e64, calling=0xbeffec9c, ci=0x1a620105, block_handler=11820528) at vm_insnhelper.c:3172
#97 0xb6ed07dc in vm_call_opt_call (ec=<optimized out>, reg_cfp=<optimized out>, calling=<optimized out>) at vm_insnhelper.c:3182
#98 0xb6ede2d4 in vm_sendish (ec=0x412f48, reg_cfp=0xb6931e64, cd=0xb951f0, block_handler=<optimized out>, method_explorer=mexp_search_method) at vm_insnhelper.c:4499
#99 0xb6ee0cb0 in vm_exec_core (ec=0x412f48, initial=initial@entry=0) at insns.def:789
#100 0xb6ee53e4 in rb_vm_exec (ec=0x412f48, mjit_enable_p=<optimized out>) at vm.c:2172
#101 0xb6ee9b58 in vm_yield (kw_splat=0, argv=0xbeffeeb8, argc=1, ec=<optimized out>) at vm.c:1384
#102 rb_yield_0 (argv=0xbeffeeb8, argc=1) at vm_eval.c:1171
#103 rb_yield_1 (val=<optimized out>) at vm_eval.c:1177
#104 rb_yield (val=11820528) at vm_eval.c:1187
#105 0xb6cda97c in rb_ary_each (ary=<optimized out>) at array.c:2523
#106 rb_ary_each (ary=<optimized out>) at array.c:2517
--Type <RET> for more, q to quit, c to continue without paging--
#107 0xb6edc06c in vm_call_cfunc_with_frame (ec=0x412f48, reg_cfp=0xb6931e9c, calling=<optimized out>) at vm_insnhelper.c:2898
#108 0xb6ede2d4 in vm_sendish (ec=0x412f48, reg_cfp=0xb6931e9c, cd=0xb95498, block_handler=<optimized out>, method_explorer=mexp_search_method) at vm_insnhelper.c:4499
#109 0xb6ee0d1c in vm_exec_core (ec=0x412f48, initial=initial@entry=0) at insns.def:770
#110 0xb6ee53e4 in rb_vm_exec (ec=0x412f48, mjit_enable_p=<optimized out>) at vm.c:2172
#111 0xb6ee9b58 in vm_yield (kw_splat=0, argv=0xbefff188, argc=1, ec=<optimized out>) at vm.c:1384
#112 rb_yield_0 (argv=0xbefff188, argc=1) at vm_eval.c:1171
#113 rb_yield_1 (val=<optimized out>) at vm_eval.c:1177
#114 rb_yield (val=11820048) at vm_eval.c:1187
#115 0xb6cda97c in rb_ary_each (ary=<optimized out>) at array.c:2523
#116 rb_ary_each (ary=<optimized out>) at array.c:2517
#117 0xb6edc06c in vm_call_cfunc_with_frame (ec=0x412f48, reg_cfp=0xb6931f28, calling=<optimized out>) at vm_insnhelper.c:2898
#118 0xb6ede2d4 in vm_sendish (ec=0x412f48, reg_cfp=0xb6931f28, cd=0x642c60, block_handler=<optimized out>, method_explorer=mexp_search_method) at vm_insnhelper.c:4499
#119 0xb6ee0d1c in vm_exec_core (ec=0x412f48, initial=initial@entry=0) at insns.def:770
#120 0xb6ee53e4 in rb_vm_exec (ec=0x412f48, mjit_enable_p=<optimized out>) at vm.c:2172
#121 0xb6d4e394 in rb_ec_exec_node (ec=<optimized out>, n=<optimized out>) at eval.c:317
#122 0xb6d51b84 in ruby_run_node (n=<optimized out>) at eval.c:375
#123 0x00400810 in main (argc=<optimized out>, argv=<optimized out>) at ./main.c:50
(gdb)
</code></pre>
<p>I is interesting, that we build ~100 packages but only this one triggers the segfauls. I'll try to come with more minimal reproducer.</p>
Ruby master - Bug #17508 (Closed): io-console versioning
https://bugs.ruby-lang.org/issues/17508
2021-01-04T11:30:14Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I have already complained about io-console versioning in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: io-console versioning (Closed)" href="https://bugs.ruby-lang.org/issues/9591">#9591</a> but nothing really changed till today. There are ~15 commit atop of <a class="changeset" title="[ruby/io-console] bump up to 0.5.6" href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/2115a3937d0e2cf845d092aec1f6c25292ddd6ce">2115a3937d0e2cf845d092aec1f6c25292ddd6ce</a>, but the version was not bumped in Ruby 3.0. Does it really make sense to have independent versioning, when it does not provide the expected value?</p>
Ruby master - Bug #17419 (Closed): `binding.eval` backtrace differente
https://bugs.ruby-lang.org/issues/17419
2020-12-21T17:38:43Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Can somebody elaborate why there is different output for Ruby 2.7 vs Ruby 3.0?</p>
<pre><code>$ ruby -v
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]
$ ruby -e '
begin
binding.eval(%|raise "oops"|)
rescue Exception => exc
puts exc.backtrace
end
'
-e:3:in `<main>'
-e:3:in `eval'
-e:3:in `<main>'
</code></pre>
<pre><code>$ ruby -v
ruby 3.0.0rc1 (2020-12-20 master 8680ae9cbd) [x86_64-linux]
$ ruby -e '
begin
binding.eval(%|raise "oops"|)
rescue Exception => exc
puts exc.backtrace
end
'
(eval):1:in `<main>'
-e:3:in `eval'
-e:3:in `<main>'
</code></pre>
<p>IOW the first line of backtrace is different. Is this expected? This is causing test failures:</p>
<p><a href="https://github.com/rails/web-console/issues/301" class="external">https://github.com/rails/web-console/issues/301</a></p>
Ruby master - Bug #17396 (Closed): Missing .gemspec files
https://bugs.ruby-lang.org/issues/17396
2020-12-16T16:18:04Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I am missing every .gemspec file, which used to be installed by bundled gems. IOW previously there were installed files such as rexml.gemspec and rss.gemspec. This is presumably caused by <a class="changeset" title="Extract gemspec to versioned file Not to be overwritten by test-bundler-prepare. gem files ofte..." href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/91f831ac17c8ff58d536ce1fa320294bb477d2ae">91f831ac17c8ff58d536ce1fa320294bb477d2ae</a>. But I really wonder why the rbinstall mangles upstream package content? If the .gemspec should not be shipped, then this should be solved by upstream. If this causes some issues to test suite, the test suite should be probably fixed by different means IMO (not mentioning that the commit message is not really clear what was the issue on the first place).</p>
<p>BTW I have opened more then year ago this PR <a href="https://github.com/ruby/ruby/pull/2545" class="external">1</a> where RubyGems are used to install the bundled gems and it does not get too much response. I'd still like to see this merged.</p>
Ruby master - Bug #17338 (Closed): ruby-spec stuck in "C-API Kernel function rb_rescue2"
https://bugs.ruby-lang.org/issues/17338
2020-11-20T15:54:39Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Trying to build Ruby on Fedora Rawhide, the ruby-spec test suite gets stuck on some platforms (I noticed this on i686 and ppc64le) somewhere around:</p>
<pre><code>C-API Kernel function rb_rescue2
- only rescues if one of the passed exceptions is raised
</code></pre>
<p>I have tried to disable the last test listed via <code>-P 'only rescues if one of the passed exceptions is raised'</code> but the test suite is stuck again. My next suspect is <a href="https://github.com/ruby/spec/commit/fb363fb1d4382f6cc25ac3dde5d44afeccf7f80c" class="external">1</a>.</p>
Ruby master - Bug #17320 (Closed): Is 'make realclean' supposed to work?
https://bugs.ruby-lang.org/issues/17320
2020-11-11T17:35:40Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p><a href="https://github.com/ruby/ruby/blob/fa3670e6e48a8553ad1f37bbfbd112911da497d1/common.mk#L649" class="external">https://github.com/ruby/ruby/blob/fa3670e6e48a8553ad1f37bbfbd112911da497d1/common.mk#L649</a></p>
Ruby master - Bug #17306 (Closed): TestGCCompact#test_ast_compacts test failures
https://bugs.ruby-lang.org/issues/17306
2020-11-05T08:38:03Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Trying to build recent master, I randomly observe following issue:</p>
<pre><code>[ 8682/20873] TestGCCompact#test_ast_compacts<internal:gc>:202: [BUG] Couldn't unprotect page 0x0000000123ab4000
ruby 3.0.0dev (2020-11-04 master 704fb0b815) [powerpc64le-linux]
-- Control frame information -----------------------------------------------
c:0031 p:0010 s:0179 e:000174 METHOD <internal:gc>:202
c:0030 p:0031 s:0171 e:000169 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/test/ruby/test_gc_compact.rb:120
c:0029 p:0052 s:0165 e:000164 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1232
c:0028 p:0065 s:0159 e:000158 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:1320
c:0027 p:0013 s:0150 e:000149 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit/testcase.rb:18
c:0026 p:0077 s:0145 e:000144 BLOCK /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:969 [FINISH]
c:0025 p:---- s:0138 e:000137 CFUNC :map
c:0024 p:0006 s:0134 e:000133 BLOCK /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:962
c:0023 p:0163 s:0130 E:0016e0 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:989
c:0022 p:0042 s:0118 e:000117 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1085
c:0021 p:0010 s:0111 e:000109 BLOCK /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:576 [FINISH]
c:0020 p:---- s:0105 e:000104 CFUNC :each
c:0019 p:0054 s:0101 E:002618 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:574
c:0018 p:0008 s:0094 E:000c58 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:611
c:0017 p:0140 s:0087 E:000808 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:904
c:0016 p:0016 s:0074 E:0000b8 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1022
c:0015 p:0005 s:0069 E:000540 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:1137
c:0014 p:0006 s:0065 E:002708 BLOCK /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:1124 [FINISH]
c:0013 p:---- s:0061 e:000060 CFUNC :each
c:0012 p:0047 s:0057 E:0001a8 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:1123
c:0011 p:0013 s:0052 E:001888 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:1111
c:0010 p:0008 s:0047 E:0010b0 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:796
c:0009 p:0008 s:0041 E:000ec0 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:644
c:0008 p:0015 s:0035 E:000a78 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:34
c:0007 p:0006 s:0030 E:0026e8 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1124
c:0006 p:0032 s:0025 E:001f90 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1194
c:0005 p:0009 s:0021 E:000158 METHOD /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1198
c:0004 p:0172 s:0016 E:001f88 TOP /builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/test/runner.rb:23 [FINISH]
c:0003 p:---- s:0011 e:000010 CFUNC :require_relative
c:0002 p:0092 s:0006 E:001c60 EVAL ./test/runner.rb:11 [FINISH]
c:0001 p:0000 s:0003 E:001f40 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
./test/runner.rb:11:in `<main>'
./test/runner.rb:11:in `require_relative'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/test/runner.rb:23:in `<top (required)>'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1198:in `run'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1194:in `run'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1124:in `run'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:34:in `run'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:644:in `run'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:796:in `run'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:1111:in `run'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:1123:in `_run'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:1123:in `each'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:1124:in `block in _run'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:1137:in `run_tests'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1022:in `_run_anything'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:904:in `_run_anything'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:611:in `_run_suites'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:574:in `_run_suites'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:574:in `each'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:576:in `block in _run_suites'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1085:in `_run_suite'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:989:in `_run_suite'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:962:in `block in _run_suite'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:962:in `map'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:969:in `block (2 levels) in _run_suite'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit/testcase.rb:18:in `run'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/minitest/unit.rb:1320:in `run'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/tool/lib/test/unit.rb:1232:in `run_test'
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/test/ruby/test_gc_compact.rb:120:in `test_ast_compacts'
<internal:gc>:202:in `compact'
-- C level backtrace information -------------------------------------------
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_vm_bugreport+0x13c) [0x7fff94004aac] vm_dump.c:758
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_bug+0x9c) [0x7fff93d3ef08] error.c:745
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(gc_sweep_step+0x1574) [0x7fff93e0ac14] gc.c:5149
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(gc_sweep+0x12c) [0x7fff93e0ad6c] gc.c:5172
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(gc_start+0x968) [0x7fff93e08358] gc.c:7316
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(garbage_collect+0x60) [0x7fff93e08910] gc.c:8041
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(gc_start_internal+0xb0) [0x7fff93e0b8a0] gc.c:3218
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(builtin_invoker4+0x34) [0x7fff93fcf7a4] vm_insnhelper.c:5145
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_exec_core+0x1b6c) [0x7fff93feb1bc] vm_insnhelper.c:4866
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_vm_exec+0x140) [0x7fff93feef40] vm_insnhelper.c:412
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(invoke_block_from_c_bh+0x398) [0x7fff93ff34a8] vm.c:1261
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_yield+0xb0) [0x7fff93ff4de0] vm.c:1396
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_ary_collect+0x74) [0x7fff93d4a524] array.c:3566
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(call_cfunc_0+0x24) [0x7fff93fceec4] vm_insnhelper.c:2473
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_call_cfunc_with_frame+0x14c) [0x7fff93fe2bdc] vm_insnhelper.c:2641
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_sendish+0xac) [0x7fff93fd2e0c] vm_insnhelper.c:4231
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_exec_core+0x1a0) [0x7fff93fe97f0] vm_insnhelper.c:4162
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_vm_exec+0x140) [0x7fff93feef40] vm_insnhelper.c:412
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(invoke_block_from_c_bh+0x398) [0x7fff93ff34a8] vm.c:1261
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_yield+0xb0) [0x7fff93ff4de0] vm.c:1396
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_ary_each+0x54) [0x7fff93d41044] array.c:2454
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(call_cfunc_0+0x24) [0x7fff93fceec4] vm_insnhelper.c:2473
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_call_cfunc_with_frame+0x14c) [0x7fff93fe2bdc] vm_insnhelper.c:2641
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_call_method_each_type+0x710) [0x7fff93ff15e0] vm_insnhelper.c:3123
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_sendish+0xac) [0x7fff93fd2e0c] vm_insnhelper.c:4231
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_exec_core+0x1a0) [0x7fff93fe97f0] vm_insnhelper.c:4162
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_vm_exec+0x140) [0x7fff93feef40] vm_insnhelper.c:412
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(invoke_block_from_c_bh+0x398) [0x7fff93ff34a8] vm.c:1261
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_yield+0xb0) [0x7fff93ff4de0] vm.c:1396
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_ary_each+0x54) [0x7fff93d41044] array.c:2454
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(call_cfunc_0+0x24) [0x7fff93fceec4] vm_insnhelper.c:2473
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_call_cfunc_with_frame+0x14c) [0x7fff93fe2bdc] vm_insnhelper.c:2641
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_call_method_each_type+0x710) [0x7fff93ff15e0] vm_insnhelper.c:3123
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_sendish+0xac) [0x7fff93fd2e0c] vm_insnhelper.c:4231
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_exec_core+0x1a0) [0x7fff93fe97f0] vm_insnhelper.c:4162
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_vm_exec+0x140) [0x7fff93feef40] vm_insnhelper.c:412
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_iseq_eval+0x130) [0x7fff93ff01a0] vm.c:2405
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(require_internal+0x7bc) [0x7fff93e4e0bc] load.c:594
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_require_string+0x44) [0x7fff93e4fbc4] load.c:1116
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_f_require_relative+0x48) [0x7fff93e4fcb8] load.c:857
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(call_cfunc_1+0x28) [0x7fff93fcef18] vm_insnhelper.c:2479
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_call_cfunc_with_frame+0x14c) [0x7fff93fe2bdc] vm_insnhelper.c:2641
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_sendish+0xac) [0x7fff93fd2e0c] vm_insnhelper.c:4231
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(vm_exec_core+0x130) [0x7fff93fe9780] insns.def:772
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_vm_exec+0x140) [0x7fff93feef40] vm_insnhelper.c:412
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_iseq_eval_main+0xdc) [0x7fff93ff02ec] vm.c:2416
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(rb_ec_exec_node+0xb8) [0x7fff93ddf2b8] eval.c:318
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/libruby.so.3.0.0(ruby_run_node+0x7c) [0x7fff93de3fec] eval.c:376
/builddir/build/BUILD/ruby-3.0.0-704fb0b815/ruby(main+0x90) [0x1020e0b70] ./main.c:50
-- Other runtime information -----------------------------------------------
... snip ...
</code></pre>
<p>So far, this crashed on s390x and on ppc64le.</p>
Ruby master - Bug #17160 (Rejected): Wrong exception backtrace
https://bugs.ruby-lang.org/issues/17160
2020-09-07T14:19:31Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Looking at web-console test results <a href="https://travis-ci.org/github/rails/web-console/jobs/719200769" class="external">1</a>, there is following error reported:</p>
<pre><code>WebConsole::EvaluatorTest#test_Evaluator_callers_are_cleaned_up_of_unneeded_backtraces [/home/travis/build/rails/web-console/test/web_console/evaluator_test.rb:63]:
--- expected
+++ actual
@@ -1,3 +1,3 @@
"RuntimeError: oops
-\tfrom /home/travis/build/rails/web-console/test/web_console/evaluator_test.rb:61:in `block in <class:EvaluatorTest>'
+\tfrom (eval):1:in `block in <class:EvaluatorTest>'
"
</code></pre>
<p>Trying to reproduce the issue, it seems that the exception backtrace is not correct. I have used slightly modified version of <a href="https://raw.githubusercontent.com/rails/web-console/master/lib/web_console/evaluator.rb" class="external">2</a> included in attachment and the output is:</p>
<pre><code>$ ruby -ractive_support -r./evaluator -e 'e = WebConsole::Evaluator.new(binding); puts e.eval("raise %{oops}")'
# exc.backtrace #
-e:1:in `<main>'
/builddir/t/evaluator.rb:22:in `eval'
/builddir/t/evaluator.rb:22:in `eval'
-e:1:in `<main>'
# caller #
/builddir/t/evaluator.rb:24:in `rescue in eval'
/builddir/t/evaluator.rb:21:in `eval'
-e:1:in `<main>'
RuntimeError: oops
</code></pre>
<p>I believe, that the <code>exc.backtrace</code> is wrong and the second line should actually be <code>/builddir/t/evaluator.rb:21:in `eval'</code> similarly to the output of the <code>caller</code>.</p>
Ruby master - Bug #17052 (Closed): Ruby with LTO enabled has issues with SIGSEGV handler
https://bugs.ruby-lang.org/issues/17052
2020-07-27T12:27:32Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Fedora aims to enable link time optimization (LTO) of packages in next release. The specific changes in configuration options are available here <a href="https://src.fedoraproject.org/rpms/redhat-rpm-config/c/5baaf4a99cc77572d3496a7000674098bef7ed68?branch=master" class="external">1</a>. Since that time, I observe following errors <a href="https://koschei.fedoraproject.org/package/ruby" class="external">2</a> at least on {aarch64,ppc64le} (and possibly also other architectures):</p>
<pre><code> 1) Failure:
TestBugReporter#test_bug_reporter_add [/builddir/build/BUILD/ruby-2.7.1/test/-ext-/bug_reporter/test_bug_reporter.rb:22]:
pid 32395 killed by SIGSEGV (signal 11) (core dumped)
| -:1: [BUG] Segmentation fault at 0x000003e800007e8b
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [powerpc64le-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0021 s:0006 e:000005 EVAL -:1 [FINISH]
| c:0001 p:0000 s:0003 E:000f80 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -:1:in `<main>'
| -:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| Expected /Sample bug reporter: 12345/
| to match
| "-- Control frame information -----------------------------------------------\n"+
| "c:0003 p:---- s:0012 e:000011 CFUNC :kill\n"+
| "c:0002 p:0021 s:0006 e:000005 EVAL -:1 [FINISH]\n"+
| "c:0001 p:0000 s:0003 E:000f80 (none) [FINISH]\n\n"+
| "-- Ruby level backtrace information ----------------------------------------\n"+
| "-:1:in `<main>'\n"+
| "-:1:in `kill'\n\n"+
| "-- C level backtrace information -------------------------------------------\n"
| after 4 patterns with 120 characters.
2) Failure:
TestRubyOptions#test_segv_loaded_features [/builddir/build/BUILD/ruby-2.7.1/test/ruby/test_rubyoptions.rb:735]:
pid 38444 killed by SIGSEGV (signal 11) (core dumped)
| -e:1: [BUG] Segmentation fault at 0x000003e80000962c
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [powerpc64le-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0016 s:0006 e:000005 BLOCK -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:002460 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `block in <main>'
| -e:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| <""> expected but was
| <"-- C level backtrace information -------------------------------------------\n">.
3) Failure:
TestRubyOptions#test_segv_setproctitle [/builddir/build/BUILD/ruby-2.7.1/test/ruby/test_rubyoptions.rb:749]:
pid 38451 killed by SIGSEGV (signal 11) (core dumped)
| -e:1: [BUG] Segmentation fault at 0x000003e800009633
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [powerpc64le-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0029 s:0006 e:000005 EVAL -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:000480 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `<main>'
| -e:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| <""> expected but was
| <"-- C level backtrace information -------------------------------------------\n">.
4) Failure:
TestRubyOptions#test_segv_test [/builddir/build/BUILD/ruby-2.7.1/test/ruby/test_rubyoptions.rb:729]:
pid 38460 killed by SIGSEGV (signal 11) (core dumped)
| -e:1: [BUG] Segmentation fault at 0x000003e80000963c
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [powerpc64le-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0015 s:0006 e:000005 EVAL -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:0006a0 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `<main>'
| -e:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
.
1. [2/2] Assertion for "stderr"
| <""> expected but was
| <"-- C level backtrace information -------------------------------------------\n">.
Finished tests in 840.600443s, 25.0047 tests/s, 3238.9681 assertions/s.
21019 tests, 2722678 assertions, 4 failures, 0 errors, 70 skips
ruby -v: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [powerpc64le-linux]
</code></pre>
<p>When I raised the issue on fedora-devel ML <a href="https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/D6YUXPU5C2RWIQMNHLT4HBYXUGVKKPOW/" class="external">3</a>, there was suggestion that it might happen when signal handler modifies any global variable. Now I am not sure if that is the case. Can somebody confirm? Or investigate/fix this, please?</p>
Ruby master - Bug #16951 (Closed): Consistently referer dependencies
https://bugs.ruby-lang.org/issues/16951
2020-06-11T11:06:28Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>It seems that the default gems interdependencies in Ruby are mess. Years ago, when JSON was merged into StdLib, there was big movement and everybody dropped their references to JSON "because it is part of StdLib and therefore it is not needed". I always thought that removing the references was mistake.</p>
<p>Now, there are other interesting cases. Let me name two I know about:</p>
<ol>
<li>
<p>REXML is going to be removed from default gems in Ruby 2.8, so some packages already started to introduce the dependency explicitly <a href="https://github.com/gettalong/kramdown/commit/c1aa6ad98fab589050ab8e82897ec4b7a3850b89" class="external">1</a>. So once somebody uses Kramdown on older Ruby, the external REXML of whatever version is going to be used.</p>
</li>
<li>
<p>There are also gems in StdLib, such as IRB, which are specifying their dependencies in .gemspec file.</p>
</li>
</ol>
<p>This is unfortunately causing very inconsistent user experience, depending if RubyGems are enabled/disabled, if one is using Bundler or not, if somebody explicitly states something somewhere and what dependencies are transitively pulled in.</p>
<p>I would really appreciate, if Ruby upstream finally paid attention to this problem. My suggestion is that if some gem depends on some other gem, this dependency should be always explicitly stated in the .gemspec file. This would provide clear precedence and guideline to others. This would save all possible surprises and hidden issues, suddenly using dependency of different version, which is pulled in transitively.</p>
Ruby master - Bug #16762 (Closed): Ruby is not properly fortified on armv7hl
https://bugs.ruby-lang.org/issues/16762
2020-04-06T17:12:28Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>The issue is similar to <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Ruby 2.6.0 is not properly fortified (Closed)" href="https://bugs.ruby-lang.org/issues/15335">#15335</a> and the fix is also similar:</p>
<pre><code>diff --git a/coroutine/arm32/Context.S b/coroutine/arm32/Context.S
index b66db29622..596284b5cf 100644
--- a/coroutine/arm32/Context.S
+++ b/coroutine/arm32/Context.S
@@ -24,3 +24,7 @@ coroutine_transfer:
# Restore callee state (8 registers program counter)
pop {r4-r11,pc}
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
</code></pre>
<p>It seems to be introduced by <a href="https://github.com/ruby/ruby/pull/2995" class="external">https://github.com/ruby/ruby/pull/2995</a></p>
Ruby master - Bug #16756 (Closed): File.chmod does not work on links.
https://bugs.ruby-lang.org/issues/16756
2020-04-03T16:41:21Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Now I observe different error after fix of <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: File.lchmod specs fails on linux since glibc 2.31.9000 (Closed)" href="https://bugs.ruby-lang.org/issues/16749">#16749</a>:</p>
<pre><code>1)
File.lchmod changes the file mode of the link and not of the file ERROR
Errno::ENOTSUP: Operation not supported @ apply2files - /builddir/build/BUILD/ruby-2.8.0-810d66f3e7/rubyspec_temp/32136/359-file_chmod_test.lnk
/builddir/build/BUILD/ruby-2.8.0-810d66f3e7/spec/ruby/core/file/lchmod_spec.rb:21:in `lchmod'
/builddir/build/BUILD/ruby-2.8.0-810d66f3e7/spec/ruby/core/file/lchmod_spec.rb:21:in `block (3 levels) in <top (required)>'
/builddir/build/BUILD/ruby-2.8.0-810d66f3e7/spec/ruby/core/file/lchmod_spec.rb:3:in `<top (required)>'
</code></pre>
<p>It seems that glibc 2.31.9000 does not support lchmod above links. May be I should rather report this against glibc? Not sure ...</p>
Ruby master - Bug #16749 (Closed): File.lchmod specs fails on linux since glibc 2.31.9000
https://bugs.ruby-lang.org/issues/16749
2020-04-01T15:50:25Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I observe following test errors on Fedora Rawhide when building against glibc 2.31.9000:</p>
<pre><code>1)
File.lchmod returns false from #respond_to? FAILED
Expected true to be false
/builddir/build/BUILD/ruby-2.7.0/spec/ruby/core/file/lchmod_spec.rb:35:in `block (3 levels) in <top (required)>'
/builddir/build/BUILD/ruby-2.7.0/spec/ruby/core/file/lchmod_spec.rb:3:in `<top (required)>'
2)
File.lchmod raises a NotImplementedError when called FAILED
Expected NotImplementedError but no exception was raised (0 was returned)
/builddir/build/BUILD/ruby-2.7.0/spec/ruby/core/file/lchmod_spec.rb:39:in `block (3 levels) in <top (required)>'
/builddir/build/BUILD/ruby-2.7.0/spec/ruby/core/file/lchmod_spec.rb:3:in `<top (required)>'
</code></pre>
<p>This seems to be related to <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: lchmod available in linux since glibc 2.31.9000 (Closed)" href="https://bugs.ruby-lang.org/issues/16662">#16662</a></p>
Ruby master - Bug #16694 (Closed): JIT vs hardened GCC with PCH
https://bugs.ruby-lang.org/issues/16694
2020-03-18T08:30:58Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Preparing Ruby package for RHEL 8, I observe the following error:</p>
<pre><code>$ cd /builddir/build/BUILD/ruby-2.6.3/
$ make test-all TESTS=test/ruby/test_rubyvm_mjit.rb
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" --excludes-dir=./test/excludes --name=!/memory_leak/
# Running tests:
[1/4] TestRubyVMMJIT#test_pause = 0.24 s
1) Failure:
TestRubyVMMJIT#test_pause [/builddir/build/BUILD/ruby-2.6.3/test/ruby/test_rubyvm_mjit.rb:32]:
unexpected stdout:
'''
truefalsefalse```
stderr:
'''
/tmp/_ruby_mjit_p712u0.c:1:37: error: one or more PCH files were found, but they were invalid
#include "/tmp/_ruby_mjit_hp712u0.h"
^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p712u1.c:1:37: error: one or more PCH files were found, but they were invalid
#include "/tmp/_ruby_mjit_hp712u0.h"
^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p712u2.c:1:37: error: one or more PCH files were found, but they were invalid
#include "/tmp/_ruby_mjit_hp712u0.h"
^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p712u3.c:1:37: error: one or more PCH files were found, but they were invalid
#include "/tmp/_ruby_mjit_hp712u0.h"
^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p712u4.c:1:37: error: one or more PCH files were found, but they were invalid
#include "/tmp/_ruby_mjit_hp712u0.h"
^
compilation terminated due to -Wfatal-errors.
Successful MJIT finish
```.
<5> expected but was
<0>.
Finished tests in 0.937667s, 4.2659 tests/s, 24.5290 assertions/s.
4 tests, 23 assertions, 1 failures, 0 errors, 0 skips
ruby -v: ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
make: *** [uncommon.mk:761: yes-test-all] Error 1
</code></pre>
<p>As it turns out, this is because GCC in RHEL is fully hardened. Unfortunately, due to GCC design, when GCC is fully hardened, it cannot properly handle PCH due to memory address relocation. Moreover, PCH are also security risk, so it seems they are going to be disabled entirely on RHEL.</p>
<p>Now I wonder what is the impact on Ruby JIT. I worry that with disabled PCH, the Ruby performance with JIT will be even worser without JIT. May be it is not good idea to use GCC for JIT. What are your thoughts?</p>
<p>The original ticket with all the details is here <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1721553" class="external">1</a>.</p>
Ruby master - Bug #16662 (Closed): lchmod available in linux since glibc 2.31.9000
https://bugs.ruby-lang.org/issues/16662
2020-02-28T10:42:31Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing of Fedora Rawhide, it seems that lchmod(2) is available and therefore the <code>TestNotImplement#test_respond_to_lchmod</code> test fails. You can check the build here <a href="https://koji.fedoraproject.org/koji/taskinfo?taskID=41967785" class="external">1</a> or the full build log including dumped configure.log is in attachment, because it will be garbage collected</p>
Ruby master - Bug #16658 (Closed): `method__cache__clear` DTrace hook was dropped without replace...
https://bugs.ruby-lang.org/issues/16658
2020-02-27T09:48:01Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>The PR #2888 <a href="https://github.com/ruby/ruby/pull/2888" class="external">1</a> dropped DTrace <code>method__cache__clear</code> hook without replacement. Was this intentional? If yes, then the probes.d <a href="https://github.com/ruby/ruby/blob/master/probes.d#L227" class="external">3</a> should be updated appropriately. If this was not intentional, the hook should be reintroduced.</p>
Ruby master - Bug #16656 (Closed): Fix wrong RegExp in rbinstall to install the default gems from...
https://bugs.ruby-lang.org/issues/16656
2020-02-27T06:42:13Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I have submitted <a href="https://github.com/ruby/ruby/pull/2933" class="external">1</a> to fix the wrong RegExp from <a href="https://github.com/ruby/ruby/pull/2922" class="external">2</a>.</p>
Ruby master - Feature #16652 (Closed): Use RubyGems facilities to install Gems during Ruby instal...
https://bugs.ruby-lang.org/issues/16652
2020-02-24T17:10:44Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Currently, <code>tools/rbinstall</code> uses quite some custom code to install gems instead of using functionality available in RubyGems. I don't think this is good, because the code is non transparent ATM and it is duplicating functionality, which is already available and tested in RubyGems. Also, it intoduces its own concepts such as <code>$script_mode</code> vs <code>$prog_mode</code>. So I opened two PRs, gradually implementing this.</p>
<p>The first PR <a href="https://github.com/ruby/ruby/pull/2515" class="external">1</a> uses <code>Gem::Package</code> like object and duck typing instead of monkey patching.</p>
<ol>
<li>This is similar to what RubyGems do and it is less magic <a href="https://github.com/rubygems/rubygems/blob/92892bbc3adba86a90756c385433835f6761b8da/lib/rubygems/installer.rb#L151" class="external">2</a>.</li>
<li>It avoids deprecated code paths in RubyGems <a href="https://github.com/rubygems/rubygems/blob/92892bbc3adba86a90756c385433835f6761b8da/lib/rubygems/installer.rb#L187" class="external">3</a>.</li>
</ol>
<p>The second PR <a href="https://github.com/ruby/ruby/pull/2545" class="external">4</a> builds on the top of the first one and uses <code>UnpackedInstaller</code> to install default gems (it would be probably nice to get <code>UnpackedInstaller</code> into RubyGems, but I am not sure how it could be invoked). As a bonus, it removes the pregenerated binstubs. These are now generated by <code>Gem::Installer</code> instead.</p>
Ruby master - Bug #16596 (Closed): racc does not install grammar.en.rdoc
https://bugs.ruby-lang.org/issues/16596
2020-01-27T15:18:46Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>The file <code>lib/racc/rdoc/grammar.en.rdoc</code> is not installed. Only empty directory <code>lib/racc/rdoc/</code> is created. The file should probably go to the documentation and the directory should not be created at all?</p>
Ruby master - Bug #16558 (Closed): What is special about GB2312
https://bugs.ruby-lang.org/issues/16558
2020-01-23T14:38:17Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Checking Ruby in Fedora, rpmlint complains about standard library:</p>
<pre><code>$ rpmlint ./ruby-libs-2.7.0-126.fc32.x86_64.rpm
ruby-libs.x86_64: W: spelling-error %description -l en_US libruby -> lib ruby, lib-ruby, library
ruby-libs.x86_64: W: obsolete-not-provided ruby-tcltk
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/continuation.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/digest/bubblebabble.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/digest/md5.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/digest/rmd160.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/digest/sha1.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/digest/sha2.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/big5.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/cesu_8.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/cp949.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/emacs_mule.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/encdb.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/euc_jp.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/euc_kr.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/euc_tw.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/gb18030.so
ruby-libs.x86_64: E: shared-lib-without-dependency-information /usr/lib64/ruby/enc/gb2312.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/gbk.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_1.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_10.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_11.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_13.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_14.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_15.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_16.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_2.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_3.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_4.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_5.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_6.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_7.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_8.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/iso_8859_9.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/koi8_r.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/koi8_u.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/shift_jis.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/big5.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/cesu_8.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/chinese.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/ebcdic.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/emoji.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/emoji_iso2022_kddi.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/emoji_sjis_docomo.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/emoji_sjis_kddi.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/emoji_sjis_softbank.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/escape.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/gb18030.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/gbk.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/iso2022.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/japanese.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/japanese_euc.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/japanese_sjis.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/korean.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/single_byte.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/transdb.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/trans/utf_16_32.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/utf_16be.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/utf_16le.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/utf_32be.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/utf_32le.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/windows_1250.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/windows_1251.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/windows_1252.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/windows_1253.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/windows_1254.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/windows_1257.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/enc/windows_31j.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/fcntl.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/fiber.so
ruby-libs.x86_64: E: library-not-linked-against-libc /usr/lib64/ruby/rbconfig/sizeof.so
1 packages and 0 specfiles checked; 69 errors, 2 warnings.
</code></pre>
<p>I guess that the <code>E: library-not-linked-against-libc</code> errors are false positive, because these are providing internal Ruby functionality and they are always loaded later, when libc is already loaded.</p>
<p>But I wonder what is the difference for <code>enc/gb2312.so</code>. Looking into details, these are the information I am able to obtani:</p>
<pre><code>$ ldd /usr/lib64/ruby/enc/gb2312.so
statically linked
$ readelf -d /usr/lib64/ruby/enc/gb2312.so
Dynamic section at offset 0x2e20 contains 22 entries:
Tag Type Name/Value
0x000000000000000c (INIT) 0x1000
0x000000000000000d (FINI) 0x1118
0x0000000000000019 (INIT_ARRAY) 0x3e08
0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
0x000000000000001a (FINI_ARRAY) 0x3e10
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x2f0
0x0000000000000005 (STRTAB) 0x3a8
0x0000000000000006 (SYMTAB) 0x318
0x000000000000000a (STRSZ) 97 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x3fc0
0x0000000000000002 (PLTRELSZ) 24 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x4b8
0x0000000000000007 (RELA) 0x410
0x0000000000000008 (RELASZ) 168 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x0000000000000018 (BIND_NOW)
0x000000006ffffffb (FLAGS_1) Flags: NOW
0x000000006ffffff9 (RELACOUNT) 3
0x0000000000000000 (NULL) 0x0
</code></pre>
<p>This says it is statically linked. If yes, the question is why and why not the others. Please note that <code>enc/gb2312.so</code> used to be similar to all other libraries in Ruby 2.6, so I wonder what is the reason, what has changed?</p>
Ruby master - Bug #16493 (Closed): TestThreadQueue#test_thr_kill is flaky on AArch64
https://bugs.ruby-lang.org/issues/16493
2020-01-09T09:39:13Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I can see quite often <code>TestThreadQueue#test_thr_kill</code> failing on AArch64:</p>
<pre><code> 1) Failure:
TestThreadQueue#test_thr_kill [/builddir/build/BUILD/ruby-2.7.0/test/ruby/test_thread_queue.rb:153]:
only 48/250 done in 60 seconds.
</code></pre>
<p>This was already issue before: <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: test_thr_kill(TestQueue) fails (Closed)" href="https://bugs.ruby-lang.org/issues/7521">#7521</a>, <a class="issue tracker-4 status-5 priority-4 priority-default closed" title="Backport: r39688 - test_queue.rb (test_thr_kill): reduce iterations from 2000 to 250. のバックポート (Closed)" href="https://bugs.ruby-lang.org/issues/8065">#8065</a>. Is there some better way to test this without taking long and causing timeouts repeatedly?</p>
Ruby master - Bug #16492 (Closed): TestBugReporter#test_bug_reporter_add test failures
https://bugs.ruby-lang.org/issues/16492
2020-01-09T09:17:41Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Building Ruby packages on Fedora, in 90% of cases, I observe the following error on s390:</p>
<pre><code> 1) Error:
TestBugReporter#test_bug_reporter_add:
Timeout::Error: execution of assert_in_out_err expired timeout (10 sec)
pid 2061293 killed by SIGKILL (signal 9)
|
| -:1: [BUG] Segmentation fault at 0x001f73ed000003e8
| ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [s390x-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0021 s:0006 e:000005 EVAL -:1 [FINISH]
| c:0001 p:0000 s:0003 E:000430 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -:1:in `<main>'
| -:1:in `kill'
|
| -- Other runtime information -----------------------------------------------
|
| * Loaded script: -
|
| * Loaded features:
|
| 0 enumerator.so
| 1 thread.rb
| 2 rational.so
| 3 complex.so
| 4 ruby2_keywords.rb
| 5 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/encdb.so
| 6 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/trans/transdb.so
| 7 /builddir/build/BUILD/ruby-2.7.0/abrt.rb
| 8 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/-test-/bug_reporter.so
|
| * Process memory map:
|
| 2aa27a00000-2aa27a01000 r-xp 00000000 fc:03 1845127 /builddir/build/BUILD/ruby-2.7.0/ruby
| 2aa27a01000-2aa27a02000 r--p 00000000 fc:03 1845127 /builddir/build/BUILD/ruby-2.7.0/ruby
| 2aa27a02000-2aa27a03000 rw-p 00001000 fc:03 1845127 /builddir/build/BUILD/ruby-2.7.0/ruby
| 2aa28a7e000-2aa28bfe000 rw-p 00000000 00:00 0 [heap]
| 3ff9ff80000-3ff9ff81000 r-xp 00000000 fc:03 1844756 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/-test-/bug_reporter.so
| 3ff9ff81000-3ff9ff82000 r--p 00000000 fc:03 1844756 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/-test-/bug_reporter.so
| 3ff9ff82000-3ff9ff83000 rw-p 00000000 00:00 0
| 3ffa0000000-3ffa0002000 r-xp 00000000 fc:03 1844387 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/trans/transdb.so
| 3ffa0002000-3ffa0003000 r--p 00001000 fc:03 1844387 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/trans/transdb.so
| 3ffa0003000-3ffa0004000 rw-p 00000000 00:00 0
| 3ffa0036000-3ffa0037000 ---p 00000000 00:00 0
| 3ffa0037000-3ffa0078000 rw-p 00000000 00:00 0
| 3ffa0078000-3ffa0079000 ---p 00000000 00:00 0
| 3ffa0079000-3ffa00ba000 rw-p 00000000 00:00 0
| 3ffa00ba000-3ffa00bb000 ---p 00000000 00:00 0
| 3ffa00bb000-3ffa00fc000 rw-p 00000000 00:00 0
| 3ffa00fc000-3ffa00fd000 ---p 00000000 00:00 0
| 3ffa00fd000-3ffa013e000 rw-p 00000000 00:00 0
| 3ffa013e000-3ffa013f000 ---p 00000000 00:00 0
| 3ffa013f000-3ffa0180000 rw-p 00000000 00:00 0
| 3ffa0180000-3ffa0181000 ---p 00000000 00:00 0
| 3ffa0181000-3ffa01c2000 rw-p 00000000 00:00 0
| 3ffa01c2000-3ffa01c3000 ---p 00000000 00:00 0
| 3ffa01c3000-3ffa0204000 rw-p 00000000 00:00 0
| 3ffa0204000-3ffa0205000 ---p 00000000 00:00 0
| 3ffa0205000-3ffa0246000 rw-p 00000000 00:00 0
| 3ffa0246000-3ffa0247000 ---p 00000000 00:00 0
| 3ffa0247000-3ffa0288000 rw-p 00000000 00:00 0
| 3ffa0288000-3ffa0289000 ---p 00000000 00:00 0
| 3ffa0289000-3ffa02ca000 rw-p 00000000 00:00 0
| 3ffa02ca000-3ffa02cb000 ---p 00000000 00:00 0
| 3ffa02cb000-3ffa030c000 rw-p 00000000 00:00 0
| 3ffa030c000-3ffa030d000 ---p 00000000 00:00 0
| 3ffa030d000-3ffa034e000 rw-p 00000000 00:00 0
| 3ffa034e000-3ffa034f000 ---p 00000000 00:00 0
| 3ffa034f000-3ffa0390000 rw-p 00000000 00:00 0
| 3ffa0390000-3ffa0391000 ---p 00000000 00:00 0
| 3ffa0391000-3ffa03d2000 rw-p 00000000 00:00 0
| 3ffa03d2000-3ffa03d3000 ---p 00000000 00:00 0
| 3ffa03d3000-3ffa0414000 rw-p 00000000 00:00 0
| 3ffa0414000-3ffa0415000 ---p 00000000 00:00 0
| 3ffa0415000-3ffa0456000 rw-p 00000000 00:00 0
| 3ffa0456000-3ffa0457000 ---p 00000000 00:00 0
| 3ffa0457000-3ffa0498000 rw-p 00000000 00:00 0
| 3ffa0498000-3ffa0499000 ---p 00000000 00:00 0
| 3ffa0499000-3ffa04da000 rw-p 00000000 00:00 0
| 3ffa04da000-3ffa04db000 ---p 00000000 00:00 0
| 3ffa04db000-3ffa051c000 rw-p 00000000 00:00 0
| 3ffa051c000-3ffa051d000 ---p 00000000 00:00 0
| 3ffa051d000-3ffa055e000 rw-p 00000000 00:00 0
| 3ffa055e000-3ffa055f000 ---p 00000000 00:00 0
| 3ffa055f000-3ffa05a0000 rw-p 00000000 00:00 0
| 3ffa05a0000-3ffa05a1000 ---p 00000000 00:00 0
| 3ffa05a1000-3ffa05e2000 rw-p 00000000 00:00 0
| 3ffa05e2000-3ffa05e3000 ---p 00000000 00:00 0
| 3ffa05e3000-3ffa0624000 rw-p 00000000 00:00 0
| 3ffa0624000-3ffa0625000 ---p 00000000 00:00 0
| 3ffa0625000-3ffa0666000 rw-p 00000000 00:00 0
| 3ffa0666000-3ffa0667000 ---p 00000000 00:00 0
| 3ffa0667000-3ffa06a8000 rw-p 00000000 00:00 0
| 3ffa06a8000-3ffa06a9000 ---p 00000000 00:00 0
| 3ffa06a9000-3ffa06ea000 rw-p 00000000 00:00 0
| 3ffa06ea000-3ffa06eb000 ---p 00000000 00:00 0
| 3ffa06eb000-3ffa072c000 rw-p 00000000 00:00 0
| 3ffa072c000-3ffa072d000 ---p 00000000 00:00 0
| 3ffa072d000-3ffa076e000 rw-p 00000000 00:00 0
| 3ffa076e000-3ffa076f000 ---p 00000000 00:00 0
| 3ffa076f000-3ffa07b0000 rw-p 00000000 00:00 0
| 3ffa07b0000-3ffa07b1000 ---p 00000000 00:00 0
| 3ffa07b1000-3ffa07f2000 rw-p 00000000 00:00 0
| 3ffa07f2000-3ffa07f3000 ---p 00000000 00:00 0
| 3ffa07f3000-3ffa0834000 rw-p 00000000 00:00 0
| 3ffa0834000-3ffa0835000 ---p 00000000 00:00 0
| 3ffa0835000-3ffa2980000 rw-p 00000000 00:00 0
| 3ffa2980000-3ffa2a17000 r-xp 00000000 fc:03 1813828 /usr/lib64/libm-2.30.9000.so
| 3ffa2a17000-3ffa2a18000 r--p 00096000 fc:03 1813828 /usr/lib64/libm-2.30.9000.so
| 3ffa2a18000-3ffa2a19000 rw-p 00097000 fc:03 1813828 /usr/lib64/libm-2.30.9000.so
| 3ffa2a80000-3ffa2ab2000 r-xp 00000000 fc:03 1814596 /usr/lib64/libcrypt.so.2.0.0
| 3ffa2ab2000-3ffa2ab3000 ---p 00032000 fc:03 1814596 /usr/lib64/libcrypt.so.2.0.0
| 3ffa2ab3000-3ffa2ab4000 r--p 00032000 fc:03 1814596 /usr/lib64/libcrypt.so.2.0.0
| 3ffa2ab4000-3ffa2abd000 rw-p 00000000 00:00 0
| 3ffa2b00000-3ffa2b03000 r-xp 00000000 fc:03 1813826 /usr/lib64/libdl-2.30.9000.so
| 3ffa2b03000-3ffa2b04000 r--p 00002000 fc:03 1813826 /usr/lib64/libdl-2.30.9000.so
| 3ffa2b04000-3ffa2b05000 rw-p 00000000 00:00 0
| 3ffa2b80000-3ffa2c05000 r-xp 00000000 fc:03 1814658 /usr/lib64/libgmp.so.10.3.2
| 3ffa2c05000-3ffa2c07000 r--p 00084000 fc:03 1814658 /usr/lib64/libgmp.so.10.3.2
| 3ffa2c07000-3ffa2c08000 rw-p 00086000 fc:03 1814658 /usr/lib64/libgmp.so.10.3.2
| 3ffa2c80000-3ffa2c88000 r-xp 00000000 fc:03 1813840 /usr/lib64/librt-2.30.9000.so
| 3ffa2c88000-3ffa2c89000 r--p 00007000 fc:03 1813840 /usr/lib64/librt-2.30.9000.so
| 3ffa2c89000-3ffa2c8a000 rw-p 00008000 fc:03 1813840 /usr/lib64/librt-2.30.9000.so
| 3ffa2d00000-3ffa2d1e000 r-xp 00000000 fc:03 1813836 /usr/lib64/libpthread-2.30.9000.so
| 3ffa2d1e000-3ffa2d1f000 r--p 0001d000 fc:03 1813836 /usr/lib64/libpthread-2.30.9000.so
| 3ffa2d1f000-3ffa2d20000 rw-p 0001e000 fc:03 1813836 /usr/lib64/libpthread-2.30.9000.so
| 3ffa2d20000-3ffa2d24000 rw-p 00000000 00:00 0
| 3ffa2d80000-3ffa2f1e000 r-xp 00000000 fc:03 1813824 /usr/lib64/libc-2.30.9000.so
| 3ffa2f1e000-3ffa2f22000 r--p 0019d000 fc:03 1813824 /usr/lib64/libc-2.30.9000.so
| 3ffa2f22000-3ffa2f25000 rw-p 001a1000 fc:03 1813824 /usr/lib64/libc-2.30.9000.so
| 3ffa2f25000-3ffa2f28000 rw-p 00000000 00:00 0
| 3ffa2f80000-3ffa2f82000 r-xp 00000000 fc:03 1844333 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/encdb.so
| 3ffa2f82000-3ffa2f83000 r--p 00001000 fc:03 1844333 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/encdb.so
| 3ffa2f83000-3ffa2f84000 rw-p 00000000 00:00 0
| 3ffa3000000-3ffa336e000 r-xp 00000000 fc:03 1844256 /builddir/build/BUILD/ruby-2.7.0/libruby.so.2.7.0
| 3ffa336e000-3ffa3377000 r--p 0036d000 fc:03 1844256 /builddir/build/BUILD/ruby-2.7.0/libruby.so.2.7.0
| 3ffa3377000-3ffa3378000 rw-p 00376000 fc:03 1844256 /builddir/build/BUILD/ruby-2.7.0/libruby.so.2.7.0
| 3ffa3378000-3ffa338f000 rw-p 00000000 00:00 0
| 3ffa3400000-3ffa3426000 r-xp 00000000 fc:03 1813817 /usr/lib64/ld-2.30.9000.so
| 3ffa3426000-3ffa3427000 r--p 00025000 fc:03 1813817 /usr/lib64/ld-2.30.9000.so
| 3ffa3427000-3ffa3428000 rw-p 00026000 fc:03 1813817 /usr/lib64/ld-2.30.9000.so
| 3ffa3428000-3ffa3429000 rw-p 00000000 00:00 0
| 3ffa3476000-3ffa347e000 rw-p 00000000 00:00 0
| 3ffa347e000-3ffa3480000 r-xp 00000000 00:00 0 [vdso]
| 3ffc5301000-3ffc5b00000 rw-p 00000000 00:00 0 [stack]
|
|
| Sample bug reporter: 12345
/builddir/build/BUILD/ruby-2.7.0/test/-ext-/bug_reporter/test_bug_reporter.rb:22:in `test_bug_reporter_add'
Finished tests in 544.051367s, 38.5515 tests/s, 4998.1953 assertions/s.
20974 tests, 2719275 assertions, 0 failures, 1 errors, 68 skips
ruby -v: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [s390x-linux]
</code></pre>
<p>Since the default timeout is 10s, I tried to increase the timeout to 30s via simple <code>sed -i '/assert_in_out_err/ s/)/, timeout: 30)/' test/-ext-/bug_reporter/test_bug_reporter.rb</code> and this seems to help to avoid this issue.</p>
<p>However, I am not really sure why s390x is so slow handling this test case :/</p>
Ruby master - Feature #16431 (Closed): Optionally load did_you_mean (and RubyGems)
https://bugs.ruby-lang.org/issues/16431
2019-12-18T14:20:04Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I just have opened PR <a href="https://github.com/ruby/ruby/pull/2764" class="external">1</a>, which allows Ruby to run when did_you_mean is not available. As I previously discussed in <a class="issue tracker-1 status-6 priority-4 priority-default closed" title="Bug: Revert did_you_mean promotion to default gem. (Rejected)" href="https://bugs.ruby-lang.org/issues/16427">#16427</a>, there are cases when speed, memory, disk or network bandwidth is a concern and did_you_mean is not useful for runtime. This is especially useful when Ruby is installed via packaging systems of (Linux) distributions.</p>
<p>The PR is split into 4 commits, because since I was there, I prepared similar changes to RubyGems.</p>
Ruby master - Bug #16427 (Rejected): Revert did_you_mean promotion to default gem.
https://bugs.ruby-lang.org/issues/16427
2019-12-17T12:05:29Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>One of the points made in <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Promote did_you_mean to default gem (Closed)" href="https://bugs.ruby-lang.org/issues/16363">#16363</a> was:</p>
<blockquote>
<p>so we can always reliably require it whenever we want to.</p>
</blockquote>
<p>That is not true anymore, because did_you_mean is always required when RubyGems are enabled since <a href="https://github.com/ruby/ruby/commit/0fef526606c72e7d2a3c83aebd9204da34016d96" class="external">1</a>:</p>
<pre><code>$ ruby -e 'puts $LOADED_FEATURES' | grep did
</code></pre>
<p>Removing all traces of did_you_mean from my system only results in:</p>
<pre><code>$ ruby -e 'puts $LOADED_FEATURES' | grep did
Traceback (most recent call last):
2: from <internal:gem_prelude>:2:in `<internal:gem_prelude>'
1: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:92:in `require'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- did_you_mean (LoadError)
</code></pre>
<p>just confirming what I said above.</p>
<p>IMO, did_you_mean gem might be useful for development, but should not be required for runtime at all. On one hand there are taken steps to improve Ruby speed, but this is going contrary to that goal.</p>
Ruby master - Bug #16416 (Closed): Suspicious include directories.
https://bugs.ruby-lang.org/issues/16416
2019-12-11T15:33:11Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>There are created suspicious include directories:</p>
<pre><code>$ cd /usr/local/include/
[vondruch@localhost include]$ tree
.
└── ruby-2.7.0
├── ruby
│ ├── assert.h
│ ├── backward
│ │ ├── classext.h
│ │ ├── cxxanyargs.hpp
│ │ ├── rubyio.h
│ │ ├── rubysig.h
│ │ ├── st.h
│ │ └── util.h
│ ├── backward.h
│ ├── debug.h
│ ├── defines.h
│ ├── digest.h
│ ├── encoding.h
│ ├── intern.h
│ ├── io.h
│ ├── missing.h
│ ├── onigmo.h
│ ├── oniguruma.h
│ ├── regex.h
│ ├── re.h
│ ├── ruby.h
│ ├── st.h
│ ├── subst.h
│ ├── thread.h
│ ├── thread_native.h
│ ├── util.h
│ ├── version.h
│ └── vm.h
├── ruby.h
├── ruby-2.7.0
│ └── x86_64-linux
└── x86_64-linux
├── rb_mjit_min_header-2.7.0.h
└── ruby
└── config.h
</code></pre>
<p>My concern is specifically the ruby-2.7.0/ruby-2.7.0 directory structure.</p>
Ruby master - Bug #16415 (Closed): MJIT is using/creating some suspicious include directories
https://bugs.ruby-lang.org/issues/16415
2019-12-11T14:49:38Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Building Ruby, there are some suspicious include directories created:</p>
<pre><code>$ cd /usr/local/include/
$ tree
.
└── ruby-2.7.0
├── ruby
│ ├── assert.h
│ ├── backward
│ │ ├── classext.h
│ │ ├── cxxanyargs.hpp
│ │ ├── rubyio.h
│ │ ├── rubysig.h
│ │ ├── st.h
│ │ └── util.h
│ ├── backward.h
│ ├── debug.h
│ ├── defines.h
│ ├── digest.h
│ ├── encoding.h
│ ├── intern.h
│ ├── io.h
│ ├── missing.h
│ ├── onigmo.h
│ ├── oniguruma.h
│ ├── regex.h
│ ├── re.h
│ ├── ruby.h
│ ├── st.h
│ ├── subst.h
│ ├── thread.h
│ ├── thread_native.h
│ ├── util.h
│ ├── version.h
│ └── vm.h
├── ruby-
│ └── x86_64-linux
├── ruby.h
└── x86_64-linux
├── rb_mjit_min_header-2.7.0.h
└── ruby
└── config.h
</code></pre>
<p>The directory in question is the 'ruby-2.7.0/ruby-'. I suspect this is related to MJIT, because the mjit_config.h (in attachment) refers to these directories.</p>
Ruby master - Bug #16410 (Closed): Spec failure - "File.utime allows Time instances in the far fu...
https://bugs.ruby-lang.org/issues/16410
2019-12-09T16:26:53Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I observe the following spec error:</p>
<pre><code>$ make test-all TESTS="spec/ruby/core/file/utime_spec.rb" MSPECOPT="-fs"
./revision.h unchanged
ruby 2.7.0dev (2019-12-09 master c2dc27d643) [x86_64-linux]
1)
File.utime allows Time instances in the far future to set mtime and atime FAILED
Expected 2446 == 559444
to be truthy but was false
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/spec/ruby/core/file/utime_spec.rb:78:in `block (4 levels) in <top (required)>'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/spec/ruby/core/file/utime_spec.rb:3:in `<top (required)>'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/spec/ruby/spec_helper.rb:31:in `<top (required)>'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/spec/ruby/core/file/utime_spec.rb:1:in `require_relative'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/spec/ruby/core/file/utime_spec.rb:1:in `<top (required)>'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/tool/lib/test/unit.rb:963:in `require'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/tool/lib/test/unit.rb:963:in `block in non_options'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/tool/lib/test/unit.rb:957:in `each'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/tool/lib/test/unit.rb:957:in `non_options'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/tool/lib/test/unit.rb:65:in `process_args'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/tool/lib/test/unit.rb:131:in `process_args'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/tool/lib/test/unit.rb:1151:in `process_args'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/tool/lib/test/unit.rb:1156:in `run'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/tool/lib/test/unit.rb:1163:in `run'
/builddir/build/BUILD/ruby-2.7.0-c2dc27d643/tool/test/runner.rb:22:in `<top (required)>'
./test/runner.rb:11:in `require_relative'
./test/runner.rb:11:in `<main>'
[/ | ==================100%================== | 00:00:00] 1F 0E
Finished in 0.009331 seconds
2 files, 5 examples, 15 expectations, 1 failure, 0 errors, 0 tagged
make: *** [uncommon.mk:782: yes-test-all] Error 1
</code></pre>
Ruby master - Bug #16361 (Closed): TestEnv#test_fetch failure
https://bugs.ruby-lang.org/issues/16361
2019-11-22T14:35:12Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I am facing following test suite error:</p>
<pre><code> 1) Failure:
TestEnv#test_fetch [/builddir/build/BUILD/ruby-2.7.0-f9d20a1bf1/test/ruby/test_env.rb:123]:
<a href="/issues/8649">[ruby-core:56062]</a> [Feature #8649].
Expected Exception(KeyError) was raised, but the message doesn't match.
<"key not found: \"test\""> expected but was
<"key not found: \"test\"\n" + "Did you mean? \"TESTS\"">.
</code></pre>
<p>Trying to execute this test independently, it passes just fine. So it seems that the did_you_mean gem is loaded unexpectedly on this place. I just tried:</p>
<pre><code>mv test/optparse/test_did_you_mean.rb{,.bak}
</code></pre>
<p>since this is the latest addition IMO and the test suite passes just fine.</p>
<p>I am not really sure why it should fail on my setup and it probably does not fail in any other CI. Neither I am sure what would be the best option to fix this. The assertion could be updated to accept this message by simple sed:</p>
<pre><code>sed -i "/'key not found: \"test\"'/ s/'/\//g" test/ruby/test_env.rb
</code></pre>
Ruby master - Bug #16359 (Closed): Psych cannot build against system libyaml.
https://bugs.ruby-lang.org/issues/16359
2019-11-22T08:50:48Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Just to be sure that we are building Ruby in Fedora against system libyaml library, the first step is to remove bundled libyaml contained in Psych <a href="https://src.fedoraproject.org/rpms/ruby/blame/ruby.spec?identifier=private-ruby-2.7#_540" class="external">1</a>. Now the build started to fail:</p>
<pre><code>make[2]: Entering directory '/builddir/build/BUILD/ruby-2.7.0-f9d20a1bf1/ext/psych'
make[2]: *** No rule to make target 'yaml/yaml.h', needed by 'psych.o'. Stop.
make[2]: Leaving directory '/builddir/build/BUILD/ruby-2.7.0-f9d20a1bf1/ext/psych'
make[1]: *** [exts.mk:255: ext/psych/all] Error 2
</code></pre>
<p>I suspect this is due to <a href="https://github.com/ruby/ruby/commit/e1b234148829f65bea9f5ecc7018beb782ea6023" class="external">2</a> (I have not tried to revert it yet). I would appreciate if Ruby/Psych is buildable against system libyaml again, as it was always the case.</p>
Ruby master - Bug #16167 (Closed): make-snapshot does not work from fresh checkout
https://bugs.ruby-lang.org/issues/16167
2019-09-13T17:25:53Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>So far, I was using this sequence to get Ruby snapshot:</p>
<pre><code>git clone https://github.com/ruby/ruby ~/ruby
cd ~/ruby && tool/make-snapshot -packages=xz -git=https://github.com/ruby/ruby tmp
</code></pre>
<p>But that does not work anymore. It seems I am not supposed to use the -git option anymore. So lets drop it:</p>
<pre><code>$ tool/make-snapshot -packages=xz ./tmp
Exporting @98f919ed47a136c9a51c7ab5fa39ffb4965a1687
Cloning into '/tmp/ruby-snapshot20190913-95-1lk1fkq/ruby'...
done.
fatal: couldn't find remote ref refs/notes/commits
fatal: the remote end hung up unexpectedly
Traceback (most recent call last):
6: from tool/make-snapshot:578:in `<main>'
5: from tool/make-snapshot:578:in `collect'
4: from tool/make-snapshot:578:in `block in <main>'
3: from tool/make-snapshot:285:in `package'
2: from /builddir/ruby/tool/lib/vcs.rb:587:in `export'
1: from /builddir/ruby/tool/lib/vcs.rb:115:in `system'
/builddir/ruby/tool/lib/vcs.rb:115:in `system': Command failed with exit 128: git (RuntimeError)
</code></pre>
<p>So something is broken.</p>
<p>When I added <code>-exported=.</code> option, finally I've got something:</p>
<pre><code>$ tool/make-snapshot -packages=xz -exported=. tmp
Traceback (most recent call last):
6: from tool/make-snapshot:578:in `<main>'
5: from tool/make-snapshot:578:in `collect'
4: from tool/make-snapshot:578:in `block in <main>'
3: from tool/make-snapshot:360:in `package'
2: from tool/make-snapshot:360:in `chdir'
1: from tool/make-snapshot:362:in `block in package'
/builddir/ruby/tool/lib/vcs.rb:614:in `export_changelog': need notes/commits tree; run `git fetch origin refs/notes/commits:refs/notes/commits` in the repository (RuntimeError)
</code></pre>
<p>Running this command, it helped, but that appears to be less than ideal UX.</p>
Ruby master - Bug #16007 (Closed): Process.clock_getres matches the clock in practice for Process...
https://bugs.ruby-lang.org/issues/16007
2019-07-16T06:47:32Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>During build of Ruby 2.7.0 0c6c937904 on Fedora Rawhide, I observe following test failure on armv7hl (other arches are fine):</p>
<pre><code>1)
Process.clock_getres matches the clock in practice for Process::CLOCK_PROCESS_CPUTIME_ID FAILED
Expected 10000
not to equal 10000
/builddir/build/BUILD/ruby-2.7.0-0c6c937904/spec/ruby/core/process/clock_getres_spec.rb:30:in `block (4 levels) in <top (required)>'
/builddir/build/BUILD/ruby-2.7.0-0c6c937904/spec/ruby/core/process/clock_getres_spec.rb:4:in `<top (required)>'
2)
Process.clock_getres matches the clock in practice for Process::CLOCK_THREAD_CPUTIME_ID FAILED
Expected 10000
not to equal 10000
/builddir/build/BUILD/ruby-2.7.0-0c6c937904/spec/ruby/core/process/clock_getres_spec.rb:30:in `block (4 levels) in <top (required)>'
/builddir/build/BUILD/ruby-2.7.0-0c6c937904/spec/ruby/core/process/clock_getres_spec.rb:4:in `<top (required)>'
Finished in 189.216527 seconds
3770 files, 30971 examples, 112151 expectations, 2 failures, 0 errors, 0 tagged
</code></pre>
<p>I did not observe such issue previously testing with d9f8b88b47</p>
Ruby master - Bug #15986 (Closed): `TestJIT#test_block_handler_with_possible_frame_omitted_inlini...
https://bugs.ruby-lang.org/issues/15986
2019-07-04T12:24:01Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I am trying to build the Ruby 2.7 snapshot for Fedora Rawhide <a href="https://koji.fedoraproject.org/koji/taskinfo?taskID=36030301" class="external">1</a>, but I observe the following test failure on s390x and aarch64 platforms:</p>
<pre><code> 1) Failure:
TestJIT#test_block_handler_with_possible_frame_omitted_inlining [/builddir/build/BUILD/ruby-2.7.0-d9f8b88b47/test/ruby/test_jit.rb:846]:
Expected 2 times of JIT success, but succeeded 1 times.
script:
"""
def multiply(a, b)
a *= b
end
3.times do
p multiply(7.0, 10.0)
end
"""
stderr:
"""
JIT success (65.9ms): block in <main>@-e:6 -> /tmp/_ruby_mjit_p54157u0.c
gcc: fatal error: output filename may not be empty
compilation terminated.
Successful MJIT finish
"""
.
<2> expected but was
<1>.
Finished tests in 440.892116s, 47.2746 tests/s, 6150.4071 assertions/s.
</code></pre>
Ruby master - Feature #15982 (Closed): Remove y2racc and racc2y
https://bugs.ruby-lang.org/issues/15982
2019-07-03T15:29:39Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>The y2racc and racc2y are not available upstream anymore:</p>
<p><a href="https://github.com/ruby/racc/commit/2d360188e9ed474d559ad2fa9bb0636feb445ea2" class="external">https://github.com/ruby/racc/commit/2d360188e9ed474d559ad2fa9bb0636feb445ea2</a></p>
<p>I know this is development branch commit, but is it worth of shipping them in Ruby if they are going to be removed in the future?</p>
Ruby master - Bug #15570 (Closed): rb_int2big signature change #14036 breaks VIM on 32b arches
https://bugs.ruby-lang.org/issues/15570
2019-01-29T12:05:02Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>It was recently pointed out by VIM maintainer in Fedora <a href="https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/37CBX2FJZ22OPURJFCWXPJS3CNKIUNQD/" class="external">1</a>, that VIM fails to build with Ruby 2.6 with the following error:</p>
<pre><code>gcc -c -I. -DDYNAMIC_RUBY_DLL=\"libruby.so.2.6\" -DDYNAMIC_RUBY_VER=26 -I/usr/include -I/usr/include -DRUBY_VERSION=26 -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/python3.6m -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/if_ruby.o if_ruby.c
if_ruby.c:509:7: error: conflicting types for 'rb_int2big_stub'
509 | VALUE rb_int2big_stub(SIGNED_VALUE x)
| ^~~~~~~~~~~~~~~
if_ruby.c:107:21: note: previous declaration of 'rb_int2big_stub' was here
107 | # define rb_int2big rb_int2big_stub
| ^~~~~~~~~~~~~~~
make: *** [Makefile:3091: objects/if_ruby.o] Error 1
make: *** Waiting for unfinished jobs....
</code></pre>
<p>This is apparently due to <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Signature of rb_uint2big and rb_int2big (Closed)" href="https://bugs.ruby-lang.org/issues/14036">#14036</a>. The naive fix in VIM is quite easy <a href="https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/E2LREXS5QZA5L7VJA4YJALAPF76LX6BR/attachment/2/vim-ruby.patch" class="external">2</a>, but I wonder if there is any better way to fix this breakage.</p>
Ruby master - Feature #15425 (Closed): Store MJIT header into Ruby versioned directory.
https://bugs.ruby-lang.org/issues/15425
2018-12-17T12:19:16Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>This is a followup of <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: JIT does not respect configuration options (Closed)" href="https://bugs.ruby-lang.org/issues/15391">#15391</a> which fixes JIT to respect the configuration options. However, I still wonder, why the file is versioned and why it is not stored in the versioned directory alongside all other internal Ruby headers. I believe, that while it now respects the header configuration flags, it still does not respect options such as "--with-ruby-version"</p>
Ruby master - Bug #15359 (Closed): Bundler help is not properly integrated
https://bugs.ruby-lang.org/issues/15359
2018-11-29T12:42:13Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Bundler has nice help, but it is a bit complex <a href="https://github.com/bundler/bundler/blame/master/lib/bundler/cli.rb#L104" class="external">1</a>. It ideally needs <code>man</code> command installed but it definitely needs the help source files, which are not placed on proper location to be reachable by BUndler from StdLib. In that case, Bundler fallbacks to the simplest help provided by its Thor based CLI, but that is probably not the user experience integrated Bundler should provide.</p>
<p>For comparison, this is the official help:</p>
<pre><code> bundler --help
BUNDLE(1) BUNDLE(1)
NAME
bundle - Ruby Dependency Management
... snip ...
OBSOLETE
These commands are obsolete and should no longer be used
o bundle cache(1)
o bundle show(1)
July 2017 BUNDLE(1)
</code></pre>
<p>and this is the help output provided by the bundled Bundler:</p>
<pre><code># bundler --help
Bundler commands:
bundler add GEM VERSION # Add gem to Gemfile and run bundle install
... snip ...
bundler version # Prints the bundler's version information
Options:
[--no-color] # Disable colorization in output
-r, [--retry=NUM] # Specify the number of times you wish to attempt network commands
-V, [--verbose], [--no-verbose] # Enable verbose output mode
</code></pre>
Ruby master - Bug #15307 (Closed): TestJIT#test_{catching_deep_exception,compile_insn_throw,lambd...
https://bugs.ruby-lang.org/issues/15307
2018-11-15T11:06:25Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<pre><code> 1) Failure:
TestJIT#test_catching_deep_exception [/builddir/build/BUILD/ruby-2.6.0-preview3/test/ruby/test_jit.rb:654]:
Failed to run script with JIT:
```
def catch_true(paths, prefixes) # catch_except_p: TRUE
prefixes.each do |prefix| # catch_except_p: TRUE
paths.each do |path| # catch_except_p: FALSE
return path
end
end
end
def wrapper(paths, prefixes)
catch_true(paths, prefixes)
end
print wrapper(['1'], ['2'])
```
stdout:
```
```
stderr:
```
JIT success (58.5ms): wrapper@-e:10 -> /tmp/_ruby_mjit_p5145u0.c
JIT success (108.5ms): catch_true@-e:2 -> /tmp/_ruby_mjit_p5145u1.c
JIT success (90.8ms): block in catch_true@-e:3 -> /tmp/_ruby_mjit_p5145u2.c
JIT success (45.3ms): block (2 levels) in catch_true@-e:4 -> /tmp/_ruby_mjit_p5145u3.c
-e:5: [BUG] Segmentation fault at 0xfffffffffffffff8
ruby 2.6.0preview3 (2018-11-06 trunk 65578) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0008 p:0005 s:0036 e:000034 BLOCK -e:5 [FINISH]
c:0007 p:---- s:0031 e:000030 CFUNC :each
c:0006 p:0007 s:0027 e:000026 BLOCK -e:4 [FINISH]
c:0005 p:---- s:0023 e:000022 CFUNC :each
c:0004 p:0006 s:0019 e:000018 METHOD -e:3 [FINISH]
c:0003 p:0008 s:0013 e:000012 METHOD -e:11
c:0002 p:0033 s:0007 e:000005 EVAL -e:14 [FINISH]
c:0001 p:0000 s:0003 E:001dc0 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
-e:14:in `<main>'
-e:11:in `wrapper'
-e:3:in `catch_true'
-e:3:in `each'
-e:4:in `block in catch_true'
-e:4:in `each'
-e:5:in `block (2 levels) in catch_true'
-- Machine register context ------------------------------------------------
RIP: 0x00007fdf0567d2a0 RBP: 0x00007fffdd24ca60 RSP: 0x0000000000000000
RAX: 0x000055c05ff18790 RBX: 0x0000000000000000 RCX: 0x000055c05fe4c508
RDX: 0x0000000000000001 RDI: 0x000055c05fe363e8 RSI: 0x0000000000000000
R8: 0x0000000000000002 R9: 0x000055c05ff6a030 R10: 0x0000000000000002
R11: 0x0000000000000000 R12: 0x0000000000000001 R13: 0x0000000022220021
R14: 0x000055c05fe4c968 R15: 0x0000000000000000 EFL: 0x0000000000010246
-- C level backtrace information -------------------------------------------
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_print_backtrace+0x19) [0x7fdf0568b3d9] vm_dump.c:715
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_bugreport+0x220) [0x7fdf0568b610] vm_dump.c:985
[0x7fdf0552d38f]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(sigsegv+0x46) [0x7fdf05614726] signal.c:998
/lib64/libc.so.6(__restore_rt+0x0) [0x7fdf052f65c0]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_exec+0x500) [0x7fdf0567d2a0] vm.c:2037
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_yield+0x352) [0x7fdf056839e2] vm.c:1007
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_ary_each+0x3c) [0x7fdf054c024c] array.c:2076
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(vm_call_cfunc+0x11a) [0x7fdf05672eea] vm_insnhelper.c:1905
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(vm_call_method+0x33) [0x7fdf0567f4b3] vm_insnhelper.c:2391
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(vm_call_general) vm_insnhelper.c:2362
/tmp/_ruby_mjit_p5145u2.so(0x7fdf0276c905) [0x7fdf0276c905]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_exec+0x98d) [0x7fdf0567d72d] mjit.h:115
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_yield+0x352) [0x7fdf056839e2] vm.c:1007
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_ary_each+0x3c) [0x7fdf054c024c] array.c:2076
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(vm_call_cfunc+0x11a) [0x7fdf05672eea] vm_insnhelper.c:1905
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(vm_call_method+0x33) [0x7fdf0567f4b3] vm_insnhelper.c:2391
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(vm_call_general) vm_insnhelper.c:2362
[0x7fdf027708f5]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_exec+0x98d) [0x7fdf0567d72d] mjit.h:115
[0x7fdf054852a5]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(vm_exec_core+0x357a) [0x7fdf0567a55a] insns.def:766
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_exec+0x28e) [0x7fdf0567d02e] vm.c:1821
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(ruby_exec_internal+0xee) [0x7fdf0553139e] eval.c:261
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(ruby_exec_node+0x21) [0x7fdf05533401] eval.c:325
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(ruby_run_node+0x32) [0x7fdf05535dc2] eval.c:317
/builddir/build/BUILD/ruby-2.6.0-preview3/ruby(main+0x73) [0x55c05f4a61e3] ./main.c:42
-- Other runtime information -----------------------------------------------
* Loaded script: -e
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
5 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
* Process memory map:
55c05f4a5000-55c05f4a6000 r--p 00000000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
55c05f4a6000-55c05f4a7000 r-xp 00001000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
55c05f4a7000-55c05f4a8000 r--p 00002000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
55c05f4a8000-55c05f4a9000 r--p 00002000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
55c05f4a9000-55c05f4aa000 rw-p 00003000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
55c05fe35000-55c05ffaa000 rw-p 00000000 00:00 0 [heap]
7fdefc000000-7fdefc021000 rw-p 00000000 00:00 0
7fdefc021000-7fdf00000000 ---p 00000000 00:00 0
7fdf013bc000-7fdf016cc000 r--s 00000000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7fdf016cc000-7fdf02741000 r--s 00000000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7fdf02741000-7fdf02748000 r--s 00000000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
7fdf02748000-7fdf0274b000 r--p 00000000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7fdf0274b000-7fdf0275d000 r-xp 00003000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7fdf0275d000-7fdf02760000 r--p 00015000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7fdf02760000-7fdf02761000 ---p 00018000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7fdf02761000-7fdf02762000 r--p 00018000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7fdf02762000-7fdf02763000 rw-p 00019000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7fdf02767000-7fdf02768000 r--p 00000000 00:3a 1065512 /tmp/_ruby_mjit_p5145u3.so (deleted)
7fdf02768000-7fdf02769000 r-xp 00001000 00:3a 1065512 /tmp/_ruby_mjit_p5145u3.so (deleted)
7fdf02769000-7fdf0276a000 r--p 00002000 00:3a 1065512 /tmp/_ruby_mjit_p5145u3.so (deleted)
7fdf0276a000-7fdf0276b000 r--p 00002000 00:3a 1065512 /tmp/_ruby_mjit_p5145u3.so (deleted)
7fdf0276b000-7fdf0276c000 r--p 00000000 00:3a 1066099 /tmp/_ruby_mjit_p5145u2.so (deleted)
7fdf0276c000-7fdf0276d000 r-xp 00001000 00:3a 1066099 /tmp/_ruby_mjit_p5145u2.so (deleted)
7fdf0276d000-7fdf0276e000 r--p 00002000 00:3a 1066099 /tmp/_ruby_mjit_p5145u2.so (deleted)
7fdf0276e000-7fdf0276f000 r--p 00002000 00:3a 1066099 /tmp/_ruby_mjit_p5145u2.so (deleted)
7fdf0276f000-7fdf02770000 r--p 00000000 00:3a 1066096 /tmp/_ruby_mjit_p5145u1.so (deleted)
7fdf02770000-7fdf02771000 r-xp 00001000 00:3a 1066096 /tmp/_ruby_mjit_p5145u1.so (deleted)
7fdf02771000-7fdf02772000 r--p 00002000 00:3a 1066096 /tmp/_ruby_mjit_p5145u1.so (deleted)
7fdf02772000-7fdf02773000 r--p 00002000 00:3a 1066096 /tmp/_ruby_mjit_p5145u1.so (deleted)
7fdf02773000-7fdf02774000 r--p 00000000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7fdf02774000-7fdf02776000 r-xp 00001000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7fdf02776000-7fdf02777000 r--p 00003000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7fdf02777000-7fdf02778000 r--p 00003000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7fdf02778000-7fdf02779000 rw-p 00000000 00:00 0
7fdf02779000-7fdf0277a000 r--p 00000000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7fdf0277a000-7fdf0277b000 r-xp 00001000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7fdf0277b000-7fdf0277c000 r--p 00002000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7fdf0277c000-7fdf0277d000 r--p 00002000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7fdf0277d000-7fdf0277e000 rw-p 00000000 00:00 0
7fdf0277e000-7fdf0277f000 ---p 00000000 00:00 0
7fdf0277f000-7fdf0508c000 rw-p 00000000 00:00 0
7fdf0508c000-7fdf05099000 r--p 00000000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7fdf05099000-7fdf05134000 r-xp 0000d000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7fdf05134000-7fdf051cf000 r--p 000a8000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7fdf051cf000-7fdf051d0000 r--p 00142000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7fdf051d0000-7fdf051d1000 rw-p 00143000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7fdf051d1000-7fdf051d3000 r--p 00000000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7fdf051d3000-7fdf051e8000 r-xp 00002000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7fdf051e8000-7fdf05202000 r--p 00017000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7fdf05202000-7fdf05203000 r--p 00030000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7fdf05203000-7fdf05204000 rw-p 00031000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7fdf05204000-7fdf0520e000 rw-p 00000000 00:00 0
7fdf0520e000-7fdf0520f000 r--p 00000000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7fdf0520f000-7fdf05211000 r-xp 00001000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7fdf05211000-7fdf05212000 r--p 00003000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7fdf05212000-7fdf05213000 r--p 00003000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7fdf05213000-7fdf05214000 rw-p 00004000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7fdf05214000-7fdf0521f000 r--p 00000000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7fdf0521f000-7fdf05277000 r-xp 0000b000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7fdf05277000-7fdf0528e000 r--p 00063000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7fdf0528e000-7fdf0528f000 ---p 0007a000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7fdf0528f000-7fdf05291000 r--p 0007a000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7fdf05291000-7fdf05292000 rw-p 0007c000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7fdf05292000-7fdf05294000 r--p 00000000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7fdf05294000-7fdf05298000 r-xp 00002000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7fdf05298000-7fdf0529a000 r--p 00006000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7fdf0529a000-7fdf0529b000 r--p 00007000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7fdf0529b000-7fdf0529c000 rw-p 00008000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7fdf0529c000-7fdf052a2000 r--p 00000000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7fdf052a2000-7fdf052b2000 r-xp 00006000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7fdf052b2000-7fdf052b8000 r--p 00016000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7fdf052b8000-7fdf052b9000 r--p 0001b000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7fdf052b9000-7fdf052ba000 rw-p 0001c000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7fdf052ba000-7fdf052be000 rw-p 00000000 00:00 0
7fdf052be000-7fdf052e0000 r--p 00000000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7fdf052e0000-7fdf0542d000 r-xp 00022000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7fdf0542d000-7fdf05479000 r--p 0016f000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7fdf05479000-7fdf0547a000 ---p 001bb000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7fdf0547a000-7fdf0547e000 r--p 001bb000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7fdf0547e000-7fdf05480000 rw-p 001bf000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7fdf05480000-7fdf05484000 rw-p 00000000 00:00 0
7fdf05484000-7fdf05485000 r--p 00000000 00:3a 1066093 /tmp/_ruby_mjit_p5145u0.so (deleted)
7fdf05485000-7fdf05486000 r-xp 00001000 00:3a 1066093 /tmp/_ruby_mjit_p5145u0.so (deleted)
7fdf05486000-7fdf05487000 r--p 00002000 00:3a 1066093 /tmp/_ruby_mjit_p5145u0.so (deleted)
7fdf05487000-7fdf05488000 r--p 00002000 00:3a 1066093 /tmp/_ruby_mjit_p5145u0.so (deleted)
7fdf05488000-7fdf054b3000 r--p 00000000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7fdf054b3000-7fdf05695000 r-xp 0002b000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7fdf05695000-7fdf05773000 r--p 0020d000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7fdf05773000-7fdf05774000 ---p 002eb000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7fdf05774000-7fdf0577c000 r--p 002eb000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7fdf0577c000-7fdf0577d000 rw-p 002f3000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7fdf0577d000-7fdf05790000 rw-p 00000000 00:00 0
7fdf05790000-7fdf05791000 r--p 00000000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7fdf05791000-7fdf057b1000 r-xp 00001000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7fdf057b1000-7fdf057b9000 r--p 00021000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7fdf057ba000-7fdf057bb000 r--p 00029000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7fdf057bb000-7fdf057bc000 rw-p 0002a000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7fdf057bc000-7fdf057bd000 rw-p 00000000 00:00 0
7fffdca51000-7fffdd250000 rw-p 00000000 00:00 0 [stack]
7fffdd2a8000-7fffdd2ab000 r--p 00000000 00:00 0 [vvar]
7fffdd2ab000-7fffdd2ad000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html
```
.
<true> expected but was
<nil>.
2) Failure:
TestJIT#test_compile_insn_throw [/builddir/build/BUILD/ruby-2.6.0-preview3/test/ruby/test_jit.rb:394]:
Failed to run script with JIT:
```
def test
proc do
if 1+1 == 1
return 3
else
return 4
end
5
end.call
end
print test
```
stdout:
```
```
stderr:
```
JIT success (114.6ms): test@-e:2 -> /tmp/_ruby_mjit_p5933u0.c
JIT success (94.4ms): block in test@-e:3 -> /tmp/_ruby_mjit_p5933u1.c
-e:7: [BUG] Segmentation fault at 0xfffffffffffffff8
ruby 2.6.0preview3 (2018-11-06 trunk 65578) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0004 p:0023 s:0015 e:000013 BLOCK -e:7 [FINISH]
c:0003 p:0008 s:0011 E:001c90 METHOD -e:10
c:0002 p:0015 s:0007 e:000005 EVAL -e:12 [FINISH]
c:0001 p:0000 s:0003 E:001a80 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
-e:12:in `<main>'
-e:10:in `test'
-e:7:in `block in test'
-- Machine register context ------------------------------------------------
RIP: 0x00007f56cb70d2a0 RBP: 0x00007ffc385c8930 RSP: 0x0000000000000000
RAX: 0x0000558c671c8790 RBX: 0x0000000000000000 RCX: 0x0000558c670fcb68
RDX: 0x0000000000000001 RDI: 0x0000558c670e63e8 RSI: 0x0000000000000000
R8: 0x0000000000000002 R9: 0x0000558c6721b740 R10: 0x0000000000000002
R11: 0x0000000000000000 R12: 0x00007f56cb81def0 R13: 0x0000558c670e63e8
R14: 0x0000558c6721b580 R15: 0x0000000000000000 EFL: 0x0000000000010246
-- C level backtrace information -------------------------------------------
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_print_backtrace+0x19) [0x7f56cb71b3d9] vm_dump.c:715
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_bugreport+0x220) [0x7f56cb71b610] vm_dump.c:985
[0x7f56cb5bd38f]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(sigsegv+0x46) [0x7f56cb6a4726] signal.c:998
/lib64/libc.so.6(__restore_rt+0x0) [0x7f56cb3865c0]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_exec+0x500) [0x7f56cb70d2a0] vm.c:2037
/tmp/_ruby_mjit_p5933u0.so(0x7f56c87ffbe5) [0x7f56c87ffbe5]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(vm_exec_core+0x357a) [0x7f56cb70a55a] insns.def:766
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_exec+0x28e) [0x7f56cb70d02e] vm.c:1821
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(ruby_exec_internal+0xee) [0x7f56cb5c139e] eval.c:261
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(ruby_exec_node+0x21) [0x7f56cb5c3401] eval.c:325
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(ruby_run_node+0x32) [0x7f56cb5c5dc2] eval.c:317
/builddir/build/BUILD/ruby-2.6.0-preview3/ruby(main+0x73) [0x558c6702c1e3] ./main.c:42
-- Other runtime information -----------------------------------------------
* Loaded script: -e
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
5 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
* Process memory map:
558c6702b000-558c6702c000 r--p 00000000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
558c6702c000-558c6702d000 r-xp 00001000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
558c6702d000-558c6702e000 r--p 00002000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
558c6702e000-558c6702f000 r--p 00002000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
558c6702f000-558c67030000 rw-p 00003000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
558c670e5000-558c6725a000 rw-p 00000000 00:00 0 [heap]
7f56c2f8b000-7f56c4000000 r--s 00000000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f56c4000000-7f56c4021000 rw-p 00000000 00:00 0
7f56c4021000-7f56c8000000 ---p 00000000 00:00 0
7f56c84c8000-7f56c87d8000 r--s 00000000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f56c87d8000-7f56c87df000 r--s 00000000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
7f56c87df000-7f56c87e2000 r--p 00000000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f56c87e2000-7f56c87f4000 r-xp 00003000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f56c87f4000-7f56c87f7000 r--p 00015000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f56c87f7000-7f56c87f8000 ---p 00018000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f56c87f8000-7f56c87f9000 r--p 00018000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f56c87f9000-7f56c87fa000 rw-p 00019000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f56c87fe000-7f56c87ff000 r--p 00000000 00:3a 1067157 /tmp/_ruby_mjit_p5933u0.so (deleted)
7f56c87ff000-7f56c8801000 r-xp 00001000 00:3a 1067157 /tmp/_ruby_mjit_p5933u0.so (deleted)
7f56c8801000-7f56c8802000 r--p 00003000 00:3a 1067157 /tmp/_ruby_mjit_p5933u0.so (deleted)
7f56c8802000-7f56c8803000 r--p 00003000 00:3a 1067157 /tmp/_ruby_mjit_p5933u0.so (deleted)
7f56c8803000-7f56c8804000 r--p 00000000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7f56c8804000-7f56c8806000 r-xp 00001000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7f56c8806000-7f56c8807000 r--p 00003000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7f56c8807000-7f56c8808000 r--p 00003000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7f56c8808000-7f56c8809000 rw-p 00000000 00:00 0
7f56c8809000-7f56c880a000 r--p 00000000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7f56c880a000-7f56c880b000 r-xp 00001000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7f56c880b000-7f56c880c000 r--p 00002000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7f56c880c000-7f56c880d000 r--p 00002000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7f56c880d000-7f56c880e000 rw-p 00000000 00:00 0
7f56c880e000-7f56c880f000 ---p 00000000 00:00 0
7f56c880f000-7f56cb11c000 rw-p 00000000 00:00 0
7f56cb11c000-7f56cb129000 r--p 00000000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7f56cb129000-7f56cb1c4000 r-xp 0000d000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7f56cb1c4000-7f56cb25f000 r--p 000a8000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7f56cb25f000-7f56cb260000 r--p 00142000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7f56cb260000-7f56cb261000 rw-p 00143000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7f56cb261000-7f56cb263000 r--p 00000000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7f56cb263000-7f56cb278000 r-xp 00002000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7f56cb278000-7f56cb292000 r--p 00017000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7f56cb292000-7f56cb293000 r--p 00030000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7f56cb293000-7f56cb294000 rw-p 00031000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7f56cb294000-7f56cb29e000 rw-p 00000000 00:00 0
7f56cb29e000-7f56cb29f000 r--p 00000000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7f56cb29f000-7f56cb2a1000 r-xp 00001000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7f56cb2a1000-7f56cb2a2000 r--p 00003000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7f56cb2a2000-7f56cb2a3000 r--p 00003000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7f56cb2a3000-7f56cb2a4000 rw-p 00004000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7f56cb2a4000-7f56cb2af000 r--p 00000000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f56cb2af000-7f56cb307000 r-xp 0000b000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f56cb307000-7f56cb31e000 r--p 00063000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f56cb31e000-7f56cb31f000 ---p 0007a000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f56cb31f000-7f56cb321000 r--p 0007a000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f56cb321000-7f56cb322000 rw-p 0007c000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f56cb322000-7f56cb324000 r--p 00000000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7f56cb324000-7f56cb328000 r-xp 00002000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7f56cb328000-7f56cb32a000 r--p 00006000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7f56cb32a000-7f56cb32b000 r--p 00007000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7f56cb32b000-7f56cb32c000 rw-p 00008000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7f56cb32c000-7f56cb332000 r--p 00000000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7f56cb332000-7f56cb342000 r-xp 00006000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7f56cb342000-7f56cb348000 r--p 00016000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7f56cb348000-7f56cb349000 r--p 0001b000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7f56cb349000-7f56cb34a000 rw-p 0001c000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7f56cb34a000-7f56cb34e000 rw-p 00000000 00:00 0
7f56cb34e000-7f56cb370000 r--p 00000000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f56cb370000-7f56cb4bd000 r-xp 00022000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f56cb4bd000-7f56cb509000 r--p 0016f000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f56cb509000-7f56cb50a000 ---p 001bb000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f56cb50a000-7f56cb50e000 r--p 001bb000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f56cb50e000-7f56cb510000 rw-p 001bf000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f56cb510000-7f56cb514000 rw-p 00000000 00:00 0
7f56cb514000-7f56cb515000 r--p 00000000 00:3a 1066472 /tmp/_ruby_mjit_p5933u1.so (deleted)
7f56cb515000-7f56cb516000 r-xp 00001000 00:3a 1066472 /tmp/_ruby_mjit_p5933u1.so (deleted)
7f56cb516000-7f56cb517000 r--p 00002000 00:3a 1066472 /tmp/_ruby_mjit_p5933u1.so (deleted)
7f56cb517000-7f56cb518000 r--p 00002000 00:3a 1066472 /tmp/_ruby_mjit_p5933u1.so (deleted)
7f56cb518000-7f56cb543000 r--p 00000000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f56cb543000-7f56cb725000 r-xp 0002b000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f56cb725000-7f56cb803000 r--p 0020d000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f56cb803000-7f56cb804000 ---p 002eb000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f56cb804000-7f56cb80c000 r--p 002eb000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f56cb80c000-7f56cb80d000 rw-p 002f3000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f56cb80d000-7f56cb820000 rw-p 00000000 00:00 0
7f56cb820000-7f56cb821000 r--p 00000000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7f56cb821000-7f56cb841000 r-xp 00001000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7f56cb841000-7f56cb849000 r--p 00021000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7f56cb84a000-7f56cb84b000 r--p 00029000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7f56cb84b000-7f56cb84c000 rw-p 0002a000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7f56cb84c000-7f56cb84d000 rw-p 00000000 00:00 0
7ffc37dcc000-7ffc385cb000 rw-p 00000000 00:00 0 [stack]
7ffc385df000-7ffc385e2000 r--p 00000000 00:00 0 [vvar]
7ffc385e2000-7ffc385e4000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html
```
.
<true> expected but was
<nil>.
3) Failure:
TestJIT#test_lambda_longjmp [/builddir/build/BUILD/ruby-2.6.0-preview3/test/ruby/test_jit.rb:773]:
Failed to run script with JIT:
```
fib = lambda do |x|
return x if x == 0 || x == 1
fib.call(x-1) + fib.call(x-2)
end
print fib.call(5)
```
stdout:
```
```
stderr:
```
JIT success (150.3ms): block in <main>@-e:2 -> /tmp/_ruby_mjit_p5985u0.c
-e:3: [BUG] Segmentation fault at 0xfffffffffffffff8
ruby 2.6.0preview3 (2018-11-06 trunk 65578) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0007 p:0021 s:0029 e:000027 BLOCK -e:3 [FINISH]
c:0006 p:0033 s:0024 e:000023 BLOCK -e:4 [FINISH]
c:0005 p:0033 s:0020 e:000019 BLOCK -e:4 [FINISH]
c:0004 p:0033 s:0016 e:000015 BLOCK -e:4 [FINISH]
c:0003 p:0033 s:0012 e:000011 BLOCK -e:4
c:0002 p:0015 s:0008 E:0023b8 EVAL -e:6 [FINISH]
c:0001 p:0000 s:0003 E:0023e0 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
-e:6:in `<main>'
-e:4:in `block in <main>'
-e:4:in `block in <main>'
-e:4:in `block in <main>'
-e:4:in `block in <main>'
-e:3:in `block in <main>'
-- Machine register context ------------------------------------------------
RIP: 0x00007f0121da1539 RBP: 0x00007ffc10720500 RSP: 0x0000000000000000
RAX: 0x00007f01217abec0 RBX: 0x00007f01217abe88 RCX: 0x000055dfd6578c88
RDX: 0x0000000000000001 RDI: 0x000055dfd655f3e8 RSI: 0x0000000000000001
R8: 0x000055dfd66945a4 R9: 0x000055dfd65f7220 R10: 0x0000000000000002
R11: 0x0000000000000030 R12: 0x000055dfd655f3e8 R13: 0x0000000000000003
R14: 0x00007ffc10720520 R15: 0x00007f0121eb1ef0 EFL: 0x0000000000010216
-- C level backtrace information -------------------------------------------
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_print_backtrace+0x19) [0x7f0121daf3d9] vm_dump.c:715
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_bugreport+0x220) [0x7f0121daf610] vm_dump.c:985
[0x7f0121c5138f]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(sigsegv+0x46) [0x7f0121d38726] signal.c:998
/lib64/libc.so.6(__restore_rt+0x0) [0x7f0121a1a5c0]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_exec+0x799) [0x7f0121da1539] vm.c:1894
/tmp/_ruby_mjit_p5985u0.so(0x7f011ee93a32) [0x7f011ee93a32]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_exec+0xfc) [0x7f0121da0e9c] mjit.h:127
[0x7f011ee93a32]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_exec+0xfc) [0x7f0121da0e9c] mjit.h:127
[0x7f011ee93a32]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_exec+0xfc) [0x7f0121da0e9c] mjit.h:127
[0x7f011ee93a32]
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(vm_exec_core+0x357a) [0x7f0121d9e55a] insns.def:766
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(rb_vm_exec+0x28e) [0x7f0121da102e] vm.c:1821
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(ruby_exec_internal+0xee) [0x7f0121c5539e] eval.c:261
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(ruby_exec_node+0x21) [0x7f0121c57401] eval.c:325
/builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0(ruby_run_node+0x32) [0x7f0121c59dc2] eval.c:317
/builddir/build/BUILD/ruby-2.6.0-preview3/ruby(main+0x73) [0x55dfd5f6c1e3] ./main.c:42
-- Other runtime information -----------------------------------------------
* Loaded script: -e
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
5 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
* Process memory map:
55dfd5f6b000-55dfd5f6c000 r--p 00000000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
55dfd5f6c000-55dfd5f6d000 r-xp 00001000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
55dfd5f6d000-55dfd5f6e000 r--p 00002000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
55dfd5f6e000-55dfd5f6f000 r--p 00002000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
55dfd5f6f000-55dfd5f70000 rw-p 00003000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
55dfd655e000-55dfd66d4000 rw-p 00000000 00:00 0 [heap]
7f0118000000-7f0118021000 rw-p 00000000 00:00 0
7f0118021000-7f011c000000 ---p 00000000 00:00 0
7f011daeb000-7f011ddfb000 r--s 00000000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f011ddfb000-7f011ee70000 r--s 00000000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f011ee70000-7f011ee77000 r--s 00000000 fd:11 796839 /builddir/build/BUILD/ruby-2.6.0-preview3/ruby
7f011ee77000-7f011ee7a000 r--p 00000000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f011ee7a000-7f011ee8c000 r-xp 00003000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f011ee8c000-7f011ee8f000 r--p 00015000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f011ee8f000-7f011ee90000 ---p 00018000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f011ee90000-7f011ee91000 r--p 00018000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f011ee91000-7f011ee92000 rw-p 00019000 fd:11 1179667 /usr/lib64/libgcc_s-8-20181105.so.1
7f011ee92000-7f011ee93000 r--p 00000000 00:3a 1065924 /tmp/_ruby_mjit_p5985u0.so (deleted)
7f011ee93000-7f011ee95000 r-xp 00001000 00:3a 1065924 /tmp/_ruby_mjit_p5985u0.so (deleted)
7f011ee95000-7f011ee96000 r--p 00003000 00:3a 1065924 /tmp/_ruby_mjit_p5985u0.so (deleted)
7f011ee96000-7f011ee97000 r--p 00003000 00:3a 1065924 /tmp/_ruby_mjit_p5985u0.so (deleted)
7f011ee97000-7f011ee98000 r--p 00000000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7f011ee98000-7f011ee9a000 r-xp 00001000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7f011ee9a000-7f011ee9b000 r--p 00003000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7f011ee9b000-7f011ee9c000 r--p 00003000 fd:11 786793 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/trans/transdb.so
7f011ee9c000-7f011ee9d000 rw-p 00000000 00:00 0
7f011ee9d000-7f011ee9e000 r--p 00000000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7f011ee9e000-7f011ee9f000 r-xp 00001000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7f011ee9f000-7f011eea0000 r--p 00002000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7f011eea0000-7f011eea1000 r--p 00002000 fd:11 786738 /builddir/build/BUILD/ruby-2.6.0-preview3/.ext/x86_64-linux/enc/encdb.so
7f011eea1000-7f011eea2000 rw-p 00000000 00:00 0
7f011eea2000-7f011eea3000 ---p 00000000 00:00 0
7f011eea3000-7f01217b0000 rw-p 00000000 00:00 0
7f01217b0000-7f01217bd000 r--p 00000000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7f01217bd000-7f0121858000 r-xp 0000d000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7f0121858000-7f01218f3000 r--p 000a8000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7f01218f3000-7f01218f4000 r--p 00142000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7f01218f4000-7f01218f5000 rw-p 00143000 fd:11 1181740 /usr/lib64/libm-2.28.9000.so
7f01218f5000-7f01218f7000 r--p 00000000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7f01218f7000-7f012190c000 r-xp 00002000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7f012190c000-7f0121926000 r--p 00017000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7f0121926000-7f0121927000 r--p 00030000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7f0121927000-7f0121928000 rw-p 00031000 fd:11 1182309 /usr/lib64/libcrypt.so.1.1.0
7f0121928000-7f0121932000 rw-p 00000000 00:00 0
7f0121932000-7f0121933000 r--p 00000000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7f0121933000-7f0121935000 r-xp 00001000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7f0121935000-7f0121936000 r--p 00003000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7f0121936000-7f0121937000 r--p 00003000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7f0121937000-7f0121938000 rw-p 00004000 fd:11 1181738 /usr/lib64/libdl-2.28.9000.so
7f0121938000-7f0121943000 r--p 00000000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f0121943000-7f012199b000 r-xp 0000b000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f012199b000-7f01219b2000 r--p 00063000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f01219b2000-7f01219b3000 ---p 0007a000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f01219b3000-7f01219b5000 r--p 0007a000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f01219b5000-7f01219b6000 rw-p 0007c000 fd:11 1182327 /usr/lib64/libgmp.so.10.3.2
7f01219b6000-7f01219b8000 r--p 00000000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7f01219b8000-7f01219bc000 r-xp 00002000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7f01219bc000-7f01219be000 r--p 00006000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7f01219be000-7f01219bf000 r--p 00007000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7f01219bf000-7f01219c0000 rw-p 00008000 fd:11 1181754 /usr/lib64/librt-2.28.9000.so
7f01219c0000-7f01219c6000 r--p 00000000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7f01219c6000-7f01219d6000 r-xp 00006000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7f01219d6000-7f01219dc000 r--p 00016000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7f01219dc000-7f01219dd000 r--p 0001b000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7f01219dd000-7f01219de000 rw-p 0001c000 fd:11 1181750 /usr/lib64/libpthread-2.28.9000.so
7f01219de000-7f01219e2000 rw-p 00000000 00:00 0
7f01219e2000-7f0121a04000 r--p 00000000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f0121a04000-7f0121b51000 r-xp 00022000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f0121b51000-7f0121b9d000 r--p 0016f000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f0121b9d000-7f0121b9e000 ---p 001bb000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f0121b9e000-7f0121ba2000 r--p 001bb000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f0121ba2000-7f0121ba4000 rw-p 001bf000 fd:11 1181736 /usr/lib64/libc-2.28.9000.so
7f0121ba4000-7f0121ba8000 rw-p 00000000 00:00 0
7f0121bac000-7f0121bd7000 r--p 00000000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f0121bd7000-7f0121db9000 r-xp 0002b000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f0121db9000-7f0121e97000 r--p 0020d000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f0121e97000-7f0121e98000 ---p 002eb000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f0121e98000-7f0121ea0000 r--p 002eb000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f0121ea0000-7f0121ea1000 rw-p 002f3000 fd:11 786661 /builddir/build/BUILD/ruby-2.6.0-preview3/libruby.so.2.6.0
7f0121ea1000-7f0121eb4000 rw-p 00000000 00:00 0
7f0121eb4000-7f0121eb5000 r--p 00000000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7f0121eb5000-7f0121ed5000 r-xp 00001000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7f0121ed5000-7f0121edd000 r--p 00021000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7f0121ede000-7f0121edf000 r--p 00029000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7f0121edf000-7f0121ee0000 rw-p 0002a000 fd:11 1181729 /usr/lib64/ld-2.28.9000.so
7f0121ee0000-7f0121ee1000 rw-p 00000000 00:00 0
7ffc0ff25000-7ffc10724000 rw-p 00000000 00:00 0 [stack]
7ffc107df000-7ffc107e2000 r--p 00000000 00:00 0 [vvar]
7ffc107e2000-7ffc107e4000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html
```
.
<true> expected but was
<nil>.
Finished tests in 387.440881s, 51.2207 tests/s, 6041.3836 assertions/s.
19845 tests, 2340679 assertions, 3 failures, 0 errors, 29 skips
</code></pre>
<p>Here are the configuration and build options:</p>
<pre><code>---
Configuration summary for ruby version 2.6.0
* Installation prefix: /usr
* exec prefix: /usr
* arch: x86_64-linux
* site arch: ${arch}
* RUBY_BASE_NAME: ruby
* enable shared: yes
* ruby lib prefix: ${exec_prefix}/share/ruby
* site libraries path: ${sitearchlibdir}/${RUBY_BASE_NAME}
* vendor path: /usr/share/ruby/vendor_ruby
* target OS: linux
* compiler: gcc
* with pthread: yes
* enable shared libs: yes
* dynamic library ext: so
* CFLAGS: ${optflags} ${debugflags} ${warnflags}
* LDFLAGS: -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now \
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld \
-fstack-protector-strong -rdynamic \
-Wl,-export-dynamic
* DLDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now \
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld
* optflags: -O3
* debugflags: -ggdb3
* warnflags: -Wall -Wextra -Wno-unused-parameter \
-Wno-long-long -Wno-missing-field-initializers \
-Wno-tautological-compare \
-Wno-parentheses-equality \
-Wno-constant-logical-operand -Wno-self-assign \
-Wno-cast-function-type -Wunused-variable \
-Werror=implicit-int -Werror=pointer-arith \
-Werror=write-strings \
-Werror=declaration-after-statement \
-Werror=implicit-function-declaration \
-Werror=deprecated-declarations \
-Werror=misleading-indentation \
-Wno-overlength-strings \
-Wno-packed-bitfield-compat \
-Wsuggest-attribute=noreturn \
-Wsuggest-attribute=format -Wmissing-noreturn \
-Wimplicit-fallthrough=0 -Werror=duplicated-cond \
-Werror=restrict
* strip command: strip -S -x
* install doc: yes
* MJIT support: yes
* man page type: doc
---
+ make -j4 'COPY=cp -p' Q=
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -m64
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -DRUBY_DEVEL=1 -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I. -I./enc/unicode/10.0.0
DLDFLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname,libruby.so.2.6 -fstack-protector-strong -m64
SOLIBS = -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm
LANG = C
LC_ALL =
LC_CTYPE =
</code></pre>
<p>And some versions which might be relevant.</p>
<pre><code>$ rpm -q gcc
gcc-8.2.1-5.fc30.x86_64
$ rpm -q glibc
glibc-2.28.9000-16.fc30.x86_64
</code></pre>
<p>Not sure what else could have influence</p>
Ruby master - Feature #15306 (Closed): Generate prelude.c using miniruby
https://bugs.ruby-lang.org/issues/15306
2018-11-15T09:56:29Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I don't see any reason why prelude.c should be included in source tarball and why it should not be generated by miniruby. Please see the attached patch.</p>
<p>Please note this is a clone of <a class="issue tracker-1 status-6 priority-4 priority-default closed" title="Bug: preview2 fails to generate prelude.c (Rejected)" href="https://bugs.ruby-lang.org/issues/10554">#10554</a>, which was closed just because it was old, not because it was resolved.</p>
Ruby master - Bug #15045 (Closed): Test suite fails/hangs with stronger cryptography enforcement
https://bugs.ruby-lang.org/issues/15045
2018-08-29T16:16:47Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing in Fedora Rawhide with <code>$ sudo update-crypto-policies --set NEXT</code> <a href="https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/HCTK64OKDIOFCO542XPE45GREH22IGML/" class="external">1</a> which sets a higher bar for cryptography algorithms, the test suite fails, several test cases timeouts or even hangs (the WEBrick test suite in particular hangs, I had to unstick it several times by pressing Ctr+C). It would be nice if the test suite passed even with this cryptography settings because sooner or later, this will become default <a href="https://fedoraproject.org/wiki/Changes/StrongCryptoSettings2" class="external">2</a> (originally this policy was planned for next Fedora release).</p>
<p>Here are the test failures:</p>
<pre><code> 1) Failure:
FTPTest#test_tls_post_connection_check [/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1743]:
[OpenSSL::SSL::SSLError] exception expected, not.
Class: <Errno::ECONNRESET>
Message: <"Connection reset by peer - SSL_connect">
---Backtrace---
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:352:in `start_tls_session'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:378:in `block in connect'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:370:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:269:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1747:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1747:in `block (2 levels) in test_tls_post_connection_check'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2407:in `tls_test'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1744:in `block in test_tls_post_connection_check'
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:74:in `assert_raise'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1743:in `test_tls_post_connection_check'
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1169:in `run_test'
---------------
2) Failure:
FTPTest#test_tls_verify_none [/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1733]:
Exception raised:
<#<Errno::ECONNRESET: Connection reset by peer - SSL_connect>>.
3) Failure:
IMAPTest#test_imaps_verify_none [/builddir/build/BUILD/ruby-2.5.1/.ext/common/openssl/ssl.rb:483]:
Exception raised:
<#<OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small>>.
4) Failure:
IMAPTest#test_imaps_with_ca_file [/builddir/build/BUILD/ruby-2.5.1/.ext/common/openssl/ssl.rb:483]:
Exception raised:
<#<OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small>>.
5) Failure:
IMAPTest#test_starttls [/builddir/build/BUILD/ruby-2.5.1/test/net/imap/test_imap.rb:19]:
exceptions on 1 threads:
#<Thread:0x0000555fc6e184c8@/builddir/build/BUILD/ruby-2.5.1/test/net/imap/test_imap.rb:693 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/net/imap/test_imap.rb:707:in `initialize': SSL_CTX_use_certificate: ee key too small (OpenSSL::SSL::SSLError)
from /builddir/build/BUILD/ruby-2.5.1/test/net/imap/test_imap.rb:707:in `new'
from /builddir/build/BUILD/ruby-2.5.1/test/net/imap/test_imap.rb:707:in `block in starttls_test'
6) Failure:
OpenSSL::TestSSL#test_fallback_scsv [/builddir/build/BUILD/ruby-2.5.1/test/openssl/test_ssl.rb:1372]:
Expected Exception(OpenSSL::SSL::SSLError) was raised, but the message doesn't match.
Expected /inappropriate fallback/ to match "SSL_accept returned=1 errno=0 state=error: unsupported protocol".
7) Failure:
TestGemRemoteFetcher#test_do_not_follow_insecure_redirect [/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:871]:
[Gem::RemoteFetcher::FetchError] exception expected, not
Class: <Gem::RemoteFetcher::UnknownHostError>
Message: <"timed out (https://localhost:44237/insecure_redirect?to=http://localhost:35147/yaml)">
---Backtrace---
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/remote_fetcher.rb:306:in `rescue in fetch_path'
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/remote_fetcher.rb:283:in `fetch_path'
/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:872:in `block (2 levels) in test_do_not_follow_insecure_redirect'
---------------
8) Failure:
TestGemRemoteFetcher#test_do_not_allow_insecure_ssl_connection_by_default [/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:854]:
[Gem::RemoteFetcher::FetchError] exception expected, not
Class: <Gem::RemoteFetcher::UnknownHostError>
Message: <"timed out (https://localhost:37139/yaml)">
---Backtrace---
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/remote_fetcher.rb:306:in `rescue in fetch_path'
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/remote_fetcher.rb:283:in `fetch_path'
/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:855:in `block (2 levels) in test_do_not_allow_insecure_ssl_connection_by_default'
---------------
9) Failure:
TestNetHTTPS#test_certificate_verify_failure [/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:131]:
[OpenSSL::SSL::SSLError] exception expected, not.
Class: <Net::OpenTimeout>
Message: <"Net::OpenTimeout">
---Backtrace---
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1458:in `request'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1368:in `request_get'
/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:133:in `block in test_certificate_verify_failure'
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:74:in `assert_raise'
/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:131:in `test_certificate_verify_failure'
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1169:in `run_test'
---------------
10) Failure:
TestNetHTTPS#test_certificate_verify_failure [/builddir/build/BUILD/ruby-2.5.1/test/net/http/utils.rb:48]:
<[]> expected but was
<["[2018-08-29 13:04:30] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>.
11) Failure:
TestNetHTTPS#test_get [/builddir/build/BUILD/ruby-2.5.1/test/net/http/utils.rb:48]:
<[]> expected but was
<["[2018-08-29 13:05:30] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>.
12) Failure:
TestNetHTTPS#test_identity_verify_failure [/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:155]:
[OpenSSL::SSL::SSLError] exception expected, not.
Class: <Net::OpenTimeout>
Message: <"Net::OpenTimeout">
---Backtrace---
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1458:in `request'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1368:in `request_get'
/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:156:in `block in test_identity_verify_failure'
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:74:in `assert_raise'
/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:155:in `test_identity_verify_failure'
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1169:in `run_test'
---------------
13) Failure:
TestNetHTTPS#test_min_version [/builddir/build/BUILD/ruby-2.5.1/test/net/http/utils.rb:48]:
<[]> expected but was
<["[2018-08-29 13:07:30] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>.
14) Failure:
TestNetHTTPS#test_post [/builddir/build/BUILD/ruby-2.5.1/test/net/http/utils.rb:48]:
<[]> expected but was
<["[2018-08-29 13:08:30] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>.
15) Failure:
TestNetHTTPS#test_session_reuse [/builddir/build/BUILD/ruby-2.5.1/test/net/http/utils.rb:48]:
<[]> expected but was
<["[2018-08-29 13:09:30] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>.
16) Failure:
TestNetHTTPS#test_session_reuse_but_expire [/builddir/build/BUILD/ruby-2.5.1/test/net/http/utils.rb:48]:
<[]> expected but was
<["[2018-08-29 13:10:31] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>.
17) Failure:
TestNetHTTPS#test_verify_none [/builddir/build/BUILD/ruby-2.5.1/test/net/http/utils.rb:48]:
<[]> expected but was
<["[2018-08-29 13:11:31] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>.
18) Failure:
TestOpenURISSL#test_proxy_cacert_dir [/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:52]:
exceptions on 2 threads:
#<Thread:0x0000555fc8023e60@/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:39 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was
<["[2018-08-29 13:12:50] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>. (MiniTest::Assertion)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:37:in `assert'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:21:in `block in with_https'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:42:in `block (2 levels) in with_https'
---
#<Thread:0x0000555fc8023d70@/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:45 dead>:
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect': Net::OpenTimeout (Net::OpenTimeout)
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:337:in `open_http'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:755:in `buffer_open'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:226:in `block in open_loop'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:224:in `catch'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:224:in `open_loop'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:165:in `open_uri'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:735:in `open'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:35:in `open'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:168:in `block in test_proxy_cacert_dir'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:136:in `block in with_https_proxy'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:47:in `block (2 levels) in with_https'
19) Failure:
TestOpenURISSL#test_proxy_cacert_file [/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:52]:
exceptions on 2 threads:
#<Thread:0x0000555fc28794f8@/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:39 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was
<["[2018-08-29 13:13:50] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>. (MiniTest::Assertion)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:37:in `assert'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:21:in `block in with_https'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:42:in `block (2 levels) in with_https'
---
#<Thread:0x0000555fc2a2ce58@/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:45 dead>:
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect': Net::OpenTimeout (Net::OpenTimeout)
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:337:in `open_http'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:755:in `buffer_open'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:226:in `block in open_loop'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:224:in `catch'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:224:in `open_loop'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:165:in `open_uri'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:735:in `open'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:35:in `open'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:152:in `block in test_proxy_cacert_file'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:136:in `block in with_https_proxy'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:47:in `block (2 levels) in with_https'
20) Failure:
TestOpenURISSL#test_validation_failure [/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:52]:
exceptions on 1 threads:
#<Thread:0x0000555fc521c2b0@/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:45 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:201:in `assert': [OpenSSL::SSL::SSLError] exception expected, not.
Class: <Net::OpenTimeout>
Message: <"Net::OpenTimeout">
---Backtrace---
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
/builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:337:in `open_http'
/builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:755:in `buffer_open'
/builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:226:in `block in open_loop'
/builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:224:in `catch'
/builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:224:in `open_loop'
/builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:165:in `open_uri'
/builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:735:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:35:in `open'
/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:106:in `block (2 levels) in test_validation_failure'
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:74:in `assert_raise'
/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:106:in `block in test_validation_failure'
/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:47:in `block (2 levels) in with_https'
--------------- (MiniTest::Assertion)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:37:in `assert'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:87:in `rescue in assert_raise'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:74:in `assert_raise'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:106:in `block in test_validation_failure'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:47:in `block (2 levels) in with_https'
21) Failure:
TestOpenURISSL#test_validation_noverify [/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:52]:
exceptions on 2 threads:
#<Thread:0x0000555fc2842750@/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:39 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was
<["[2018-08-29 13:15:50] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>. (MiniTest::Assertion)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:37:in `assert'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:21:in `block in with_https'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:42:in `block (2 levels) in with_https'
---
#<Thread:0x0000555fc28794f8@/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:45 dead>:
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect': Net::OpenTimeout (Net::OpenTimeout)
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:337:in `open_http'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:755:in `buffer_open'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:226:in `block in open_loop'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:224:in `catch'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:224:in `open_loop'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:165:in `open_uri'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:735:in `open'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:35:in `open'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:88:in `block in test_validation_noverify'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:47:in `block (2 levels) in with_https'
22) Failure:
TestOpenURISSL#test_validation_success [/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:52]:
exceptions on 2 threads:
#<Thread:0x0000555fc525bc58@/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:39 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was
<["[2018-08-29 13:16:50] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>. (MiniTest::Assertion)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:37:in `assert'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:21:in `block in with_https'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:42:in `block (2 levels) in with_https'
---
#<Thread:0x0000555fc525ba78@/builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:45 dead>:
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect': Net::OpenTimeout (Net::OpenTimeout)
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:337:in `open_http'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:755:in `buffer_open'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:226:in `block in open_loop'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:224:in `catch'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:224:in `open_loop'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:165:in `open_uri'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:735:in `open'
from /builddir/build/BUILD/ruby-2.5.1/lib/open-uri.rb:35:in `open'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:78:in `block in test_validation_success'
from /builddir/build/BUILD/ruby-2.5.1/test/open-uri/test_ssl.rb:47:in `block (2 levels) in with_https'
23) Failure:
TestWEBrickHTTPProxy#test_connect [/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:64]:
exceptions on 2 threads:
#<Thread:0x0000555fc7df18b8@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:57 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:835:in `assert_join_threads': exceptions on 1 threads:
#<Thread:0x0000555fc7e036d0@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:57 dead>:
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect': Net::OpenTimeout (Net::OpenTimeout)
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1458:in `request'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_httpproxy.rb:175:in `block (2 levels) in test_connect'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:59:in `block in start_server' (MiniTest::Assertion)
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:64:in `start_server'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:72:in `start_httpproxy'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_httpproxy.rb:166:in `block in test_connect'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:59:in `block in start_server'
---
#<Thread:0x0000555fc7df1ca0@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:50 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was
<["[2018-08-29 13:19:43] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ca md too weak\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>. (MiniTest::Assertion)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:37:in `assert'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:36:in `block in <module:TestWEBrick>'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:53:in `block in start_server'
24) Failure:
TestWEBrickHTTPProxy#test_upstream_proxy [/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:64]:
exceptions on 1 threads:
#<Thread:0x0000555fc5468af0@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:57 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:835:in `assert_join_threads': exceptions on 1 threads:
#<Thread:0x0000555fc547f138@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:57 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:835:in `assert_join_threads': exceptions on 2 threads:
#<Thread:0x0000555fc586a9a0@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:57 dead>:
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect': Net::OpenTimeout (Net::OpenTimeout)
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1458:in `request'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_httpproxy.rb:282:in `block (3 levels) in test_upstream_proxy'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:59:in `block in start_server'
---
#<Thread:0x0000555fc586aec8@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:50 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was
<["[2018-08-29 13:20:43] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ca md too weak\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>. (MiniTest::Assertion)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:37:in `assert'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:36:in `block in <module:TestWEBrick>'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:53:in `block in start_server' (MiniTest::Assertion)
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:64:in `start_server'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:68:in `start_httpserver'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_httpproxy.rb:271:in `block (2 levels) in test_upstream_proxy'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:59:in `block in start_server' (MiniTest::Assertion)
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:64:in `start_server'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:72:in `start_httpproxy'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_httpproxy.rb:214:in `block in test_upstream_proxy'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:59:in `block in start_server'
25) Failure:
TestWEBrickHTTPS#test_sni [/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:64]:
exceptions on 2 threads:
#<Thread:0x0000555fc5643e38@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:57 dead>:
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect': Net::OpenTimeout (Net::OpenTimeout)
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_https.rb:22:in `ssl_socket_connect'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
from /builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_https.rb:40:in `https_get'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_https.rb:91:in `block in test_sni'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:59:in `block in start_server'
---
#<Thread:0x0000555fc5638060@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:50 dead>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:201:in `assert': <[]> expected but was
<["[2018-08-29 13:21:43] ERROR OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small\n" +
"\t/builddir/build/BUILD/ruby-2.5.1/lib/webrick/server.rb:259:in `initialize'\n"]>. (MiniTest::Assertion)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:37:in `assert'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:300:in `assert_equal'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:36:in `block in <module:TestWEBrick>'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:53:in `block in start_server'
26) Failure:
TestWEBrickSSLServer#test_self_signed_cert_server [/builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:17]:
exceptions on 2 threads:
#<Thread:0x0000555fc5b917f0@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:57 sleep>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:815:in `value': (Interrupt)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:815:in `assert_join_threads'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:64:in `start_server'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:31:in `assert_self_signed_cert'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:17:in `test_self_signed_cert_server'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1169:in `run_test'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1281:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/testcase.rb:18:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:952:in `block in _run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:945:in `map'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:945:in `_run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1036:in `_run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:548:in `block in _run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:546:in `each'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:546:in `_run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:584:in `_run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:888:in `_run_anything'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:973:in `_run_anything'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1108:in `run_tests'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1095:in `block in _run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1094:in `each'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1094:in `_run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1082:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:787:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:617:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:33:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1131:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1135:in `run'
from ./test/runner.rb:33:in `<main>'
---
#<Thread:0x0000555fc5b91d18@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:50 sleep_forever>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:815:in `value': (Interrupt)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:815:in `assert_join_threads'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:64:in `start_server'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:31:in `assert_self_signed_cert'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:17:in `test_self_signed_cert_server'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1169:in `run_test'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1281:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/testcase.rb:18:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:952:in `block in _run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:945:in `map'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:945:in `_run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1036:in `_run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:548:in `block in _run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:546:in `each'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:546:in `_run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:584:in `_run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:888:in `_run_anything'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:973:in `_run_anything'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1108:in `run_tests'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1095:in `block in _run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1094:in `each'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1094:in `_run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1082:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:787:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:617:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:33:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1131:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1135:in `run'
from ./test/runner.rb:33:in `<main>'
27) Failure:
TestWEBrickSSLServer#test_self_signed_cert_server_with_string [/builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:24]:
exceptions on 2 threads:
#<Thread:0x0000555fc51da090@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:57 sleep>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:815:in `value': (Interrupt)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:815:in `assert_join_threads'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:64:in `start_server'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:31:in `assert_self_signed_cert'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:24:in `test_self_signed_cert_server_with_string'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1169:in `run_test'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1281:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/testcase.rb:18:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:952:in `block in _run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:945:in `map'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:945:in `_run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1036:in `_run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:548:in `block in _run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:546:in `each'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:546:in `_run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:584:in `_run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:888:in `_run_anything'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:973:in `_run_anything'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1108:in `run_tests'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1095:in `block in _run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1094:in `each'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1094:in `_run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1082:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:787:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:617:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:33:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1131:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1135:in `run'
from ./test/runner.rb:33:in `<main>'
---
#<Thread:0x0000555fc51daa90@/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:50 sleep_forever>:
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:815:in `value': (Interrupt)
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:815:in `assert_join_threads'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:64:in `start_server'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:31:in `assert_self_signed_cert'
from /builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:24:in `test_self_signed_cert_server_with_string'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1169:in `run_test'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1281:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/testcase.rb:18:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:952:in `block in _run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:945:in `map'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:945:in `_run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1036:in `_run_suite'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:548:in `block in _run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:546:in `each'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:546:in `_run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:584:in `_run_suites'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:888:in `_run_anything'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:973:in `_run_anything'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1108:in `run_tests'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1095:in `block in _run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1094:in `each'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1094:in `_run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/minitest/unit.rb:1082:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:787:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:617:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:33:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1131:in `run'
from /builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit.rb:1135:in `run'
from ./test/runner.rb:33:in `<main>'
28) Error:
DRbTests::TestDRbSSLAry#test_01:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:64:in `setup'
29) Error:
DRbTests::TestDRbSSLAry#test_02_collect:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:64:in `setup'
30) Error:
DRbTests::TestDRbSSLAry#test_03_redo:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:64:in `setup'
31) Error:
DRbTests::TestDRbSSLAry#test_05_break:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:64:in `setup'
32) Error:
DRbTests::TestDRbSSLAry#test_06_next:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:64:in `setup'
33) Error:
DRbTests::TestDRbSSLAry#test_07_break_18:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:64:in `setup'
34) Error:
DRbTests::TestDRbSSLCore#test_00_DRbObject:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
35) Error:
DRbTests::TestDRbSSLCore#test_01:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
36) Error:
DRbTests::TestDRbSSLCore#test_01_02_loop:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
37) Error:
DRbTests::TestDRbSSLCore#test_02_unknown:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
38) Error:
DRbTests::TestDRbSSLCore#test_03:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
39) Error:
DRbTests::TestDRbSSLCore#test_04:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
40) Error:
DRbTests::TestDRbSSLCore#test_05_eq:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
41) Error:
DRbTests::TestDRbSSLCore#test_06_timeout:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
42) Error:
DRbTests::TestDRbSSLCore#test_07_private_missing:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
43) Error:
DRbTests::TestDRbSSLCore#test_07_protected_missing:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
44) Error:
DRbTests::TestDRbSSLCore#test_07_public_missing:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
45) Error:
DRbTests::TestDRbSSLCore#test_07_send_missing:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
46) Error:
DRbTests::TestDRbSSLCore#test_08_here:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
47) Error:
DRbTests::TestDRbSSLCore#test_09_option:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
48) Error:
DRbTests::TestDRbSSLCore#test_10_yield:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
49) Error:
DRbTests::TestDRbSSLCore#test_10_yield_undumped:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
50) Error:
DRbTests::TestDRbSSLCore#test_11_remote_no_method_error:
DRb::DRbConnError: execution expired
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:744:in `rescue in block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:738:in `block in open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `each'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:737:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1247:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `new'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1227:in `open'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1140:in `block in method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1159:in `with_friend'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/drb.rb:1139:in `method_missing'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:40:in `block in service'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/drb/extservm.rb:37:in `service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:31:in `block in ext_service'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:103:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:30:in `ext_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/drbtest.rb:73:in `setup_service'
/builddir/build/BUILD/ruby-2.5.1/test/drb/test_drbssl.rb:42:in `setup'
51) Error:
FTPTest#test_abort_tls:
Errno::ECONNRESET: Connection reset by peer - SSL_connect
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:352:in `start_tls_session'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:378:in `block in connect'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:370:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:269:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2106:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2106:in `test_abort_tls'
52) Error:
FTPTest#test_abort_tls:
OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2088:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2088:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2088:in `block in test_abort_tls'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2361:in `block in create_ftp_server'
53) Error:
FTPTest#test_active_clear_data_connection:
Errno::ECONNRESET: Connection reset by peer - SSL_connect
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:352:in `start_tls_session'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:378:in `block in connect'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:370:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:269:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1955:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1955:in `test_active_clear_data_connection'
54) Error:
FTPTest#test_active_clear_data_connection:
OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1927:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1927:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1927:in `block in test_active_clear_data_connection'
55) Error:
FTPTest#test_active_private_data_connection:
Errno::ECONNRESET: Connection reset by peer - SSL_connect
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:352:in `start_tls_session'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:378:in `block in connect'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:370:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:269:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1808:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1808:in `test_active_private_data_connection'
56) Error:
FTPTest#test_active_private_data_connection:
OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1773:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1773:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1773:in `block in test_active_private_data_connection'
57) Error:
FTPTest#test_passive_clear_data_connection:
Errno::ECONNRESET: Connection reset by peer - SSL_connect
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:352:in `start_tls_session'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:378:in `block in connect'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:370:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:269:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2024:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2024:in `test_passive_clear_data_connection'
58) Error:
FTPTest#test_passive_clear_data_connection:
OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1996:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1996:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1996:in `block in test_passive_clear_data_connection'
59) Error:
FTPTest#test_passive_private_data_connection:
Errno::ECONNRESET: Connection reset by peer - SSL_connect
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:52:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:352:in `start_tls_session'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:378:in `block in connect'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:370:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/ftp.rb:269:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1885:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1885:in `test_passive_private_data_connection'
60) Error:
FTPTest#test_passive_private_data_connection:
OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1850:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1850:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:1850:in `block in test_passive_private_data_connection'
61) Error:
FTPTest#test_tls_post_connection_check:
OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `block in tls_test'
62) Error:
FTPTest#test_tls_unknown_ca:
OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `block in tls_test'
63) Error:
FTPTest#test_tls_verify_none:
OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `block in tls_test'
64) Error:
FTPTest#test_tls_with_ca_file:
OpenSSL::SSL::SSLError: SSL_CTX_use_certificate: ee key too small
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `initialize'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `new'
/builddir/build/BUILD/ruby-2.5.1/test/net/ftp/test_ftp.rb:2392:in `block in tls_test'
65) Error:
IMAPTest#test_starttls:
OpenSSL::SSL::SSLError: SSL_write
/builddir/build/BUILD/ruby-2.5.1/.ext/common/openssl/buffering.rb:325:in `syswrite'
/builddir/build/BUILD/ruby-2.5.1/.ext/common/openssl/buffering.rb:325:in `do_write'
/builddir/build/BUILD/ruby-2.5.1/.ext/common/openssl/buffering.rb:428:in `print'
/builddir/build/BUILD/ruby-2.5.1/lib/net/imap.rb:1286:in `put_string'
/builddir/build/BUILD/ruby-2.5.1/lib/net/imap.rb:1258:in `block in send_command'
/builddir/build/BUILD/ruby-2.5.1/lib/monitor.rb:226:in `mon_synchronize'
/builddir/build/BUILD/ruby-2.5.1/lib/net/imap.rb:1253:in `send_command'
/builddir/build/BUILD/ruby-2.5.1/lib/net/imap.rb:374:in `logout'
/builddir/build/BUILD/ruby-2.5.1/test/net/imap/test_imap.rb:720:in `starttls_test'
/builddir/build/BUILD/ruby-2.5.1/test/net/imap/test_imap.rb:118:in `test_starttls'
66) Error:
Net::TestSMTP#test_tls_connect:
Net::OpenTimeout: Net::OpenTimeout
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/smtp.rb:584:in `tlsconnect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/smtp.rb:552:in `do_start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/smtp.rb:518:in `start'
/builddir/build/BUILD/ruby-2.5.1/test/net/smtp/test_smtp.rb:132:in `test_tls_connect'
67) Error:
OpenSSL::TestSSL#test_add_certificate_multiple_certs:
OpenSSL::SSL::SSLError: SSL_CTX_set0_chain: ca key too small
/builddir/build/BUILD/ruby-2.5.1/test/openssl/test_ssl.rb:118:in `add_certificate'
/builddir/build/BUILD/ruby-2.5.1/test/openssl/test_ssl.rb:118:in `block (2 levels) in test_add_certificate_multiple_certs'
/builddir/build/BUILD/ruby-2.5.1/test/lib/envutil.rb:199:in `suppress_warning'
/builddir/build/BUILD/ruby-2.5.1/test/openssl/test_ssl.rb:117:in `block in test_add_certificate_multiple_certs'
/builddir/build/BUILD/ruby-2.5.1/test/openssl/utils.rb:203:in `block in start_server'
/builddir/build/BUILD/ruby-2.5.1/test/openssl/utils.rb:193:in `pipe'
/builddir/build/BUILD/ruby-2.5.1/test/openssl/utils.rb:193:in `start_server'
/builddir/build/BUILD/ruby-2.5.1/test/openssl/test_ssl.rb:121:in `test_add_certificate_multiple_certs'
68) Error:
TestGemRemoteFetcher#test_ssl_connection:
Gem::RemoteFetcher::UnknownHostError: timed out (https://localhost:44445/yaml)
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/remote_fetcher.rb:306:in `rescue in fetch_path'
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/remote_fetcher.rb:283:in `fetch_path'
/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:811:in `block in test_ssl_connection'
/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:886:in `with_configured_fetcher'
/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:810:in `test_ssl_connection'
69) Error:
TestGemRemoteFetcher#test_ssl_connection_allow_verify_none:
Gem::RemoteFetcher::UnknownHostError: timed out (https://localhost:33611/yaml)
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/remote_fetcher.rb:306:in `rescue in fetch_path'
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/remote_fetcher.rb:283:in `fetch_path'
/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:863:in `block in test_ssl_connection_allow_verify_none'
/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:886:in `with_configured_fetcher'
/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:862:in `test_ssl_connection_allow_verify_none'
70) Error:
TestGemRemoteFetcher#test_ssl_client_cert_auth_connection:
Gem::RemoteFetcher::FetchError: SSL_CTX_use_certificate: ca md too weak (https://localhost:33145/yaml)
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/request.rb:135:in `rescue in connection_for'
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/request.rb:131:in `connection_for'
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/request.rb:187:in `perform_request'
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/request.rb:156:in `fetch'
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/remote_fetcher.rb:368:in `request'
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/remote_fetcher.rb:251:in `fetch_http'
/builddir/build/BUILD/ruby-2.5.1/lib/rubygems/remote_fetcher.rb:292:in `fetch_path'
/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:828:in `block in test_ssl_client_cert_auth_connection'
/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:886:in `with_configured_fetcher'
/builddir/build/BUILD/ruby-2.5.1/test/rubygems/test_gem_remote_fetcher.rb:825:in `test_ssl_client_cert_auth_connection'
71) Error:
TestNetHTTPS#test_get:
Net::OpenTimeout: Net::OpenTimeout
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1458:in `request'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1368:in `request_get'
/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:44:in `test_get'
72) Error:
TestNetHTTPS#test_min_version:
Net::OpenTimeout: Net::OpenTimeout
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1458:in `request'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1368:in `request_get'
/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:188:in `test_min_version'
73) Error:
TestNetHTTPS#test_post:
Net::OpenTimeout: Net::OpenTimeout
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1458:in `request'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1412:in `request_post'
/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:58:in `test_post'
74) Error:
TestNetHTTPS#test_session_reuse:
Net::OpenTimeout: Net::OpenTimeout
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:915:in `start'
/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:70:in `test_session_reuse'
75) Error:
TestNetHTTPS#test_session_reuse_but_expire:
Net::OpenTimeout: Net::OpenTimeout
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:915:in `start'
/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:91:in `test_session_reuse_but_expire'
76) Error:
TestNetHTTPS#test_verify_none:
Net::OpenTimeout: Net::OpenTimeout
/builddir/build/BUILD/ruby-2.5.1/lib/net/protocol.rb:41:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:985:in `connect'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:920:in `do_start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:909:in `start'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1458:in `request'
/builddir/build/BUILD/ruby-2.5.1/lib/net/http.rb:1368:in `request_get'
/builddir/build/BUILD/ruby-2.5.1/test/net/http/test_https.rb:121:in `test_verify_none'
77) Error:
TestWEBrickSSLServer#test_slow_connect:
Timeout::Error: execution expired
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:815:in `value'
/builddir/build/BUILD/ruby-2.5.1/test/lib/test/unit/assertions.rb:815:in `assert_join_threads'
/builddir/build/BUILD/ruby-2.5.1/test/webrick/utils.rb:64:in `start_server'
/builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:59:in `block in test_slow_connect'
/builddir/build/BUILD/ruby-2.5.1/lib/timeout.rb:108:in `timeout'
/builddir/build/BUILD/ruby-2.5.1/test/webrick/test_ssl_server.rb:58:in `test_slow_connect'
</code></pre>
<p>Please let me know if this ticket was better to split into smaller chunks.</p>
Ruby master - Bug #14679 (Closed): StdLib gems should properly specify their dependencies
https://bugs.ruby-lang.org/issues/14679
2018-04-11T11:50:23Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Could you please properly specify gem dependencies for gems included in StdLib? The current situation is unfortunate.</p>
<p>Let me give you hypothetical example. Lets say there is RDoc 7.x under development and it will depend on JSON 3.x library. Unfortunately, both of the libraries are breaking their API. However, latest version of Ruby ships with older version of the bundled gems, e.g. RDoc 6.x and JSON 2.x. Now if I like to use the new RDoc 7.x in my application, I put it into my Gemfile. But that immediately means my whole application is going to use the RDoc 7.x and JSON 3.x, possibly breaking the rest of the StdLib, which still depends on JSON 2.x or RDoc 6.x, since the dependencies are just assumed, but not specified. OTOH, if there were the dependencies properly specified, I would be notified by Bundler that these versions are incompatible and I should not use them together.</p>
<p>If the dependencies are not specified, I don't think that any of the bundled gems can be safely updated via "gem update" and therefore the benefits of gemified StdLib are completely gone, adding just maintenance burden, nothing more.</p>
Ruby master - Bug #14422 (Closed): Ruby configuration options should not be reused for gem builds
https://bugs.ruby-lang.org/issues/14422
2018-01-30T07:15:11Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>When Fedora started to harden its packages, we quite often seen complains from our users about problems installing their gems, with errors such as <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1284684" class="external">1</a>:</p>
<pre><code>gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
</code></pre>
<p>The issue as analyzed by Mamoru TASAKA is <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1284684#c6" class="external">2</a>:</p>
<blockquote>
<p>Well, if I am not mistaken, the real problem here is that rpm's %optflags is always embedded into Fedora's ruby config file, that is</p>
<p>/usr/lib64/ruby/rbconfig.rb:167: CONFIG["CXXFLAGS"] = "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -mtune=generic"<br>
/usr/lib64/ruby/rbconfig.rb:171: CONFIG["CFLAGS"] = "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -mtune=generic -fPIC"</p>
<p>on x86_64, for example.</p>
<p>Although I am not sure this is already discussed somewhere or not, basically I think changing the default CFLAGS of "system" ruby like this way is undesirable and ? installed "rbconfig.rb" should have some "minimal" CFLAGS / CXXFLAGS.<br>
( for example, just like CONFIG["CFLAGS"] = "-fPIC" )</p>
<p>Only when we build Fedora gems or so (on koji), we should change CFLAGS / CXXFLAGS explicitly afterwards using %optflags.</p>
</blockquote>
<p>and Red Hat toolchain team responds <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1284684#c11" class="external">3</a>:</p>
<blockquote>
<p>The current advice of the Red Hat toolchain team is to keep distribution build flags and toolchain default flags separate. This is why running “gcc” gives you the upstream defaults, and not the flags we use to compile Fedora packages. For consistency, Ruby (and other compilation support tools) follow this pattern: Use distribution flags when building for Fedora, but use upstream flags when the user compiles packages (i.e., what Ruby uses, probably something involving -O2).</p>
<p>Our build flags are fully ABI-compatible with each other, so mismatches will not cause any problems at the C/C++/ABI level.</p>
</blockquote>
<p>The question is why Ruby does this and how we can avoid this behavior. We could force installation of redhat-rpm-config package, providing the "/usr/lib/rpm/redhat/redhat-hardened-cc1", to every ruby user, but that does not seems right. There are also other similar issues discussing this situation <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1218294" class="external">4</a>, <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1432191" class="external">5</a>. Any thoughts?</p>
Ruby master - Bug #14271 (Closed): Random TestIO_Console#test_oflush failure
https://bugs.ruby-lang.org/issues/14271
2018-01-02T14:09:04Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>From time to time, I observe the following test suite error:</p>
<pre><code> 1) Failure:
TestIO_Console#test_oflush [/builddir/build/BUILD/ruby-2.5.0/test/io/console/test_io_console.rb:215]:
Expected ["b", "ab"] to include "a".
</code></pre>
Ruby master - Bug #14175 (Closed): TestResolvMDNS#test_mdns_each_address fails
https://bugs.ruby-lang.org/issues/14175
2017-12-13T16:16:11Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>I observe the following test error on Fedora builders:</p>
<pre><code> 1) Error:
TestResolvMDNS#test_mdns_each_address:
Errno::EPERM: Operation not permitted - sendto(2) for "224.0.0.251" port 5353
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:793:in `send'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:793:in `send'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:672:in `request'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:528:in `block in fetch_resource'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1096:in `block (3 levels) in resolv'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1094:in `each'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1094:in `block (2 levels) in resolv'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1093:in `each'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1093:in `block in resolv'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1091:in `each'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:1091:in `resolv'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:519:in `fetch_resource'
/builddir/build/BUILD/ruby-2.5.0-r61169/lib/resolv.rb:509:in `each_resource'
/builddir/build/BUILD/ruby-2.5.0-r61169/test/resolv/test_mdns.rb:12:in `test_mdns_each_address'
</code></pre>
<p>Unfortunately, I have failed to reproduce the issue locally so far, but it fails consistently on the builders :/ I suspect that it might happen when the DNS cannot resolve the addresses, when /etc/resolv.conf is not present on the system.</p>
Ruby master - Bug #13864 (Closed): Rinda multicast test failures due to missing default route
https://bugs.ruby-lang.org/issues/13864
2017-09-04T13:47:14Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Trying to build Ruby for Fedora, we are using tool called mock <a href="https://github.com/rpm-software-management/mock/" class="external">1</a>. This tools allows to execute the build in container, using systemd-nspawn on background <a href="https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html" class="external">2</a> and this in turn allows the container to be isolated from network <a href="https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html#--private-network" class="external">3</a>. However, in this setup, there are some Rinda multicast test failures:</p>
<pre><code>$ sudo systemd-nspawn '-D' '/var/lib/mock/fedora-rawhide-x86_64/root' --private-network
Spawning container root on /var/lib/mock/fedora-rawhide-x86_64/root.
Press ^] three times within 1s to kill container.
-bash: cannot set terminal process group (-1): Inappropriate ioctl for device
-bash: no job control in this shell
-bash-4.4# su - mockbuild
-bash: cannot set terminal process group (1): Inappropriate ioctl for device
-bash: no job control in this shell
[mockbuild@root ~]$ cd /mnt/
[mockbuild@root mnt]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
[mockbuild@root ~]$ ip route
[mockbuild@root mnt]$
Run options:
# Running tests:
[ 1/39] Rinda::TestRingFinger#test_make_socket_ipv4_multicast = 0.00 s
1) Error:
Rinda::TestRingFinger#test_make_socket_ipv4_multicast:
Errno::ENETUNREACH: Network is unreachable - connect(2) for 239.0.0.1:7647
/usr/share/ruby/rinda/ring.rb:431:in `connect'
/usr/share/ruby/rinda/ring.rb:431:in `make_socket'
test/rinda/test_rinda.rb:804:in `test_make_socket_ipv4_multicast'
[ 2/39] Rinda::TestRingFinger#test_make_socket_ipv4_multicast_hops = 0.00 s
2) Error:
Rinda::TestRingFinger#test_make_socket_ipv4_multicast_hops:
Errno::ENETUNREACH: Network is unreachable - connect(2) for 239.0.0.1:7647
/usr/share/ruby/rinda/ring.rb:431:in `connect'
/usr/share/ruby/rinda/ring.rb:431:in `make_socket'
test/rinda/test_rinda.rb:821:in `test_make_socket_ipv4_multicast_hops'
[ 8/39] Rinda::TestRingServer#test_make_socket_ipv4_multicast = 0.00 s
3) Error:
Rinda::TestRingServer#test_make_socket_ipv4_multicast:
Errno::ENODEV: No such device - setsockopt(2)
/usr/share/ruby/rinda/ring.rb:154:in `setsockopt'
/usr/share/ruby/rinda/ring.rb:154:in `make_socket'
test/rinda/test_rinda.rb:647:in `test_make_socket_ipv4_multicast'
[11/39] Rinda::TestRingServer#test_ring_server_ipv4_multicast = 0.00 s
4) Error:
Rinda::TestRingServer#test_ring_server_ipv4_multicast:
Errno::ENODEV: No such device - setsockopt(2)
/usr/share/ruby/rinda/ring.rb:154:in `setsockopt'
/usr/share/ruby/rinda/ring.rb:154:in `make_socket'
/usr/share/ruby/rinda/ring.rb:108:in `block in initialize'
/usr/share/ruby/rinda/ring.rb:106:in `each'
/usr/share/ruby/rinda/ring.rb:106:in `initialize'
test/rinda/test_rinda.rb:689:in `new'
test/rinda/test_rinda.rb:689:in `test_ring_server_ipv4_multicast'
Leaked file descriptor: Rinda::TestRingServer#test_ring_server_ipv4_multicast: 10 : #<Socket:fd 10>
Closed file descriptor: Rinda::TestRingServer#test_ring_server_ipv6_multicast: 10
Finished tests in 0.977804s, 39.8853 tests/s, 266.9247 assertions/s.
39 tests, 261 assertions, 0 failures, 4 errors, 4 skips
ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
</code></pre>
<p>As you can see from the output, there is only loopback device and no default route specified. If I added the default route via <code>ip route add default via 127.0.0.1</code>, the tests would succeed.</p>
<p>Now, there are several possibilities to narrow this, not really sure which I should choose:</p>
<ol>
<li>Just disable the tests in Fedora.</li>
<li>Add the default route.</li>
<li>It could be possible to detect this scenario and skip the tests either by the test suite or by the build script.</li>
<li>The Rinda::RingServer#make_socket actually allows to specify interface, so if that is explicitly specified to '127.0.0.1', the test could be made to pass, but Rinda::RingFinger#make_socket does not support this :/</li>
</ol>
<p>I should also note, that it seems that systemd guys don't intend to add the default route while mock upstream considers the option to make it available <a href="https://github.com/rpm-software-management/mock/issues/113#issuecomment-325695971" class="external">4</a>, but this involves some hackery. So I thought I'll ask here ...</p>
Ruby master - Bug #13834 (Closed): RubyGems test suite occasionally changes working directory and...
https://bugs.ruby-lang.org/issues/13834
2017-08-22T06:06:09Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>From time to time, RubyGems test suite changes working directory, which breaks rest of Ruby tests suite. It all starts like this:</p>
<pre><code>[ 7096/17125] TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection = 0.01 sLeaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: 21 : #<TCPServer:fd 21, AF_INET, 0.0.0.0, 45301>
Leaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: 22 : #<TCPServer:fd 22, AF_INET6, ::, 45301>
Leaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: 23 : #<IO:fd 23>
Leaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: 24 : #<IO:fd 24>
Leaked thread: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: #<Thread:0x000056191465fe40@/home/hsbt/chkbuild/tmp/build/20170818T003002Z/ruby/test/rubygems/test_gem_remote_fetcher.rb:1025 sleep>
Environment variable changed: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection : "GEM_PRIVATE_KEY_PASSPHRASE" added
Environment variable changed: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection : "GEM_SPEC_CACHE" added
Environment variable changed: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection : "HOME" changed : "/home/hsbt" -> "/home/hsbt/chkbuild/tmp/build/20170818T003002Z/tmp/test_rubygems_29019/userhome"
</code></pre>
<p>and results in errors such as:</p>
<pre><code> 2) Failure:
TestMkmf::TestConfig#test_dir_config [/home/hsbt/chkbuild/tmp/build/20170818T003002Z/ruby/test/mkmf/test_config.rb:12]:
assert_separately failed with error message
pid 2383 exit 1
| /home/hsbt/chkbuild/tmp/build/20170818T003002Z/ruby/lib/mkmf.rb:228:in `expand_path': No such file or directory - getcwd (Errno::ENOENT)
| from /home/hsbt/chkbuild/tmp/build/20170818T003002Z/ruby/lib/mkmf.rb:228:in `<module:MakeMakefile>'
| from /home/hsbt/chkbuild/tmp/build/20170818T003002Z/ruby/lib/mkmf.rb:48:in `<top (required)>'
| from -:1:in `require'
</code></pre>
<p>You can find the full log rubyci.org <a href="http://rubyci.s3.amazonaws.com/fedora26/ruby-trunk/log/20170818T003002Z.log.html.gz" class="external">1</a>.</p>
Ruby master - Bug #13758 (Closed): TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
https://bugs.ruby-lang.org/issues/13758
2017-07-20T14:56:31Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Or may be does not segfault properly?</p>
<pre><code> 1) Failure:
TestRubyOptions#test_segv_setproctitle [/builddir/build/BUILD/ruby-2.5.0-r59376/test/ruby/test_rubyoptions.rb:633]:
1. [2/2] Assertion for "stderr"
| Expected /
| \[NOTE\]\n
| You\smay\shave\sencountered\sa\sbug\sin\sthe\sRuby\sinterpreter\sor\sextension\slibraries.\n
| Bug\sreports\sare\swelcome.\n
| (?:.*\n)?
| For\sdetails:\shttp:\/\/.*\.ruby-lang\.org\/.*\n
| \n
| (?:
| \[IMPORTANT\]\n
| (?:.+\n)+
| \n
| )?
| /x
| to match
| "\n"+
| "-- Ruby level backtrace information ----------------------------------------\n"+
| "-e:1:in `<main>'\n"+
| "-e:1:in `kill'\n\n"+
| "-- C level backtrace information -------------------------------------------\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(rb_print_backtrace+0x20) [0xffff940b5a70] vm_dump.c:671\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(rb_vm_bugreport+0x8c) [0xffff940b5b0c] vm_dump.c:941\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(rb_bug_context+0xb8) [0xffff93f92528] error.c:534\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(sigsegv+0x4c) [0xffff9404c2e4] signal.c:930\n"+
| "linux-vdso.so.1 [0xffff942096c0]\n"+
| "[0xffff93c230c8]\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(rb_f_kill+0x2c4) [0xffff9404d1bc] signal.c:498\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(vm_call_cfunc+0xec) [0xffff940a1e34] vm_insnhelper.c:1889\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(vm_call_method+0xc8) [0xffff940ace90] ./include/ruby/ruby.h:1966\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(vm_exec_core+0x1490) [0xffff940a5ab8] insns.def:856\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(vm_exec+0x84) [0xffff940a97bc] vm_insnhelper.h:231\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(ruby_exec_internal+0xb4) [0xffff93f959c4] eval.c:244\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(ruby_exec_node+0x20) [0xffff93f97808] eval.c:308\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0(ruby_run_node+0x24) [0xffff93f995fc] eval.c:300\n"+
| "/builddir/build/BUILD/ruby-2.5.0-r59376/ruby(main+0x50) [0xaaaad9048ac0] ./main.c:42\n\n"+
| "-- Other runtime information -----------------------------------------------\n\n"+
| "* Loaded script: /tmp/test_ruby_test_bug759720170720-12628-14djsbm.rb\n\n"+
| "* Loaded features:\n\n"+
| " 0 enumerator.so\n"+
| " 1 thread.rb\n"+
| " 2 rational.so\n"+
| " 3 complex.so\n"+
| " 4 /builddir/build/BUILD/ruby-2.5.0-r59376/.ext/aarch64-linux/enc/encdb.so\n"+
| " 5 /builddir/build/BUILD/ruby-2.5.0-r59376/.ext/aarch64-linux/enc/trans/transdb.so\n\n"+
| "* Process memory map:\n\n"+
| "aaaad9048000-aaaad9049000 r-xp 00000000 fc:03 400504 /builddir/build/BUILD/ruby-2.5.0-r59376/ruby\n"+
| "aaaad9067000-aaaad9068000 r--p 0000f000 fc:03 400504 /builddir/build/BUILD/ruby-2.5.0-r59376/ruby\n"+
| "aaaad9068000-aaaad9069000 rw-p 00010000 fc:03 400504 /builddir/build/BUILD/ruby-2.5.0-r59376/ruby\n"+
| "aaaafb98e000-aaaafbacb000 rw-p 00000000 00:00 0 [heap]\n"+
| "ffff92ded000-ffff93a26000 r--s 00000000 fc:03 400439 /builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0\n"+
| "ffff93a26000-ffff93a39000 r--s 00000000 fc:03 400504 /builddir/build/BUILD/ruby-2.5.0-r59376/ruby\n"+
| "ffff93a39000-ffff93a4d000 r-xp 00000000 fc:03 1054631 /usr/lib64/libgcc_s-7-20170718.so.1\n"+
| "ffff93a4d000-ffff93a68000 ---p 00014000 fc:03 1054631 /usr/lib64/libgcc_s-7-20170718.so.1\n"+
| "ffff93a68000-ffff93a69000 r--p 0001f000 fc:03 1054631 /usr/lib64/libgcc_s-7-20170718.so.1\n"+
| "ffff93a69000-ffff93a6a000 rw-p 00020000 fc:03 1054631 /usr/lib64/libgcc_s-7-20170718.so.1\n"+
| "ffff93a6a000-ffff93a6c000 r-xp 00000000 fc:03 921755 /builddir/build/BUILD/ruby-2.5.0-r59376/.ext/aarch64-linux/enc/trans/transdb.so\n"+
| "ffff93a6c000-ffff93a89000 ---p 00002000 fc:03 921755 /builddir/build/BUILD/ruby-2.5.0-r59376/.ext/aarch64-linux/enc/trans/transdb.so\n"+
| "ffff93a89000-ffff93a8a000 r--p 0000f000 fc:03 921755 /builddir/build/BUILD/ruby-2.5.0-r59376/.ext/aarch64-linux/enc/trans/transdb.so\n"+
| "ffff93a8a000-ffff93a8b000 rw-p 00000000 00:00 0 \n"+
| "ffff93a8b000-ffff93a8d000 r-xp 00000000 fc:03 794844 /builddir/build/BUILD/ruby-2.5.0-r59376/.ext/aarch64-linux/enc/encdb.so\n"+
| "ffff93a8d000-ffff93aaa000 ---p 00002000 fc:03 794844 /builddir/build/BUILD/ruby-2.5.0-r59376/.ext/aarch64-linux/enc/encdb.so\n"+
| "ffff93aaa000-ffff93aab000 r--p 0000f000 fc:03 794844 /builddir/build/BUILD/ruby-2.5.0-r59376/.ext/aarch64-linux/enc/encdb.so\n"+
| "ffff93aab000-ffff93aac000 rw-p 00000000 00:00 0 \n"+
| "ffff93aac000-ffff93aad000 ---p 00000000 00:00 0 \n"+
| "ffff93aad000-ffff93bcd000 rw-p 00000000 00:00 0 \n"+
| "ffff93bcd000-ffff93bcf000 r-xp 00000000 fc:03 1055521 /usr/lib64/libfreebl3.so\n"+
| "ffff93bcf000-ffff93bec000 ---p 00002000 fc:03 1055521 /usr/lib64/libfreebl3.so\n"+
| "ffff93bec000-ffff93bed000 r--p 0000f000 fc:03 1055521 /usr/lib64/libfreebl3.so\n"+
| "ffff93bed000-ffff93bee000 rw-p 00010000 fc:03 1055521 /usr/lib64/libfreebl3.so\n"+
| "ffff93bee000-ffff93d77000 r-xp 00000000 fc:03 1055000 /usr/lib64/libc-2.25.90.so\n"+
| "ffff93d77000-ffff93d8a000 ---p 00189000 fc:03 1055000 /usr/lib64/libc-2.25.90.so\n"+
| "ffff93d8a000-ffff93d8e000 r--p 0018c000 fc:03 1055000 /usr/lib64/libc-2.25.90.so\n"+
| "ffff93d8e000-ffff93d90000 rw-p 00190000 fc:03 1055000 /usr/lib64/libc-2.25.90.so\n"+
| "ffff93d90000-ffff93d94000 rw-p 00000000 00:00 0 \n"+
| "ffff93d94000-ffff93e49000 r-xp 00000000 fc:03 1055006 /usr/lib64/libm-2.25.90.so\n"+
| "ffff93e49000-ffff93e63000 ---p 000b5000 fc:03 1055006 /usr/lib64/libm-2.25.90.so\n"+
| "ffff93e63000-ffff93e64000 r--p 000bf000 fc:03 1055006 /usr/lib64/libm-2.25.90.so\n"+
| "ffff93e64000-ffff93e65000 rw-p 000c0000 fc:03 1055006 /usr/lib64/libm-2.25.90.so\n"+
| "ffff93e65000-ffff93e6c000 r-xp 00000000 fc:03 1055524 /usr/lib64/libcrypt-nss-2.25.90.so\n"+
| "ffff93e6c000-ffff93e84000 ---p 00007000 fc:03 1055524 /usr/lib64/libcrypt-nss-2.25.90.so\n"+
| "ffff93e84000-ffff93e85000 r--p 0000f000 fc:03 1055524 /usr/lib64/libcrypt-nss-2.25.90.so\n"+
| "ffff93e85000-ffff93e86000 rw-p 00010000 fc:03 1055524 /usr/lib64/libcrypt-nss-2.25.90.so\n"+
| "ffff93e86000-ffff93eb4000 rw-p 00000000 00:00 0 \n"+
| "ffff93eb4000-ffff93eb7000 r-xp 00000000 fc:03 1055004 /usr/lib64/libdl-2.25.90.so\n"+
| "ffff93eb7000-ffff93ed3000 ---p 00003000 fc:03 1055004 /usr/lib64/libdl-2.25.90.so\n"+
| "ffff93ed3000-ffff93ed4000 r--p 0000f000 fc:03 1055004 /usr/lib64/libdl-2.25.90.so\n"+
| "ffff93ed4000-ffff93ed5000 rw-p 00010000 fc:03 1055004 /usr/lib64/libdl-2.25.90.so\n"+
| "ffff93ed5000-ffff93eef000 r-xp 00000000 fc:03 1055014 /usr/lib64/libpthread-2.25.90.so\n"+
| "ffff93eef000-ffff93f04000 ---p 0001a000 fc:03 1055014 /usr/lib64/libpthread-2.25.90.so\n"+
| "ffff93f04000-ffff93f05000 r--p 0001f000 fc:03 1055014 /usr/lib64/libpthread-2.25.90.so\n"+
| "ffff93f05000-ffff93f06000 rw-p 00020000 fc:03 1055014 /usr/lib64/libpthread-2.25.90.so\n"+
| "ffff93f06000-ffff93f0a000 rw-p 00000000 00:00 0 \n"+
| "ffff93f0a000-ffff94198000 r-xp 00000000 fc:03 400439 /builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0\n"+
| "ffff94198000-ffff941b2000 ---p 0028e000 fc:03 400439 /builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0\n"+
| "ffff941b2000-ffff941ba000 r--p 00298000 fc:03 400439 /builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0\n"+
| "ffff941ba000-ffff941bb000 rw-p 002a0000 fc:03 400439 /builddir/build/BUILD/ruby-2.5.0-r59376/libruby.so.2.5.0\n"+
| "ffff941bb000-ffff941cb000 rw-p 00000000 00:00 0 \n"+
| "ffff941cb000-ffff941ed000 r-xp 00000000 fc:03 1054993 /usr/lib64/ld-2.25.90.so\n"+
| "ffff941fd000-ffff94201000 rw-p 00000000 00:00 0 \n"+
| "ffff94206000-ffff94208000 rw-p 00000000 00:00 0 \n"+
| "ffff94208000-ffff94209000 r--p 00000000 00:00 0 [vvar]\n"+
| "ffff94209000-ffff9420a000 r-xp 00000000 00:00 0 [vdso]\n"+
| "ffff9420a000-ffff9420b000 r--p 0002f000 fc:03 1054993 /usr/lib64/ld-2.25.90.so\n"+
| "ffff9420b000-ffff9420c000 rw-p 00030000 fc:03 1054993 /usr/lib64/ld-2.25.90.so\n"+
| "ffff9420c000-ffff9420d000 rw-p 00000000 00:00 0 \n"+
| "fffffc21f000-fffffca1e000 rw-p 00000000 00:00 0 [stack]\n"+
| "*** Error in `/tmp/test_ruby_test_bug759720170720-12628-14djsbm.rb': double free or corruption (out): 0x0000aaaafba37fe0 ***\n"
| after 6 patterns with 326 characters.
</code></pre>
Ruby master - Bug #13397 (Closed): #object_id should not be signed
https://bugs.ruby-lang.org/issues/13397
2017-04-03T13:00:04Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>It is surprising that #object_id returns signed value. Let me explain show two examples. Working with 32b Ruby (ruby 2.4.0p0 (2016-12-24 revision 57164) [i386-linux]) to make this issue more apparent.</p>
<pre><code>$ ruby << \EOR
GC.disable
3_000_000.times { p Object.new.inspect }
EOR
"#<Object:0x57d49a5c>"
"#<Object:0x57d499a8>"
"#<Object:0x57d49930>"
"#<Object:0x57d498b8>"
... snip ...
"#<Object:0x828bf164>"
"#<Object:0x828bf0ec>"
"#<Object:0x828bf074>"
"#<Object:0x828beffc>"
"#<Object:0x828bef84>"
^C-:2:in `p': Interrupt
from -:2:in `block in <main>'
from -:2:in `times'
from -:2:in `<main>'
"#<Object:0x8290b1f4>"
</code></pre>
<p>In this example, the "object_id", which is part of the inspect object is unsigned, since it is printed using C sprintf with %p format. There are other libraries, which tries to mimic the output [ <a href="https://github.com/ruby-concurrency/concurrent-ruby/issues/547" class="external">1</a> ]. The implementation is approximately following:</p>
<pre><code>$ ruby << \EOR
GC.disable
class A
DEFAULT_OBJ_ID_STR_WIDTH = 0.size == 4 ? 7 : 14
def inspect
id_str = (object_id << 1).to_s(16).rjust(DEFAULT_OBJ_ID_STR_WIDTH, '0')
"#<#{self.class.name}:0x#{id_str}>"
end
end
3_000_000.times { p A.new.inspect }
EOR
"#<A:0x58585428>"
"#<A:0x585852d4>"
"#<A:0x585851bc>"
"#<A:0x5858507c>"
"#<A:0x58584ec4>"
"#<A:0x58584d5c>"
"#<A:0x58584c1c>"
"#<A:0x58584adc>"
... snip ...
"#<A:0x7fff4888>"
"#<A:0x7fff47c0>"
"#<A:0x7fff46f8>"
"#<A:0x7fff4630>"
"#<A:0x7fff4568>"
"#<A:0x7fff44a0>"
"#<A:0x7fff43d8>"
"#<A:0x7fff4310>"
"#<A:0x7fff4248>"
"#<A:0x7fff4180>"
"#<A:0x7fff40b8>"
"#<A:0x-7fffc034>"
"#<A:0x-7fffc110>"
"#<A:0x-7fffc1ec>"
"#<A:0x-7fffc2c8>"
"#<A:0x-7fffc3a4>"
"#<A:0x-7fffc480>"
"#<A:0x-7fffc55c>"
"#<A:0x-7fffc638>"
^C-:10:in `p': Interrupt
from -:10:in `block in <main>'
from -:10:in `times'
from -:10:in `<main>'
</code></pre>
<p>And the output is quite surprising to me. Why the object_id should be signed value? It doesn't make any sense to me. Is this implementation wrong or is Ruby wrong?</p>
Ruby master - Bug #13178 (Closed): CGI.unescape change in behavior
https://bugs.ruby-lang.org/issues/13178
2017-02-01T11:18:58Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>CGI.unescape does not work anymore when just "cgi/util" is required.</p>
<pre><code>$ ruby -v -rcgi/util -e 'CGI.unescape("foo=bar&foo=baz&page=1")'
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]
$ ruby -v -rcgi/util -e 'CGI.unescape("foo=bar&foo=baz&page=1")'
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
-e:1:in `unescape': uninitialized class variable @@accept_charset in #<Class:CGI> (NameError)
from -e:1:in `<main>'
</code></pre>
<p>It works just fine if whole "cgi" is required. Not sure if this is intentional or just side effect (probably due to r55540 or r54655 ?), but it breaks existing projects, e.g. httparty test suite fails due to this change:</p>
<pre><code> 1) HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER doesn't modify strings
Failure/Error: expect(CGI.unescape(query_string)).to eq("foo=bar&foo=baz")
NameError:
uninitialized class variable @@accept_charset in #<Class:CGI>
# ./spec/httparty/request_spec.rb:13:in `unescape'
# ./spec/httparty/request_spec.rb:13:in `block (3 levels) in <top (required)>'
</code></pre>
<p>Also please note that httparty does not require "cqi" at all. It is required via some transitive dependencies. Presumably via ERB <a href="https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L15" class="external">1</a>. So in case that this is intentional behavior, ERB should require s|cgi/utils|cgi| IMO.</p>
Ruby master - Bug #12666 (Closed): Fatal error: glibc detected an invalid stdio handle
https://bugs.ruby-lang.org/issues/12666
2016-08-10T16:22:11Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>During build of Ruby for Fedora on PPC64, there is reported following error:</p>
<pre><code>Fiddle::TestImport#test_io = Fatal error: glibc detected an invalid stdio handle
uncommon.mk:612: recipe for target 'yes-test-almost' failed
make: *** [yes-test-almost] Aborted (core dumped)
</code></pre>
<p>and this is the analysis of one of glibc maintainers:</p>
<pre><code>libio vtable verification fails because there are two copies of libc.so.6 in the process:
0x00003fffb79413a8 - 0x00003fffb7941f78 is __libc_IO_vtables in /lib64/power8/libc.so.6
0x00003fffb74213c0 - 0x00003fffb7421f90 is __libc_IO_vtables in /lib64/libc.so.6
IO.pipe refers to a vtable from a the first copy, but the fprintf called via libffi comes from the second copy.
The root cause is the Fiddle module loading libc.so.6 with an absolute path:
#0 __dlopen (file=0x20728280 "/lib64/libc.so.6", mode=257) at dlopen.c:75
#1 0x00003fffb748782c in rb_fiddle_handle_initialize (argc=<optimized out>, argv=<optimized out>, self=544821280) at handle.c:179
This comes from test/fiddle/helper.rb:
when /x86_64-linux/
libc_so = "/lib64/libc.so.6"
libm_so = "/lib64/libm.so.6"
when /linux/
libdir = '/lib'
case [0].pack('L!').size
when 4
# 32-bit ruby
libdir = '/lib32' if File.directory? '/lib32'
when 8
# 64-bit ruby
libdir = '/lib64' if File.directory? '/lib64'
end
libc_so = File.join(libdir, "libc.so.6")
libm_so = File.join(libdir, "libm.so.6")
So the good news is that it's just a path. I expect the fix looks like this:
when /linux/
libc_so = "libc.so.6"
libm_so = "libm.so.6"
(This replaces tehe x86_64-linux branch, too.)
</code></pre>
<p>Please also note that:</p>
<pre><code>libio vtable verification is a new security hardening feature in Fedora 25.
</code></pre>
<p>To workaround this error, I am going to apply following patch to Fedora:</p>
<pre><code>From 346e147ba6480839b87046e9a9efab0bf6ed3660 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
Date: Wed, 10 Aug 2016 17:35:48 +0200
Subject: [PATCH] Rely on ldd to detect glibc.
This is just workaround, since we know we are quite sure this will be successful
on Red Hat platforms.
This workaround rhbz#1361037
---
test/fiddle/helper.rb | 92 ---------------------------------------------------
1 file changed, 92 deletions(-)
diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb
index 1da3d93..65148a1 100644
--- a/test/fiddle/helper.rb
+++ b/test/fiddle/helper.rb
@@ -6,98 +6,6 @@
libc_so = libm_so = nil
-case RUBY_PLATFORM
-when /cygwin/
- libc_so = "cygwin1.dll"
- libm_so = "cygwin1.dll"
-when /x86_64-linux/
- libc_so = "/lib64/libc.so.6"
- libm_so = "/lib64/libm.so.6"
-when /linux/
- libdir = '/lib'
- case [0].pack('L!').size
- when 4
- # 32-bit ruby
- libdir = '/lib32' if File.directory? '/lib32'
- when 8
- # 64-bit ruby
- libdir = '/lib64' if File.directory? '/lib64'
- end
- libc_so = File.join(libdir, "libc.so.6")
- libm_so = File.join(libdir, "libm.so.6")
-when /mingw/, /mswin/
- require "rbconfig"
- crtname = RbConfig::CONFIG["RUBY_SO_NAME"][/msvc\w+/] || 'ucrtbase'
- libc_so = libm_so = "#{crtname}.dll"
-when /darwin/
- libc_so = "/usr/lib/libc.dylib"
- libm_so = "/usr/lib/libm.dylib"
-when /kfreebsd/
- libc_so = "/lib/libc.so.0.1"
- libm_so = "/lib/libm.so.1"
-when /gnu/ #GNU/Hurd
- libc_so = "/lib/libc.so.0.3"
- libm_so = "/lib/libm.so.6"
-when /mirbsd/
- libc_so = "/usr/lib/libc.so.41.10"
- libm_so = "/usr/lib/libm.so.7.0"
-when /freebsd/
- libc_so = "/lib/libc.so.7"
- libm_so = "/lib/libm.so.5"
-when /bsd|dragonfly/
- libc_so = "/usr/lib/libc.so"
- libm_so = "/usr/lib/libm.so"
-when /solaris/
- libdir = '/lib'
- case [0].pack('L!').size
- when 4
- # 32-bit ruby
- libdir = '/lib' if File.directory? '/lib'
- when 8
- # 64-bit ruby
- libdir = '/lib/64' if File.directory? '/lib/64'
- end
- libc_so = File.join(libdir, "libc.so")
- libm_so = File.join(libdir, "libm.so")
-when /aix/
- pwd=Dir.pwd
- libc_so = libm_so = "#{pwd}/libaixdltest.so"
- unless File.exist? libc_so
- cobjs=%w!strcpy.o!
- mobjs=%w!floats.o sin.o!
- funcs=%w!sin sinf strcpy strncpy!
- expfile='dltest.exp'
- require 'tmpdir'
- Dir.mktmpdir do |dir|
- begin
- Dir.chdir dir
- %x!/usr/bin/ar x /usr/lib/libc.a #{cobjs.join(' ')}!
- %x!/usr/bin/ar x /usr/lib/libm.a #{mobjs.join(' ')}!
- %x!echo "#{funcs.join("\n")}\n" > #{expfile}!
- require 'rbconfig'
- if RbConfig::CONFIG["GCC"] = 'yes'
- lflag='-Wl,'
- else
- lflag=''
- end
- flags="#{lflag}-bE:#{expfile} #{lflag}-bnoentry -lm"
- %x!#{RbConfig::CONFIG["LDSHARED"]} -o #{libc_so} #{(cobjs+mobjs).join(' ')} #{flags}!
- ensure
- Dir.chdir pwd
- end
- end
- end
-else
- libc_so = ARGV[0] if ARGV[0] && ARGV[0][0] == ?/
- libm_so = ARGV[1] if ARGV[1] && ARGV[1][0] == ?/
- if( !(libc_so && libm_so) )
- $stderr.puts("libc and libm not found: #{$0} <libc> <libm>")
- end
-end
-
-libc_so = nil if !libc_so || (libc_so[0] == ?/ && !File.file?(libc_so))
-libm_so = nil if !libm_so || (libm_so[0] == ?/ && !File.file?(libm_so))
-
if !libc_so || !libm_so
ruby = EnvUtil.rubybin
ldd = `ldd #{ruby}`
--
2.9.2
</code></pre>
<p>i.e. I am going to disable the custom code for detecting glibc on various platfors and rely just on ldd. My question is what should be the proper fix? Shouldn't be the ldd way the default behavior for Linux?</p>
<p>This issue was originally reported at:</p>
<p><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1361037" class="external">https://bugzilla.redhat.com/show_bug.cgi?id=1361037</a></p>
Ruby master - Bug #12358 (Closed): TestProcess#test_threading_works_after_exec_fail random test f...
https://bugs.ruby-lang.org/issues/12358
2016-05-09T07:39:17Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Ruby 2.3.1 builds randomly fail quite often on Fedora Rawhide [1] with following error:</p>
<pre><code> 1) Error:
TestProcess#test_threading_works_after_exec_fail:
Timeout::Error: execution expired
/builddir/build/BUILD/ruby-2.3.1/test/ruby/test_process.rb:2234:in `gets'
/builddir/build/BUILD/ruby-2.3.1/test/ruby/test_process.rb:2234:in `block in test_threading_works_after_exec_fail'
/builddir/build/BUILD/ruby-2.3.1/lib/timeout.rb:106:in `timeout'
/builddir/build/BUILD/ruby-2.3.1/test/ruby/test_process.rb:2217:in `test_threading_works_after_exec_fail'
</code></pre>
<p>[1] <a href="https://apps.fedoraproject.org/koschei/package/ruby" class="external">https://apps.fedoraproject.org/koschei/package/ruby</a></p>
Ruby master - Bug #10827 (Closed): TestIO#test_io_select_with_many_files segfaults randomly
https://bugs.ruby-lang.org/issues/10827
2015-02-04T11:36:41Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>On various platforms on Fedora Rawhide, I observe random segfaults in test suite:</p>
<pre><code> 1) Failure:
TestIO#test_io_select_with_many_files [/builddir/build/BUILD/ruby-2.3.0-r49485/test/ruby/test_io.rb:3034]:
<a href="/issues/8080">[ruby-core:53349]</a>
pid 16122 killed by SIGABRT (signal 6) (core dumped)
| -: [BUG] rb_gc_mark(): 0x8b0e548 is T_NONE
| ruby 2.3.0dev (2015-02-03 trunk 49485) [i386-linux]
|
| -- Control frame information -----------------------------------------------
| c:0001 p:36614600 s:0002 E:001fac TOP [FINISH]
|
|
| -- C level backtrace information -------------------------------------------
| /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0(rb_print_backtrace+0x27) [0xf76bc147] vm_dump.c:693
| /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0(rb_vm_bugreport+0x6f8) [0xf76bc858] vm_dump.c:971
| /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0(rb_bug+0x56) [0xf7580cb6] error.c:373
| /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0(gc_mark_children+0x4df) [0xf759eecf] gc.c:4252
| /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0(gc_marks_rest+0x4f) [0xf75a143f] gc.c:4280
| /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0(gc_rest+0x79) [0xf75a2019] gc.c:5974
| /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0(rb_gc_call_finalizer_at_exit+0x228) [0xf75a3978] gc.c:2631
| /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0(ruby_cleanup+0x35b) [0xf75875cb] eval.c:129
| /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0(ruby_run_node+0x39) [0xf7587879] eval.c:310
| /builddir/build/BUILD/ruby-2.3.0-r49485/ruby(main+0x69) [0x80486a9] main.c:36
|
| -- Other runtime information -----------------------------------------------
|
| * Loaded script: -
|
| * Loaded features:
|
| 0 enumerator.so
| 1 rational.so
| 2 complex.so
| 3 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/enc/encdb.so
| 4 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/enc/trans/transdb.so
| 5 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/unicode_normalize.rb
| 6 /builddir/build/BUILD/ruby-2.3.0-r49485/rbconfig.rb
| 7 thread.rb
| 8 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/thread.so
| 9 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/compatibility.rb
| 10 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/defaults.rb
| 11 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/deprecate.rb
| 12 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/errors.rb
| 13 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/version.rb
| 14 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/requirement.rb
| 15 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/platform.rb
| 16 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/basic_specification.rb
| 17 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/stub_specification.rb
| 18 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/util/stringio.rb
| 19 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/specification.rb
| 20 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/exceptions.rb
| 21 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/core_ext/kernel_gem.rb
| 22 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/monitor.rb
| 23 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems/core_ext/kernel_require.rb
| 24 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/rubygems.rb
| 25 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/delegate.rb
| 26 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/etc.so
| 27 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/fileutils.rb
| 28 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/tmpdir.rb
| 29 /builddir/build/BUILD/ruby-2.3.0-r49485/lib/tempfile.rb
|
| * Process memory map:
|
| 08048000-08049000 r-xp 00000000 fc:03 5375382 /builddir/build/BUILD/ruby-2.3.0-r49485/ruby
| 08049000-0804a000 r--p 00000000 fc:03 5375382 /builddir/build/BUILD/ruby-2.3.0-r49485/ruby
| 0804a000-0804b000 rw-p 00001000 fc:03 5375382 /builddir/build/BUILD/ruby-2.3.0-r49485/ruby
| 08af8000-08dff000 rw-p 00000000 00:00 0 [heap]
| f678b000-f699f000 r--s 00000000 fc:03 4201912 /usr/lib/libc-2.20.90.so
| f699f000-f7175000 r--s 00000000 fc:03 5375359 /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0
| f7175000-f7191000 r-xp 00000000 fc:03 4201869 /usr/lib/libgcc_s-4.9.2-20150107.so.1
| f7191000-f7192000 r--p 0001b000 fc:03 4201869 /usr/lib/libgcc_s-4.9.2-20150107.so.1
| f7192000-f7193000 rw-p 0001c000 fc:03 4201869 /usr/lib/libgcc_s-4.9.2-20150107.so.1
| f7196000-f7199000 r--s 00000000 fc:03 5375382 /builddir/build/BUILD/ruby-2.3.0-r49485/ruby
| f7199000-f719f000 r-xp 00000000 fc:03 5636655 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/etc.so
| f719f000-f71a0000 r--p 00005000 fc:03 5636655 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/etc.so
| f71a0000-f71a1000 rw-p 00006000 fc:03 5636655 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/etc.so
| f71a1000-f71a4000 r-xp 00000000 fc:03 5636791 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/thread.so
| f71a4000-f71a5000 r--p 00002000 fc:03 5636791 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/thread.so
| f71a5000-f71a6000 rw-p 00003000 fc:03 5636791 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/thread.so
| f71a6000-f71a8000 r-xp 00000000 fc:03 5636532 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/enc/trans/transdb.so
| f71a8000-f71a9000 r--p 00001000 fc:03 5636532 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/enc/trans/transdb.so
| f71a9000-f71aa000 rw-p 00002000 fc:03 5636532 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/enc/trans/transdb.so
| f71aa000-f71ac000 r-xp 00000000 fc:03 5636496 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/enc/encdb.so
| f71ac000-f71ad000 r--p 00001000 fc:03 5636496 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/enc/encdb.so
| f71ad000-f71ae000 rw-p 00002000 fc:03 5636496 /builddir/build/BUILD/ruby-2.3.0-r49485/.ext/i386-linux/enc/encdb.so
| f71ae000-f7231000 rw-p 00000000 00:00 0
| f7231000-f7295000 r-xp 00000000 fc:03 4201872 /usr/lib/libfreebl3.so
| f7295000-f7297000 r--p 00064000 fc:03 4201872 /usr/lib/libfreebl3.so
| f7297000-f7298000 rw-p 00066000 fc:03 4201872 /usr/lib/libfreebl3.so
| f7298000-f729c000 rw-p 00000000 00:00 0
| f729c000-f746e000 r-xp 00000000 fc:03 4201912 /usr/lib/libc-2.20.90.so
| f746e000-f7472000 r--p 001d1000 fc:03 4201912 /usr/lib/libc-2.20.90.so
| f7472000-f7474000 rw-p 001d5000 fc:03 4201912 /usr/lib/libc-2.20.90.so
| f7474000-f7476000 rw-p 00000000 00:00 0
| f7476000-f74c1000 r-xp 00000000 fc:03 4201920 /usr/lib/libm-2.20.90.so
| f74c1000-f74c2000 r--p 0004b000 fc:03 4201920 /usr/lib/libm-2.20.90.so
| f74c2000-f74c3000 rw-p 0004c000 fc:03 4201920 /usr/lib/libm-2.20.90.so
| f74c3000-f74c4000 rw-p 00000000 00:00 0
| f74c4000-f74cb000 r-xp 00000000 fc:03 4201916 /usr/lib/libcrypt-2.20.90.so
| f74cb000-f74cc000 r--p 00006000 fc:03 4201916 /usr/lib/libcrypt-2.20.90.so
| f74cc000-f74cd000 rw-p 00007000 fc:03 4201916 /usr/lib/libcrypt-2.20.90.so
| f74cd000-f74f4000 rw-p 00000000 00:00 0
| f74f4000-f74f7000 r-xp 00000000 fc:03 4201918 /usr/lib/libdl-2.20.90.so
| f74f7000-f74f8000 r--p 00002000 fc:03 4201918 /usr/lib/libdl-2.20.90.so
| f74f8000-f74f9000 rw-p 00003000 fc:03 4201918 /usr/lib/libdl-2.20.90.so
| f74f9000-f7512000 r-xp 00000000 fc:03 4201938 /usr/lib/libpthread-2.20.90.so
| f7512000-f7514000 r--p 00018000 fc:03 4201938 /usr/lib/libpthread-2.20.90.so
| f7514000-f7515000 rw-p 0001a000 fc:03 4201938 /usr/lib/libpthread-2.20.90.so
| f7515000-f7517000 rw-p 00000000 00:00 0
| f7518000-f7519000 rw-p 00000000 00:00 0
| f7519000-f751a000 ---p 00000000 00:00 0
| f751a000-f751d000 rw-p 00000000 00:00 0 [stack:16124]
| f751d000-f7795000 r-xp 00000000 fc:03 5375359 /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0
| f7795000-f7798000 r--p 00278000 fc:03 5375359 /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0
| f7798000-f779a000 rw-p 0027b000 fc:03 5375359 /builddir/build/BUILD/ruby-2.3.0-r49485/libruby.so.2.3.0
| f779a000-f77a2000 rw-p 00000000 00:00 0
| f77a2000-f77a4000 r--p 00000000 00:00 0 [vvar]
| f77a4000-f77a5000 r-xp 00000000 00:00 0 [vdso]
| f77a5000-f77c9000 r-xp 00000000 fc:03 4201905 /usr/lib/ld-2.20.90.so
| f77c9000-f77ca000 r--p 00023000 fc:03 4201905 /usr/lib/ld-2.20.90.so
| f77ca000-f77cb000 rw-p 00024000 fc:03 4201905 /usr/lib/ld-2.20.90.so
| ff355000-ffb54000 rw-p 00000000 00:00 0 [stack]
|
|
| [NOTE]
| You may have encountered a bug in the Ruby interpreter or extension libraries.
| Bug reports are welcome.
| For details: http://www.ruby-lang.org/bugreport.html
|
16074 tests, 2201431 assertions, 1 failures, 0 errors, 38 skips
ruby -v: ruby 2.3.0dev (2015-02-03 trunk 49485) [i386-linux]
</code></pre>
Ruby master - Bug #10580 (Closed): TestProcess#test_deadlock_by_signal_at_forking fails on ARM
https://bugs.ruby-lang.org/issues/10580
2014-12-08T16:24:25Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Testing with Fedora Rawhide:</p>
<pre><code> 1) Error:
TestProcess#test_deadlock_by_signal_at_forking:
Timeout::Error: execution of assert_separately expired
/builddir/build/BUILD/ruby-2.2.0-r48741/test/ruby/test_process.rb:1921:in `test_deadlock_by_signal_at_forking'
</code></pre>
Ruby master - Bug #8973 (Feedback): Allow to configure archlibdir for multiarch
https://bugs.ruby-lang.org/issues/8973
2013-10-01T19:15:57Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>Since r39347, there is impossible to configure placement of rubylib.so when build is configured with "--with-multiarch". That is probably OK for Debian, but it breaks Fedora :/ The attached patch allows to configure the archlibdir, but I feel that it is suboptimal, since the "--with-rubyarchprefix" should probably be the parameter which influences placement of the arch specific libraries. Any chance that this patch is accepted or better if rubyarchprefix is respected for every arch specific library, including libruby.so. Thanks.</p>
Ruby master - Bug #7807 (Rejected): [PATCH] Remove duplicated load paths when empty version strin...
https://bugs.ruby-lang.org/issues/7807
2013-02-09T08:23:12Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>=begin<br>
My configuration options:<br>
./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-ruby-version='' --with-rubyhdrdir=/usr/include --with-ruby-pc=ruby.pc --disable-rpath --enable-shared</p>
<p>Prior:</p>
<p>$ ruby -e "puts $:"<br>
/usr/lib64/ruby/site_ruby/<br>
/usr/lib64/ruby/site_ruby//x86_64-linux<br>
/usr/lib64/ruby/site_ruby<br>
/usr/lib64/ruby/vendor_ruby/<br>
/usr/lib64/ruby/vendor_ruby//x86_64-linux<br>
/usr/lib64/ruby/vendor_ruby<br>
/usr/lib64/ruby/<br>
/usr/lib64/ruby//x86_64-linux</p>
<p>After:</p>
<p>$ ruby -e "puts $:"<br>
/usr/lib64/ruby/site_ruby<br>
/usr/lib64/ruby/site_ruby/x86_64-linux<br>
/usr/lib64/ruby/vendor_ruby<br>
/usr/lib64/ruby/vendor_ruby/x86_64-linux<br>
/usr/lib64/ruby<br>
/usr/lib64/ruby/x86_64-linux</p>
<p>BTW the duplicated paths caused ActiveSupport test suite errors as far as I remember [1]. Not sure if it was already changed there.</p>
<p>[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=718695" class="external">https://bugzilla.redhat.com/show_bug.cgi?id=718695</a><br>
=end</p>
Ruby master - Bug #7311 (Closed): DRb test suite fails when hostname cannot be reached
https://bugs.ruby-lang.org/issues/7311
2012-11-08T23:03:41Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>=begin<br>
I have set following hostname:</p>
<p>$ hostname<br>
dhcp-25-70</p>
<p>However, it cannot be reached:</p>
<p>$ ping <code>hostname</code><br>
PING dhcp-25-70 (10.34.25.70) 56(84) bytes of data.<br>
From dhcp-25-1 (10.34.25.1) icmp_seq=1 Destination Host Unreachable<br>
From dhcp-25-1 (10.34.25.1) icmp_seq=2 Destination Host Unreachable<br>
From dhcp-25-1 (10.34.25.1) icmp_seq=3 Destination Host Unreachable<br>
From dhcp-25-1 (10.34.25.1) icmp_seq=4 Destination Host Unreachable</p>
<p>This causes that the DRb test suite fails:</p>
<p>TestDRbAry#test_01 = 3.16 s = E<br>
TestDRbAry#test_02_collect = 3.01 s = E<br>
TestDRbAry#test_03_redo = 3.01 s = E<br>
TestDRbAry#test_05_break = 3.01 s = E<br>
TestDRbAry#test_06_next = 3.01 s = E<br>
TestDRbAry#test_07_break_18 = 3.01 s = E<br>
TestDRbCore#test_00_DRbObject = 0.15 s = .<br>
TestDRbCore#test_01 = 2.85 s = E<br>
TestDRbCore#test_01_02_loop = 3.00 s = E<br>
TestDRbCore#test_02_unknown = 3.01 s = F<br>
TestDRbCore#test_03 = 0.16 s = .<br>
TestDRbCore#test_04 = 0.16 s = .<br>
TestDRbCore#test_05_eq = 0.15 s = .<br>
TestDRbCore#test_06_timeout = 0.36 s = .<br>
TestDRbCore#test_07_public_private_protected_missing = 0.16 s = .<br>
TestDRbCore#test_08_here = 0.16 s = .<br>
TestDRbCore#test_09_option = 0.16 s = .<br>
TestDRbCore#test_10_yield = 1.70 s = E<br>
TestDRbCore#test_10_yield_undumped = 3.17 s = E<br>
TestDRbCore#test_11_remote_no_method_error = 0.16 s = .<br>
TestDRbLarge#test_01_large_ary = 0.05 s = .<br>
TestDRbLarge#test_02_large_ary = 0.06 s = .<br>
TestDRbLarge#test_03_large_ary = 2.63 s = E<br>
TestDRbLarge#test_04_many_arg = 0.05 s = .<br>
TestDRbLarge#test_05_too_large_ary = 0.07 s = .<br>
TestDRbMServer#test_01 = 2.88 s = E<br>
TestDRbRuby18Yield#test_01_one = 0.00 s = .<br>
TestDRbRuby18Yield#test_02_two = 0.00 s = .<br>
TestDRbRuby18Yield#test_03_many = 0.00 s = .<br>
TestDRbRuby18Yield#test_04_many_to_one = 0.00 s = .<br>
TestDRbRuby18Yield#test_05_array_subclass = 0.00 s = .<br>
TestDRbRuby18Yield#test_06_taint = 0.00 s = .<br>
TestDRbRubyYield#test_01_one = 0.00 s = .<br>
TestDRbRubyYield#test_02_two = 0.00 s = .<br>
TestDRbRubyYield#test_03_many = 0.00 s = .<br>
TestDRbRubyYield#test_04_many_to_one = 0.00 s = .<br>
TestDRbRubyYield#test_05_array_subclass = 0.00 s = .<br>
TestDRbRubyYield#test_06_taint = 0.00 s = .<br>
TestDRbSSLAry#test_01 = 3.09 s = E<br>
TestDRbSSLAry#test_02_collect = 3.01 s = E<br>
TestDRbSSLAry#test_03_redo = 3.01 s = E<br>
TestDRbSSLAry#test_05_break = 3.01 s = E<br>
TestDRbSSLAry#test_06_next = 3.01 s = E<br>
TestDRbSSLAry#test_07_break_18 = 3.01 s = E<br>
TestDRbSSLCore#test_00_DRbObject = 0.20 s = .<br>
TestDRbSSLCore#test_01 = 2.82 s = E<br>
TestDRbSSLCore#test_01_02_loop = 0.22 s = .<br>
TestDRbSSLCore#test_02_unknown = 0.20 s = .<br>
TestDRbSSLCore#test_03 = 0.24 s = .<br>
TestDRbSSLCore#test_04 = 0.21 s = .<br>
TestDRbSSLCore#test_05_eq = 0.23 s = .<br>
TestDRbSSLCore#test_06_timeout = 0.44 s = .<br>
TestDRbSSLCore#test_07_public_private_protected_missing = 0.29 s = .<br>
TestDRbSSLCore#test_08_here = 0.22 s = .<br>
TestDRbSSLCore#test_09_option = 0.21 s = .<br>
TestDRbSSLCore#test_10_yield = 0.75 s = E<br>
TestDRbSSLCore#test_10_yield_undumped = 3.22 s = E<br>
TestDRbSSLCore#test_11_remote_no_method_error = 0.24 s = .<br>
TestDRbSafe1#test_01 = 0.15 s = .<br>
TestDRbSafe1#test_02_collect = 2.60 s = E<br>
TestDRbSafe1#test_03_redo = 3.01 s = E<br>
TestDRbSafe1#test_05_break = 3.00 s = E<br>
TestDRbSafe1#test_06_next = 3.01 s = E<br>
TestDRbSafe1#test_07_break_18 = 3.01 s = E<br>
TestDRbUNIXAry#test_01 = 0.17 s = .<br>
TestDRbUNIXAry#test_02_collect = 2.84 s = E<br>
TestDRbUNIXAry#test_03_redo = 3.01 s = E<br>
TestDRbUNIXAry#test_05_break = 3.01 s = E<br>
TestDRbUNIXAry#test_06_next = 3.01 s = E<br>
TestDRbUNIXAry#test_07_break_18 = 3.01 s = E<br>
TestDRbUNIXCore#test_00_DRbObject = 0.16 s = .<br>
TestDRbUNIXCore#test_01 = 2.84 s = E<br>
TestDRbUNIXCore#test_01_02_loop = 0.17 s = .<br>
TestDRbUNIXCore#test_02_unknown = 0.16 s = .<br>
TestDRbUNIXCore#test_03 = 0.17 s = .<br>
TestDRbUNIXCore#test_04 = 0.16 s = .<br>
TestDRbUNIXCore#test_05_eq = 0.16 s = .<br>
TestDRbUNIXCore#test_06_timeout = 0.37 s = .<br>
TestDRbUNIXCore#test_07_public_private_protected_missing = 0.17 s = .<br>
TestDRbUNIXCore#test_08_here = 0.17 s = .<br>
TestDRbUNIXCore#test_09_option = 0.17 s = .<br>
TestDRbUNIXCore#test_10_yield = 1.29 s = E<br>
TestDRbUNIXCore#test_10_yield_undumped = 3.17 s = E<br>
TestDRbUNIXCore#test_11_remote_no_method_error = 0.17 s = .<br>
TestDRbYield#test_01_one = 2.73 s = E<br>
TestDRbYield#test_02_two = 3.01 s = E<br>
TestDRbYield#test_03_many = 3.01 s = E<br>
TestDRbYield#test_04_many_to_one = 3.01 s = E<br>
TestDRbYield#test_05_array_subclass = 3.01 s = E<br>
TestDRbYield#test_06_taint = 3.01 s = E</p>
<p>So there are two possible ways how to fix this issue.</p>
<p>(1) Enforce usage of localhost in test suite (0001-Enforce-localhost-for-DRb-tests.patch). Unfortunately it appears it does not solve my issues completely under some (not so clear) circumstances.<br>
(2) Detect if hostname is associated with some IP address of my computer, otherwise fallback to localhost (0001-Fallback-to-localhost-if-hostname-is-not-associated-.patch). This resolves my issue completely.</p>
<p>BTW this test error later causes deadlock in TestProcess test suite [1], which is nasty :/</p>
<p>[1] <a href="https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L12" class="external">https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L12</a><br>
=end</p>
Ruby master - Bug #6124 (Closed): remove the "spec-only gems" in Ruby 1.9.3 (was What is the purp...
https://bugs.ruby-lang.org/issues/6124
2012-03-07T22:50:50Z
vo.x (Vit Ondruch)
v.ondruch@tiscali.cz
<p>As I tried to point out in <a class="issue tracker-1 status-6 priority-4 priority-default closed" title="Bug: Properly gemify BigDecimal (Rejected)" href="https://bugs.ruby-lang.org/issues/6123">#6123</a>, the "fake" gems which are distributed with Ruby breaks user's expectations. The following example should fail:</p>
<p>$ ruby --disable-gems -e "puts require('bigdecimal')"<br>
true</p>
<p>However, it is not failing. Could you please enlighten me what is the purpose of fake gem then? Even if you install updated BigDecimal from rubygems.org, the bundled version will won unless you use "gem 'bidgecimal'" somewhere in the code. This makes no sense.</p>
<p>Don't take me wrong, I am big fan of gemified stdlib <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Gemifying Ruby standard library (Closed)" href="https://bugs.ruby-lang.org/issues/5481">#5481</a>, however this is not the way how it should be done.</p>