Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation violation: unexpect fault address #1876

Closed
stevensu1977 opened this issue May 26, 2021 · 6 comments
Closed

Segmentation violation: unexpect fault address #1876

stevensu1977 opened this issue May 26, 2021 · 6 comments
Labels
bug Something isn't working issue

Comments

@stevensu1977
Copy link

Summary

I use v0.6.0 , when I stop my docker container and restart always get error , I try use normal binary not in docker , get same error.

Error Info

INFO[2021-05-26T01:22:50Z] debug api address: [::]:1635
unexpected fault address 0x3939373134934c
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x3939373134934c pc=0x4d2d00]

goroutine 1 [running]:
runtime.throw(0xe14787, 0x5)
runtime/panic.go:1117 +0x54 fp=0x40003cfc30 sp=0x40003cfc00 pc=0x44914
runtime.sigpanic()
runtime/signal_unix.go:741 +0x230 fp=0x40003cfc70 sp=0x40003cfc30 pc=0x5c450
github.com/golang/snappy.encodeBlock(0x4000a58a02, 0x1494, 0x1494, 0x4000a7c000, 0x1186, 0x1b53, 0x901)
github.com/golang/snappy@v0.0.2/encode_arm64.s:666 +0x360 fp=0x40003d7d10 sp=0x40003cfc80 pc=0x4d2d00
github.com/golang/snappy.Encode(0x4000a58a00, 0x1496, 0x1496, 0x0, 0x0, 0x0, 0x879, 0x879, 0x40003d7e28)
github.com/golang/snappy@v0.0.2/encode.go:39 +0x17c fp=0x40003d7d60 sp=0x40003d7d10 pc=0x4d223c
github.com/syndtr/goleveldb/leveldb/table.(*Writer).writeBlock(0x40008646c0, 0x4000864718, 0x2, 0x0, 0x7, 0x10, 0x4000a081f0)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/table/writer.go:171 +0xb0 fp=0x40003d7de0 sp=0x40003d7d60 pc=0x4daa20
github.com/syndtr/goleveldb/leveldb/table.(*Writer).finishBlock(0x40008646c0, 0x4004fa33c9, 0x9)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/table/writer.go:222 +0x4c fp=0x40003d7e30 sp=0x40003d7de0 pc=0x4daebc
github.com/syndtr/goleveldb/leveldb/table.(*Writer).Append(0x40008646c0, 0x4004fa33c9, 0x9, 0x3dcc37, 0x4004fa33d2, 0x879, 0x3dcc2e, 0x100, 0x1)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/table/writer.go:255 +0x1e4 fp=0x40003d7ea0 sp=0x40003d7e30 pc=0x4db124
github.com/syndtr/goleveldb/leveldb.(*tWriter).append(0x4002d200c0, 0x4004fa33c9, 0x9, 0x3dcc37, 0x4004fa33d2, 0x879, 0x3dcc2e, 0x0, 0x0)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/table.go:559 +0xbc fp=0x40003d7f10 sp=0x40003d7ea0 pc=0x4fd44c
github.com/syndtr/goleveldb/leveldb.(*tOps).createFrom(0x4000bf54a0, 0x1135d50, 0x4000a06000, 0x0, 0x0, 0x0, 0x0)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/table.go:397 +0x11c fp=0x40003d7fb0 sp=0x40003d7f10 pc=0x4fc7cc
github.com/syndtr/goleveldb/leveldb.(*session).flushMemdb(0x400085e000, 0x4000a34500, 0x4000208460, 0x0, 0x0, 0x0, 0x0)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/session_compaction.go:35 +0xa4 fp=0x40003d8110 sp=0x40003d7fb0 pc=0x4f4a44
github.com/syndtr/goleveldb/leveldb.(*DB).recoverJournal(0x4000a32380, 0x4000a32380, 0x400086b380)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/db.go:612 +0xa80 fp=0x40003d8330 sp=0x40003d8110 pc=0x4e0710
github.com/syndtr/goleveldb/leveldb.openDB(0x400085e000, 0x0, 0x0, 0x400085e000)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/db.go:131 +0x488 fp=0x40003d8420 sp=0x40003d8330 pc=0x4def98
github.com/syndtr/goleveldb/leveldb.Open(0x1134f28, 0x40002197a0, 0x0, 0x0, 0x0, 0x0)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/db.go:203 +0xd0 fp=0x40003d8490 sp=0x40003d8420 pc=0x4df1f0
github.com/syndtr/goleveldb/leveldb.OpenFile(0x400042ac00, 0x27, 0x0, 0x400042ac00, 0x27, 0x0)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/db.go:225 +0x7c fp=0x40003d8510 sp=0x40003d8490 pc=0x4df3ec
github.com/ethersphere/bee/pkg/statestore/leveldb.NewStateStore(0x400042ac00, 0x27, 0x1137fa0, 0x4000862660, 0x27, 0xb0da74, 0x4002d1e618, 0x1122a48)
github.com/ethersphere/bee/pkg/statestore/leveldb/leveldb.go:30 +0x34 fp=0x40003d85d0 sp=0x40003d8510 pc=0xb04044
github.com/ethersphere/bee/pkg/node.InitStateStore(0x1137fa0, 0x4000862660, 0x40003981a0, 0x1c, 0x1122a48, 0x400000dd28, 0x40002082a0, 0x0)
github.com/ethersphere/bee/pkg/node/statestore.go:28 +0x10c fp=0x40003d8650 sp=0x40003d85d0 pc=0xb0f60c
github.com/ethersphere/bee/pkg/node.NewBee(0x4000353600, 0x5, 0x4000398c80, 0x20, 0x20, 0x112da60, 0x19a68e0, 0x40001532a0, 0x40001532c0, 0x112a3f8, ...)
github.com/ethersphere/bee/pkg/node/node.go:203 +0x248 fp=0x40003d9640 sp=0x40003d8650 pc=0xb07e38
github.com/ethersphere/bee/cmd/bee/cmd.(*command).initStartCmd.func1(0x400024cdc0, 0x4000152fe0, 0x0, 0x2, 0x0, 0x0)
github.com/ethersphere/bee/cmd/bee/cmd/start.go:119 +0xc88 fp=0x40003d9d20 sp=0x40003d9640 pc=0xb22968
github.com/spf13/cobra.(*Command).execute(0x400024cdc0, 0x4000152fc0, 0x2, 0x2, 0x400024cdc0, 0x4000152fc0)
github.com/spf13/cobra@v1.0.0/command.go:842 +0x320 fp=0x40003d9de0 sp=0x40003d9d20 pc=0x415c90
github.com/spf13/cobra.(*Command).ExecuteC(0x400024cb00, 0x0, 0x0, 0x4000154b40)
github.com/spf13/cobra@v1.0.0/command.go:950 +0x268 fp=0x40003d9ec0 sp=0x40003d9de0 pc=0x416528
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v1.0.0/command.go:887
github.com/ethersphere/bee/cmd/bee/cmd.(*command).Execute(...)
github.com/ethersphere/bee/cmd/bee/cmd/cmd.go:132
github.com/ethersphere/bee/cmd/bee/cmd.Execute(0x400093ff28, 0x158fc)
github.com/ethersphere/bee/cmd/bee/cmd/cmd.go:141 +0x5c fp=0x40003d9f00 sp=0x40003d9ec0 pc=0xb1c0ec
main.main()
github.com/ethersphere/bee/cmd/bee/main.go:15 +0x20 fp=0x40003d9f70 sp=0x40003d9f00 pc=0xb22f50
runtime.main()
runtime/proc.go:225 +0x274 fp=0x40003d9fd0 sp=0x40003d9f70 pc=0x46e64
runtime.goexit()
runtime/asm_arm64.s:1130 +0x4 fp=0x40003d9fd0 sp=0x40003d9fd0 pc=0x7bff4

