witness_node segfault when disable one of the sidechain #455

Closed
opened 2022-09-26 06:09:29 +00:00 by vampik · 12 comments
vampik commented 2022-09-26 06:09:29 +00:00 (Migrated from gitlab.com)

Fix issue with witness_node crash when we disable one of the sidechain in the config file.

Fix issue with `witness_node` crash when we disable one of the sidechain in the config file.
vampik commented 2022-09-26 06:09:29 +00:00 (Migrated from gitlab.com)

assigned to @vampik

assigned to @vampik
vampik commented 2022-09-26 06:44:02 +00:00 (Migrated from gitlab.com)

mentioned in commit 2f4007d92336b2af699f358387dd8998ba9e0755

mentioned in commit 2f4007d92336b2af699f358387dd8998ba9e0755
vampik commented 2022-09-26 06:44:02 +00:00 (Migrated from gitlab.com)

mentioned in commit d3ec8c9e9d023e613928649afb9141e3fe85ebf4

mentioned in commit d3ec8c9e9d023e613928649afb9141e3fe85ebf4
vampik commented 2022-09-26 06:53:14 +00:00 (Migrated from gitlab.com)

mentioned in merge request !157

mentioned in merge request !157
vampik commented 2022-09-26 06:57:08 +00:00 (Migrated from gitlab.com)

assigned to @serkixenos

assigned to @serkixenos
serkixenos commented 2022-09-27 13:59:10 +00:00 (Migrated from gitlab.com)

assigned to @prandnum

assigned to @prandnum
serkixenos commented 2022-09-27 13:59:18 +00:00 (Migrated from gitlab.com)

assigned to @wsalloum

assigned to @wsalloum
prandnum commented 2022-09-27 18:09:38 +00:00 (Migrated from gitlab.com)

After disabling ethereum sidechain on peerplays01 and peerplays11 the witness nodes crashed

config11.ini

config01.ini

