I have been trying to run bitcoin node on my raspberry pi 2, but not with much success. My bitcoind seems to crash.
*** Error in `/home/pi/bin/bitcoind': malloc(): smallbin double linked list corrupted: 0x6c722290 ***
I am not really sure what is the issue, but I have decided to recompile Bitcoin Core anyway. This time I noticed that there were several warnings when making LevelDB and in util_tests.cpp. What can I do to fix this warning? Looking at the source, I couldn't identify why compiler is complaining. Any help would be appreciated. Full log is available upon the request.
In file included from ./util/arena.h:9:0,
from ./db/skiplist.h:33,
from ./db/memtable.h:11,
from db/memtable.cc:5:
db/memtable.cc: In member function ‘void leveldb::MemTable::Add(leveldb::Sequenc eNumber, leveldb::ValueType, const leveldb::Slice&, const leveldb::Slice&)’:
db/memtable.cc:104:31: warning: comparison between signed and unsigned integer e xpressions [-Wsign-compare]
assert((p + val_size) - buf == encoded_len);
table/filter_block.cc: In member function ‘bool leveldb::FilterBlockReader::KeyM ayMatch(uint64_t, const leveldb::Slice&)’:
table/filter_block.cc:100:33: warning: comparison between signed and unsigned in teger expressions [-Wsign-compare]
if (start <= limit && limit <= (offset_ - data_)) {
util/bloom.cc: In member function ‘virtual void leveldb::{anonymous}::BloomFilte rPolicy::CreateFilter(const leveldb::Slice*, int, std::string*) const’:
util/bloom.cc:50:26: warning: comparison between signed and unsigned integer exp ressions [-Wsign-compare]
for (size_t i = 0; i < n; i++) {
util/logging.cc: In function ‘bool leveldb::ConsumeDecimalNumber(leveldb::Slice* , uint64_t*)’:
util/logging.cc:58:40: warning: comparison between signed and unsigned integer e xpressions [-Wsign-compare]
(v == kMaxUint64/10 && delta > kMaxUint64%10)) {
test/util_tests.cpp:322:5: warning: this decimal constant is unsigned only in ISO C90
BOOST_CHECK(ParseInt32("-2147483648", &n) && n == -2147483648);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from test/util_tests.cpp:18:
test/util_tests.cpp: In member function ‘void util_tests::test_ParseInt32::test_method()’:
test/util_tests.cpp:322:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
BOOST_CHECK(ParseInt32("-2147483648", &n) && n == -2147483648);
^