I get the error regardless of the getinfo. Commenting out
ThreadIRCSeed fixed the problem.
Does it still do it if you didn’t do getinfo?
You could comment out the CreateThreads listed below, then re-enable them one at a time until it does it again. Then we would know which thread the problem is in.
net.cpp, under // Start threads CreateThread(ThreadIRCSeed, NULL) CreateThread(ThreadSocketHandler, NULL, true) CreateThread(ThreadOpenConnections, NULL) CreateThread(ThreadMessageHandler, NULL)
init.cpp: CreateThread(ThreadRPCServer, NULL);
mmalmi@cc.hut.fi wrote:
Here goes. I forgot to mention the crash error message:
terminate called after throwing an instance of ‘std::bad_alloc’ what(): std::bad_alloc
Could you send me the debug.log?
mmalmi@cc.hut.fi wrote:
I tried debugging my build of bitcoind with ddd debugger, but
didn’t have much success yet. It always ends up taking all the
system’s memory and finally crashes. Could you please send me
again the latest 64 bit build of bitcoind, so I can see if the
problem is about my build?
Source: Published by Martti Malmi on GitHub in February 2024 as part of his testimony in the COPA v. Wright trial. The full correspondence archive is available at mmalmi.github.io/satoshi/.