openvcash / vcash

A decentralized currency for the internet.
https://vcash.info
GNU Affero General Public License v3.0
36 stars 35 forks source link

Node crash with 'std::length_error' #26

Open whphhg opened 7 years ago

whphhg commented 7 years ago

It has happened a couple of times now that one of my nodes crashed with the following error.

terminate called after throwing an instance of 'std::length_error'
what():  basic_string::_M_create

Has anyone else had this issue?

sum01 commented 6 years ago

Issue is in coin/include/coin/rpc_json_parser.hpp. Not sure which basic_string is triggering the error however, as it's used more than once. I'd have to try and follow the logic to see where the error occurs.

Do you have more error logs?

edit: It could technically also come from a dependency that uses std::basic_string.

whphhg commented 6 years ago

If I remember correctly the above error was logged to the console and there was nothing besides the usual [INFO] that was in debug.log so I didn't think to make a copy.