Multichaind segfaults with bitcoin config

+1 vote

Hello,

I compiled multichain on ubuntu 16.04. Multichaind runs ok with default params generated by multichain-util, but when i use params.dat from http://www.multichain.com/download/bitcoin-protocol-params.dat I get immediate segfault.

Stacktrace from gdb shows:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00005575a1e3cae2 in CChain::operator[] (nHeight=<optimized out>, this=<optimized out>) at ./chain/chain.h:389
389             if (nHeight < 0 || nHeight >= (int)vChain.size())
[Current thread is 1 (Thread 0x7f9b8a746740 (LWP 39940))]
(gdb) bt
#0  0x00005575a1e3cae2 in CChain::operator[] (nHeight=<optimized out>, this=<optimized out>) at ./chain/chain.h:389
#1  LoadBlockIndexDB () at core/main.cpp:4795
#2  0x00005575a1e3d465 in LoadBlockIndex () at core/main.cpp:4948
#3  0x00005575a1de16b9 in AppInit2 (threadGroup=..., OutputPipe=<optimized out>) at core/init.cpp:1945
#4  0x00005575a1db9dd4 in AppInit (argc=<optimized out>, argv=<optimized out>) at multichain/multichaind.cpp:333
#5  0x00005575a1daafbf in main (argc=2, argv=0x7ffdf4c08df8) at multichain/multichaind.cpp:395

 

Any ideas how to approach that problem?

 

asked Apr 7, 2017 by kl
Thanks – we'll check if we can reproduce this. In the meantime please try using an older version, since this has worked in the past.

Please log in or register to answer this question.

...