Hi,
I got the following error
runtime error: invalid memory address or nil pointer dereference
when I use ipfs-cluster-service version 1.0.4 the version 1.0.2 is working
Notes:
- I am using Manjaro x86_64
- Others nodes are Arch Linux x86_64 with 1.0.4 it works
- Another node Manjaro on aarch64 with 1.0.4 it works
- I reinstall and delete local data it not solve the issue
- go version go1.19.4 linux/amd64
- The kubo version is 0.17.0 the problem was present with 0.16.0 and maybe with 0.14.0
I don’t find the issue I add the log with debug level.
Any advice ?
Thanks
2022-12-21T11:10:56.842+0100 INFO cluster ipfs-cluster@v1.0.4/cluster.go:764 ** IPFS Cluster is READY **
2022-12-21T11:10:56.842+0100 DEBUG ipfshttp ipfshttp/ipfshttp.go:1229 posting /repo/stat?size-only=true
2022-12-21T11:10:56.842+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 publish metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'pinqueue' - '0' - '2022-12-21 11:11:26.842120117 +0100 CET'
2022-12-21T11:10:56.842+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 publish metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'tag:group' - 'default' - '2022-12-21 11:11:26.842195652 +0100 CET'
2022-12-21T11:10:56.842+0100 DEBUG cluster ipfs-cluster@v1.0.4/cluster.go:272 auto-triggering RecoverAllLocal()
2022-12-21T11:10:56.842+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 received metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'pinqueue' - '0' - '2022-12-21 11:11:26.842120117 +0100 CET'
2022-12-21T11:10:56.842+0100 DEBUG ipfshttp ipfshttp/ipfshttp.go:1229 posting /id
2022-12-21T11:10:56.842+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 logged metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'pinqueue' - '0' - '2022-12-21 11:11:26.842120117 +0100 CET'
2022-12-21T11:10:56.842+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 received metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'tag:group' - 'default' - '2022-12-21 11:11:26.842195652 +0100 CET'
2022-12-21T11:10:56.842+0100 DEBUG ipfshttp ipfshttp/ipfshttp.go:1229 posting /pin/ls?stream=true&type=recursive
2022-12-21T11:10:56.842+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 logged metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'tag:group' - 'default' - '2022-12-21 11:11:26.842195652 +0100 CET'
2022-12-21T11:10:56.842+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 publish metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'freespace' - '97747321676' - '2022-12-21 11:11:26.842411854 +0100 CET'
2022-12-21T11:10:56.842+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 received metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'freespace' - '97747321676' - '2022-12-21 11:11:26.842411854 +0100 CET'
2022-12-21T11:10:56.842+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 logged metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'freespace' - '97747321676' - '2022-12-21 11:11:26.842411854 +0100 CET'
2022-12-21T11:10:56.938+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 publish metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'ping' - '{"peer_name":"msi-leopard","ipfs_id":"12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","ipfs_addresses":["/ip4/107.151.148.62/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip4/85.214.133.215/tcp/4001/p2p/12D3KooWCWLb8VruBQL3qk6LHhPvHB8g6ferzBgwAhzPnrjWj3mU/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip4/85.214.133.215/udp/4001/quic/p2p/12D3KooWCWLb8VruBQL3qk6LHhPvHB8g6ferzBgwAhzPnrjWj3mU/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/2002:6b97:943e::6b97:943e/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/2002:6b97:943f::6b97:943f/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/2002:6b97:943f::6b97:943f/udp/4001/quic/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/64:ff9b::55d6:85d7/udp/4001/quic/p2p/12D3KooWCWLb8VruBQL3qk6LHhPvHB8g6ferzBgwAhzPnrjWj3mU/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/64:ff9b::6b97:943e/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7"]}' - '2022-12-21 11:11:26.938331827 +0100 CET'
2022-12-21T11:10:56.938+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 received metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'ping' - '{"peer_name":"msi-leopard","ipfs_id":"12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","ipfs_addresses":["/ip4/107.151.148.62/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip4/85.214.133.215/tcp/4001/p2p/12D3KooWCWLb8VruBQL3qk6LHhPvHB8g6ferzBgwAhzPnrjWj3mU/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip4/85.214.133.215/udp/4001/quic/p2p/12D3KooWCWLb8VruBQL3qk6LHhPvHB8g6ferzBgwAhzPnrjWj3mU/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/2002:6b97:943e::6b97:943e/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/2002:6b97:943f::6b97:943f/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/2002:6b97:943f::6b97:943f/udp/4001/quic/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/64:ff9b::55d6:85d7/udp/4001/quic/p2p/12D3KooWCWLb8VruBQL3qk6LHhPvHB8g6ferzBgwAhzPnrjWj3mU/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/64:ff9b::6b97:943e/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7"]}' - '2022-12-21 11:11:26.938331827 +0100 CET'
2022-12-21T11:10:56.938+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 logged metric: '12D3KooWQFJhJrUGRqgCQrDuqnB5e9r3n46MN9jLyCkWH9ejzsC5' - 'ping' - '{"peer_name":"msi-leopard","ipfs_id":"12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","ipfs_addresses":["/ip4/107.151.148.62/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip4/85.214.133.215/tcp/4001/p2p/12D3KooWCWLb8VruBQL3qk6LHhPvHB8g6ferzBgwAhzPnrjWj3mU/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip4/85.214.133.215/udp/4001/quic/p2p/12D3KooWCWLb8VruBQL3qk6LHhPvHB8g6ferzBgwAhzPnrjWj3mU/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/2002:6b97:943e::6b97:943e/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/2002:6b97:943f::6b97:943f/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/2002:6b97:943f::6b97:943f/udp/4001/quic/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/64:ff9b::55d6:85d7/udp/4001/quic/p2p/12D3KooWCWLb8VruBQL3qk6LHhPvHB8g6ferzBgwAhzPnrjWj3mU/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7","/ip6/64:ff9b::6b97:943e/tcp/4001/p2p/12D3KooWAFou189FGphJbmvQXm7zZ9DrsAKcF3aBBMd7LE34m7Yf/p2p-circuit/p2p/12D3KooWENVqitoFmiZDXcr13QidgPd9rYPd7nPip3soTNFQtYS7"]}' - '2022-12-21 11:11:26.938331827 +0100 CET'
2022-12-21T11:11:05.275+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 received metric: '12D3KooWSKd76a6B8hVQ4sq2DgqV6h4LaSTzuRUdfpdTejJr5W2P' - 'ping' - '{"peer_name":"vmi561934.contaboserver.net","ipfs_id":"12D3KooWDvL84Q46aZWzW3mvu4m29okrVczBTa9bx5vrTi54v8tf","ipfs_addresses":["/ip4/161.97.163.208/tcp/4001/p2p/12D3KooWDvL84Q46aZWzW3mvu4m29okrVczBTa9bx5vrTi54v8tf","/ip4/161.97.163.208/udp/4001/quic/p2p/12D3KooWDvL84Q46aZWzW3mvu4m29okrVczBTa9bx5vrTi54v8tf","/ip6/2a02:c206:2056:1934::1/tcp/4001/p2p/12D3KooWDvL84Q46aZWzW3mvu4m29okrVczBTa9bx5vrTi54v8tf","/ip6/2a02:c206:2056:1934::1/udp/4001/quic/p2p/12D3KooWDvL84Q46aZWzW3mvu4m29okrVczBTa9bx5vrTi54v8tf"]}' - '2022-12-21 11:11:33.765720326 +0100 CET'
2022-12-21T11:11:05.275+0100 DEBUG monitor pubsubmon/pubsubmon.go:288 logged metric: '12D3KooWSKd76a6B8hVQ4sq2DgqV6h4LaSTzuRUdfpdTejJr5W2P' - 'ping' - '{"peer_name":"vmi561934.contaboserver.net","ipfs_id":"12D3KooWDvL84Q46aZWzW3mvu4m29okrVczBTa9bx5vrTi54v8tf","ipfs_addresses":["/ip4/161.97.163.208/tcp/4001/p2p/12D3KooWDvL84Q46aZWzW3mvu4m29okrVczBTa9bx5vrTi54v8tf","/ip4/161.97.163.208/udp/4001/quic/p2p/12D3KooWDvL84Q46aZWzW3mvu4m29okrVczBTa9bx5vrTi54v8tf","/ip6/2a02:c206:2056:1934::1/tcp/4001/p2p/12D3KooWDvL84Q46aZWzW3mvu4m29okrVczBTa9bx5vrTi54v8tf","/ip6/2a02:c206:2056:1934::1/udp/4001/quic/p2p/12D3KooWDvL84Q46aZWzW3mvu4m29okrVczBTa9bx5vrTi54v8tf"]}' - '2022-12-21 11:11:33.765720326 +0100 CET'
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf13031]
goroutine 1170 [running]:
github.com/libp2p/go-libp2p/p2p/host/autorelay.(*relayFinder).findNodes(0xc0009c44e0, {0x1aaeb70?, 0xc002fc3a80})
github.com/libp2p/go-libp2p@v0.22.0/p2p/host/autorelay/relay_finder.go:209 +0x51
github.com/libp2p/go-libp2p/p2p/host/autorelay.(*relayFinder).background.func2()
github.com/libp2p/go-libp2p@v0.22.0/p2p/host/autorelay/relay_finder.go:112 +0x66
created by github.com/libp2p/go-libp2p/p2p/host/autorelay.(*relayFinder).background
github.com/libp2p/go-libp2p@v0.22.0/p2p/host/autorelay/relay_finder.go:110 +0x192