peerplays12_1                     | 205705ms th_a       sidechain_net_handler_bitcoin.cpp:350 sidechain_net_handle ] Bitcoin Public Key: 0287bcbd4f5d357f89a86979b386402445d7e9a5dccfd16146d1d2ab0dc2c32ae8
peerplays12_1                     | 205705ms th_a       sidechain_net_handler_bitcoin.cpp:350 sidechain_net_handle ] Bitcoin Public Key: 02053859d76aa375d6f343a60e3678e906c008015e32fe4712b1fd2b26473bdd73
peerplays12_1                     | 205705ms th_a       sidechain_net_handler_bitcoin.cpp:350 sidechain_net_handle ] Bitcoin Public Key: 03c880baffd37471f3c7e712e51b339dd08e2056757fc8499ea3d41d4fa1801247
peerplays-qa-environment_peerplays03_1 exited with code 139
peerplays11_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays11_1                     |   what():  connect: No route to host
peerplays07_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays07_1                     |   what():  connect: No route to host
peerplays16_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays16_1                     |   what():  connect: No route to host
peerplays15_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays15_1                     |   what():  connect: No route to host
peerplays04_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays04_1                     |   what():  connect: No route to host
peerplays08_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays08_1                     |   what():  connect: No route to host
peerplays06_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays06_1                     |   what():  connect: No route to host
peerplays-qa-environment_peerplays11_1 exited with code 139
peerplays09_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays09_1                     |   what():  connect: No route to host
peerplays01_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays01_1                     |   what():  connect: No route to host
peerplays05_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays05_1                     |   what():  connect: No route to host
peerplays13_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays13_1                     |   what():  connect: No route to host
peerplays14_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays14_1                     |   what():  connect: No route to host
peerplays10_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays10_1                     |   what():  connect: No route to host
peerplays02_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays02_1                     |   what():  connect: No route to host
peerplays-qa-environment_peerplays07_1 exited with code 139
peerplays-qa-environment_peerplays06_1 exited with code 139
peerplays-qa-environment_peerplays15_1 exited with code 139
peerplays-qa-environment_peerplays08_1 exited with code 139
peerplays-qa-environment_peerplays16_1 exited with code 139
peerplays-qa-environment_peerplays04_1 exited with code 139
peerplays-qa-environment_peerplays09_1 exited with code 139
peerplays-qa-environment_peerplays01_1 exited with code 139
peerplays12_1                     | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
peerplays12_1                     |   what():  connect: No route to host
peerplays-qa-environment_peerplays13_1 exited with code 139
peerplays-qa-environment_peerplays05_1 exited with code 139
peerplays-qa-environment_peerplays14_1 exited with code 139
peerplays-qa-environment_peerplays10_1 exited with code 139
peerplays-qa-environment_peerplays02_1 exited with code 139
peerplays-qa-environment_peerplays12_1 exited with code 139
kiran@warpspeed:~/PBSA/23092022/peerplays-utils/peerplays-qa-environment$ 
After disabling ethereum sidechain on peerplays01 and peerplays11 the witness nodes crashed [config11.ini](/uploads/c7e62eb55f769f774b6ec03144c3d86e/config11.ini) [config01.ini](/uploads/0f22f676176b6db3c6e83e83979651da/config01.ini) ``` peerplays12_1 | 205705ms th_a sidechain_net_handler_bitcoin.cpp:350 sidechain_net_handle ] Bitcoin Public Key: 0287bcbd4f5d357f89a86979b386402445d7e9a5dccfd16146d1d2ab0dc2c32ae8 peerplays12_1 | 205705ms th_a sidechain_net_handler_bitcoin.cpp:350 sidechain_net_handle ] Bitcoin Public Key: 02053859d76aa375d6f343a60e3678e906c008015e32fe4712b1fd2b26473bdd73 peerplays12_1 | 205705ms th_a sidechain_net_handler_bitcoin.cpp:350 sidechain_net_handle ] Bitcoin Public Key: 03c880baffd37471f3c7e712e51b339dd08e2056757fc8499ea3d41d4fa1801247 peerplays-qa-environment_peerplays03_1 exited with code 139 peerplays11_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays11_1 | what(): connect: No route to host peerplays07_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays07_1 | what(): connect: No route to host peerplays16_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays16_1 | what(): connect: No route to host peerplays15_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays15_1 | what(): connect: No route to host peerplays04_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays04_1 | what(): connect: No route to host peerplays08_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays08_1 | what(): connect: No route to host peerplays06_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays06_1 | what(): connect: No route to host peerplays-qa-environment_peerplays11_1 exited with code 139 peerplays09_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays09_1 | what(): connect: No route to host peerplays01_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays01_1 | what(): connect: No route to host peerplays05_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays05_1 | what(): connect: No route to host peerplays13_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays13_1 | what(): connect: No route to host peerplays14_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays14_1 | what(): connect: No route to host peerplays10_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays10_1 | what(): connect: No route to host peerplays02_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays02_1 | what(): connect: No route to host peerplays-qa-environment_peerplays07_1 exited with code 139 peerplays-qa-environment_peerplays06_1 exited with code 139 peerplays-qa-environment_peerplays15_1 exited with code 139 peerplays-qa-environment_peerplays08_1 exited with code 139 peerplays-qa-environment_peerplays16_1 exited with code 139 peerplays-qa-environment_peerplays04_1 exited with code 139 peerplays-qa-environment_peerplays09_1 exited with code 139 peerplays-qa-environment_peerplays01_1 exited with code 139 peerplays12_1 | terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' peerplays12_1 | what(): connect: No route to host peerplays-qa-environment_peerplays13_1 exited with code 139 peerplays-qa-environment_peerplays05_1 exited with code 139 peerplays-qa-environment_peerplays14_1 exited with code 139 peerplays-qa-environment_peerplays10_1 exited with code 139 peerplays-qa-environment_peerplays02_1 exited with code 139 peerplays-qa-environment_peerplays12_1 exited with code 139 kiran@warpspeed:~/PBSA/23092022/peerplays-utils/peerplays-qa-environment$ ```
prandnum commented 2022-09-27 18:17:06 +00:00 (Migrated from gitlab.com)
kiran@warpspeed:/home/peerplays$ sudo coredumpctl debug 39570
           PID: 39570 (witness_node)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 11 (SEGV)
     Timestamp: Tue 2022-09-27 23:32:49 IST (10min ago)
  Command Line: ./witness_node -d ./witness_node_data_dir --replay-blockchain
    Executable: /home/peerplays/src/peerplays/build/programs/witness_node/witness_node
 Control Group: /docker/3a0dbb10daf3b0d698a1d921f40c863a41a2a09870b00bf3d57cac7f5e545d20
         Slice: -.slice
       Boot ID: c0582f1f1b6742b6b77cc45d9d90cc23
    Machine ID: a388625228614d18b5373ad1be39a93f
      Hostname: warpspeed
       Storage: /var/lib/systemd/coredump/core.witness_node.0.c0582f1f1b6742b6b77cc45d9d90cc23.39570.1664301769000000000000.lz4
       Message: Process 39570 (witness_node) of user 0 dumped core.
                
                Stack trace of thread 1:
                #0  0x00007f704fffc941 __GI_abort (libc.so.6 + 0x22941)
                #1  0x00007f70503d6911 n/a (libstdc++.so.6 + 0x9e911)
                #2  0x00007f70503e238c n/a (libstdc++.so.6 + 0xaa38c)
                #3  0x00007f70503e23f7 _ZSt9terminatev (libstdc++.so.6 + 0xaa3f7)
                #4  0x00007f70503e26a9 __cxa_throw (libstdc++.so.6 + 0xaa6a9)
                #5  0x000056067b35d09e n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x553809e)
                #6  0x000056067b34c871 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x5527871)
                #7  0x000056067b34c69a n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x552769a)
                #8  0x000056067b3679ea n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x55429ea)
                #9  0x000056067b361597 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x553c597)
                #10 0x000056067b34a63a n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x552563a)
                #11 0x000056067b349567 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x5524567)
                #12 0x000056067ac4ab7a n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4e25b7a)
                #13 0x000056067ac4f27f n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4e2a27f)
                #14 0x000056067ac2416f n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4dff16f)
                #15 0x000056067abe8b05 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4dc3b05)
                #16 0x000056067abf1f47 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4dccf47)
                #17 0x000056067a676d71 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4851d71)
                #18 0x000056067a648143 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4823143)
                #19 0x00007f704fffe083 __libc_start_main (libc.so.6 + 0x24083)
                #20 0x000056067a646c3e n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4821c3e)

GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/peerplays/src/peerplays/build/programs/witness_node/witness_node...
[New LWP 1]
[New LWP 8]
[New LWP 12]
[New LWP 9]
[New LWP 7]
[New LWP 13]
[New LWP 14]
[New LWP 10]
[New LWP 15]
[New LWP 16]
[New LWP 11]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./witness_node -d ./witness_node_data_dir --replay-blockchain'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_abort () at abort.c:107
107	abort.c: No such file or directory.
[Current thread is 1 (Thread 0x7f704ef9ee40 (LWP 1))]
(gdb) bt
#0  __GI_abort () at abort.c:107
#1  0x00007f70503d6911 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00007f70503e238c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007f70503e23f7 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007f70503e26a9 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x000056067b35d09e in boost::throw_exception<boost::system::system_error> (e=...) at /usr/include/boost/throw_exception.hpp:70
#6  0x000056067b34c871 in boost::asio::detail::do_throw_error (err=..., location=0x56067d081b4c "connect") at /usr/include/boost/asio/detail/impl/throw_error.ipp:38
#7  0x000056067b34c69a in boost::asio::detail::throw_error (err=..., location=0x56067d081b4c "connect") at /usr/include/boost/asio/detail/throw_error.hpp:42
#8  0x000056067b3679ea in boost::asio::connect<boost::asio::ip::tcp, boost::asio::executor, boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp> > (s=..., endpoints=...) at /usr/include/boost/asio/impl/connect.hpp:113
#9  0x000056067b361597 in boost::beast::basic_stream<boost::asio::ip::tcp, boost::asio::executor, boost::beast::unlimited_rate_policy>::connect<boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>, void> (this=0x7ffd83917ee0, endpoints=...) at /usr/include/boost/beast/core/basic_stream.hpp:579
#10 0x000056067b34a63a in graphene::peerplays_sidechain::rpc_client::send_post_request (this=0x56067e950170, body="{ \"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"loadwallet\", \"params\": [\"son-wallet\"] }", show_log=false) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/common/rpc_client.cpp:166
#11 0x000056067b349567 in graphene::peerplays_sidechain::rpc_client::send_post_request (this=0x56067e950170, method="loadwallet", params="[\"son-wallet\"]", show_log=false) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/common/rpc_client.cpp:121
#12 0x000056067ac4ab7a in graphene::peerplays_sidechain::bitcoin_rpc_client::loadwallet (this=0x56067e950170, filename="son-wallet") at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp:199
#13 0x000056067ac4f27f in graphene::peerplays_sidechain::sidechain_net_handler_bitcoin::sidechain_net_handler_bitcoin (this=0x56067e950ef0, _plugin=..., options=...) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp:365
#14 0x000056067ac2416f in graphene::peerplays_sidechain::sidechain_net_handler_factory::create_handler (this=0x7ffd83919118, sidechain=graphene::chain::sidechain_type::bitcoin, options=...) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/sidechain_net_handler_factory.cpp:17
#15 0x000056067abe8b05 in graphene::peerplays_sidechain::detail::peerplays_sidechain_plugin_impl::plugin_startup (this=0x56067e929440) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/peerplays_sidechain_plugin.cpp:300
#16 0x000056067abf1f47 in graphene::peerplays_sidechain::peerplays_sidechain_plugin::plugin_startup (this=0x56067e928ff0) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/peerplays_sidechain_plugin.cpp:864
#17 0x000056067a676d71 in graphene::app::application::startup_plugins (this=0x56067e8eb900) at /home/peerplays/src/peerplays/libraries/app/application.cpp:1015
#18 0x000056067a648143 in main (argc=4, argv=0x7ffd83919a18) at /home/peerplays/src/peerplays/programs/witness_node/main.cpp:159
(gdb) 

