[spam][personal][crazy] Trying to Build Bitcoin from Source

Karl gmkarl at gmail.com
Sat Nov 6 05:51:23 PDT 2021


it's 0839

i've got the disks back up

i'm getting the std::bad_alloc error again when i launch bitcoind

unfortunately, i rebuilt everything in release mode.

back to debugging symbols.  it's 0840.  part of me wants to eat food.
i'll set some stuff building first.

0846

so here's the chunk that is causing the memory error, in
boost::filesystem 1.76 path.cpp:

195     BOOST_FILESYSTEM_DECL path::string_type::size_type
path::append_separator_if_needed()
196     {
197         if (!m_pathname.empty() &&
198     #ifdef BOOST_WINDOWS_API
199             *(m_pathname.end() - 1) != colon &&
200     #endif
201             !detail::is_directory_separator(*(m_pathname.end() - 1)))
202         {
203             string_type::size_type tmp(m_pathname.size());
204             m_pathname += preferred_separator;

m_pathname is empty, so then the && condition dereferences 1 minus its
end pointer, which looks like an error,could be wrong.  its type is
boost::filesystem::path::string_type, which must inherit from or be a
typedef to std::basic_string, since that's where the crash happens.

it happens in the call to string::end, strangely.  it's 0850.

whelp, i made some great strides, inhibitions might be dominating now.
doing things by spamming descriptions of them is a little delicate i
guess.  0851.


More information about the cypherpunks mailing list