ethereum / go-ethereum

Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
47.07k stars 19.95k forks source link

Android: Go: Out of Memory Exception while creating new Keystore-Account #14459

Closed resimon closed 7 years ago

resimon commented 7 years ago

System information

Geth version: 1.6.2-unstable, 1.6.1-stable (already started in 1.6.0-Snapshot, sorry i do not remember Commit Hash) OS & Version: Android Commit hash : (if develop)

While still trying to interact with a smart contract #14363:

I already tried to set largeHeap Flag in Android Manifest for my application to be able to allocate more memory. Tried it on Android Emulator (multiple Android versions), Google Pixel XL (Android 7.1.2), LG G2 (Android 5.0.2). There should be enough RAM available , even if not on a mobile device, then on the Emulator. My development computer has 32 GB RAM and emulators are able to allocate up to 8GB. It started with a new commit, sorry i do not remember which exactly. I have not payed attention.

Expected behaviour

Create Wallet

Actual behaviour

Go: Out of Memory Exception

Steps to reproduce the behaviour

  1. Start Node
  2. Wait for Synchronisation (see below, problem start is marked separately)
  3. Initialize KeyStore //at this point the app has 30 MB Memory allocated for a service interacting with geth and 10 MB for the foreground activity.
  4. Create Wallet (Code previously worked) : KeyStore keyStore = new KeyStore(getFilesDir() + "/keystore", Geth.StandardScryptN, Geth.StandardScryptP); Account account = keyStore.newAccount("password"); //Exception thrown here see backtrace

Backtrace

Note: I marked problem start.


cess E/GoLog: INFO [05-10|20:24:46] Starting peer-to-peer node               instance=GethDroid/v1.6.2-unstable/android-arm/go1.8.1
cess E/GoLog: INFO [05-10|20:24:46] Allocated cache and file handles         database=/data/data/<packagename>/files/ethereum/GethDroid/lightchaindata cache=16 handles=16
cess E/GoLog: INFO [05-10|20:24:46] Writing custom genesis block 
cess E/GoLog: INFO [05-10|20:24:46] Initialised chain configuration          config="{ChainID: 50594 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: <nil> EIP155: 0 EIP158: 0 Engine: unknown}"
cess E/GoLog: INFO [05-10|20:24:46] Disk storage enabled for ethash caches   dir=/data/data/<packagename>/files/ethereum/GethDroid/ethash count=3
cess E/GoLog: INFO [05-10|20:24:46] Disk storage enabled for ethash DAGs     dir=.ethash                                                                      count=2
cess E/GoLog: INFO [05-10|20:24:46] Loaded most recent local header          number=0 hash=2b4c94…5c3ac0 td=400
cess E/GoLog: INFO [05-10|20:24:46] Starting P2P networking 
cess E/GoLog: WARN [05-10|20:24:46] Light client mode is an experimental feature 
cess E/GoLog: INFO [05-10|20:24:46] RLPx listener up                         self="enode://<id>@[::]:50803?discport=0"

cess I/System.out: Sending WAIT chunk
cess E/GoLog: INFO [05-10|20:24:48] Block synchronisation started 
cess E/GoLog: INFO [05-10|20:24:51] Generating ethash verification cache     epoch=0 percentage=28 elapsed=3.007s
cess E/GoLog: INFO [05-10|20:24:54] Generating ethash verification cache     epoch=0 percentage=54 elapsed=6.008s
cess E/GoLog: INFO [05-10|20:24:57] Generating ethash verification cache     epoch=0 percentage=78 elapsed=9.009s
cess E/GoLog: INFO [05-10|20:25:00] Generated ethash verification cache      epoch=0 elapsed=11.445s
cess E/GoLog: INFO [05-10|20:25:00] Imported new block headers               count=192 elapsed=11.609s number=192 hash=46644f…03d7f8 ignored=0
cess E/GoLog: INFO [05-10|20:25:00] Imported new block headers               count=192 elapsed=200.673ms number=384 hash=1ef9bf…fd496e ignored=0
cess I/art: Debugger is active
cess I/System.out: Debugger has connected
cess I/System.out: waiting for debugger to settle...
cess I/System.out: waiting for debugger to settle...
cess I/System.out: waiting for debugger to settle...
cess I/System.out: waiting for debugger to settle...
cess I/System.out: waiting for debugger to settle...
cess E/GoLog: INFO [05-10|20:25:03] Imported new block headers               count=2048 elapsed=2.165s    number=2432 hash=ff971d…2c4320 ignored=0
cess I/System.out: waiting for debugger to settle...
cess E/GoLog: INFO [05-10|20:25:03] Generating ethash verification cache     epoch=1 percentage=26 elapsed=3.022s
cess I/System.out: waiting for debugger to settle...
cess I/System.out: waiting for debugger to settle...
cess I/System.out: debugger has settled (1415)
cess E/GoLog: INFO [05-10|20:25:05] Imported new block headers               count=2048 elapsed=2.168s    number=4480 hash=f6e250…e54cf8 ignored=0
cess E/GoLog: INFO [05-10|20:25:06] Generating ethash verification cache     epoch=1 percentage=48 elapsed=6.022s

