Re: [Gc] "make check" failed on my platform

Stefan Ring <[email protected]> Thu, 20 Apr 2017 10:04:11 +0200
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <CAAxjCEzGySu2vQT4csKeFXcD=z08_EzjgvzmHx6MGfgo2-N4+g@mail.gmail.com>
On Thu, Apr 20, 2017 at 7:58 AM, Richard A. O'Keefe <ok-JtFlkrn/[email protected]> wrote:
> Which test failed?

It's harder to spot in the attachment, but we have to give the OP
credit, as the info is in fact there:

FAIL: test_cpp
==============

usage: test_cpp number-of-iterations
Assuming 10 iters
Starting iteration 1
FAIL test_cpp (exit status: 134)

It doesn't work for me either, although I get an interesting crash dump:
*** Error in `./test_cpp': free(): invalid pointer: 0x0000000001a91fe0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7570b)[0x7f3392f7170b]
/lib64/libc.so.6(+0x7deaa)[0x7f3392f79eaa]
/lib64/libc.so.6(cfree+0x4c)[0x7f3392f7d40c]
./test_cpp[0x4040bf]
/lib64/libc.so.6(__libc_start_main+0xf1)[0x7f3392f1c731]
./test_cpp[0x405089]
======= Memory map: ========
00400000-00423000 r-xp 00000000 08:13 13923111
  /home/sr/temp/g/bdwgc/test_cpp
00622000-00623000 r--p 00022000 08:13 13923111
  /home/sr/temp/g/bdwgc/test_cpp
00623000-00624000 rw-p 00023000 08:13 13923111
  /home/sr/temp/g/bdwgc/test_cpp
00624000-00758000 rw-p 00000000 00:00 0
0199e000-01c33000 rw-p 00000000 00:00 0                                  [heap]
[...]
./test-driver: line 107: 18713 Aborted                 (core dumped)
"$@" > $log_file 2>&1
FAIL: test_cpp

It works when I omit the --disable-shared.