goroutine 9 [chan receive]:
github.com/ethereum/go-ethereum/metrics.(*meterArbiter).tick(0x19a5da0)
github.com/ethereum/go-ethereum@v1.9.23/metrics/meter.go:290 +0x60
created by github.com/ethereum/go-ethereum/metrics.NewMeterForced
github.com/ethereum/go-ethereum@v1.9.23/metrics/meter.go:71 +0x10c

goroutine 10 [select]:
github.com/ethereum/go-ethereum/consensus/ethash.(*remoteSealer).loop(0x40002222d0)
github.com/ethereum/go-ethereum@v1.9.23/consensus/ethash/sealer.go:278 +0x154
created by github.com/ethereum/go-ethereum/consensus/ethash.startRemoteSealer
github.com/ethereum/go-ethereum@v1.9.23/consensus/ethash/sealer.go:262 +0x21c

goroutine 11 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 12 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 13 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 14 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 15 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 16 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 33 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 34 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 35 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 36 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 37 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 38 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 39 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 40 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 41 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 42 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 43 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 44 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 45 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 46 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 47 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 48 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 49 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 50 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 51 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 52 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 53 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 54 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 55 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 56 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 57 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 58 [chan receive]:
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0x40002f5cd0)
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:63 +0x8c
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher
github.com/ethereum/go-ethereum@v1.9.23/core/tx_cacher.go:55 +0x9c

