You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/10/24 06:36:25 UTC
[GitHub] [servicecomb-service-center] hjdo opened a new issue #597: Error at
startup: panic: invalid page type: 0: 4
hjdo opened a new issue #597: Error at startup: panic: invalid page type: 0: 4
URL: https://github.com/apache/servicecomb-service-center/issues/597
**Describe the bug**
Wrong when starting under Windows WSL.
**Platform And Runtime (please complete the following information):**
Platform
- OS: Windows 10 Education 1903 WSL ubuntu-18.04
- Go version: go version go1.12 linux/amd64
**error context**
```shell
2019-10-24 14:21:36.633740 I | embed: listening for peers on http://127.0.0.1:23802019-10-24 14:21:36.646045 I | etcdserver: name = sr-02019-10-24 14:21:36.646069 I | etcdserver: data dir = data2019-10-24 14:21:36.646083 I | etcdserver: member dir = data/member2019-10-24 14:21:36.646090 I | etcdserver: heartbeat = 100ms2019-10-24 14:21:36.646096 I | etcdserver: election = 1000ms2019-10-24 14:21:36.646101 I | etcdserver: snapshot count = 1000002019-10-24 14:21:36.646112 I | etcdserver: advertise client URLs =2019-10-24 14:21:36.646118 I | etcdserver: initial advertise peer URLs = http://127.0.0.1:23802019-10-24 14:21:36.646129 I | etcdserver: initial cluster = sr-0=http://127.0.0.1:23802019-10-24 14:21:36.680335 I | wal: releasing file lock to rename "data/member/wal.tmp" to "data/member/wal"2019-10-24 14:21:36.688351 I | etcdserver: starting member b71f75320dc06a6c in cluster 1c45a069f3a1d7962019-10-24 14:21:36.688380 I | raft: b71f75320dc06a6c became follower at term 02019-10-24 14:21:36.688405 I | raft: newRaft b71f75320dc06a6c [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]2019-10-24 14:21:36.688412 I | raft: b71f75320dc06a6c became follower at term 1panic: invalid page type: 0: 4goroutine 1 [running]:github.com/apache/servicecomb-service-center/vendor/github.com/coreos/bbolt.(*Cursor).search(0xc00002db00, 0x300506e, 0x3, 0x3, 0x4) /root/asif/go/src/github.com/apache/servicecomb-service-center/vendor/github.com/coreos/bbolt/cursor.go:256 +0x354github.com/apache/servicecomb-service-center/vendor/github.com/coreos/bbolt.(*Cursor).seek(0xc00002db00, 0x300506e, 0x3, 0x3, 0x0, 0x0, 0xc00002daf0, 0xb63bfc, 0x203000, 0x203000, ...) /root/asif/go/src/github.com/apache/servicecomb-service-center/vendor/github.com/coreos/bbolt/cursor.go:159 +0x7egithub.com/apache/servicecomb-service-center/vendor/github.com/coreos/bbolt.(*Bucket).CreateBucket(0xc0001fa2b8, 0x300506e, 0x3, 0x3, 0xc000000008, 0x1c7ed90, 0x60) /root/asif/go/src/github.com/apache/servicecomb-service-center/vendor/github.com/coreos/bbolt/bucket.go:165 +0xf0github.com/apache/servicecomb-service-center/vendor/github.com/coreos/bbolt.(*Tx).CreateBucket(...) /root/asif/go/src/github.com/apache/servicecomb-service-center/vendor/github.com/coreos/bbolt/tx.go:108github.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/mvcc/backend.(*batchTx).UnsafeCreateBucket(0xc0001ce930, 0x300506e, 0x3, 0x3) /root/asif/go/src/github.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/mvcc/backend/batch_tx.go:48 +0x61github.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/mvcc.NewStore(0x1f4e8e0, 0xc0001d2de0, 0x1f601c0, 0xc000526a20, 0x1ed43a0, 0xc000116018, 0xc000000008) /root/asif/go/src/github.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/mvcc/kvstore.go:130 +0x3a8github.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/mvcc.newWatchableStore(0x1f4e8e0, 0xc0001d2de0, 0x1f601c0, 0xc000526a20, 0x1ed43a0, 0xc000116018, 0x5f5e100) /root/asif/go/src/github.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/mvcc/watchable_store.go:76 +0x76github.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/mvcc.New(...) /root/asif/go/src/github.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/mvcc/watchable_store.go:71
github.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/etcdserver.NewServer(0xc0000c088c, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc0003f6a00, ...) /root/asif/go/src/github.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/etcdserver/server.go:447 +0x158bgithub.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/embed.StartEtcd(0xc00016a380, 0xc000525400, 0x0, 0x0) /root/asif/go/src/github.com/apache/servicecomb-service-center/vendor/github.com/coreos/etcd/embed/etcd.go:179 +0x7ccgithub.com/apache/servicecomb-service-center/server/plugin/pkg/registry/embededetcd.getEmbedInstance(0xc0000cc5d8, 0x0) /root/asif/go/src/github.com/apache/servicecomb-service-center/server/plugin/pkg/registry/embededetcd/embededetcd.go:586 +0x4bagithub.com/apache/servicecomb-service-center/server/plugin.(*PluginManager).New(0x306bb70, 0x5) /root/asif/go/src/github.com/apache/servicecomb-service-center/server/plugin/plugin.go:129 +0x27cgithub.com/apache/servicecomb-service-center/server/plugin.(*PluginManager).Instance(0x306bb70, 0x5, 0x1971660, 0x3093640) /root/asif/go/src/github.com/apache/servicecomb-service-center/server/plugin/plugin.go:92 +0xe9github.com/apache/servicecomb-service-center/server/plugin.LoadPlugins() /root/asif/go/src/github.com/apache/servicecomb-service-center/server/plugin/plugin.go:162 +0x3cgithub.com/apache/servicecomb-service-center/server.(*ServiceCenterServer).startServices(0x30701c0) /root/asif/go/src/github.com/apache/servicecomb-service-center/server/server.go:143 +0x38github.com/apache/servicecomb-service-center/server.(*ServiceCenterServer).Run(0x30701c0) /root/asif/go/src/github.com/apache/servicecomb-service-center/server/server.go:50 +0x39github.com/apache/servicecomb-service-center/server.Run(...) /root/asif/go/src/github.com/apache/servicecomb-service-center/server/main.go:22main.main() /root/asif/go/src/github.com/apache/servicecomb-service-center/main.go:26 +0x2e
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services