*** Problem starts here: ***

 E/Go: runtime: out of memory: cannot allocate 268435456-byte block (42991616 in use)
 E/Go: fatal error: out of memory
 E/Go: runtime stack:
 E/Go: runtime.throw(0x9ea39a46, 0xd)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/panic.go:596 +0x78
 E/Go: runtime.largeAlloc(0x10000000, 0xaf200001, 0xb)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/malloc.go:797 +0xe8
 E/Go: runtime.mallocgc.func1()
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/malloc.go:690 +0x30
 E/Go: runtime.systemstack(0xbec959e8)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/asm_arm.s:264 +0x8c
 E/Go: runtime.mstart()
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/proc.go:1132
 E/Go: goroutine 17 [running, locked to thread]:
 E/Go: runtime.systemstack_switch()
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/asm_arm.s:209 +0x4 fp=0x8e18fac4 sp=0x8e18fac0
 E/Go: runtime.mallocgc(0x10000000, 0x9edef010, 0x1, 0x9054e800)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/malloc.go:691 +0xa3c fp=0x8e18fb1c sp=0x8e18fac4
 E/Go: runtime.makeslice(0x9edef010, 0x4000000, 0x4000000, 0x9054e800, 0x200, 0x200)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/slice.go:54 +0x6c fp=0x8e18fb40 sp=0x8e18fb1c
 E/Go: github.com/ethereum/go-ethereum/vendor/golang.org/x/crypto/scrypt.Key(0x8efb22a8, 0x4, 0x8, 0x903b1400, 0x20, 0x20, 0x40000, 0x8, 0x1, 0x20, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/golang.org/x/crypto/scrypt/scrypt.go:235 +0x154 fp=0x8e18fba0 sp=0x8e18fb40
 E/Go: github.com/ethereum/go-ethereum/accounts/keystore.EncryptKey(0x8e1f7980, 0x8efb2234, 0x4, 0x40000, 0x1, 0x2, 0x2, 0x8e340000, 0x92, 0x8ecf6370)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/keystore/keystore_passphrase.go:114 +0xb4 fp=0x8e18fd54 sp=0x8e18fba0
 E/Go: github.com/ethereum/go-ethereum/accounts/keystore.keyStorePassphrase.StoreKey(0x8ecf6370, 0x44, 0x40000, 0x1, 0x8e340000, 0x92, 0x8e1f7980, 0x8efb2234, 0x4, 0x8e340000, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/keystore/keystore_passphrase.go:94 +0x3c fp=0x8e18fd80 sp=0x8e18fd54
 E/Go: github.com/ethereum/go-ethereum/accounts/keystore.(*keyStorePassphrase).StoreKey(0x8ef564e0, 0x8e340000, 0x92, 0x8e1f7980, 0x8efb2234, 0x4, 0x4d, 0x8f678050)
 E/Go:  <autogenerated>:8 +0x8c fp=0x8e18fdb0 sp=0x8e18fd80
 E/Go: github.com/ethereum/go-ethereum/accounts/keystore.storeNewKey(0x9f23cad8, 0x8ef564e0, 0x9f238bc8, 0x8e1b6400, 0x8efb2234, 0x4, 0x9e2d4f20, 0x0, 0x0, 0x0, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/keystore/key.go:184 +0x13c fp=0x8e18fe14 sp=0x8e18fdb0
 E/Go: github.com/ethereum/go-ethereum/accounts/keystore.(*KeyStore).NewAccount(0x8e3ae1b0, 0x8efb2234, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/keystore/keystore.go:409 +0x64 fp=0x8e18fe88 sp=0x8e18fe14
 E/Go: github.com/ethereum/go-ethereum/mobile.(*KeyStore).NewAccount(0x8fac9c48, 0x8efb2234, 0x4, 0x4, 0x0, 0x2)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/mobile/accounts.go:166 +0x34 fp=0x8e18ff10 sp=0x8e18fe88
 E/Go: _/tmp/gomobile-work-023080667/gomobile_bind.proxygeth_KeyStore_NewAccount(0xffffffc7, 0xa8ecf9b0, 0x4, 0x9e2d2d64, 0x9e2ff3a0)
 E/Go:  /tmp/gomobile-work-023080667/gomobile_bind/go_gethmain.go:2549 +0x74 fp=0x8e18ff3c sp=0x8e18ff10
 E/Go: _/tmp/gomobile-work-023080667/gomobile_bind._cgoexpwrap_71bf534a5974_proxygeth_KeyStore_NewAccount(0xffffffc7, 0xa8ecf9b0, 0x4, 0x0, 0x0)
 E/Go:  _/tmp/gomobile-work-023080667/gomobile_bind/_obj/_cgo_gotypes.go:3157 +0x2c fp=0x8e18ff54 sp=0x8e18ff3c
 E/Go: runtime.call32(0x0, 0xbec95a0c, 0xbec95ab4, 0x14, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/asm_arm.s:450 +0x68 fp=0x8e18ff78 sp=0x8e18ff54
 E/Go: runtime.cgocallbackg1(0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/cgocall.go:301 +0x154 fp=0x8e18ffb4 sp=0x8e18ff78
 E/Go: runtime.cgocallbackg(0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/cgocall.go:184 +0x54 fp=0x8e18ffe4 sp=0x8e18ffb4
 E/Go: runtime.cgocallback_gofunc(0x0, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/asm_arm.s:651 +0x5c fp=0x8e18fff0 sp=0x8e18ffe4
 E/Go: runtime.goexit()
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/asm_arm.s:1017 +0x4 fp=0x8e18fff0 sp=0x8e18fff0
 E/Go: goroutine 42 [select]:
 E/Go: github.com/ethereum/go-ethereum/p2p/discv5.(*nodeDB).expirer(0x8e1da7e0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/database.go:244 +0x174
 E/Go: created by github.com/ethereum/go-ethereum/p2p/discv5.(*nodeDB).ensureExpirer.func1
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/database.go:236 +0x30
 E/Go: goroutine 19 [runnable]:
 E/Go: syscall.Syscall(0x3, 0x26, 0x8e200000, 0x400, 0x31, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/syscall/asm_linux_arm.s:17 +0x8
 E/Go: syscall.read(0x26, 0x8e200000, 0x400, 0x400, 0x9e2d2e18, 0x9f2f45b8, 0x8e160000)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/syscall/zsyscall_linux_arm.go:783 +0x3c
 E/Go: syscall.Read(0x26, 0x8e200000, 0x400, 0x400, 0x0, 0x8e160000, 0x9e2d54dc)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/syscall/syscall_unix.go:162 +0x34
 E/Go: os.(*File).read(0x8e1b8128, 0x8e200000, 0x400, 0x400, 0x9e304540, 0x9e308d7c, 0x8e1a832c)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/os/file_unix.go:165 +0x3c
 E/Go: os.(*File).Read(0x8e1b8128, 0x8e200000, 0x400, 0x400, 0x0, 0x0, 0x2)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/os/file.go:101 +0x60
 E/Go: bufio.(*Reader).fill(0x8e166f8c)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/bufio/bufio.go:97 +0xf4
 E/Go: bufio.(*Reader).ReadSlice(0x8e166f8c, 0x8e1e8a0a, 0x8e1a82d0, 0x9e3aa0bc, 0x9e9edc18, 0x8e166f18, 0xb48259c8)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/bufio/bufio.go:338 +0x9c
 E/Go: bufio.(*Reader).ReadLine(0x8e166f8c, 0xaf4320a0, 0xb4872dd0, 0x6b, 0x8ecfb0a0, 0x63, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/bufio/bufio.go:367 +0x24
 E/Go: golang.org/x/mobile/internal/mobileinit.lineLog(0x8e1b8128, 0x6)
 E/Go:  /home/travis/go/src/golang.org/x/mobile/internal/mobileinit/mobileinit_android.go:54 +0x6c
 E/Go: created by golang.org/x/mobile/internal/mobileinit.init.1
 E/Go:  /home/travis/go/src/golang.org/x/mobile/internal/mobileinit/mobileinit_android.go:81 +0x148
 E/Go: goroutine 20 [syscall]:
 E/Go: syscall.Syscall(0x3, 0x28, 0x8e1de000, 0x400, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/syscall/asm_linux_arm.s:17 +0x8
 E/Go: syscall.read(0x28, 0x8e1de000, 0x400, 0x400, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/syscall/zsyscall_linux_arm.go:783 +0x3c
 E/Go: syscall.Read(0x28, 0x8e1de000, 0x400, 0x400, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/syscall/syscall_unix.go:162 +0x34
 E/Go: os.(*File).read(0x8e1b8138, 0x8e1de000, 0x400, 0x400, 0x1, 0x0, 0x9e2e1bfc)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/os/file_unix.go:165 +0x3c
 E/Go: os.(*File).Read(0x8e1b8138, 0x8e1de000, 0x400, 0x400, 0x9e2e162c, 0x9e317e5c, 0xaf200258)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/os/file.go:101 +0x60
 E/Go: bufio.(*Reader).fill(0x8e16778c)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/bufio/bufio.go:97 +0xf4
 E/Go: bufio.(*Reader).ReadSlice(0x8e16778c, 0xa, 0x0, 0x0, 0x0, 0x9e3a9ca4, 0x400)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/bufio/bufio.go:338 +0x9c
 E/Go: bufio.(*Reader).ReadLine(0x8e16778c, 0x400, 0x400, 0x8e1de000, 0x400, 0x400, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/bufio/bufio.go:367 +0x24
 E/Go: golang.org/x/mobile/internal/mobileinit.lineLog(0x8e1b8138, 0x4)
 E/Go:  /home/travis/go/src/golang.org/x/mobile/internal/mobileinit/mobileinit_android.go:54 +0x6c
 E/Go: created by golang.org/x/mobile/internal/mobileinit.init.1
 E/Go:  /home/travis/go/src/golang.org/x/mobile/internal/mobileinit/mobileinit_android.go:91 +0x224
 E/Go: goroutine 34 [syscall, locked to thread]:
 E/Go: runtime.goexit()
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/asm_arm.s:1017 +0x4
 E/Go: goroutine 22 [chan receive]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.(*nonrecursiveTree).dispatch(0x8e229380, 0x8e229300)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:36 +0x3c
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.newNonrecursiveTree
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:29 +0x178
 E/Go: goroutine 23 [chan receive]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.(*nonrecursiveTree).internal(0x8e229380, 0x8e229340)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:81 +0x48
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.newNonrecursiveTree
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/tree_nonrecursive.go:30 +0x1a0
 E/Go: goroutine 24 [chan receive]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/rcrowley/go-metrics.(*meterArbiter).tick(0x9f2f6170)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rcrowley/go-metrics/meter.go:221 +0x40
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/rcrowley/go-metrics.NewMeter
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rcrowley/go-metrics/meter.go:40 +0x13c
 E/Go: goroutine 35 [syscall]:
 E/Go: os/signal.signal_recv(0x8e37e100)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/sigqueue.go:116 +0x174
 E/Go: os/signal.loop()
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/os/signal/signal_unix.go:22 +0x14
 E/Go: created by os/signal.init.1
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/os/signal/signal_unix.go:28 +0x34
 E/Go: goroutine 36 [select, locked to thread]:
 E/Go: runtime.gopark(0x9eeb5c40, 0x0, 0x9ea2e59c, 0x6, 0x18, 0x2)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/proc.go:271 +0x10c
 E/Go: runtime.selectgoImpl(0x8e3c47a0, 0x0, 0xc)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/select.go:423 +0x125c
 E/Go: runtime.selectgo(0x8e3c47a0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/select.go:238 +0x10
 E/Go: runtime.ensureSigM.func1()
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/signal_unix.go:434 +0x2e0
 E/Go: runtime.goexit()
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/asm_arm.s:1017 +0x4
 E/Go: goroutine 6 [select]:
 E/Go: github.com/ethereum/go-ethereum/accounts/keystore.(*watcher).loop(0x8e1601a0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/keystore/watch.go:91 +0x550
 E/Go: created by github.com/ethereum/go-ethereum/accounts/keystore.(*watcher).start
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/keystore/watch.go:52 +0x54
 E/Go: goroutine 7 [select]:
 E/Go: github.com/ethereum/go-ethereum/accounts/keystore.(*KeyStore).updater(0x8e33c240)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/keystore/keystore.go:203 +0x12c
 E/Go: created by github.com/ethereum/go-ethereum/accounts/keystore.(*KeyStore).Subscribe
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/keystore/keystore.go:190 +0x100
 E/Go: goroutine 8 [chan receive]:
 E/Go: github.com/ethereum/go-ethereum/accounts/usbwallet.(*LedgerHub).updater(0x8e340280)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/usbwallet/ledger_hub.go:203 +0x4c
 E/Go: created by github.com/ethereum/go-ethereum/accounts/usbwallet.(*LedgerHub).Subscribe
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/usbwallet/ledger_hub.go:188 +0x100
 E/Go: goroutine 9 [select]:
 E/Go: github.com/ethereum/go-ethereum/accounts.(*Manager).update(0x8e15e480)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/manager.go:95 +0x2fc
 E/Go: created by github.com/ethereum/go-ethereum/accounts.NewManager
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/accounts/manager.go:68 +0x504
 E/Go: goroutine 26 [syscall]:
 E/Go: syscall.Syscall6(0xfc, 0x2c, 0x8e3c07ac, 0x1, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/syscall/asm_linux_arm.s:48 +0x8
 E/Go: syscall.EpollWait(0x2c, 0x8e3c07ac, 0x1, 0x1, 0xffffffff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/syscall/zsyscall_linux_arm.go:365 +0x50
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.(*inotify).loop(0x8e22e000, 0x8e37e240)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/watcher_inotify.go:193 +0x74
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.(*inotify).lazyinit
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/watcher_inotify.go:133 +0x13c
 E/Go: goroutine 27 [chan receive]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.(*inotify).send(0x8e22e000, 0x8e37e240)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/watcher_inotify.go:253 +0x44
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.(*inotify).lazyinit
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/watcher_inotify.go:136 +0x190
 E/Go: goroutine 28 [chan receive]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.(*inotify).send(0x8e22e000, 0x8e37e240)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/watcher_inotify.go:253 +0x44
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify.(*inotify).lazyinit
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify/watcher_inotify.go:136 +0x190
 E/Go: goroutine 10 [select]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0x8e3ec630)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:206 +0x1b0
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:237 +0x180
 E/Go: goroutine 12 [select]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x8e3e4200)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:90 +0x48c
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:139 +0x540
 E/Go: goroutine 13 [select]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0x8e3e4200)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_state.go:96 +0x1d4
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:140 +0x560
 E/Go: goroutine 14 [select]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).pauseCompaction(0x8e3e4200, 0x8f5d84c0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:644 +0xbc
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0x8e3e4200)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:807 +0x45c
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:146 +0x694
 E/Go: goroutine 15 [runnable]:
 E/Go: syscall.Syscall(0x76, 0x33, 0x0, 0x0, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/syscall/asm_linux_arm.s:17 +0x8
 E/Go: syscall.Fsync(0x33, 0x8f3887e0, 0x8e164024)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/syscall/zsyscall_linux_arm.go:492 +0x30
 E/Go: os.(*File).Sync(0x8e162318, 0x9e2ff3a0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/os/file_posix.go:121 +0x50
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/storage.(*fileWrap).Sync(0x905146e0, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go:497 +0x20
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*tWriter).finish(0x8f5d8580, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table.go:512 +0x210
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*tOps).createFrom(0x8e469780, 0x9f240d20, 0x8f5d8540, 0x0, 0x685f, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/table.go:340 +0x198
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*session).flushMemdb(0x8e15e580, 0x8ecf44d0, 0x8e1b3280, 0x0, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/session_compaction.go:27 +0xd8
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).memCompaction.func1(0x9018e390, 0x8e3e4201, 0x9018e390)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:304 +0x6c
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*compactionTransactFunc).run(0x8e162298, 0x9018e390, 0x8ee36480, 0x8e162298)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:241 +0x28
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).compactionTransact(0x8e3e4200, 0x9ea35c9d, 0xb, 0x9f23b718, 0x8e162298)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:185 +0x110
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).compactionTransactFunc(0x8e3e4200, 0x9ea35c9d, 0xb, 0x905146c0, 0x9018e370)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:252 +0x94
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).memCompaction(0x8e3e4200)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:315 +0x394
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0x8e3e4200)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:755 +0x118
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:147 +0x6b4
 E/Go: goroutine 16 [chan receive]:
 E/Go: github.com/ethereum/go-ethereum/light.(*TxPool).eventLoop(0x8e2c8f30)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/light/txpool.go:305 +0x44
 E/Go: created by github.com/ethereum/go-ethereum/light.NewTxPool
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/light/txpool.go:97 +0x3e4
 E/Go: goroutine 51 [select]:
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).qosTuner(0x8e1c4120)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:1481 +0x3d4
 E/Go: created by github.com/ethereum/go-ethereum/eth/downloader.New
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:202 +0xe40
 E/Go: goroutine 52 [select]:
 E/Go: github.com/ethereum/go-ethereum/les.(*requestDistributor).loop(0x8e19cb40)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/distributor.go:92 +0x4dc
 E/Go: created by github.com/ethereum/go-ethereum/les.newRequestDistributor
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/distributor.go:81 +0x144
 E/Go: goroutine 53 [select]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0x8e3ec420)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:206 +0x1b0
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:237 +0x180
 E/Go: goroutine 54 [select]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x8e3e4700)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:90 +0x48c
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:139 +0x540
 E/Go: goroutine 55 [select]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0x8e3e4700)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_state.go:96 +0x1d4
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:140 +0x560
 E/Go: goroutine 56 [select]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0x8e3e4700)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:804 +0x4a0
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:146 +0x694
 E/Go: goroutine 57 [select]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0x8e3e4700)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:751 +0x1d4
 E/Go: created by github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.openDB
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db.go:147 +0x6b4
 E/Go: goroutine 58 [select]:
 E/Go: github.com/ethereum/go-ethereum/p2p/discv5.(*Network).loop(0x8e15e900)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/net.go:424 +0x1ed0
 E/Go: created by github.com/ethereum/go-ethereum/p2p/discv5.newNetwork
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/net.go:177 +0x7dc
 E/Go: goroutine 59 [runnable]:
 E/Go: net.runtime_pollWait(0x7d2c5908, 0x72, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/netpoll.go:164 +0x44
 E/Go: net.(*pollDesc).wait(0x8e1b5b7c, 0x72, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_poll_runtime.go:75 +0x28
 E/Go: net.(*pollDesc).waitRead(0x8e1b5b7c, 0x8e476000, 0x500)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_poll_runtime.go:80 +0x24
 E/Go: net.(*netFD).readFrom(0x8e1b5b40, 0x8e476000, 0x500, 0x500, 0x0, 0x0, 0x0, 0x9f23a6b0, 0x9f237bf4)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_unix.go:277 +0x144
 E/Go: net.(*UDPConn).readFrom(0x8e39c5a0, 0x8e476000, 0x500, 0x500, 0x8fc9b7c0, 0x4, 0x8e3223c0, 0x20)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/udpsock_posix.go:47 +0x38
 E/Go: net.(*UDPConn).ReadFromUDP(0x8e39c5a0, 0x8e476000, 0x500, 0x500, 0x500, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/udpsock.go:97 +0x58
 E/Go: github.com/ethereum/go-ethereum/p2p/discv5.(*udp).readLoop(0x8e19cb70)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/udp.go:392 +0x98
 E/Go: created by github.com/ethereum/go-ethereum/p2p/discv5.ListenUDP
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/udp.go:250 +0xfc
 E/Go: goroutine 32 [IO wait]:
 E/Go: net.runtime_pollWait(0x7d2c5890, 0x72, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/netpoll.go:164 +0x44
 E/Go: net.(*pollDesc).wait(0x8e1b42fc, 0x72, 0x0, 0x8e1c8250)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_poll_runtime.go:75 +0x28
 E/Go: net.(*pollDesc).waitRead(0x8e1b42fc, 0xffffffff, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_poll_runtime.go:80 +0x24
 E/Go: net.(*netFD).accept(0x8e1b42c0, 0x0, 0x9f239b88, 0x8e1c8250)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_unix.go:430 +0x168
 E/Go: net.(*TCPListener).accept(0x8e1b8478, 0x9e7c2e54, 0x9e7c2e80, 0x9edcccf8)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/tcpsock_posix.go:136 +0x20
 E/Go: net.(*TCPListener).Accept(0x8e1b8478, 0x8e226880, 0x0, 0x8e226880, 0x2)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/tcpsock.go:228 +0x3c
 E/Go: github.com/ethereum/go-ethereum/p2p.(*Server).listenLoop(0x8e1550e0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/server.go:641 +0x1ac
 E/Go: created by github.com/ethereum/go-ethereum/p2p.(*Server).startListening
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/server.go:432 +0x12c
 E/Go: goroutine 33 [select]:
 E/Go: github.com/ethereum/go-ethereum/p2p/nat.Map(0x9f23e680, 0x8e19c120, 0x8e1b5780, 0x9ea2b688, 0x3, 0xc673, 0xc673, 0x9ea373d9, 0xc)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/nat/nat.go:114 +0x638
 E/Go: github.com/ethereum/go-ethereum/p2p.(*Server).startListening.func1(0x8e1550e0, 0x8e198180)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/server.go:437 +0x68
 E/Go: created by github.com/ethereum/go-ethereum/p2p.(*Server).startListening
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/server.go:439 +0x1b4
 E/Go: goroutine 67 [select]:
 E/Go: github.com/ethereum/go-ethereum/p2p.(*Server).run(0x8e1550e0, 0x9f23e630, 0x8e398540)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/server.go:501 +0x11b4
 E/Go: created by github.com/ethereum/go-ethereum/p2p.(*Server).Start
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/server.go:417 +0x640
 E/Go: goroutine 68 [select]:
 E/Go: github.com/ethereum/go-ethereum/p2p/discv5.(*Network).SearchTopic(0x8e15e900, 0x8e1981a0, 0x14, 0x8e1b4440, 0x8e1b4480, 0x8e46a1e0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/net.go:311 +0x1ac
 E/Go: created by github.com/ethereum/go-ethereum/les.newServerPool
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/serverpool.go:146 +0x768
 E/Go: goroutine 69 [select]:
 E/Go: github.com/ethereum/go-ethereum/les.(*serverPool).eventLoop(0x8e2161b0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/serverpool.go:279 +0x64c
 E/Go: created by github.com/ethereum/go-ethereum/les.newServerPool
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/serverpool.go:149 +0x644
 E/Go: goroutine 70 [select]:
 E/Go: github.com/ethereum/go-ethereum/les.(*lightFetcher).syncLoop(0x8e429770)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/fetcher.go:130 +0x8a4
 E/Go: created by github.com/ethereum/go-ethereum/les.newLightFetcher
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/fetcher.go:119 +0x2d0
 E/Go: goroutine 71 [select]:
 E/Go: github.com/ethereum/go-ethereum/les.(*ProtocolManager).syncer(0x8e2c9050)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/sync.go:44 +0xe8
 E/Go: created by github.com/ethereum/go-ethereum/les.(*ProtocolManager).Start
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/handler.go:272 +0xf8
 E/Go: goroutine 72 [select]:
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*PublicDownloaderAPI).eventLoop(0x8e2ed220)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/api.go:63 +0x450
 E/Go: created by github.com/ethereum/go-ethereum/eth/downloader.NewPublicDownloaderAPI
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/api.go:49 +0x114
 E/Go: goroutine 73 [select]:
 E/Go: github.com/ethereum/go-ethereum/eth/filters.(*EventSystem).eventLoop(0x8e198480)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/filters/filter_system.go:407 +0x640
 E/Go: created by github.com/ethereum/go-ethereum/eth/filters.NewEventSystem
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/filters/filter_system.go:100 +0x120
 E/Go: goroutine 74 [chan receive]:
 E/Go: github.com/ethereum/go-ethereum/eth/filters.(*PublicFilterAPI).timeoutLoop(0x8e43a6f0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/filters/api.go:85 +0x4c
 E/Go: created by github.com/ethereum/go-ethereum/eth/filters.NewPublicFilterAPI
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/filters/api.go:75 +0x1bc
 E/Go: goroutine 107 [sleep]:
 E/Go: time.Sleep(0xfc238e4c, 0x6)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/time.go:59 +0x12c
 E/Go: github.com/ethereum/go-ethereum/p2p.waitExpireTask.Do(0xfc238e4c, 0x6, 0x8e1550e0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/dial.go:359 +0x24
 E/Go: github.com/ethereum/go-ethereum/p2p.(*waitExpireTask).Do(0x8e161e90, 0x8e1550e0)
 E/Go:  <autogenerated>:79 +0x5c
 E/Go: github.com/ethereum/go-ethereum/p2p.(*Server).run.func2.1(0x9f239018, 0x8e161e90, 0x8e1550e0, 0x8e275780)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/server.go:482 +0x2c
 E/Go: created by github.com/ethereum/go-ethereum/p2p.(*Server).run.func2
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/server.go:482 +0x130
 E/Go: goroutine 492 [runnable]:
 E/Go: github.com/ethereum/go-ethereum/crypto/sha3.copyOutGeneric(0x8fbbe000, 0x8fbbe0d9, 0x48, 0xa8)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/crypto/sha3/xor_generic.go:23 +0xc8
 E/Go: github.com/ethereum/go-ethereum/crypto/sha3.(*state).padAndPermute(0x8fbbe000, 0x101)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/crypto/sha3/sha3.go:121 +0x174
 E/Go: github.com/ethereum/go-ethereum/crypto/sha3.(*state).Read(0x8fbbe000, 0x8fbeb6c0, 0x40, 0x40, 0x40, 0x40, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/crypto/sha3/sha3.go:164 +0x188
 E/Go: github.com/ethereum/go-ethereum/crypto/sha3.(*state).Sum(0x8f0aa9c0, 0x7af90808, 0x0, 0xd294c0, 0x40, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/crypto/sha3/sha3.go:191 +0xdc
 E/Go: github.com/ethereum/go-ethereum/consensus/ethash.makeHasher.func1(0x7af90808, 0xd294c0, 0xd294c0, 0x8fbd4cc0, 0x40, 0x40)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/consensus/ethash/algorithm.go:61 +0x70
 E/Go: github.com/ethereum/go-ethereum/consensus/ethash.generateCache(0x7ac9a008, 0x407f30, 0x407f30, 0x1, 0x0, 0x8ed629e0, 0x20, 0x20)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/consensus/ethash/algorithm.go:147 +0x5b8
 E/Go: github.com/ethereum/go-ethereum/consensus/ethash.(*cache).generate.func1.1(0x7ac9a008, 0x407f30, 0x407f30)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/consensus/ethash/ethash.go:194 +0x58
 E/Go: github.com/ethereum/go-ethereum/consensus/ethash.memoryMapAndGenerate(0x8ecfa000, 0x67, 0x101fcc0, 0x0, 0x8ed47754, 0x2, 0x0, 0x0, 0x0, 0x9f239b70, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/consensus/ethash/ethash.go:131 +0x1fc
 E/Go: github.com/ethereum/go-ethereum/consensus/ethash.(*cache).generate.func1()
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/consensus/ethash/ethash.go:194 +0x5a0
 E/Go: sync.(*Once).Do(0x8eceda74, 0x8ed477bc)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/sync/once.go:44 +0xc0
 E/Go: github.com/ethereum/go-ethereum/consensus/ethash.(*cache).generate(0x8eceda40, 0x8e33a5a0, 0x4c, 0x3, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/consensus/ethash/ethash.go:207 +0x68
 E/Go: created by github.com/ethereum/go-ethereum/consensus/ethash.(*Ethash).cache
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/consensus/ethash/ethash.go:484 +0x748
 E/Go: goroutine 301 [semacquire]:
 E/Go: sync.runtime_notifyListWait(0x8e27e22c, 0x1)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/sema.go:298 +0x150
 E/Go: sync.(*Cond).Wait(0x8e27e224)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/sync/cond.go:57 +0x78
 E/Go: io.(*pipe).read(0x8e27e200, 0x8e22b801, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:47 +0xdc
 E/Go: io.(*PipeReader).Read(0x8ecea1c0, 0x8e22b801, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:130 +0x38
 E/Go: encoding/json.(*Decoder).refill(0x8e4811d0, 0x9ee0b40a, 0x9)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:152 +0xdc
 E/Go: encoding/json.(*Decoder).readValue(0x8e4811d0, 0x0, 0x0, 0x9e721120)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:128 +0x258
 E/Go: encoding/json.(*Decoder).Decode(0x8e4811d0, 0x9ee1ba28, 0x8f84ab50, 0xaf2004b0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:57 +0x60
 E/Go: github.com/ethereum/go-ethereum/rpc.(*jsonCodec).ReadRequestHeaders(0x8ef98c30, 0x0, 0x0, 0x0, 0x8e1baf00, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/json.go:126 +0xcc
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).readRequest(0x8e198540, 0x9f240630, 0x8ef98c30, 0x8e198540, 0x8e162020, 0x9f240630, 0x8ef98c30, 0x8ecea278, 0x1)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:395 +0x34
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).serveRequest(0x8e198540, 0x9f240630, 0x8ef98c30, 0x0, 0x3, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:179 +0x1d0
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).ServeCodec(0x8e198540, 0x9f240630, 0x8ef98c30, 0x3)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:235 +0x68
 E/Go: created by github.com/ethereum/go-ethereum/rpc.DialInProc.func1
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/inproc.go:29 +0x2d8
 E/Go: goroutine 98 [chan receive]:
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync(0x8e1c4120, 0x1, 0x0, 0x8ed0cdb4, 0x5, 0x5, 0x8ecf8e00, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:471 +0x14c
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).syncWithPeer(0x8e1c4120, 0x8e324240, 0xf0b1e27a, 0x3588bcbd, 0xf5a0c216, 0xb3e82839, 0x4f48c795, 0x85e508c7, 0x67d0dac3, 0xe2f82e8e, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:448 +0x854
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).synchronise(0x8e1c4120, 0x8e161ec0, 0x10, 0xf0b1e27a, 0x3588bcbd, 0xf5a0c216, 0xb3e82839, 0x4f48c795, 0x85e508c7, 0x67d0dac3, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:367 +0x388
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).Synchronise(0x8e1c4120, 0x8e161ec0, 0x10, 0xf0b1e27a, 0x3588bcbd, 0xf5a0c216, 0xb3e82839, 0x4f48c795, 0x85e508c7, 0x67d0dac3, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:288 +0x5c
 E/Go: github.com/ethereum/go-ethereum/les.(*ProtocolManager).synchronise(0x8e2c9050, 0x8e399ce0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/sync.go:83 +0x17c
 E/Go: github.com/ethereum/go-ethereum/les.(*lightFetcher).nextRequest.func3.1(0x9f23cb98, 0x8e399ce0, 0x8e429770)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/fetcher.go:434 +0x8c
 E/Go: created by github.com/ethereum/go-ethereum/les.(*lightFetcher).nextRequest.func3
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/fetcher.go:436 +0x40
 E/Go: goroutine 96 [chan receive]:
 E/Go: github.com/ethereum/go-ethereum/les.(*execQueue).loop(0x8e40a790)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/execqueue.go:41 +0x40
 E/Go: created by github.com/ethereum/go-ethereum/les.newExecQueue
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/execqueue.go:36 +0xac
 E/Go: goroutine 102 [select]:
 E/Go: github.com/ethereum/go-ethereum/les.(*serverPool).dial.func1(0x8e2161b0, 0x8e1c47e0, 0x8e468e20)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/serverpool.go:503 +0x1fc
 E/Go: created by github.com/ethereum/go-ethereum/les.(*serverPool).dial
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/serverpool.go:511 +0x2e4
 E/Go: goroutine 592 [semacquire]:
 E/Go: sync.runtime_notifyListWait(0x8e27e5ac, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/sema.go:298 +0x150
 E/Go: sync.(*Cond).Wait(0x8e27e5a4)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/sync/cond.go:57 +0x78
 E/Go: io.(*pipe).read(0x8e27e580, 0x8e22a601, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:47 +0xdc
 E/Go: io.(*PipeReader).Read(0x8fac8c00, 0x8e22a601, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:130 +0x38
 E/Go: encoding/json.(*Decoder).refill(0x8e3273b0, 0x9ee0b40a, 0x9)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:152 +0xdc
 E/Go: encoding/json.(*Decoder).readValue(0x8e3273b0, 0x0, 0x0, 0x9e721120)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:128 +0x258
 E/Go: encoding/json.(*Decoder).Decode(0x8e3273b0, 0x9ee1ba28, 0x8fc31e90, 0xaf200258, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:57 +0x60
 E/Go: github.com/ethereum/go-ethereum/rpc.(*jsonCodec).ReadRequestHeaders(0x8f5899b0, 0x0, 0x0, 0x0, 0x8e1baf00, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/json.go:126 +0xcc
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).readRequest(0x8e198540, 0x9f240630, 0x8f5899b0, 0x8e198540, 0x8fac8c88, 0x9f240630, 0x8f5899b0, 0x8fac8c98, 0x1)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:395 +0x34
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).serveRequest(0x8e198540, 0x9f240630, 0x8f5899b0, 0x8e274500, 0x3, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:179 +0x1d0
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).ServeCodec(0x8e198540, 0x9f240630, 0x8f5899b0, 0x3)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:235 +0x68
 E/Go: created by github.com/ethereum/go-ethereum/rpc.DialInProc.func1
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/inproc.go:29 +0x2d8
 E/Go: goroutine 97 [select]:
 E/Go: github.com/ethereum/go-ethereum/les.(*ProtocolManager).handle.func4(0x8e399ce0, 0x8e19aa00)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/handler.go:417 +0xe0
 E/Go: created by github.com/ethereum/go-ethereum/les.(*ProtocolManager).handle
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/handler.go:424 +0x5f0
 E/Go: goroutine 284 [semacquire]:
 E/Go: sync.runtime_notifyListWait(0x8e27e2ac, 0x1)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/sema.go:298 +0x150
 E/Go: sync.(*Cond).Wait(0x8e27e2a4)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/sync/cond.go:57 +0x78
 E/Go: io.(*pipe).read(0x8e27e280, 0x8f99a001, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:47 +0xdc
 E/Go: io.(*PipeReader).Read(0x8ecea1e8, 0x8f99a001, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:130 +0x38
 E/Go: encoding/json.(*Decoder).refill(0x8e326f00, 0xa, 0x9)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:152 +0xdc
 E/Go: encoding/json.(*Decoder).readValue(0x8e326f00, 0x0, 0x0, 0x9e72bb3c)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:128 +0x258
 E/Go: encoding/json.(*Decoder).Decode(0x8e326f00, 0x9ee1ba28, 0x8f95e570, 0x9e2d62a0, 0x8ecea348)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:57 +0x60
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).read.func1(0x9edcc320, 0x8f22e940, 0x8e17cfc8, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:631 +0x70
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).read(0x8f22ea00, 0x9f240358, 0x8ecea208, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:644 +0x11c
 E/Go: created by github.com/ethereum/go-ethereum/rpc.(*Client).dispatch
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:466 +0x44
 E/Go: goroutine 106 [select]:
 E/Go: github.com/ethereum/go-ethereum/p2p.(*Peer).run(0x8e303f40, 0x8e39a150, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/peer.go:161 +0x508
 E/Go: github.com/ethereum/go-ethereum/p2p.(*Server).runPeer(0x8e1550e0, 0x8e303f40)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/server.go:758 +0x2c
 E/Go: created by github.com/ethereum/go-ethereum/p2p.(*Server).run
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/server.go:550 +0xbe4
 E/Go: goroutine 108 [IO wait]:
 E/Go: net.runtime_pollWait(0x7d2c5818, 0x72, 0x8f447c20)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/netpoll.go:164 +0x44
 E/Go: net.(*pollDesc).wait(0x8e3031bc, 0x72, 0x9f23a6b0, 0x9f237bf4)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_poll_runtime.go:75 +0x28
 E/Go: net.(*pollDesc).waitRead(0x8e3031bc, 0x8f447c20, 0x20)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_poll_runtime.go:80 +0x24
 E/Go: net.(*netFD).Read(0x8e303180, 0x8f447c20, 0x20, 0x20, 0x0, 0x9f23a6b0, 0x9f237bf4)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_unix.go:250 +0x150
 E/Go: net.(*conn).Read(0x8ecea080, 0x8f447c20, 0x20, 0x20, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/net.go:181 +0x58
 E/Go: io.ReadAtLeast(0x7dc22128, 0x8ecea080, 0x8f447c20, 0x20, 0x20, 0x20, 0x9eea0e70, 0xb068b00, 0x7dc22128)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/io.go:307 +0x8c
 E/Go: io.ReadFull(0x7dc22128, 0x8ecea080, 0x8f447c20, 0x20, 0x20, 0x20, 0x9e46e9bc, 0x8e303180)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/io.go:325 +0x40
 E/Go: github.com/ethereum/go-ethereum/p2p.(*rlpxFrameRW).ReadMsg(0x8e1f6d50, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/rlpx.go:628 +0xb8
 E/Go: github.com/ethereum/go-ethereum/p2p.(*rlpx).ReadMsg(0x8e468fe0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/rlpx.go:89 +0x188
 E/Go: github.com/ethereum/go-ethereum/p2p.(*Peer).readLoop(0x8e303f40, 0x8e39e100)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/peer.go:212 +0x5c
 E/Go: created by github.com/ethereum/go-ethereum/p2p.(*Peer).run
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/peer.go:151 +0xd4
 E/Go: goroutine 109 [select]:
 E/Go: github.com/ethereum/go-ethereum/p2p.(*Peer).pingLoop(0x8e303f40)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/peer.go:197 +0x1c0
 E/Go: created by github.com/ethereum/go-ethereum/p2p.(*Peer).run
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/peer.go:152 +0xf4
 E/Go: goroutine 110 [select]:
 E/Go: github.com/ethereum/go-ethereum/p2p.(*protoRW).ReadMsg(0x8e303e00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/peer.go:355 +0xf8
 E/Go: github.com/ethereum/go-ethereum/les.(*ProtocolManager).handleMsg(0x8e2c9050, 0x8e399ce0, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/handler.go:441 +0x3c
 E/Go: github.com/ethereum/go-ethereum/les.(*ProtocolManager).handle(0x8e2c9050, 0x8e399ce0, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/handler.go:428 +0x604
 E/Go: github.com/ethereum/go-ethereum/les.NewProtocolManager.func1(0x8e303f40, 0x9f23b338, 0x8e303e00, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/handler.go:169 +0x164
 E/Go: github.com/ethereum/go-ethereum/p2p.(*Peer).startProtocols.func1(0x8e303e00, 0x8e303f40)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/peer.go:301 +0x38
 E/Go: created by github.com/ethereum/go-ethereum/p2p.(*Peer).startProtocols
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/peer.go:310 +0x1d4
 E/Go: goroutine 132 [semacquire]:
 E/Go: sync.runtime_notifyListWait(0x8e1b6168, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/sema.go:298 +0x150
 E/Go: sync.(*Cond).Wait(0x8e1b6160)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/sync/cond.go:57 +0x78
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*queue).WaitResults(0x8e324000, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/queue.go:421 +0x9c
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).processContent(0x8e1c4120, 0x9eeb5cd8, 0x8e40afb0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:1359 +0x44
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync.func1(0x8e40afb0, 0x8e19b540, 0x8e1c4120)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:457 +0x44
 E/Go: created by github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:457 +0x9c
 E/Go: goroutine 133 [select]:
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).fetchHeaders(0x8e1c4120, 0x8e324240, 0x1734, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:792 +0xc3c
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).syncWithPeer.func3(0x4, 0x9eeb5cd8)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:443 +0x3c
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync.func2(0x8e40afb0, 0x8e19b540, 0x8ecf1760)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:460 +0x44
 E/Go: created by github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:460 +0xe8
 E/Go: goroutine 134 [runnable]:
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*iComparer).Compare(0x8e162b98, 0x90608a06, 0x12, 0x3e15fa, 0x8ee997c0, 0x32, 0x32, 0xffffffff)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/comparer.go:37 +0x194
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/memdb.(*DB).findGE(0x8e1b2880, 0x8ee997c0, 0x32, 0x32, 0x8ee99701, 0x0, 0x9e3778ec)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/memdb/memdb.go:219 +0x160
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/memdb.(*DB).Put(0x8e1b2880, 0x8ee997c0, 0x32, 0x32, 0x8ee997ad, 0x5, 0xd, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/memdb/memdb.go:281 +0x90
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*Batch).putMem(0x8ff236c0, 0x6d5e, 0x0, 0x8e1b2880, 0x6d5e, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/batch.go:219 +0x178
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).writeLocked(0x8e3e4200, 0x8ff236c0, 0x8ff236c0, 0x1, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_write.go:217 +0x370
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).putRec(0x8e3e4200, 0x1, 0x8f3951d0, 0x2a, 0x30, 0x8fcff260, 0x5, 0x5, 0x0, 0x8f3951d0, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_write.go:341 +0x238
 E/Go: github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).Put(0x8e3e4200, 0x8f3951d0, 0x2a, 0x30, 0x8fcff260, 0x5, 0x5, 0x0, 0x9e788f6c, 0x8f3951d9)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/vendor/github.com/syndtr/goleveldb/leveldb/db_write.go:351 +0x5c
 E/Go: github.com/ethereum/go-ethereum/ethdb.(*LDBDatabase).Put(0x8e33e070, 0x8f3951d0, 0x2a, 0x30, 0x8fcff260, 0x5, 0x5, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/ethdb/database.go:109 +0x80
 E/Go: github.com/ethereum/go-ethereum/core.WriteTd(0x9f23f198, 0x8e33e070, 0x5d831459, 0xeb758030, 0xe0968228, 0xe5279d6, 0xf9f70584, 0xf262789c, 0x7abb524f, 0x23835e9e, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/core/database_util.go:379 +0x238
 E/Go: github.com/ethereum/go-ethereum/core.(*HeaderChain).WriteTd(0x8e33a7d0, 0x5d831459, 0xeb758030, 0xe0968228, 0xe5279d6, 0xf9f70584, 0xf262789c, 0x7abb524f, 0x23835e9e, 0x15de, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/core/headerchain.go:336 +0x5c
 E/Go: github.com/ethereum/go-ethereum/core.(*HeaderChain).WriteHeader(0x8e33a7d0, 0x8f969c00, 0x8e3403dc, 0xf262789c, 0x7abb524f)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/core/headerchain.go:146 +0x19c
 E/Go: github.com/ethereum/go-ethereum/light.(*LightChain).InsertHeaderChain.func2(0x8f969c00, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/light/lightchain.go:370 +0x8c
 E/Go: github.com/ethereum/go-ethereum/core.(*HeaderChain).InsertHeaderChain(0x8e33a7d0, 0x8ed70600, 0x500, 0x500, 0x8fa0e050, 0xd0a56e21, 0xe, 0x2702726d, 0x9f2f64a0, 0x9e984994, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/core/headerchain.go:275 +0x11c
 E/Go: github.com/ethereum/go-ethereum/light.(*LightChain).InsertHeaderChain(0x8e3403c0, 0x8ed70600, 0x500, 0x500, 0x64, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/light/lightchain.go:383 +0x1e4
 E/Go: github.com/ethereum/go-ethereum/les.(BlockChain).InsertHeaderChain-fm(0x8ed70600, 0x500, 0x500, 0x64, 0x6b6cd213, 0xa05a186b, 0xaa614c45)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/les/handler.go:204 +0x44
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).processHeaders(0x8e1c4120, 0x1181, 0x0, 0x8e40aa20, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:1302 +0xb90
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).syncWithPeer.func4(0x4, 0x9eeb5cd8)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:444 +0x3c
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync.func2(0x8e40afb0, 0x8e19b540, 0x8ecf1780)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:460 +0x44
 E/Go: created by github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:460 +0xe8
 E/Go: goroutine 135 [select]:
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).fetchParts(0x8e1c4120, 0x9f238d18, 0x8e1b95f8, 0x8e1b53c0, 0x8e39c7f0, 0x8e1b54c0, 0x8ed54f4c, 0x8ed54f7c, 0x8ed54f74, 0x8ed54f6c, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:1031 +0x11e0
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).fetchBodies(0x8e1c4120, 0x1, 0x0, 0x8e4107c8, 0x8ecf1840)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:900 +0x294
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).syncWithPeer.func5(0x4, 0x9eeb5cd8)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:445 +0x34
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync.func2(0x8e40afb0, 0x8e19b540, 0x8e40af90)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:460 +0x44
 E/Go: created by github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:460 +0xe8
 E/Go: goroutine 136 [select]:
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).fetchParts(0x8e1c4120, 0x9f238d18, 0x8e1b9600, 0x8e1b5400, 0x8e39c800, 0x8e1b5540, 0x8ed55f4c, 0x8ed55f7c, 0x8ed55f74, 0x8ed55f6c, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:1031 +0x11e0
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).fetchReceipts(0x8e1c4120, 0x1, 0x0, 0x8e411fc8, 0x8ecf1880)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:924 +0x294
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).syncWithPeer.func6(0x4, 0x9eeb5cd8)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:446 +0x34
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync.func2(0x8e40afb0, 0x8e19b540, 0x8e40afa0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:460 +0x44
 E/Go: created by github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:460 +0xe8
 E/Go: goroutine 137 [select]:
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).fetchParts(0x8e1c4120, 0x9f238d18, 0x8e1b9608, 0x8e1b5480, 0x8e39c7d0, 0x8e1b5580, 0x8ed0ef74, 0x8ed0ef9c, 0x8ed0ef94, 0x9eeb4eac, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:1031 +0x11e0
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).fetchNodeData(0x8e1c4120, 0x8ed4c7c8, 0x8ecf0ee0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:986 +0x22c
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).syncWithPeer.func7(0x4, 0x9eeb5cd8)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:447 +0x1c
 E/Go: github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync.func2(0x8e40afb0, 0x8e19b540, 0x8e39c7c8)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:460 +0x44
 E/Go: created by github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/eth/downloader/downloader.go:460 +0xe8
 E/Go: goroutine 724 [select]:
 E/Go: github.com/ethereum/go-ethereum/p2p/discv5.(*Network).lookup(0x8e15e900, 0x1d476c5d, 0xd3bfd2c4, 0x380457d7, 0xb000000, 0xda3d5, 0x2daa0000, 0x47f0, 0x969a2700, 0x0, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/net.go:272 +0x4e8
 E/Go: github.com/ethereum/go-ethereum/p2p/discv5.(*Network).loop.func7(0x8e15e900, 0x1d476c5d, 0xd3bfd2c4, 0x380457d7, 0xb000000, 0xda3d5, 0x2daa0000, 0x47f0, 0x969a2700, 0x8e1981a0, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/net.go:559 +0x40
 E/Go: created by github.com/ethereum/go-ethereum/p2p/discv5.(*Network).loop
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/net.go:561 +0x1860
 E/Go: goroutine 529 [select]:
 E/Go: github.com/ethereum/go-ethereum/consensus/ethash.generateCache.func2(0x8f0a80c0, 0x9f2405f8, 0x8f84a2a0, 0x8f84a288, 0x407f3, 0xd0a56e1c, 0xe, 0x11c244e4, 0x9f2f64a0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/consensus/ethash/algorithm.go:119 +0x30c
 E/Go: created by github.com/ethereum/go-ethereum/consensus/ethash.generateCache
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/consensus/ethash/algorithm.go:126 +0x248
 E/Go: goroutine 148 [IO wait]:
 E/Go: net.runtime_pollWait(0x7d2c5638, 0x72, 0x8e331000)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/netpoll.go:164 +0x44
 E/Go: net.(*pollDesc).wait(0x8ef5967c, 0x72, 0x9f23a6b0, 0x9f237bf4)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_poll_runtime.go:75 +0x28
 E/Go: net.(*pollDesc).waitRead(0x8ef5967c, 0x8e331000, 0x1000)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_poll_runtime.go:80 +0x24
 E/Go: net.(*netFD).Read(0x8ef59640, 0x8e331000, 0x1000, 0x1000, 0x0, 0x9f23a6b0, 0x9f237bf4)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/fd_unix.go:250 +0x150
 E/Go: net.(*conn).Read(0x8e1b8180, 0x8e331000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/net.go:181 +0x58
 E/Go: net/http.(*persistConn).Read(0x8e3beaa0, 0x8e331000, 0x1000, 0x1000, 0x4, 0x9e32a8e8, 0x8ee7df40)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/http/transport.go:1316 +0x17c
 E/Go: bufio.(*Reader).fill(0x8e1f7ef0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/bufio/bufio.go:97 +0xf4
 E/Go: bufio.(*Reader).Peek(0x8e1f7ef0, 0x1, 0x8ed10da8, 0x1, 0x0, 0x8e3691c0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/bufio/bufio.go:129 +0x58
 E/Go: net/http.(*persistConn).readLoop(0x8e3beaa0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/http/transport.go:1474 +0x18c
 E/Go: created by net/http.(*Transport).dialConn
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/http/transport.go:1117 +0x8bc
 E/Go: goroutine 149 [select]:
 E/Go: net/http.(*persistConn).writeLoop(0x8e3beaa0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/http/transport.go:1704 +0x3bc
 E/Go: created by net/http.(*Transport).dialConn
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/net/http/transport.go:1118 +0x8dc
 E/Go: goroutine 302 [select]:
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).dispatch(0x8f22ea00, 0x9f240358, 0x8ecea208)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:490 +0xb9c
 E/Go: created by github.com/ethereum/go-ethereum/rpc.newClient
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:203 +0x3c4
 E/Go: goroutine 384 [semacquire]:
 E/Go: sync.runtime_notifyListWait(0x8e27e42c, 0x1)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/sema.go:298 +0x150
 E/Go: sync.(*Cond).Wait(0x8e27e424)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/sync/cond.go:57 +0x78
 E/Go: io.(*pipe).read(0x8e27e400, 0x8f99b801, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:47 +0xdc
 E/Go: io.(*PipeReader).Read(0x8e1622e0, 0x8f99b801, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:130 +0x38
 E/Go: encoding/json.(*Decoder).refill(0x8e481ef0, 0xa, 0x9)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:152 +0xdc
 E/Go: encoding/json.(*Decoder).readValue(0x8e481ef0, 0x0, 0x0, 0x9e72bb3c)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:128 +0x258
 E/Go: encoding/json.(*Decoder).Decode(0x8e481ef0, 0x9ee1ba28, 0x8f84ab00, 0x9e2d62a0, 0x8e1b87c8)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:57 +0x60
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).read.func1(0x9edcc320, 0x8e37e900, 0x8fbb4fc8, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:631 +0x70
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).read(0x8e37e9c0, 0x9f240358, 0x8e1622f8, 0x8e3be601, 0x1)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:644 +0x11c
 E/Go: created by github.com/ethereum/go-ethereum/rpc.(*Client).dispatch
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:466 +0x44
 E/Go: goroutine 197 [semacquire]:
 E/Go: sync.runtime_notifyListWait(0x8e1f432c, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/sema.go:298 +0x150
 E/Go: sync.(*Cond).Wait(0x8e1f4324)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/sync/cond.go:57 +0x78
 E/Go: io.(*pipe).read(0x8e1f4300, 0x8e22ac01, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:47 +0xdc
 E/Go: io.(*PipeReader).Read(0x8e1b8c60, 0x8e22ac01, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:130 +0x38
 E/Go: encoding/json.(*Decoder).refill(0x8e480a50, 0x9ee0b40a, 0x9)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:152 +0xdc
 E/Go: encoding/json.(*Decoder).readValue(0x8e480a50, 0x0, 0x0, 0x9e721120)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:128 +0x258
 E/Go: encoding/json.(*Decoder).Decode(0x8e480a50, 0x9ee1ba28, 0x8f30b7c0, 0xaf200258, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:57 +0x60
 E/Go: github.com/ethereum/go-ethereum/rpc.(*jsonCodec).ReadRequestHeaders(0x8eea46c0, 0x0, 0x0, 0x0, 0x8e1baf00, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/json.go:126 +0xcc
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).readRequest(0x8e198540, 0x9f240630, 0x8eea46c0, 0x8e198540, 0x8e1b90d0, 0x9f240630, 0x8eea46c0, 0x8e1b9120, 0x1)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:395 +0x34
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).serveRequest(0x8e198540, 0x9f240630, 0x8eea46c0, 0x8e274500, 0x3, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:179 +0x1d0
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).ServeCodec(0x8e198540, 0x9f240630, 0x8eea46c0, 0x3)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:235 +0x68
 E/Go: created by github.com/ethereum/go-ethereum/rpc.DialInProc.func1
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/inproc.go:29 +0x2d8
 E/Go: goroutine 198 [select]:
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).dispatch(0x8f238680, 0x9f240358, 0x8e1b8cb8)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:490 +0xb9c
 E/Go: created by github.com/ethereum/go-ethereum/rpc.newClient
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:203 +0x3c4
 E/Go: goroutine 199 [semacquire]:
 E/Go: sync.runtime_notifyListWait(0x8e1f442c, 0x1)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/sema.go:298 +0x150
 E/Go: sync.(*Cond).Wait(0x8e1f4424)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/sync/cond.go:57 +0x78
 E/Go: io.(*pipe).read(0x8e1f4400, 0x8e22b201, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:47 +0xdc
 E/Go: io.(*PipeReader).Read(0x8e1b8c70, 0x8e22b201, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:130 +0x38
 E/Go: encoding/json.(*Decoder).refill(0x8e480f00, 0xa, 0x9)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:152 +0xdc
 E/Go: encoding/json.(*Decoder).readValue(0x8e480f00, 0x0, 0x0, 0x9e72bb3c)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:128 +0x258
 E/Go: encoding/json.(*Decoder).Decode(0x8e480f00, 0x9ee1ba28, 0x8f30b800, 0x9e2d62a0, 0x8e1b9790)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:57 +0x60
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).read.func1(0x9edcc320, 0x8f2385c0, 0x8e3f5fc8, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:631 +0x70
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).read(0x8f238680, 0x9f240358, 0x8e1b8cb8, 0x9f239060, 0x8f1cb0a0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:644 +0x11c
 E/Go: created by github.com/ethereum/go-ethereum/rpc.(*Client).dispatch
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:466 +0x44
 E/Go: goroutine 734 [select]:
 E/Go: github.com/ethereum/go-ethereum/p2p/discv5.(*Network).lookup(0x8e15e900, 0xd68ab722, 0x80ca6b7a, 0x2f0175f9, 0xd8000000, 0x1ef632, 0x53b40000, 0x4ec, 0x44f95c00, 0x0, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/net.go:272 +0x4e8
 E/Go: github.com/ethereum/go-ethereum/p2p/discv5.(*Network).loop.func7(0x8e15e900, 0xd68ab722, 0x80ca6b7a, 0x2f0175f9, 0xd8000000, 0x1ef632, 0x53b40000, 0x4ec, 0x44f95c00, 0x8e1981a0, ...)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/net.go:559 +0x40
 E/Go: created by github.com/ethereum/go-ethereum/p2p/discv5.(*Network).loop
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/p2p/discv5/net.go:561 +0x1860
 E/Go: goroutine 369 [semacquire]:
 E/Go: sync.runtime_notifyListWait(0x8e1b252c, 0x1)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/sema.go:298 +0x150
 E/Go: sync.(*Cond).Wait(0x8e1b2524)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/sync/cond.go:57 +0x78
 E/Go: io.(*pipe).read(0x8e1b2500, 0x8f99a601, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:47 +0xdc
 E/Go: io.(*PipeReader).Read(0x8e1b8418, 0x8f99a601, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:130 +0x38
 E/Go: encoding/json.(*Decoder).refill(0x8e481770, 0xa, 0x9)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:152 +0xdc
 E/Go: encoding/json.(*Decoder).readValue(0x8e481770, 0x0, 0x0, 0x9e721120)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:128 +0x258
 E/Go: encoding/json.(*Decoder).Decode(0x8e481770, 0x9ee1ba28, 0x8fa8ea80, 0xaf2004b0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:57 +0x60
 E/Go: github.com/ethereum/go-ethereum/rpc.(*jsonCodec).ReadRequestHeaders(0x8ef98d50, 0x0, 0x0, 0x0, 0x8e1baf00, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/json.go:126 +0xcc
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).readRequest(0x8e198540, 0x9f240630, 0x8ef98d50, 0x8e198540, 0x8e1620f0, 0x9f240630, 0x8ef98d50, 0x8e1b8600, 0x1)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:395 +0x34
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).serveRequest(0x8e198540, 0x9f240630, 0x8ef98d50, 0x8e274500, 0x3, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:179 +0x1d0
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Server).ServeCodec(0x8e198540, 0x9f240630, 0x8ef98d50, 0x3)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/server.go:235 +0x68
 E/Go: created by github.com/ethereum/go-ethereum/rpc.DialInProc.func1
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/inproc.go:29 +0x2d8
 E/Go: goroutine 370 [select]:
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).dispatch(0x8f7c04c0, 0x9f240358, 0x8e1b8448)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:490 +0xb9c
 E/Go: created by github.com/ethereum/go-ethereum/rpc.newClient
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:203 +0x3c4
 E/Go: goroutine 403 [semacquire]:
 E/Go: sync.runtime_notifyListWait(0x8e1b25ac, 0x1)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/runtime/sema.go:298 +0x150
 E/Go: sync.(*Cond).Wait(0x8e1b25a4)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/sync/cond.go:57 +0x78
 E/Go: io.(*pipe).read(0x8e1b2580, 0x8f99ac01, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:47 +0xdc
 E/Go: io.(*PipeReader).Read(0x8e1b8430, 0x8f99ac01, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/io/pipe.go:130 +0x38
 E/Go: encoding/json.(*Decoder).refill(0x8e326ff0, 0xa, 0x9)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:152 +0xdc
 E/Go: encoding/json.(*Decoder).readValue(0x8e326ff0, 0x0, 0x0, 0x9e72bb3c)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:128 +0x258
 E/Go: encoding/json.(*Decoder).Decode(0x8e326ff0, 0x9ee1ba28, 0x8f95e420, 0x9e2d62a0, 0x8e1b8808)
 E/Go:  /home/travis/build/ethereum/go-ethereum/go/src/encoding/json/stream.go:57 +0x60
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).read.func1(0x9edcc320, 0x8f7c0400, 0x8e3f3fc8, 0x0, 0x0)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:631 +0x70
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).read(0x8f7c04c0, 0x9f240358, 0x8e1b8448, 0x8e3be601, 0x1)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:644 +0x11c
 E/Go: created by github.com/ethereum/go-ethereum/rpc.(*Client).dispatch
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:466 +0x44
 E/Go: goroutine 466 [select]:
 E/Go: github.com/ethereum/go-ethereum/rpc.(*Client).dispatch(0x8e37e9c0, 0x9f240358, 0x8e1622f8)
 E/Go:  /home/travis/go/src/github.com/ethereum/go-ethereum/rpc/client.go:490 +0xb9c
 E/Go: created by github.com/ethereum/go-ethereum/rpc.newClient
Nigui commented 7 years ago

You can try with Geth.LightScryptN and Geth.LightScryptP. But yes, any solution to make it work with StandardScrypt would be welcomed !

karalabe commented 7 years ago

Please read https://github.com/ethereum/go-ethereum/wiki/Mobile:-Account-management#encrypted-keystores

Notably:

The important thing to know when using the encrypted keystore is that the cryptographic primitives used within can operate either in standard or light mode. The former provides a higher level of security at the cost of increased computational burden and resource consumption:

  • standard needs 256MB memory and 1 second processing on a modern CPU to access a key
  • light needs 4MB memory and 100 millisecond processing on a modern CPU to access a key

As such, light is more suitable for mobile applications, but you should be aware of the trade-offs nonetheless.

karalabe commented 7 years ago

@Nigui There's no way to make standard scrypt use less memory. That's the whole point of it :)

resimon commented 7 years ago

Thank you for the hint, I will try it as soon as possible with the light variant.

But I am still curious why it had worked without largeHeap flag in Android Manifest, if it takes 256MB memory.

pynixwang commented 6 years ago

light mode is ok, standard mode with largeHeap always crash.

pynixwang commented 6 years ago

scrypt allocate 256M on nativie stack, always crash on my nexus 4, works on some China brand phone, such as Xiaomi.