Project

General

Profile

Actions

Bug #12444

open

Segmentation fault when running TestException#test_machine_stackoverflow on cygwin

Added by duerst (Martin Dürst) over 8 years ago. Updated over 2 years ago.

Status:
Assigned
Assignee:
Target version:
-
ruby -v:
ruby 2.4.0dev (2016-05-31 trunk 55228) [x86_64-cygwin]
[ruby-core:75790]
Tags:

Description

When I try to run bin/ruby test/runner.rb test/ruby/test_*, I get the error below. This is immediately followed by a very similar error for TestException#test_machine_stackoverflow_by_define_method.

[ 942/4545] TestException#test_machine_stackoverflow = 1.27 s
 19) Failure:
TestException#test_machine_stackoverflow [/cygdrive/c/Data/ruby/test/ruby/test_exception.rb:577]:
pid 16416 killed by SIGABRT (signal 6) (core dumped)
| -:7: [BUG] Segmentation fault at 0x000000ffe03fc0
| ruby 2.4.0dev (2016-05-31 trunk 55228) [x86_64-cygwin]
|
| -- Control frame information -----------------------------------------------
| c:0690 p:0014 s:1387 e:001386 LAMBDA -:7 [FINISH]
| c:0689 p:0014 s:1385 e:001384 LAMBDA -:7 [FINISH]
| c:0688 p:0014 s:1383 e:001382 LAMBDA -:7 [FINISH]
| c:0687 p:0014 s:1381 e:001380 LAMBDA -:7 [FINISH]
| c:0686 p:0014 s:1379 e:001378 LAMBDA -:7 [FINISH]
| c:0685 p:0014 s:1377 e:001376 LAMBDA -:7 [FINISH]
| c:0684 p:0014 s:1375 e:001374 LAMBDA -:7 [FINISH]
| c:0683 p:0014 s:1373 e:001372 LAMBDA -:7 [FINISH]
| c:0682 p:0014 s:1371 e:001370 LAMBDA -:7 [FINISH]
| c:0681 p:0014 s:1369 e:001368 LAMBDA -:7 [FINISH]

[very long list, ending in]

| c:0009 p:0014 s:0025 e:000024 LAMBDA -:7 [FINISH]
| c:0008 p:0014 s:0023 e:000022 LAMBDA -:7 [FINISH]
| c:0007 p:0014 s:0021 e:000020 LAMBDA -:7 [FINISH]
| c:0006 p:0014 s:0019 e:000018 LAMBDA -:7 [FINISH]
| c:0005 p:0014 s:0017 e:000016 LAMBDA -:7 [FINISH]
| c:0004 p:0028 s:0015 E:001588 BLOCK  -:8
| c:0003 p:0052 s:0012 e:000011 METHOD /cygdrive/c/Data/ruby/test/lib/test/unit/assertions.rb:74
| c:0002 p:0047 s:0004 E:000610 EVAL   -:6 [FINISH]
| c:0001 p:0000 s:0002 E:001930 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -:6:in `<main>'
| /cygdrive/c/Data/ruby/test/lib/test/unit/assertions.rb:74:in `assert_raise'
| -:8:in `block in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'

[again very long list, probably about same length, ending with]

| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
| -:7:in `block (2 levels) in <main>'
|
| -- Other runtime information -----------------------------------------------
|
| * Loaded script: -
|
| * Loaded features:
|
|     0 enumerator.so
|     1 thread.rb
|     2 rational.so
|     3 complex.so
|     4 /cygdrive/c/Data/ruby/lib/ruby/2.4.0/x86_64-cygwin/enc/encdb.so
|     5 /cygdrive/c/Data/ruby/lib/ruby/2.4.0/x86_64-cygwin/enc/trans/transdb.so
|     6 /cygdrive/c/Data/ruby/lib/ruby/2.4.0/x86_64-cygwin/enc/windows_31j.so
|     7 /cygdrive/c/Data/ruby/lib/ruby/vendor_ruby/unicode_normalize.rb
|     8 /cygdrive/c/Data/ruby/lib/ruby/vendor_ruby/optparse.rb
|     9 /cygdrive/c/Data/ruby/lib/ruby/2.4.0/x86_64-cygwin/rbconfig.rb
|    10 /cygdrive/c/Data/ruby/test/lib/leakchecker.rb
|    11 /cygdrive/c/Data/ruby/test/lib/minitest/unit.rb
|    12 /cygdrive/c/Data/ruby/lib/ruby/vendor_ruby/prettyprint.rb
|    13 /cygdrive/c/Data/ruby/lib/ruby/vendor_ruby/pp.rb
|    14 /cygdrive/c/Data/ruby/test/lib/test/unit/assertions.rb
|    15 /cygdrive/c/Data/ruby/lib/ruby/vendor_ruby/open3.rb
|    16 /cygdrive/c/Data/ruby/lib/ruby/vendor_ruby/timeout.rb
|    17 /cygdrive/c/Data/ruby/test/lib/find_executable.rb
|    18 /cygdrive/c/Data/ruby/lib/ruby/2.4.0/x86_64-cygwin/rbconfig/sizeof.so
|    19 /cygdrive/c/Data/ruby/test/lib/envutil.rb
|    20 /cygdrive/c/Data/ruby/test/lib/test/unit/testcase.rb
|    21 /cygdrive/c/Data/ruby/test/lib/test/unit.rb
|
| [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
|
Actions

Also available in: Atom PDF

Like0
Like0Like0