goroutine 91 [syscall]:
os/signal.signal_recv(0x0)
runtime/sigqueue.go:168 +0xcc
os/signal.loop()
os/signal/signal_unix.go:23 +0x20
created by os/signal.Notify.func1.1
os/signal/signal.go:151 +0x44

goroutine 92 [select]:
github.com/ipfs/go-log/writer.(*MirrorWriter).logRoutine(0x40004c2ab0)
github.com/ipfs/go-log@v1.0.4/writer/writer.go:71 +0xb4
created by github.com/ipfs/go-log/writer.NewMirrorWriter
github.com/ipfs/go-log@v1.0.4/writer/writer.go:36 +0xac

goroutine 93 [select]:
go.opencensus.io/stats/view.(*worker).start(0x4000120080)
go.opencensus.io@v0.22.5/stats/view/worker.go:276 +0x98
created by go.opencensus.io/stats/view.init.0
go.opencensus.io@v0.22.5/stats/view/worker.go:34 +0x70

goroutine 107 [select]:
io.(*pipe).Read(0x40008622a0, 0x4000a0d000, 0x1000, 0x1000, 0x1000, 0xbf8fe0, 0x1)
io/pipe.go:57 +0x8c
io.(*PipeReader).Read(0x400000e160, 0x4000a0d000, 0x1000, 0x1000, 0x40005eed10, 0x364f70, 0xfdb7d0)
io/pipe.go:134 +0x44
bufio.(*Scanner).Scan(0x40000c5f38, 0x1109358)
bufio/scan.go:214 +0x94
github.com/sirupsen/logrus.(*Entry).writerScanner(0x400020c540, 0x400000e160, 0x4000115300)
github.com/sirupsen/logrus@v1.6.0/writer.go:59 +0x88
created by github.com/sirupsen/logrus.(*Entry).WriterLevel
github.com/sirupsen/logrus@v1.6.0/writer.go:51 +0x188

