Double free or corruption (fasttop) in witness node #345

Closed
opened 2022-04-15 08:53:21 +00:00 by vampik · 10 comments
vampik commented 2022-04-15 08:53:21 +00:00 (Migrated from gitlab.com)

When init script of bitcoin was executed the peerplays container restarted, following message was seen in logs "{"log":"double free or corruption (fasttop)\n","stream":"stderr","time":"2022-04-08T17:37:29.800023595Z"} "

2247001ms th_a       witness.cpp:191               block_production_loo ] Generated block #14759 with timestamp 2022-04-08T17:37:27 at time 2022-04-08T17:37:27
double free or corruption (fasttop)
qa@PBSA-Dev:~/07042022/peerplays-utils/peerplays-qa-environment$


qa@PBSA-Dev:~/07042022/peerplays-utils/peerplays-qa-environment$ sudo docker ps -a
CONTAINER ID   IMAGE                   COMMAND                  CREATED        STATUS                    PORTS                                                                                                                                             NAMES
7c6f29c6e641   peerplays-all-in-one    "./witness_node -d .…"   12 hours ago   Up 19 seconds             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_peerplays-all-in-one_1
0f307c4b77c6   peerplays-base          "bash"                   12 hours ago   Exited (0) 12 hours ago                                                                                                                                                     peerplays-qa-environment_peerplays-base_1
bf9042518c94   875cadeaf455            "/bin/sh -c 'cd src/…"   23 hours ago   Exited (2) 22 hours ago                                                                                                                                                     sleepy_northcutt
1b99ae591735   hive-for-peerplays      "./hived -d ./hived_…"   23 hours ago   Up 23 hours               22/tcp, 0.0.0.0:28090-28091->28090-28091/tcp, :::28090-28091->28090-28091/tcp                                                                     peerplays-qa-environment_hive-for-peerplays_1
a6c2ad2b21f7   ubuntu-for-peerplays    "bash"                   23 hours ago   Exited (0) 12 hours ago                                                                                                                                                     peerplays-qa-environment_ubuntu-for-peerplays_1
45ae97dc9d9c   bitcoin-for-peerplays   "./bitcoind -datadir…"   23 hours ago   Up 23 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
qa@PBSA-Dev:~/07042022/peerplays-utils/peerplays-qa-environment$

Steps to reproduce:

  1. Run fresh container for peerplays-qa-environment_bitcoin-for-peerplays_1
  2. Run witness_node with config file from peerplays-all-in-one container
  3. Execute ./init-network.sh from bitcoin container
When init script of bitcoin was executed the peerplays container restarted, following message was seen in logs "{"log":"double free or corruption (fasttop)\\n","stream":"stderr","time":"2022-04-08T17:37:29.800023595Z"} " ``` 2247001ms th_a witness.cpp:191 block_production_loo ] Generated block #14759 with timestamp 2022-04-08T17:37:27 at time 2022-04-08T17:37:27 double free or corruption (fasttop) qa@PBSA-Dev:~/07042022/peerplays-utils/peerplays-qa-environment$ qa@PBSA-Dev:~/07042022/peerplays-utils/peerplays-qa-environment$ sudo docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 7c6f29c6e641 peerplays-all-in-one "./witness_node -d .…" 12 hours ago Up 19 seconds 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_peerplays-all-in-one_1 0f307c4b77c6 peerplays-base "bash" 12 hours ago Exited (0) 12 hours ago peerplays-qa-environment_peerplays-base_1 bf9042518c94 875cadeaf455 "/bin/sh -c 'cd src/…" 23 hours ago Exited (2) 22 hours ago sleepy_northcutt 1b99ae591735 hive-for-peerplays "./hived -d ./hived_…" 23 hours ago Up 23 hours 22/tcp, 0.0.0.0:28090-28091->28090-28091/tcp, :::28090-28091->28090-28091/tcp peerplays-qa-environment_hive-for-peerplays_1 a6c2ad2b21f7 ubuntu-for-peerplays "bash" 23 hours ago Exited (0) 12 hours ago peerplays-qa-environment_ubuntu-for-peerplays_1 45ae97dc9d9c bitcoin-for-peerplays "./bitcoind -datadir…" 23 hours ago Up 23 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 qa@PBSA-Dev:~/07042022/peerplays-utils/peerplays-qa-environment$ ``` **Steps to reproduce:** 1. Run fresh container for peerplays-qa-environment_bitcoin-for-peerplays_1 2. Run `witness_node` with config file from peerplays-all-in-one container 3. Execute `./init-network.sh` from bitcoin container
vampik commented 2022-04-15 08:53:22 +00:00 (Migrated from gitlab.com)

assigned to @vampik

assigned to @vampik
vampik commented 2022-04-15 08:54:41 +00:00 (Migrated from gitlab.com)

mentioned in issue #336

mentioned in issue #336
vampik commented 2022-04-18 05:37:45 +00:00 (Migrated from gitlab.com)

mentioned in commit 5a5b610e31420acab65dfb195db0bd0fd1518f28

mentioned in commit 5a5b610e31420acab65dfb195db0bd0fd1518f28
vampik commented 2022-04-18 06:03:36 +00:00 (Migrated from gitlab.com)

mentioned in merge request !101

mentioned in merge request !101
vampik commented 2022-04-18 06:04:42 +00:00 (Migrated from gitlab.com)
Related issue: https://gitlab.com/PBSA/peerplays/-/issues/336
vampik commented 2022-04-26 13:09:44 +00:00 (Migrated from gitlab.com)

mentioned in commit 13c782ccd6

mentioned in commit 13c782ccd675e3bc2d90182c6d7452811545d88e
serkixenos commented 2022-04-26 13:09:44 +00:00 (Migrated from gitlab.com)

mentioned in commit 0f0cf62b20

mentioned in commit 0f0cf62b201bc4a88a854d78a7c3393e554b629f
serkixenos commented 2022-04-26 13:10:46 +00:00 (Migrated from gitlab.com)

assigned to @prandnum

assigned to @prandnum
prandnum commented 2022-04-27 13:24:10 +00:00 (Migrated from gitlab.com)

witness nodes does not crash when bitcoin init script is run.

peerplays.log

bitcoin.log

witness nodes does not crash when bitcoin init script is run. [peerplays.log](/uploads/6d30f462b461c56d229775060396ff6f/peerplays.log) [bitcoin.log](/uploads/bba05efed09666d03c78591392835b52/bitcoin.log)
prandnum (Migrated from gitlab.com) closed this issue 2022-04-27 13:24:11 +00:00
vampik commented 2022-06-15 03:43:56 +00:00 (Migrated from gitlab.com)

mentioned in commit c102bef768

mentioned in commit c102bef768b4abaef4b7acf1d475fffcaafdfd77
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#345
No description provided.