``` kiran@warpspeed:/home/peerplays$ sudo coredumpctl debug 39570 PID: 39570 (witness_node) UID: 0 (root) GID: 0 (root) Signal: 11 (SEGV) Timestamp: Tue 2022-09-27 23:32:49 IST (10min ago) Command Line: ./witness_node -d ./witness_node_data_dir --replay-blockchain Executable: /home/peerplays/src/peerplays/build/programs/witness_node/witness_node Control Group: /docker/3a0dbb10daf3b0d698a1d921f40c863a41a2a09870b00bf3d57cac7f5e545d20 Slice: -.slice Boot ID: c0582f1f1b6742b6b77cc45d9d90cc23 Machine ID: a388625228614d18b5373ad1be39a93f Hostname: warpspeed Storage: /var/lib/systemd/coredump/core.witness_node.0.c0582f1f1b6742b6b77cc45d9d90cc23.39570.1664301769000000000000.lz4 Message: Process 39570 (witness_node) of user 0 dumped core. Stack trace of thread 1: #0 0x00007f704fffc941 __GI_abort (libc.so.6 + 0x22941) #1 0x00007f70503d6911 n/a (libstdc++.so.6 + 0x9e911) #2 0x00007f70503e238c n/a (libstdc++.so.6 + 0xaa38c) #3 0x00007f70503e23f7 _ZSt9terminatev (libstdc++.so.6 + 0xaa3f7) #4 0x00007f70503e26a9 __cxa_throw (libstdc++.so.6 + 0xaa6a9) #5 0x000056067b35d09e n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x553809e) #6 0x000056067b34c871 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x5527871) #7 0x000056067b34c69a n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x552769a) #8 0x000056067b3679ea n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x55429ea) #9 0x000056067b361597 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x553c597) #10 0x000056067b34a63a n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x552563a) #11 0x000056067b349567 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x5524567) #12 0x000056067ac4ab7a n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4e25b7a) #13 0x000056067ac4f27f n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4e2a27f) #14 0x000056067ac2416f n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4dff16f) #15 0x000056067abe8b05 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4dc3b05) #16 0x000056067abf1f47 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4dccf47) #17 0x000056067a676d71 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4851d71) #18 0x000056067a648143 n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4823143) #19 0x00007f704fffe083 __libc_start_main (libc.so.6 + 0x24083) #20 0x000056067a646c3e n/a (/home/peerplays/src/peerplays/build/programs/witness_node/witness_node + 0x4821c3e) GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/peerplays/src/peerplays/build/programs/witness_node/witness_node... [New LWP 1] [New LWP 8] [New LWP 12] [New LWP 9] [New LWP 7] [New LWP 13] [New LWP 14] [New LWP 10] [New LWP 15] [New LWP 16] [New LWP 11] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `./witness_node -d ./witness_node_data_dir --replay-blockchain'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __GI_abort () at abort.c:107 107 abort.c: No such file or directory. [Current thread is 1 (Thread 0x7f704ef9ee40 (LWP 1))] (gdb) bt #0 __GI_abort () at abort.c:107 #1 0x00007f70503d6911 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #2 0x00007f70503e238c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #3 0x00007f70503e23f7 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007f70503e26a9 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x000056067b35d09e in boost::throw_exception<boost::system::system_error> (e=...) at /usr/include/boost/throw_exception.hpp:70 #6 0x000056067b34c871 in boost::asio::detail::do_throw_error (err=..., location=0x56067d081b4c "connect") at /usr/include/boost/asio/detail/impl/throw_error.ipp:38 #7 0x000056067b34c69a in boost::asio::detail::throw_error (err=..., location=0x56067d081b4c "connect") at /usr/include/boost/asio/detail/throw_error.hpp:42 #8 0x000056067b3679ea in boost::asio::connect<boost::asio::ip::tcp, boost::asio::executor, boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp> > (s=..., endpoints=...) at /usr/include/boost/asio/impl/connect.hpp:113 #9 0x000056067b361597 in boost::beast::basic_stream<boost::asio::ip::tcp, boost::asio::executor, boost::beast::unlimited_rate_policy>::connect<boost::asio::ip::basic_resolver_results<boost::asio::ip::tcp>, void> (this=0x7ffd83917ee0, endpoints=...) at /usr/include/boost/beast/core/basic_stream.hpp:579 #10 0x000056067b34a63a in graphene::peerplays_sidechain::rpc_client::send_post_request (this=0x56067e950170, body="{ \"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"loadwallet\", \"params\": [\"son-wallet\"] }", show_log=false) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/common/rpc_client.cpp:166 #11 0x000056067b349567 in graphene::peerplays_sidechain::rpc_client::send_post_request (this=0x56067e950170, method="loadwallet", params="[\"son-wallet\"]", show_log=false) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/common/rpc_client.cpp:121 #12 0x000056067ac4ab7a in graphene::peerplays_sidechain::bitcoin_rpc_client::loadwallet (this=0x56067e950170, filename="son-wallet") at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp:199 #13 0x000056067ac4f27f in graphene::peerplays_sidechain::sidechain_net_handler_bitcoin::sidechain_net_handler_bitcoin (this=0x56067e950ef0, _plugin=..., options=...) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp:365 #14 0x000056067ac2416f in graphene::peerplays_sidechain::sidechain_net_handler_factory::create_handler (this=0x7ffd83919118, sidechain=graphene::chain::sidechain_type::bitcoin, options=...) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/sidechain_net_handler_factory.cpp:17 #15 0x000056067abe8b05 in graphene::peerplays_sidechain::detail::peerplays_sidechain_plugin_impl::plugin_startup (this=0x56067e929440) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/peerplays_sidechain_plugin.cpp:300 #16 0x000056067abf1f47 in graphene::peerplays_sidechain::peerplays_sidechain_plugin::plugin_startup (this=0x56067e928ff0) at /home/peerplays/src/peerplays/libraries/plugins/peerplays_sidechain/peerplays_sidechain_plugin.cpp:864 #17 0x000056067a676d71 in graphene::app::application::startup_plugins (this=0x56067e8eb900) at /home/peerplays/src/peerplays/libraries/app/application.cpp:1015 #18 0x000056067a648143 in main (argc=4, argv=0x7ffd83919a18) at /home/peerplays/src/peerplays/programs/witness_node/main.cpp:159 (gdb) ```
vampik commented 2022-10-03 09:24:36 +00:00 (Migrated from gitlab.com)