goroutine 105 [IO wait]:
internal/poll.runtime_pollWait(0xffff5eef8e88, 0x72, 0xffffffffffffffff)
runtime/netpoll.go:222 +0x44
internal/poll.(*pollDesc).wait(0x4000a06198, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
internal/poll/fd_poll_runtime.go:87 +0x38
internal/poll.(*pollDesc).waitRead(...)
internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0x4000a06180, 0x40009fd000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
internal/poll/fd_unix.go:166 +0x180
net.(*netFD).Read(0x4000a06180, 0x40009fd000, 0x1000, 0x1000, 0x40000c7be0, 0x73d30, 0x4000000300)
net/fd_posix.go:55 +0x44
net.(*conn).Read(0x400000ed48, 0x40009fd000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
net/net.go:183 +0x74
net/http.(*persistConn).Read(0x400033c5a0, 0x40009fd000, 0x1000, 0x1000, 0x40000c7cf8, 0x389adc, 0x400086a720)
net/http/transport.go:1922 +0x60
bufio.(*Reader).fill(0x4000862ae0)
bufio/bufio.go:101 +0xf8
bufio.(*Reader).Peek(0x4000862ae0, 0x1, 0x0, 0x1, 0x4, 0x1, 0x3)
bufio/bufio.go:139 +0x40
net/http.(*persistConn).readLoop(0x400033c5a0)
net/http/transport.go:2083 +0x170
created by net/http.(*Transport).dialConn
net/http/transport.go:1743 +0x99c

goroutine 106 [select]:
net/http.(*persistConn).writeLoop(0x400033c5a0)
net/http/transport.go:2382 +0xa8
created by net/http.(*Transport).dialConn
net/http/transport.go:1744 +0x9bc

goroutine 113 [IO wait]:
internal/poll.runtime_pollWait(0xffff5eef8da0, 0x72, 0x0)
runtime/netpoll.go:222 +0x44
internal/poll.(*pollDesc).wait(0x4000a06518, 0x72, 0x0, 0x0, 0xe16ec7)
internal/poll/fd_poll_runtime.go:87 +0x38
internal/poll.(*pollDesc).waitRead(...)
internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0x4000a06500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
internal/poll/fd_unix.go:401 +0x1b0
net.(*netFD).accept(0x4000a06500, 0xffff85bd9bf8, 0x30, 0x400020e2d0)
net/fd_unix.go:172 +0x2c
net.(*TCPListener).accept(0x400000dd28, 0x113d3c, 0x30, 0xd4f460)
net/tcpsock_posix.go:139 +0x2c
net.(*TCPListener).Accept(0x400000dd28, 0x400020e2d0, 0xfdc000, 0x4000208320, 0xc444a0)
net/tcpsock.go:261 +0x5c
net/http.(*Server).Serve(0x40002082a0, 0x1122a48, 0x400000dd28, 0x0, 0x0)
net/http/server.go:2981 +0x234
github.com/ethersphere/bee/pkg/node.NewBee.func2(0x1137fa0, 0x4000862660, 0x1122a48, 0x400000dd28, 0x40002082a0)
github.com/ethersphere/bee/pkg/node/node.go:194 +0xd0
created by github.com/ethersphere/bee/pkg/node.NewBee
github.com/ethersphere/bee/pkg/node/node.go:191 +0x5e84

goroutine 114 [select]:
github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0x4000208380)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/util/buffer_pool.go:209 +0xcc
created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/util/buffer_pool.go:240 +0x154

goroutine 115 [select]:
github.com/syndtr/goleveldb/leveldb.(*session).refLoop(0x400085e000)
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/session_util.go:189 +0x3b0
created by github.com/syndtr/goleveldb/leveldb.newSession
github.com/syndtr/goleveldb@v1.0.1-0.20200815110645-5c35d600f0ca/leveldb/session.go:93 +0x22c

@stevensu1977 stevensu1977 added the bug Something isn't working label May 26, 2021
@bee-runner bee-runner bot added the issue label May 26, 2021
@stevensu1977
Copy link
Author

I use ubuntu18.0.4 LTS , linux/arm64

@Eknir
Copy link
Contributor

Eknir commented May 28, 2021

Hi there,
Thank you for taking the time to report this. It would help us a lot if you could update to the latest master (c0f60e24b2fa30933bc7833bbd754a6603196fb1) and tell us if this problem still persists.

@Eknir Eknir changed the title I can't restart bee process (normal and docker) Segmentation violation: unexpect fault address May 28, 2021
@juedongli
Copy link

juedongli commented May 31, 2021

Hi there,
Thank you for taking the time to report this. It would help us a lot if you could update to the latest master (c0f60e24b2fa30933bc7833bbd754a6603196fb1) and tell us if this problem still persists.
@Eknir
yes, and need to update snappy to v0.0.3 and go-ethereum to 1.10.3

@Eknir
Copy link
Contributor

Eknir commented May 31, 2021

@haroldcy , I don't fully understand your message. Is updating these packages related to this issue?

@juedongli
Copy link

@haroldcy , I don't fully understand your message. Is updating these packages related to this issue?

it works for me updating these packages

go version go1.16.5 linux/arm64
bee 0.6.3-2c5f15be
vim go.mod
github.com/ethereum/go-ethereum v1.10.3
github.com/wealdtech/go-ens/v3 v3.4.5 // indirect

@acud
Copy link
Member

acud commented Aug 6, 2021

This was caused due to an upgrade to go1.16 and some incompatible dependencies that do not support 1.16 yet. We have downgraded to 1.15 in the meanwhile. There might be some problems with the new apple chips though. Using go 1.15 should work 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working issue
Projects
None yet
Development

No branches or pull requests

4 participants