macOS & go v1.17.xx fatal error: unexpected signal during runtime execution #1775
Closed
Description
Description
When running geth on macOS with go version 1.17.xx
the geth process fails almost immediately with the following log.
$ ./build/bin/geth --datadir "./tmp"
INFO [12-14|17:59:20.172] Starting Geth on Celo mainnet...
INFO [12-14|17:59:20.172] Bumping default cache on mainnet provided=1024 updated=4096
INFO [12-14|17:59:20.173] Maximum peer count ETH=175 LES=0 total=175
INFO [12-14|17:59:20.173] Set global gas cap cap=25,000,000
INFO [12-14|17:59:20.173] Allocated trie memory caches clean=614.00MiB dirty=1024.00MiB
INFO [12-14|17:59:20.173] Allocated cache and file handles database=/Users/piersy/projects/alt/tmp/celo/chaindata cache=2.00GiB handles=5120
INFO [12-14|17:59:20.314] Opened ancient database database=/Users/piersy/projects/alt/tmp/celo/chaindata/ancient readonly=false
INFO [12-14|17:59:20.316] Initialised chain configuration config="{ChainID: 42220 Homestead: 0 DAO: <nil> DAOSupport: true EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: 0 Churrito: 6774000, Donut: 6774000, Espresso: <nil>, Engine: istanbul}"
INFO [12-14|17:59:20.317] Open roundstate db func=newRoundStateDB type=roundStateDB rsdb_path=/Users/piersy/projects/alt/tmp/celo/roundstates
INFO [12-14|17:59:20.605] Initialising Ethereum protocol versions="[67 66]" network=42220 dbversion=8
INFO [12-14|17:59:20.607] Loaded most recent local header number=0 hash=19ea33..bd11c3 td=1 age=1y8mo1d
INFO [12-14|17:59:20.607] Loaded most recent local full block number=0 hash=19ea33..bd11c3 td=1 age=1y8mo1d
INFO [12-14|17:59:20.607] Loaded most recent local fast block number=0 hash=19ea33..bd11c3 td=1 age=1y8mo1d
ERROR[12-14|17:59:20.608] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted" message="No Implementation set"
ERROR[12-14|17:59:20.608] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd92723348766a30bcca8b3c8b03b4e4b1f6510aee73f7b41aa6c7578a97040d20334f42 maxgas=100,000 err="execution reverted" message="No Implementation set"
ERROR[12-14|17:59:20.608] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted" message="No Implementation set"
ERROR[12-14|17:59:20.608] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338f897d9543fdc9082789208180c3e3d11f7473aaef3e249ab0020ea0c761c1b6 maxgas=100,000 err="execution reverted" message="No Implementation set"
ERROR[12-14|17:59:20.608] getWhitelist invocation failed err="Registry not deployed"
ERROR[12-14|17:59:20.608] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf maxgas=100,000 err="execution reverted" message="No Implementation set"
INFO [12-14|17:59:20.608] Loaded local transaction journal transactions=0 dropped=0
INFO [12-14|17:59:20.608] Regenerated local transaction journal transactions=0 accounts=0
INFO [12-14|17:59:20.636] Allocated fast sync bloom size=2.00GiB
INFO [12-14|17:59:20.637] Starting peer-to-peer node instance=celo/v1.4.0-unstable/darwin-amd64/go1.17
INFO [12-14|17:59:20.637] Initialized state bloom items=46 errorrate=0.000 elapsed="699.232µs"
INFO [12-14|17:59:20.752] New local node record seq=3 id=1d5e2f5afa68b425 ip=127.0.0.1 udp=30303 tcp=30303
INFO [12-14|17:59:20.755] IPC endpoint opened url=/Users/piersy/projects/alt/tmp/geth.ipc
INFO [12-14|17:59:20.755] Started P2P networking self=enode://8b173657af0c5b8ac348df57dc2a9fc85489626241bd7280aa1d8feaa20a7805fefa77ac3ac6d91a40c79f72723deb1d929ef47320045db6ed6ff0de998edede@127.0.0.1:30303 maxdialed=58 maxinbound=117
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x7fff203b9c9e]
runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from 0x7fff203b9c9e
stack: frame={sp:0x70000af06e58, fp:0x70000af06ea8} stack=[0x70000ae87338,0x70000af06f38)
0x000070000af06d58: 0x010070000af06d78 0x0000000000000004
0x000070000af06d68: 0x000000000000001f 0x00007fff203b9c9e
0x000070000af06d78: 0x0b01dfacedebac1e 0x0000000000000001
0x000070000af06d88: 0x0000000004039a31 <runtime.throw+0x0000000000000071> 0x000070000af06e28
0x000070000af06d98: 0x0000000005273a6d 0x000070000af06de0
0x000070000af06da8: 0x0000000004039ce8 <runtime.fatalthrow.func1+0x0000000000000048> 0x000000c000403380
0x000070000af06db8: 0x0000000000000001 0x0000000000000001
0x000070000af06dc8: 0x000070000af06e28 0x0000000004039a31 <runtime.throw+0x0000000000000071>
0x000070000af06dd8: 0x000000c000403380 0x000070000af06e18
0x000070000af06de8: 0x0000000004039c70 <runtime.fatalthrow+0x0000000000000050> 0x000070000af06df8
0x000070000af06df8: 0x0000000004039ca0 <runtime.fatalthrow.func1+0x0000000000000000> 0x000000c000403380
0x000070000af06e08: 0x0000000004039a31 <runtime.throw+0x0000000000000071> 0x000070000af06e28
0x000070000af06e18: 0x000070000af06e48 0x0000000004039a31 <runtime.throw+0x0000000000000071>
0x000070000af06e28: 0x000070000af06e30 0x0000000004039a60 <runtime.throw.func1+0x0000000000000000>
0x000070000af06e38: 0x0000000005286d1e 0x000000000000002a
0x000070000af06e48: 0x000070000af06e98 0x0000000004050056 <runtime.sigpanic+0x0000000000000396>
0x000070000af06e58: <0x0000000005286d1e 0x00000000040428fe <runtime.checkTimers+0x000000000000005e>
This seems to be a problem with go versions 1.17.xx
, there is an open ticket here golang/go#49992.
Workaround
Use the latest go 1.16.xx
release or don't use a Mac.
Metadata
Assignees
Labels
No labels