@prandnum Kiran, are you sure that container with Bitcoin is up and working?

This exception said that we can send post request for bitcoin node.

@prandnum Kiran, are you sure that container with Bitcoin is up and working? This exception said that we can send `post` request for bitcoin node.
prandnum commented 2022-10-03 12:10:40 +00:00 (Migrated from gitlab.com)

@vampik all containers except witnesses were working without any issue, there were lot of errors seen but they were only in witness logs. I can rerun the test and update you today

@vampik all containers except witnesses were working without any issue, there were lot of errors seen but they were only in witness logs. I can rerun the test and update you today
prandnum commented 2022-10-05 15:35:21 +00:00 (Migrated from gitlab.com)

@vampik Retested with latest develop branch and it works without issue(ethereum sidechain disabled for peerplays01 and peerplays11). Hence closing it.

root@30df9cc89086:~/src/peerplays# git log -2
commit 0856e898bb2d0fbe60f9261332049088881bc01f (HEAD -> develop, origin/develop)
Merge: 1b1df250 4db9f3a1
Author: serkixenos <serki.xenos@gmail.com>
Date:   Mon Oct 3 17:34:01 2022 +0000

    Merge branch 'update-cli-wallet-docs' into 'develop'
    
    Update cli wallet docs
    
    See merge request PBSA/peerplays!162

