Issue #12440 has been updated by Martin Drst.


Nobuyoshi Nakada wrote:
> >       2 [main] ruby 22476 child_info_fork::abort: unable to remap bubblebabble.so to same address as parent (0x1FB0000) - try running rebaseall
> 
> Have you tried running `rebaseall`?

I tried. It didn't help. Some of the numbers/addresses are a bit different, but the overall picture is exactly the same.

----------------------------------------
Bug #12440: make test-all is not working on cygwin
https://bugs.ruby-lang.org/issues/12440#change-58969

* Author: Martin Drst
* Status: Feedback
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.4.0dev (2016-05-31 trunk 55226) [x86_64-cygwin]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
When I use `make test-all` on cygwin, a long list of messages gets output at a slow pace (about one line per second, but sometimes with longer waits), as below (please make sure you read all my comments, even the one at the bottom):

```
$ make test-all
        CC = gcc
        LD = ld
        LDSHARED = gcc -shared
        CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Werror=implicit-int -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=deprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized
        XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT
        CPPFLAGS = -D_XOPEN_SOURCE -D_GNU_SOURCE   -I. -I.ext/include/x86_64-cygwin -I./include -I.
        DLDFLAGS = -Wl,--enable-auto-image-base,--enable-auto-import -Wl,--out-implib=libruby240.dll.a cygruby240.def -fstack-protector -Wl,--stack,0x00200000,--enable-auto-import
        SOLIBS = cygruby240.res.o -lpthread -ldl
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-5.3.0-5.x86_64/src/gcc-5.3.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.3.0-5.x86_64/src/gcc-5.3.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 5.3.0 (GCC)
Run options: "--ruby=./miniruby.exe -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems" --excludes-dir=./test/excludes --name=!/memory_leak/

# Running tests:

[    7/16817] Bug::Marshal::TestUsrMarshal#test_compat      2 [main] ruby 22476 child_info_fork::abort: unable to remap bubblebabble.so to same address as parent (0x1FB0000) - try running rebaseall
(snip)
```

When I press Ctrl-C here (after comming back from a little break), I get the following output:

```
  1) Failure:
Bug::Marshal::TestUsrMarshal#test_compat [/cygdrive/c/Data/ruby/test/lib/zombie_hunter.rb:5]:
Expected [[22476, #<Process::Status: pid 22476 exit 0>],
 (snip)
 [6652, #<Process::Status: pid 6652 exit 0>]] to be empty.

Finished tests in 289.651638s, 0.0207 tests/s, 0.1070 assertions/s.
6 tests, 31 assertions, 1 failures, 0 errors, 0 skips
Interrupted


duerst@Arnisee /cygdrive/c/Data/ruby
$
```

To get the final few lines of output, I have to kill a ruby process externally (from the task manager).


---Files--------------------------------
bug-12440-1.log (33.3 KB)
bug-12440-2.log (11.2 KB)


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

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