LearnBitcoin

Bitcoin Dev Archive 2018

v0.16.1 test_bitcoin fails on Deian 9

3 messages, 14 Jul 2018. Started by Shigeya Suzuki.

Shigeya Suzuki (2), Marco Falke

Permalink Original thread on gnusha.org

Shigeya Suzuki permalink original

Hi,

I observed strange result when running src/test/test_bitcoin on Debian 9.

I tested with the following platforms:

1) OS X High Sierra 10.13.6 with
   ./configiure --enable-debug
2) Debian 9 (with latest packages) with
   ./configure --enable-debug --disable-wallet --without-gui
3) Ubuntu 16.04 with:
   ./configure --with-debug --disable-wallet

strangely, configuration 2 cause core dump but others not:

Running 264 test cases... unknown location(0): fatal error: in "validation_block_tests/processnewblock_signals_ordering": memory access violation at address: 0x00000000: no mapping at fault address zsh: segmentation fault ./test_bitcoin

I guess it is due to toolchain differences.

Any thoughts?

Shigeya Suzuki

Marco Falke in reply to Shigeya Suzuki permalink original

Hi, and thanks for the detailed issue report.

This was a known issue in test code that is only compiled when debugging. It will be fixed in the upcoming 0.16.2 and 0.17.0 releases.

If you see any further issues, note that we track technical issues related to the Bitcoin Core code base on our issue tracker: https://github.com/bitcoin/bitcoin/issues/new

Marco

On Sat, Jul 14, 2018 at 9:48 AM, Shigeya Suzuki via bitcoin-dev <bitcoin-dev@lists•linuxfoundation•org> wrote:

Quoted text (30 lines)
> Hi,
>
> I observed strange result when running src/test/test_bitcoin on Debian 9.
>
> I tested with the following platforms:
>
> 1) OS X High Sierra 10.13.6 with
>    ./configiure --enable-debug
>
> 2) Debian 9 (with latest packages) with
>    ./configure --enable-debug --disable-wallet --without-gui
>
> 3) Ubuntu 16.04 with:
>    ./configure --with-debug --disable-wallet
>
> strangely,  configuration 2 cause core dump but others not:
>
> Running 264 test cases...
> unknown location(0): fatal error: in "validation_block_tests/processnewblock_signals_ordering": memory access violation at address: 0x00000000: no mapping at fault address
> zsh: segmentation fault  ./test_bitcoin
>
> I guess it is due to toolchain differences.
>
> Any thoughts?
>
> Shigeya Suzuki
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists•linuxfoundation•org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
Shigeya Suzuki in reply to Marco Falke permalink original

Hi,

I see. thank you very much.

shigeya

On Sun, Jul 15, 2018, at 00:23, Marco Falke via bitcoin-dev wrote:

Quoted text (48 lines)
> Hi, and thanks for the detailed issue report.
>
> This was a known issue in test code that is only compiled when
> debugging. It will be fixed in the upcoming 0.16.2 and 0.17.0
> releases.
>
> If you see any further issues, note that we track technical issues
> related to the Bitcoin Core code base on our issue tracker:
> https://github.com/bitcoin/bitcoin/issues/new
>
> Marco
>
> On Sat, Jul 14, 2018 at 9:48 AM, Shigeya Suzuki via bitcoin-dev
> <bitcoin-dev@lists•linuxfoundation•org> wrote:
> > Hi,
> >
> > I observed strange result when running src/test/test_bitcoin on Debian 9.
> >
> > I tested with the following platforms:
> >
> > 1) OS X High Sierra 10.13.6 with
> >    ./configiure --enable-debug
> >
> > 2) Debian 9 (with latest packages) with
> >    ./configure --enable-debug --disable-wallet --without-gui
> >
> > 3) Ubuntu 16.04 with:
> >    ./configure --with-debug --disable-wallet
> >
> > strangely,  configuration 2 cause core dump but others not:
> >
> > Running 264 test cases...
> > unknown location(0): fatal error: in "validation_block_tests/processnewblock_signals_ordering": memory access violation at address: 0x00000000: no mapping at fault address
> > zsh: segmentation fault  ./test_bitcoin
> >
> > I guess it is due to toolchain differences.
> >
> > Any thoughts?
> >
> > Shigeya Suzuki
> > _______________________________________________
> > bitcoin-dev mailing list
> > bitcoin-dev@lists•linuxfoundation•org
> > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists•linuxfoundation•org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev