availproject / avail

774 stars 538 forks source link

bug: WASM backtrace #361

Closed aboutmydreams closed 9 months ago

aboutmydreams commented 10 months ago

Bug Report

availj/avail:v1.8.0.5 happens WASM backtrace

Description

💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWMR9ZoAVWJv6ahraVzUCfacNbFKk7ABoWxVL3fJ3XXGDw): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"

some problem happened in run in full node

Steps to Reproduce

sudo docker run -v $(pwd)/state:/da/state:rw -p 30333:30333 -p 9615:9615 -p 9944:9944 -d --restart unless-stopped availj/avail:v1.8.0.5 --chain goldberg --validator --name "DivenNode" -d /da/state

Expected Behavior

only show succuss

Actual Behavior

2024-01-08 15:35:19 2024-01-08 07:35:19 Avail Node
2024-01-08 15:35:19 2024-01-08 07:35:19 ✌️ version 1.8.4-ebfdac995db
2024-01-08 15:35:19 2024-01-08 07:35:19 ❤️ by Anonymous, 2017-2024
2024-01-08 15:35:19 2024-01-08 07:35:19 📋 Chain specification: Avail Goldberg Testnet
2024-01-08 15:35:19 2024-01-08 07:35:19 🏷 Node name: DivenNode
2024-01-08 15:35:19 2024-01-08 07:35:19 👤 Role: AUTHORITY
2024-01-08 15:35:19 2024-01-08 07:35:19 💾 Database: RocksDb at /da/state/chains/avail_goldberg_testnet/db/full
2024-01-08 15:35:23 2024-01-08 07:35:23 You're running on a system with a broken madvise(MADV_DONTNEED) implementation. This will result in lower performance.
2024-01-08 15:35:26 2024-01-08 07:35:26 👶 Creating empty BABE epoch changes on what appears to be first startup.
2024-01-08 15:35:26 2024-01-08 07:35:26 🏷 Local node identity is: 12D3KooWBv91KTShg6TNgEAfjSUHUQBtLu7UceySAxNpwahfeBUo
2024-01-08 15:35:26 2024-01-08 07:35:26 Prometheus metrics extended with avail metrics
2024-01-08 15:35:26 2024-01-08 07:35:26 💻 Operating system: linux
2024-01-08 15:35:26 2024-01-08 07:35:26 💻 CPU architecture: x86_64
2024-01-08 15:35:26 2024-01-08 07:35:26 💻 Target environment: gnu
2024-01-08 15:35:26 2024-01-08 07:35:26 💻 Memory: 7841MB
2024-01-08 15:35:26 2024-01-08 07:35:26 💻 Kernel: 6.4.16-linuxkit
2024-01-08 15:35:26 2024-01-08 07:35:26 💻 Linux distribution: Debian GNU/Linux 12 (bookworm)
2024-01-08 15:35:26 2024-01-08 07:35:26 💻 Virtual machine: no
2024-01-08 15:35:26 2024-01-08 07:35:26 📦 Highest known block at #0
2024-01-08 15:35:26 2024-01-08 07:35:26 〽️ Prometheus exporter started at 127.0.0.1:9615
2024-01-08 15:35:26 2024-01-08 07:35:26 Running JSON-RPC server: addr=127.0.0.1:9944, allowed origins=["http://localhost:", "http://127.0.0.1:", "https://localhost:", "https://127.0.0.1:", "https://polkadot.js.org"]
2024-01-08 15:35:27 2024-01-08 07:35:27 🏁 CPU score: 212.71 MiBs
2024-01-08 15:35:27 2024-01-08 07:35:27 🏁 Memory score: 5.29 GiBs
2024-01-08 15:35:27 2024-01-08 07:35:27 🏁 Disk score (seq. writes): 1.82 GiBs
2024-01-08 15:35:27 2024-01-08 07:35:27 🏁 Disk score (rand. writes): 25.94 MiBs
2024-01-08 15:35:27 2024-01-08 07:35:27 👶 Starting BABE Authorship worker
2024-01-08 15:35:28 2024-01-08 07:35:28 🔍 Discovered new external address for our node: /ip4/212.87.194.26/tcp/30333/p2p/12D3KooWBv91KTShg6TNgEAfjSUHUQBtLu7UceySAxNpwahfeBUo
2024-01-08 15:35:29 2024-01-08 07:35:29 Failed to publish external addresses: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch 2024-01-08 15:35:29 WASM backtrace: 2024-01-08 15:35:29 error while executing at wasm backtrace: 2024-01-08 15:35:29 0: 0x129d20 - !AuthorityDiscoveryApi_authorities
2024-01-08 15:35:29 2024-01-08 07:35:29 Failed to request addresses of authorities: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch 2024-01-08 15:35:29 WASM backtrace: 2024-01-08 15:35:29 error while executing at wasm backtrace: 2024-01-08 15:35:29 0: 0x129d20 - !AuthorityDiscoveryApi_authorities
2024-01-08 15:35:30 2024-01-08 07:35:30 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWMR9ZoAVWJv6ahraVzUCfacNbFKk7ABoWxVL3fJ3XXGDw): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:30 2024-01-08 07:35:30 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWCVqFvrP3UJ1S338Gb8SHvEQ1xpENLb45Dbynk4hu1XGN): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:32 2024-01-08 07:35:32 ⚙️ Syncing, target=#263387 (7 peers), best: #0 (0x6f09…a7ae), finalized #0 (0x6f09…a7ae), ⬇ 158.2kiB/s ⬆ 12.1kiB/s
2024-01-08 15:35:32 2024-01-08 07:35:32 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWMuyLE3aPQ82HTWuPUCjiP764ebQrZvGUzxrYGuXWZJZV): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:33 2024-01-08 07:35:33 Failed to publish external addresses: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch 2024-01-08 15:35:33 WASM backtrace: 2024-01-08 15:35:33 error while executing at wasm backtrace: 2024-01-08 15:35:33 0: 0x129d20 - !AuthorityDiscoveryApi_authorities
2024-01-08 15:35:33 2024-01-08 07:35:33 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWGB5G2YotF74zVyudJQBWs84DE6vmUNweoASAdGYkn8k5): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:33 2024-01-08 07:35:33 Failed to request addresses of authorities: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch 2024-01-08 15:35:33 WASM backtrace: 2024-01-08 15:35:33 error while executing at wasm backtrace: 2024-01-08 15:35:33 0: 0x129d20 - !AuthorityDiscoveryApi_authorities
2024-01-08 15:35:33 2024-01-08 07:35:33 🔍 Discovered new external address for our node: /ip4/120.227.48.157/tcp/30333/p2p/12D3KooWBv91KTShg6TNgEAfjSUHUQBtLu7UceySAxNpwahfeBUo
2024-01-08 15:35:33 2024-01-08 07:35:33 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWBnepGhUmCbAyRX4J9NGLCVa9q1iQne8xCPFxfSTqp4Z5): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:35 2024-01-08 07:35:35 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWDrrGMq9AMYwwdesSfJ95vUgqwUQnPwQ51ZGPcmYXpzA5): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:35 2024-01-08 07:35:35 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWPfyTptrbQCErpbSWX2cHcA2VgURqXKupHFKTZNUtVPNi): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:37 2024-01-08 07:35:37 ⚙️ Syncing 0.0 bps, target=#263387 (8 peers), best: #0 (0x6f09…a7ae), finalized #0 (0x6f09…a7ae), ⬇ 347.1kiB/s ⬆ 20.1kiB/s
2024-01-08 15:35:37 2024-01-08 07:35:37 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWJMfFsNg3m9b2JZcDR6cu4WzveE3neLPRNdMT47ooffCm): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:38 2024-01-08 07:35:38 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWKsypmpUq1RGRneTHSU2kCCmethF7nLW2rHf8ie3pUEC1): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:38 2024-01-08 07:35:38 💔 Error importing block 0x300e6395645f9a97c60266e45a8c5be73faa0b970aae3e79f1e175c1bd72c1a2: block has an unknown parent
2024-01-08 15:35:40 2024-01-08 07:35:40 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWKGg7gDz2UHh6kHV6VhRJa6HuTc2ng42d8WWLP2ND7paA): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:41 2024-01-08 07:35:41 Failed to publish external addresses: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch 2024-01-08 15:35:41 WASM backtrace: 2024-01-08 15:35:41 error while executing at wasm backtrace: 2024-01-08 15:35:41 0: 0x129d20 - !AuthorityDiscoveryApi_authorities
2024-01-08 15:35:41 2024-01-08 07:35:41 Failed to request addresses of authorities: Failed calling into the Substrate runtime: Error at calling runtime api: Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch 2024-01-08 15:35:41 WASM backtrace: 2024-01-08 15:35:41 error while executing at wasm backtrace: 2024-01-08 15:35:41 0: 0x129d20 - !AuthorityDiscoveryApi_authorities
2024-01-08 15:35:41 2024-01-08 07:35:41 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWETjdK4fbKphVWHi6i82XQDEwdA1CN5yWPcaNYsEyNLPx): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:41 2024-01-08 07:35:41 💔 Error importing block 0x300e6395645f9a97c60266e45a8c5be73faa0b970aae3e79f1e175c1bd72c1a2: block has an unknown parent
2024-01-08 15:35:42 2024-01-08 07:35:42 ⚙️ Syncing 0.0 bps, target=#263388 (7 peers), best: #0 (0x6f09…a7ae), finalized #0 (0x6f09…a7ae), ⬇ 362.2kiB/s ⬆ 20.8kiB/s
2024-01-08 15:35:42 2024-01-08 07:35:42 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWPJqsMUgVYWRvEbDziaiNA66numQYPLGeYGgwHUj2VZZ6): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"
2024-01-08 15:35:42 2024-01-08 07:35:42 💔 Error importing block 0x535656b0b5f5195ba79a088c3c157826caa840875e010bfc8ce87196c8ecb9f7: block has an unknown parent
2024-01-08 15:35:44 2024-01-08 07:35:44 💔 Verification failed for block 0xd9e6fa8a039a40f7764d15a38eed7a346fcae71b61a5d15943a1ea18811c239a received from (12D3KooWJqdiZivvrKBBAPuwcUSey32tVw9jpwawQoyfAyFCNbZe): "Execution failed: Execution aborted due to trap: wasm trap: indirect call type mismatch\nWASM backtrace:\nerror while executing at wasm backtrace:\n 0: 0x12857a - !BlockBuilder_check_inherents"

Additional Information

markopoloparadox commented 10 months ago

Hello,

To roll out docker as a potential issue, could you run our prebuilt binary on your machine and see if you are getting the same error? Our prebuilt binaries can be found here: https://github.com/availproject/avail/releases/tag/v1.8.0.4

Leouarz commented 9 months ago

Hello, closing as stalled, in case use the latest binary that will come in few days.