Closed Rytiss closed 8 years ago
@LefterisJP Any idea?
Can be one of many reasons. Only way to debug this is to merge this PR and do a switch
on the errno
Can somebody merge the PR and make a build? I will test it and report back.
I think the issue happens only for users that have a non-latin Windows username:
I0525 16:53:14.410059 7360 backend.go:600] checking DAG (ethash dir: C:\Usersà¸à¸à¸¡\AppData\Ethash)
or
I0603 15:32:31.914785 6828 backend.go:598] checking DAG (ethash dir: C:\Users\Järjestelmänvalvoja\AppData\Ethash)
Heh ... could very well be true. Let us test that.
same out of memory error on private blockchain. ERROR[08-05|20:29:05] Failed to generate mapped ethash dataset epoch=0 err="MapViewOfFile: Not enough storage is available to process this command." runtime: out of memory: cannot allocate 2147483648-byte block (134217728 in use) fatal error: out of memory
runtime stack: runtime.throw(0xc71f3c, 0xd) C:/go/src/runtime/panic.go:596 +0x7c runtime.largeAlloc(0x7ffff100, 0x34420401, 0x8) C:/go/src/runtime/malloc.go:809 +0xdb runtime.mallocgc.func1() C:/go/src/runtime/malloc.go:702 +0x31 runtime.systemstack(0x19545e20) C:/go/src/runtime/asm_386.s:337 +0x5e runtime.mstart() C:/go/src/runtime/proc.go:1132
goroutine 15135 [running]: runtime.systemstack_switch() C:/go/src/runtime/asm_386.s:291 fp=0x18bc7a44 sp=0x18bc7a40 runtime.mallocgc(0x7ffff100, 0xb80c00, 0x1, 0x4) C:/go/src/runtime/malloc.go:703 +0x6c7 fp=0x18bc7a94 sp=0x18bc7a44 runtime.makeslice(0xb80c00, 0x1ffffc40, 0x1ffffc40, 0x1558bb00, 0xcb2a4e, 0x28) C:/go/src/runtime/slice.go:54 +0x5d fp=0x18bc7ab8 sp=0x18bc7a94 runtime.makeslice64(0xb80c00, 0x1ffffc40, 0x0, 0x1ffffc40, 0x0, 0x2, 0x0, 0x0) C:/go/src/runtime/slice.go:69 +0x4f fp=0x18bc7ae4 sp=0x18bc7ab8 github.com/ethereum/go-ethereum/consensus/ethash.(dataset).generate.func1() C:/gopath/src/github.com/ethereum/go-ethereum/consensus/ethash/ethash.go:285 +0x85d fp=0x18bc7c7c sp=0x18bc7ae4 sync.(Once).Do(0x155b5ed4, 0x1443dc9c) C:/go/src/sync/once.go:44 +0xb0 fp=0x18bc7c94 sp=0x18bc7c7c github.com/ethereum/go-ethereum/consensus/ethash.(dataset).generate(0x155b5ea0, 0x14574fa0, 0x1d, 0x2, 0x0) C:/gopath/src/github.com/ethereum/go-ethereum/consensus/ethash/ethash.go:294 +0x68 fp=0x18bc7cb8 sp=0x18bc7c94 github.com/ethereum/go-ethereum/consensus/ethash.(Ethash).dataset(0x1446c1c0, 0x47d, 0x0, 0x1443df40, 0x4483d3b5, 0xd250d719) C:/gopath/src/github.com/ethereum/go-ethereum/consensus/ethash/ethash.go:539 +0x648 fp=0x18bc7dc4 sp=0x18bc7cb8 github.com/ethereum/go-ethereum/consensus/ethash.(Ethash).mine(0x1446c1c0, 0x15db82d0, 0x0, 0xde1f702f, 0xb0ecf0a, 0x15401680, 0x154016c0) C:/gopath/src/github.com/ethereum/go-ethereum/consensus/ethash/sealer.go:105 +0x107 fp=0x18bc7fb0 sp=0x18bc7dc4 github.com/ethereum/go-ethereum/consensus/ethash.(Ethash).Seal.func1(0x1558b970, 0x1446c1c0, 0x15db82d0, 0x15401680, 0x154016c0, 0x0, 0xde1f702f, 0xb0ecf0a) C:/gopath/src/github.com/ethereum/go-ethereum/consensus/ethash/sealer.go:72 +0x73 fp=0x18bc7fd0 sp=0x18bc7fb0 runtime.goexit() C:/go/src/runtime/asm_386.s:1629 +0x1 fp=0x18bc7fd4 sp=0x18bc7fd0 created by github.com/ethereum/go-ethereum/consensus/ethash.(*Ethash).Seal C:/gopath/src/github.com/ethereum/go-ethereum/consensus/ethash/sealer.go:73 +0x18f
goroutine 1 [select]: github.com/ethereum/go-ethereum/console.(Console).Interactive(0x1475a6c0) C:/gopath/src/github.com/ethereum/go-ethereum/console/console.go:321 +0x67a main.localConsole(0x1447e3c0, 0x0, 0x0) C:/gopath/src/github.com/ethereum/go-ethereum/cmd/geth/consolecmd.go:106 +0x2ce github.com/ethereum/go-ethereum/cmd/utils.MigrateFlags.func1(0x1447e3c0, 0x0, 0x1447e3c0) C:/gopath/src/github.com/ethereum/go-ethereum/cmd/utils/flags.go:1103 +0x9d github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli%2ev1.HandleAction(0xb6a840, 0x1444bcd8, 0x1447e3c0, 0x14555f00, 0x0) C:/gopath/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1/app.go:485 +0xa2 github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli%2ev1.Command.Run(0xc66df0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0xcb67b2, 0x2b, 0x0, ...) C:/gopath/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1/command.go:193 +0x9a0 github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli%2ev1.(App).Run(0x14457c70, 0x1444d840, 0x3, 0x3, 0x0, 0x0) C:/gopath/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1/app.go:250 +0x65a main.main() C:/gopath/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:185 +0x45
goroutine 17 [syscall, 4 minutes, locked to thread]: runtime.goexit() C:/go/src/runtime/asm_386.s:1629 +0x1
goroutine 20 [syscall, 4 minutes]: os/signal.signal_recv(0x0) C:/go/src/runtime/sigqueue.go:116 +0x14f os/signal.loop() C:/go/src/os/signal/signal_unix.go:22 +0x1a created by os/signal.init.1 C:/go/src/os/signal/signal_unix.go:28 +0x37
goroutine 21 [chan receive]: github.com/ethereum/go-ethereum/vendor/github.com/rcrowley/go-metrics.(*meterArbiter).tick(0x12a7900) C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/rcrowley/go-metrics/meter.go:221 +0x3c created by github.com/ethereum/go-ethereum/vendor/github.com/rcrowley/go-metrics.NewMeter C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/rcrowley/go-metrics/meter.go:40 +0xfe
goroutine 5 [select]: github.com/ethereum/go-ethereum/core.(*BlockChain).update(0x14459980) C:/gopath/src/github.com/ethereum/go-ethereum/core/blockchain.go:1242 +0xde created by github.com/ethereum/go-ethereum/core.NewBlockChain C:/gopath/src/github.com/ethereum/go-ethereum/core/blockchain.go:167 +0xab3
goroutine 23 [select]: github.com/ethereum/go-ethereum/accounts/keystore.(KeyStore).updater(0x147226c0) C:/gopath/src/github.com/ethereum/go-ethereum/accounts/keystore/keystore.go:203 +0x129 created by github.com/ethereum/go-ethereum/accounts/keystore.(KeyStore).Subscribe C:/gopath/src/github.com/ethereum/go-ethereum/accounts/keystore/keystore.go:190 +0xf6
goroutine 24 [chan receive]: github.com/ethereum/go-ethereum/accounts/usbwallet.(LedgerHub).updater(0x1447e8c0) C:/gopath/src/github.com/ethereum/go-ethereum/accounts/usbwallet/ledger_hub.go:203 +0x4f created by github.com/ethereum/go-ethereum/accounts/usbwallet.(LedgerHub).Subscribe C:/gopath/src/github.com/ethereum/go-ethereum/accounts/usbwallet/ledger_hub.go:188 +0xf6
goroutine 25 [select, 4 minutes]: github.com/ethereum/go-ethereum/accounts.(*Manager).update(0x146b9080) C:/gopath/src/github.com/ethereum/go-ethereum/accounts/manager.go:95 +0x311 created by github.com/ethereum/go-ethereum/accounts.NewManager C:/gopath/src/github.com/ethereum/go-ethereum/accounts/manager.go:68 +0x4f2
goroutine 26 [select]: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0x14452bb0) C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:206 +0x1b7 created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util.NewBufferPool C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:237 +0x13f
goroutine 30 [select, 4 minutes]: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x1449fb00) C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:90 +0x498 created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:139 +0x4f2
goroutine 31 [select, 1 minutes]: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0x1449fb00) C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_state.go:96 +0x1e1 created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:140 +0x510
goroutine 32 [select, 4 minutes]: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0x1449fb00) C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:804 +0x49b created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:146 +0x656
goroutine 33 [select, 4 minutes]: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0x1449fb00) C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:751 +0x1d9 created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB C:/gopath/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:147 +0x674
goroutine 6 [select]: github.com/ethereum/go-ethereum/core.(*TxPool).eventLoop(0x14452630) C:/gopath/src/github.com/ethereum/go-ethereum/core/tx_pool.go:222 +0x64f created by github.com/ethereum/go-ethereum/core.NewTxPool C:/gopath/src/github.com/ethereum/go-ethereum/core/tx_pool.go:203 +0x593
goroutine 7 [select, 1 minutes]: github.com/ethereum/go-ethereum/core.(*TxPool).expirationLoop(0x14452630) C:/gopath/src/github.com/ethereum/go-ethereum/core/tx_pool.go:902 +0x365 created by github.com/ethereum/go-ethereum/core.NewTxPool C:/gopath/src/github.com/ethereum/go-ethereum/core/tx_pool.go:204 +0x5b1
goroutine 8 [select, 1 minutes]: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).qosTuner(0x1453ec80) C:/gopath/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:1503 +0x428 created by github.com/ethereum/go-ethereum/eth/downloader.New C:/gopath/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:206 +0xb46
goroutine 9 [select, 4 minutes]: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).stateFetcher(0x1453ec80) C:/gopath/src/github.com/ethereum/go-ethereum/eth/downloader/statesync.go:74 +0x128 created by github.com/ethereum/go-ethereum/eth/downloader.New C:/gopath/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:207 +0xb64
goroutine 10 [chan receive, 4 minutes]: github.com/ethereum/go-ethereum/miner.(*worker).update(0x144526e0) C:/gopath/src/github.com/ethereum/go-ethereum/miner/worker.go:233 +0x7a created by github.com/ethereum/go-ethereum/miner.newWorker C:/gopath/src/github.com/ethereum/go-ethereum/miner/worker.go:142 +0x3c8
goroutine 11 [chan receive, 4 minutes]: github.com/ethereum/go-ethereum/miner.(*worker).wait(0x144526e0) C:/gopath/src/github.com/ethereum/go-ethereum/miner/worker.go:261 +0x9b created by github.com/ethereum/go-ethereum/miner.newWorker C:/gopath/src/github.com/ethereum/go-ethereum/miner/worker.go:144 +0x3e6
goroutine 12 [chan receive, 4 minutes]: github.com/ethereum/go-ethereum/miner.(*Miner).update(0x144a9480) C:/gopath/src/github.com/ethereum/go-ethereum/miner/miner.go:81 +0xfd created by github.com/ethereum/go-ethereum/miner.New C:/gopath/src/github.com/ethereum/go-ethereum/miner/miner.go:69 +0x1ff
goroutine 13 [select, 4 minutes]: github.com/ethereum/go-ethereum/p2p/nat.Map(0x11ad3e0, 0x145544b0, 0x144a9bc0, 0xc62d88, 0x3, 0x765f, 0x765f, 0xc81a07, 0x12) C:/gopath/src/github.com/ethereum/go-ethereum/p2p/nat/nat.go:114 +0x699 created by github.com/ethereum/go-ethereum/p2p/discover.newUDP C:/gopath/src/github.com/ethereum/go-ethereum/p2p/discover/udp.go:243 +0x46a
g
Getting a crash on startup: