cli_wallet and witness_node coredump via faucet

Expected Behavior

Accounts being created successfully via the latest fix to the faucet

Current Behavior

The current fix for the cli_wallet worked using curl to post an account creation test, but after @skesarwani91 conducted some testing, this caused the cli_wallet server and witness_node to coredump

Steps taken to cause issue

  1. Setup new testnet using 1.5.19 release with eth, bitcoin, and hive SONs
  2. Setup faucet following new procedures provided by @kake
  3. Created account via curl post worked fine, but at some point crashed/coredumped (possibly during some performance testing by @skesarwani91)

Context (Environment)

Peerplays version/release or git commit hash: 1.5.19

bunker@mint2:~/testnet/peerplays$ ./cli_wallet --version
Version: 1.5.19-1-g40aac3ba
Git Revision: 40aac3bafe80c63ab1657619b807afda21fd8a58
Built: Nov  7 2022 at 11:45:03
SSL: OpenSSL 1.1.1f  31 Mar 2020
Boost: 1.71
bunker@mint2:~/testnet/peerplays$ ./witness_node --version
Version: 1.5.19-1-g40aac3ba
Git Revision: 40aac3bafe80c63ab1657619b807afda21fd8a58
Built: Nov  7 2022 at 11:38:24
SSL: OpenSSL 1.1.1f  31 Mar 2020
Boost: 1.71

Logs

cli_wallet:

locked >>> here...
182999ms th_a       main.cpp:232                  operator()           ] .
here...
184538ms th_a       main.cpp:232                  operator()           ] .
here...
385789ms th_a       main.cpp:232                  operator()           ] .
here...
387147ms th_a       main.cpp:232                  operator()           ] .
here...
427719ms th_a       main.cpp:232                  operator()           ] .
here...
365188ms th_a       main.cpp:232                  operator()           ] .
365191ms th_a       websocket_api.cpp:155         on_message           ] e.to_detail_string(): 11 eof_exception: End Of File
stringstream
    {}
    th_a  sstream.cpp:66 readsome

    {"str":""}
    th_a  json.cpp:463 from_string
Server has disconnected us.
9 canceled_exception: Canceled

    {}
    th_a  thread_d.hpp:477 start_next_fiber
Segmentation fault (core dumped)

witness_node: The coredump is available for witness_node, but no logs are provided and the witness_node continued somehow

core.cli_wallet.1000.9f09c52867b64a3daabaf0568dc6c6cf.51649.1669206302000000000000.lz4

Edited by rilesdun