commit 4db9f3a15bfb25ac823a73b50d23dd2e381d87e0
Author: serkixenos <serki.xenos@gmail.com>
Date:   Mon Oct 3 17:34:01 2022 +0000

    Update cli wallet docs
root@30df9cc89086:~/src/peerplays# 
kiran@warpspeed:~/PBSA/455/peerplays-utils/peerplays-qa-environment/peerplays$ docker ps -a
CONTAINER ID   IMAGE                    COMMAND                  CREATED       STATUS                   PORTS                                                                                                                                                   NAMES
d7186a73b076   peerplays04              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8093->8090/tcp, :::8093->8090/tcp, 0.0.0.0:9780->9777/tcp, :::9780->9777/tcp                                                            peerplays-qa-environment_peerplays04_1
cef28ecdae00   peerplays11              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8100->8090/tcp, :::8100->8090/tcp, 0.0.0.0:9787->9777/tcp, :::9787->9777/tcp                                                            peerplays-qa-environment_peerplays11_1
d9181bd89b07   peerplays07              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8096->8090/tcp, :::8096->8090/tcp, 0.0.0.0:9783->9777/tcp, :::9783->9777/tcp                                                            peerplays-qa-environment_peerplays07_1
b285af249ca1   peerplays14              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8103->8090/tcp, :::8103->8090/tcp, 0.0.0.0:9790->9777/tcp, :::9790->9777/tcp                                                            peerplays-qa-environment_peerplays14_1
6d1b2471f2b7   peerplays13              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8102->8090/tcp, :::8102->8090/tcp, 0.0.0.0:9789->9777/tcp, :::9789->9777/tcp                                                            peerplays-qa-environment_peerplays13_1
5ee76c56e345   peerplays02              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8091->8090/tcp, :::8091->8090/tcp, 0.0.0.0:9778->9777/tcp, :::9778->9777/tcp                                                            peerplays-qa-environment_peerplays02_1
4de91be6fe37   peerplays05              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8094->8090/tcp, :::8094->8090/tcp, 0.0.0.0:9781->9777/tcp, :::9781->9777/tcp                                                            peerplays-qa-environment_peerplays05_1
30df9cc89086   peerplays01              "./witness_node -d .…"   3 hours ago   Up 3 hours               0.0.0.0:8090->8090/tcp, :::8090->8090/tcp, 22/tcp, 0.0.0.0:9777->9777/tcp, :::9777->9777/tcp                                                            peerplays-qa-environment_peerplays01_1
b40a02079296   peerplays10              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8099->8090/tcp, :::8099->8090/tcp, 0.0.0.0:9786->9777/tcp, :::9786->9777/tcp                                                            peerplays-qa-environment_peerplays10_1
a90001008d71   peerplays08              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8097->8090/tcp, :::8097->8090/tcp, 0.0.0.0:9784->9777/tcp, :::9784->9777/tcp                                                            peerplays-qa-environment_peerplays08_1
9792b40a4777   peerplays15              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8104->8090/tcp, :::8104->8090/tcp, 0.0.0.0:9791->9777/tcp, :::9791->9777/tcp                                                            peerplays-qa-environment_peerplays15_1
37fc2cdea90e   peerplays06              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8095->8090/tcp, :::8095->8090/tcp, 0.0.0.0:9782->9777/tcp, :::9782->9777/tcp                                                            peerplays-qa-environment_peerplays06_1
676abf3652aa   peerplays03              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8092->8090/tcp, :::8092->8090/tcp, 0.0.0.0:9779->9777/tcp, :::9779->9777/tcp                                                            peerplays-qa-environment_peerplays03_1
4cdd3c6c2f7b   peerplays16              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8105->8090/tcp, :::8105->8090/tcp, 0.0.0.0:9792->9777/tcp, :::9792->9777/tcp                                                            peerplays-qa-environment_peerplays16_1
9921e973e3f1   peerplays09              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8098->8090/tcp, :::8098->8090/tcp, 0.0.0.0:9785->9777/tcp, :::9785->9777/tcp                                                            peerplays-qa-environment_peerplays09_1
9bad7e122c5a   peerplays12              "./witness_node -d .…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:8101->8090/tcp, :::8101->8090/tcp, 0.0.0.0:9788->9777/tcp, :::9788->9777/tcp                                                            peerplays-qa-environment_peerplays12_1
a802cb1fafb0   peerplays-base           "bash"                   3 hours ago   Exited (0) 3 hours ago                                                                                                                                                           peerplays-qa-environment_peerplays-base_1
dc3626dc5583   hive-for-peerplays       "./hived -d ./hived_…"   3 hours ago   Up 3 hours               22/tcp, 0.0.0.0:28090-28091->28090-28091/tcp, :::28090-28091->28090-28091/tcp                                                                           peerplays-qa-environment_hive-for-peerplays_1
9d5d2496dd94   ethereum-for-peerplays   "./geth --config ./n…"   3 hours ago   Up 3 hours               0.0.0.0:6060->6060/tcp, :::6060->6060/tcp, 22/tcp, 0.0.0.0:8545->8545/tcp, :::8545->8545/tcp, 8546/tcp, 0.0.0.0:30303->30303/tcp, :::30303->30303/tcp   peerplays-qa-environment_ethereum-for-peerplays_1
91fd5bc9505f   bitcoin-for-peerplays    "./bitcoind -datadir…"   3 hours ago   Up 3 hours               0.0.0.0:8332->8332/tcp, :::8332->8332/tcp, 0.0.0.0:11111->11111/tcp, :::11111->11111/tcp, 22/tcp, 0.0.0.0:18444->18444/tcp, :::18444->18444/tcp         peerplays-qa-environment_bitcoin-for-peerplays_1
93173dc0c980   ubuntu-for-peerplays     "bash"                   3 hours ago   Exited (0) 3 hours ago                                                                                                                                                           peerplays-qa-environment_ubuntu-for-peerplays_1
kiran@warpspeed:~/PBSA/455/peerplays-utils/peerplays-qa-environment/peerplays$ 
@vampik Retested with latest develop branch and it works without issue(ethereum sidechain disabled for peerplays01 and peerplays11). Hence closing it. ``` root@30df9cc89086:~/src/peerplays# git log -2 commit 0856e898bb2d0fbe60f9261332049088881bc01f (HEAD -> develop, origin/develop) Merge: 1b1df250 4db9f3a1 Author: serkixenos <serki.xenos@gmail.com> Date: Mon Oct 3 17:34:01 2022 +0000 Merge branch 'update-cli-wallet-docs' into 'develop' Update cli wallet docs See merge request PBSA/peerplays!162 commit 4db9f3a15bfb25ac823a73b50d23dd2e381d87e0 Author: serkixenos <serki.xenos@gmail.com> Date: Mon Oct 3 17:34:01 2022 +0000 Update cli wallet docs root@30df9cc89086:~/src/peerplays# ``` ``` kiran@warpspeed:~/PBSA/455/peerplays-utils/peerplays-qa-environment/peerplays$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d7186a73b076 peerplays04 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8093->8090/tcp, :::8093->8090/tcp, 0.0.0.0:9780->9777/tcp, :::9780->9777/tcp peerplays-qa-environment_peerplays04_1 cef28ecdae00 peerplays11 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8100->8090/tcp, :::8100->8090/tcp, 0.0.0.0:9787->9777/tcp, :::9787->9777/tcp peerplays-qa-environment_peerplays11_1 d9181bd89b07 peerplays07 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8096->8090/tcp, :::8096->8090/tcp, 0.0.0.0:9783->9777/tcp, :::9783->9777/tcp peerplays-qa-environment_peerplays07_1 b285af249ca1 peerplays14 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8103->8090/tcp, :::8103->8090/tcp, 0.0.0.0:9790->9777/tcp, :::9790->9777/tcp peerplays-qa-environment_peerplays14_1 6d1b2471f2b7 peerplays13 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8102->8090/tcp, :::8102->8090/tcp, 0.0.0.0:9789->9777/tcp, :::9789->9777/tcp peerplays-qa-environment_peerplays13_1 5ee76c56e345 peerplays02 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8091->8090/tcp, :::8091->8090/tcp, 0.0.0.0:9778->9777/tcp, :::9778->9777/tcp peerplays-qa-environment_peerplays02_1 4de91be6fe37 peerplays05 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8094->8090/tcp, :::8094->8090/tcp, 0.0.0.0:9781->9777/tcp, :::9781->9777/tcp peerplays-qa-environment_peerplays05_1 30df9cc89086 peerplays01 "./witness_node -d .…" 3 hours ago Up 3 hours 0.0.0.0:8090->8090/tcp, :::8090->8090/tcp, 22/tcp, 0.0.0.0:9777->9777/tcp, :::9777->9777/tcp peerplays-qa-environment_peerplays01_1 b40a02079296 peerplays10 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8099->8090/tcp, :::8099->8090/tcp, 0.0.0.0:9786->9777/tcp, :::9786->9777/tcp peerplays-qa-environment_peerplays10_1 a90001008d71 peerplays08 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8097->8090/tcp, :::8097->8090/tcp, 0.0.0.0:9784->9777/tcp, :::9784->9777/tcp peerplays-qa-environment_peerplays08_1 9792b40a4777 peerplays15 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8104->8090/tcp, :::8104->8090/tcp, 0.0.0.0:9791->9777/tcp, :::9791->9777/tcp peerplays-qa-environment_peerplays15_1 37fc2cdea90e peerplays06 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8095->8090/tcp, :::8095->8090/tcp, 0.0.0.0:9782->9777/tcp, :::9782->9777/tcp peerplays-qa-environment_peerplays06_1 676abf3652aa peerplays03 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8092->8090/tcp, :::8092->8090/tcp, 0.0.0.0:9779->9777/tcp, :::9779->9777/tcp peerplays-qa-environment_peerplays03_1 4cdd3c6c2f7b peerplays16 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8105->8090/tcp, :::8105->8090/tcp, 0.0.0.0:9792->9777/tcp, :::9792->9777/tcp peerplays-qa-environment_peerplays16_1 9921e973e3f1 peerplays09 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8098->8090/tcp, :::8098->8090/tcp, 0.0.0.0:9785->9777/tcp, :::9785->9777/tcp peerplays-qa-environment_peerplays09_1 9bad7e122c5a peerplays12 "./witness_node -d .…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:8101->8090/tcp, :::8101->8090/tcp, 0.0.0.0:9788->9777/tcp, :::9788->9777/tcp peerplays-qa-environment_peerplays12_1 a802cb1fafb0 peerplays-base "bash" 3 hours ago Exited (0) 3 hours ago peerplays-qa-environment_peerplays-base_1 dc3626dc5583 hive-for-peerplays "./hived -d ./hived_…" 3 hours ago Up 3 hours 22/tcp, 0.0.0.0:28090-28091->28090-28091/tcp, :::28090-28091->28090-28091/tcp peerplays-qa-environment_hive-for-peerplays_1 9d5d2496dd94 ethereum-for-peerplays "./geth --config ./n…" 3 hours ago Up 3 hours 0.0.0.0:6060->6060/tcp, :::6060->6060/tcp, 22/tcp, 0.0.0.0:8545->8545/tcp, :::8545->8545/tcp, 8546/tcp, 0.0.0.0:30303->30303/tcp, :::30303->30303/tcp peerplays-qa-environment_ethereum-for-peerplays_1 91fd5bc9505f bitcoin-for-peerplays "./bitcoind -datadir…" 3 hours ago Up 3 hours 0.0.0.0:8332->8332/tcp, :::8332->8332/tcp, 0.0.0.0:11111->11111/tcp, :::11111->11111/tcp, 22/tcp, 0.0.0.0:18444->18444/tcp, :::18444->18444/tcp peerplays-qa-environment_bitcoin-for-peerplays_1 93173dc0c980 ubuntu-for-peerplays "bash" 3 hours ago Exited (0) 3 hours ago peerplays-qa-environment_ubuntu-for-peerplays_1 kiran@warpspeed:~/PBSA/455/peerplays-utils/peerplays-qa-environment/peerplays$ ```
vampik (Migrated from gitlab.com) closed this issue 2022-10-06 05:41:18 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#455
No description provided.