fatal error: runtime: failed to release pages
runtime stack:
runtime.throw(0xb801c0, 0x20)
/home/jcv/code/golang/src/runtime/panic.go:527 +0x7f
runtime.sysFree(0x0, 0x20000000, 0xdfd78)
/home/jcv/code/golang/src/runtime/mem_windows.go:86 +0x5b
runtime.mHeap_SysAlloc(0xf95f40, 0x10000000, 0xc393e8)
/home/jcv/code/golang/src/runtime/malloc.go:418 +0x4a1
runtime.mHeap_Grow(0xf95f40, 0x8000, 0x0)
/home/jcv/code/golang/src/runtime/mheap.go:628 +0x52
runtime.mHeap_AllocSpanLocked(0xf95f40, 0x8000, 0x1)
/home/jcv/code/golang/src/runtime/mheap.go:532 +0x574
runtime.mHeap_Alloc_m(0xf95f40, 0x8000, 0x0, 0x1, 0x10008000)
/home/jcv/code/golang/src/runtime/mheap.go:425 +0x281
runtime.mHeap_Alloc.func1()
/home/jcv/code/golang/src/runtime/mheap.go:484 +0x3d
runtime.systemstack(0xdfe74)
/home/jcv/code/golang/src/runtime/asm_386.s:283 +0x81
runtime.mHeap_Alloc(0xf95f40, 0x8000, 0x0, 0xf90101, 0x46393d)
/home/jcv/code/golang/src/runtime/mheap.go:485 +0x5a
runtime.largeAlloc(0x10000000, 0x1, 0x132559b0)
/home/jcv/code/golang/src/runtime/malloc.go:748 +0xa0
runtime.mallocgc.func3()
/home/jcv/code/golang/src/runtime/malloc.go:637 +0x30
runtime.systemstack(0xf900a0)
/home/jcv/code/golang/src/runtime/asm_386.s:267 +0x57
runtime.mstart()
/home/jcv/code/golang/src/runtime/proc1.go:668
goroutine 23 [running]:
runtime.systemstack_switch()
/home/jcv/code/golang/src/runtime/asm_386.s:222 fp=0x13255760 sp=0x1325575c
runtime.mallocgc(0x10000000, 0x96f9e0, 0x1, 0x13607000)
/home/jcv/code/golang/src/runtime/malloc.go:638 +0x77f fp=0x132557c8 sp=0x13255760
runtime.newarray(0x96f9e0, 0x4000000, 0x13607000)
/home/jcv/code/golang/src/runtime/malloc.go:780 +0xbc fp=0x132557ec sp=0x132557c8
runtime.makeslice(0x9633e0, 0x4000000, 0x0, 0x4000000, 0x0, 0x0, 0x0, 0x0)
/home/jcv/code/golang/src/runtime/slice.go:32 +0x180 fp=0x1325582c sp=0x132557ec
github.com/btcsuite/golangcrypto/scrypt.Key(0x13588350, 0xb, 0x10, 0x1320d4f4, 0x20, 0x20, 0x40000, 0x8, 0x1, 0x20, ...)
/home/jcv/code/go/src/github.com/btcsuite/golangcrypto/scrypt/scrypt.go:235 +0x18d fp=0x132558c8 sp=0x1325582c
github.com/decred/dcrwallet/snacl.(*SecretKey).deriveKey(0x1320d4f0, 0x13255da0, 0x0, 0x0)
/home/jcv/code/go/src/github.com/decred/dcrwallet/snacl/snacl.go:113 +0xa6 fp=0x13255940 sp=0x132558c8
github.com/decred/dcrwallet/snacl.(*SecretKey).DeriveKey(0x1320d4f0, 0x13255da0, 0x0, 0x0)
/home/jcv/code/go/src/github.com/decred/dcrwallet/snacl/snacl.go:204 +0x37 fp=0x132559b0 sp=0x13255940
github.com/decred/dcrwallet/waddrmgr.(*Manager).Unlock(0x1324c140, 0x13588350, 0xb, 0x10, 0x0, 0x0)
/home/jcv/code/go/src/github.com/decred/dcrwallet/waddrmgr/manager.go:1536 +0x4a2 fp=0x13255d9c sp=0x132559b0
github.com/decred/dcrwallet/wallet.(*Wallet).walletLocker(0x13260120)
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/wallet.go:1429 +0x224 fp=0x13255fc8 sp=0x13255d9c
runtime.goexit()
/home/jcv/code/golang/src/runtime/asm_386.s:1662 +0x1 fp=0x13255fcc sp=0x13255fc8
created by github.com/decred/dcrwallet/wallet.(*Wallet).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/wallet.go:615 +0x1f9
goroutine 1 [semacquire, 2 minutes]:
sync.runtime_Semacquire(0x132380c0)
/home/jcv/code/golang/src/runtime/sema.go:43 +0x26
sync.(*WaitGroup).Wait(0x132380b4)
/home/jcv/code/golang/src/sync/waitgroup.go:126 +0xa4
main.(*rpcServer).WaitForShutdown(0x13238000)
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:532 +0x8c
main.walletMain(0x0, 0x0)
/home/jcv/code/go/src/github.com/decred/dcrwallet/dcrwallet.go:173 +0x5ef
main.main()
/home/jcv/code/go/src/github.com/decred/dcrwallet/dcrwallet.go:42 +0x28
goroutine 5 [semacquire, 2 minutes]:
sync.runtime_Syncsemacquire(0x13571d48)
/home/jcv/code/golang/src/runtime/sema.go:237 +0x1ef
sync.(*Cond).Wait(0x13571d40)
/home/jcv/code/golang/src/sync/cond.go:62 +0x85
github.com/btcsuite/seelog.(*asyncLoopLogger).processItem(0x132071c0, 0x0)
/home/jcv/code/go/src/github.com/btcsuite/seelog/behavior_asynclooplogger.go:50 +0xaf
github.com/btcsuite/seelog.(*asyncLoopLogger).processQueue(0x132071c0)
/home/jcv/code/go/src/github.com/btcsuite/seelog/behavior_asynclooplogger.go:63 +0x2a
created by github.com/btcsuite/seelog.newAsyncLoopLogger
/home/jcv/code/go/src/github.com/btcsuite/seelog/behavior_asynclooplogger.go:40 +0x79
goroutine 6 [semacquire, 2 minutes]:
sync.runtime_Syncsemacquire(0x13571ee8)
/home/jcv/code/golang/src/runtime/sema.go:237 +0x1ef
sync.(*Cond).Wait(0x13571ee0)
/home/jcv/code/golang/src/sync/cond.go:62 +0x85
github.com/btcsuite/seelog.(*asyncLoopLogger).processItem(0x13207240, 0x0)
/home/jcv/code/go/src/github.com/btcsuite/seelog/behavior_asynclooplogger.go:50 +0xaf
github.com/btcsuite/seelog.(*asyncLoopLogger).processQueue(0x13207240)
/home/jcv/code/go/src/github.com/btcsuite/seelog/behavior_asynclooplogger.go:63 +0x2a
created by github.com/btcsuite/seelog.newAsyncLoopLogger
/home/jcv/code/go/src/github.com/btcsuite/seelog/behavior_asynclooplogger.go:40 +0x79
goroutine 33 [select, 1 minutes]:
main.(*rpcServer).notificationListener(0x13238000)
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:1091 +0x1544
created by main.(*rpcServer).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:410 +0x61
goroutine 8 [syscall, 2 minutes]:
os/signal.loop()
/home/jcv/code/golang/src/os/signal/signal_unix.go:22 +0x1a
created by os/signal.init.1
/home/jcv/code/golang/src/os/signal/signal_unix.go:28 +0x36
goroutine 9 [semacquire, 1 minutes]:
sync.runtime_Syncsemacquire(0x13616128)
/home/jcv/code/golang/src/runtime/sema.go:237 +0x1ef
sync.(*Cond).Wait(0x13616120)
/home/jcv/code/golang/src/sync/cond.go:62 +0x85
github.com/btcsuite/seelog.(*asyncAdaptiveLogger).processItem(0x1320d130, 0x1360c200, 0x0)
/home/jcv/code/go/src/github.com/btcsuite/seelog/behavior_adaptivelogger.go:94 +0xc3
github.com/btcsuite/seelog.(*asyncAdaptiveLogger).processQueue(0x1320d130)
/home/jcv/code/go/src/github.com/btcsuite/seelog/behavior_adaptivelogger.go:119 +0x2a
created by github.com/btcsuite/seelog.newAsyncAdaptiveLogger
/home/jcv/code/go/src/github.com/btcsuite/seelog/behavior_adaptivelogger.go:84 +0x3f5
goroutine 34 [select, 1 minutes]:
main.(*rpcServer).notificationQueue(0x13238000)
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:1220 +0x2e6
created by main.(*rpcServer).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:411 +0x81
goroutine 35 [select, 1 minutes]:
main.(*rpcServer).notificationHandler(0x13238000)
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:1258 +0x4e6
created by main.(*rpcServer).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:412 +0xa1
goroutine 36 [IO wait, 2 minutes]:
net.runtime_pollWait(0x337712b8, 0x72, 0x23684010)
/home/jcv/code/golang/src/runtime/netpoll.go:157 +0x55
net.(*pollDesc).Wait(0x236527d0, 0x72, 0x0, 0x0)
/home/jcv/code/golang/src/net/fd_poll_runtime.go:73 +0x35
net.(*ioSrv).ExecIO(0x13614228, 0x23652738, 0xadeb10, 0x8, 0x23684000, 0x236740e0, 0x0, 0x0)
/home/jcv/code/golang/src/net/fd_windows.go:182 +0x122
net.(*netFD).acceptOne(0x23652700, 0x23674000, 0x2, 0x2, 0x23652738, 0x135efd20, 0x0, 0x0)
/home/jcv/code/golang/src/net/fd_windows.go:564 +0x1d4
net.(*netFD).accept(0x23652700, 0x0, 0x0, 0x0)
/home/jcv/code/golang/src/net/fd_windows.go:594 +0x11f
net.(*TCPListener).AcceptTCP(0x13614238, 0x47dd50, 0x0, 0x0)
/home/jcv/code/golang/src/net/tcpsock_posix.go:254 +0x47
net.(*TCPListener).Accept(0x13614238, 0x0, 0x0, 0x0, 0x0)
/home/jcv/code/golang/src/net/tcpsock_posix.go:264 +0x39
crypto/tls.(*listener).Accept(0x13202380, 0x0, 0x0, 0x0, 0x0)
/home/jcv/code/golang/src/crypto/tls/tls.go:46 +0x53
net/http.(*Server).Serve(0x23656c00, 0x33771330, 0x13202380, 0x0, 0x0)
/home/jcv/code/golang/src/net/http/server.go:1887 +0x98
main.(*rpcServer).Start.func3(0x23656c00, 0x13238000, 0x33771330, 0x13202380)
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:474 +0xf9
created by main.(*rpcServer).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:477 +0x401
goroutine 37 [IO wait, 1 minutes]:
net.runtime_pollWait(0x33771240, 0x72, 0x133e8070)
/home/jcv/code/golang/src/runtime/netpoll.go:157 +0x55
net.(*pollDesc).Wait(0x236528b0, 0x72, 0x0, 0x0)
/home/jcv/code/golang/src/net/fd_poll_runtime.go:73 +0x35
net.(*ioSrv).ExecIO(0x13614228, 0x23652818, 0xadeb10, 0x8, 0x133e8060, 0x1341e2a0, 0x0, 0x0)
/home/jcv/code/golang/src/net/fd_windows.go:182 +0x122
net.(*netFD).acceptOne(0x236527e0, 0x1341e1c0, 0x2, 0x2, 0x23652818, 0x13604008, 0x0, 0x0)
/home/jcv/code/golang/src/net/fd_windows.go:564 +0x1d4
net.(*netFD).accept(0x236527e0, 0x0, 0x0, 0x0)
/home/jcv/code/golang/src/net/fd_windows.go:594 +0x11f
net.(*TCPListener).AcceptTCP(0x13614248, 0x236d8000, 0x0, 0x0)
/home/jcv/code/golang/src/net/tcpsock_posix.go:254 +0x47
net.(*TCPListener).Accept(0x13614248, 0x0, 0x0, 0x0, 0x0)
/home/jcv/code/golang/src/net/tcpsock_posix.go:264 +0x39
crypto/tls.(*listener).Accept(0x132023d0, 0x0, 0x0, 0x0, 0x0)
/home/jcv/code/golang/src/crypto/tls/tls.go:46 +0x53
net/http.(*Server).Serve(0x23656c00, 0x33771330, 0x132023d0, 0x0, 0x0)
/home/jcv/code/golang/src/net/http/server.go:1887 +0x98
main.(*rpcServer).Start.func3(0x23656c00, 0x13238000, 0x33771330, 0x132023d0)
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:474 +0xf9
created by main.(*rpcServer).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:477 +0x401
goroutine 49 [select, 2 minutes]:
main.mainInterruptHandler()
/home/jcv/code/go/src/github.com/decred/dcrwallet/signal.go:40 +0x256
created by main.addInterruptHandler
/home/jcv/code/go/src/github.com/decred/dcrwallet/signal.go:63 +0xd8
goroutine 50 [semacquire, 2 minutes]:
sync.runtime_Semacquire(0x135c20d0)
/home/jcv/code/golang/src/runtime/sema.go:43 +0x26
sync.(*WaitGroup).Wait(0x135c20c4)
/home/jcv/code/golang/src/sync/waitgroup.go:126 +0xa4
github.com/decred/dcrrpcclient.(*Client).WaitForShutdown(0x135c2070)
/home/jcv/code/go/src/github.com/decred/dcrrpcclient/infrastructure.go:1059 +0x2b
github.com/decred/dcrwallet/chain.(*Client).WaitForShutdown(0x135c2000)
/home/jcv/code/go/src/github.com/decred/dcrwallet/chain/chain.go:160 +0x23
main.walletMain.func3(0x13222af0, 0x13238000, 0x13260120)
/home/jcv/code/go/src/github.com/decred/dcrwallet/dcrwallet.go:157 +0x394
created by main.walletMain
/home/jcv/code/go/src/github.com/decred/dcrwallet/dcrwallet.go:169 +0x5e3
goroutine 16 [IO wait, 1 minutes]:
net.runtime_pollWait(0x337710d8, 0x72, 0x236842d0)
/home/jcv/code/golang/src/runtime/netpoll.go:157 +0x55
net.(*pollDesc).Wait(0x23678450, 0x72, 0x0, 0x0)
/home/jcv/code/golang/src/net/fd_poll_runtime.go:73 +0x35
net.(*ioSrv).ExecIO(0x13614228, 0x236783b8, 0xab1260, 0x7, 0xc3922c, 0xffffffff, 0x0, 0x0)
/home/jcv/code/golang/src/net/fd_windows.go:182 +0x122
net.(*netFD).Read(0x23678380, 0x13394000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/home/jcv/code/golang/src/net/fd_windows.go:463 +0x129
net.(*conn).Read(0x236722d8, 0x13394000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/home/jcv/code/golang/src/net/net.go:172 +0xb9
crypto/tls.(*block).readFromUntil(0x135bf4a0, 0x33990070, 0x236722d8, 0x5, 0x0, 0x0)
/home/jcv/code/golang/src/crypto/tls/conn.go:455 +0xa4
crypto/tls.(*Conn).readRecord(0x13200340, 0xc39517, 0x0, 0x0)
/home/jcv/code/golang/src/crypto/tls/conn.go:540 +0x269
crypto/tls.(*Conn).Read(0x13200340, 0x135a2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/jcv/code/golang/src/crypto/tls/conn.go:901 +0x130
bufio.(*Reader).fill(0x132051a0)
/home/jcv/code/golang/src/bufio/bufio.go:97 +0x172
bufio.(*Reader).Read(0x132051a0, 0x236842c0, 0x2, 0x8, 0xa327c0, 0x0, 0x0)
/home/jcv/code/golang/src/bufio/bufio.go:207 +0x1b9
github.com/btcsuite/websocket.(*Conn).readFull(0x135e41b0, 0x236842c0, 0x2, 0x8, 0x0, 0x0)
/home/jcv/code/go/src/github.com/btcsuite/websocket/conn.go:542 +0x80
github.com/btcsuite/websocket.(*Conn).advanceFrame(0x135e41b0, 0x0, 0x0, 0x0)
/home/jcv/code/go/src/github.com/btcsuite/websocket/conn.go:566 +0x138
github.com/btcsuite/websocket.(*Conn).NextReader(0x135e41b0, 0x30, 0x0, 0x0, 0x0, 0x0)
/home/jcv/code/go/src/github.com/btcsuite/websocket/conn.go:706 +0x56
github.com/btcsuite/websocket.(*Conn).ReadMessage(0x135e41b0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/jcv/code/go/src/github.com/btcsuite/websocket/conn.go:769 +0x4b
github.com/decred/dcrrpcclient.(*Client).wsInHandler(0x135c2070)
/home/jcv/code/go/src/github.com/decred/dcrrpcclient/infrastructure.go:393 +0x163
created by github.com/decred/dcrrpcclient.(*Client).start
/home/jcv/code/go/src/github.com/decred/dcrrpcclient/infrastructure.go:1051 +0x17a
goroutine 65 [select, 1 minutes]:
github.com/decred/dcrrpcclient.(*Client).wsOutHandler(0x135c2070)
/home/jcv/code/go/src/github.com/decred/dcrrpcclient/infrastructure.go:429 +0x278
created by github.com/decred/dcrrpcclient.(*Client).start
/home/jcv/code/go/src/github.com/decred/dcrrpcclient/infrastructure.go:1052 +0x197
goroutine 18 [select, 1 minutes]:
github.com/decred/dcrwallet/chain.(*Client).handler(0x135c2000)
/home/jcv/code/go/src/github.com/decred/dcrwallet/chain/chain.go:457 +0x87a
created by github.com/decred/dcrwallet/chain.(*Client).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/chain/chain.go:134 +0x1c3
goroutine 19 [select, 1 minutes]:
github.com/decred/dcrwallet/chain.(*Client).handlerVoting(0x135c2000)
/home/jcv/code/go/src/github.com/decred/dcrwallet/chain/chain.go:549 +0x2d4
created by github.com/decred/dcrwallet/chain.(*Client).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/chain/chain.go:135 +0x1e0
goroutine 20 [chan receive, 1 minutes]:
github.com/decred/dcrwallet/wallet.(*Wallet).handleChainNotifications(0x13260120)
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/chainntfns.go:50 +0xa6
created by github.com/decred/dcrwallet/wallet.(*Wallet).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/wallet.go:612 +0x1a2
goroutine 21 [chan receive, 1 minutes]:
github.com/decred/dcrwallet/wallet.(*Wallet).handleChainVotingNotifications(0x13260120)
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/chainntfns.go:698 +0x6e
created by github.com/decred/dcrwallet/wallet.(*Wallet).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/wallet.go:613 +0x1bf
goroutine 22 [select, 2 minutes]:
github.com/decred/dcrwallet/wallet.(*Wallet).txCreator(0x13260120)
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/wallet.go:1224 +0xb1a
created by github.com/decred/dcrwallet/wallet.(*Wallet).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/wallet.go:614 +0x1dc
goroutine 24 [select, 2 minutes]:
github.com/decred/dcrwallet/wallet.(*Wallet).rescanBatchHandler(0x13260120)
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/rescan.go:119 +0xb50
created by github.com/decred/dcrwallet/wallet.(*Wallet).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/wallet.go:616 +0x216
goroutine 25 [select, 2 minutes]:
github.com/decred/dcrwallet/wallet.(*Wallet).rescanProgressHandler(0x13260120)
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/rescan.go:184 +0xa95
created by github.com/decred/dcrwallet/wallet.(*Wallet).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/wallet.go:617 +0x233
goroutine 26 [select, 2 minutes]:
github.com/decred/dcrwallet/wallet.(*Wallet).rescanRPCHandler(0x13260120)
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/rescan.go:246 +0x5cd
created by github.com/decred/dcrwallet/wallet.(*Wallet).Start
/home/jcv/code/go/src/github.com/decred/dcrwallet/wallet/wallet.go:618 +0x250
goroutine 39 [chan receive]:
main.WalletPassphrase(0x13260120, 0x135c2000, 0x94fe20, 0x13588320, 0x0, 0x0, 0x0, 0x0)
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:4463 +0x192
main.(*rpcServer).HandlerClosure.func1(0x236c2630, 0x0, 0x0, 0x13588310)
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:598 +0xa0
main.(*rpcServer).PostClientRPC(0x13238000, 0x338f06c0, 0x133b2200, 0x136185b0)
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:963 +0x854
main.(*rpcServer).Start.func1(0x338f06c0, 0x133b2200, 0x136185b0)
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:439 +0x15d
net/http.HandlerFunc.ServeHTTP(0x13614260, 0x338f06c0, 0x133b2200, 0x136185b0)
/home/jcv/code/golang/src/net/http/server.go:1422 +0x34
main.throttled.func1(0x338f06c0, 0x133b2200, 0x136185b0)
/home/jcv/code/go/src/github.com/decred/dcrwallet/rpcserver.go:667 +0x1f0
net/http.HandlerFunc.ServeHTTP(0x13603f00, 0x338f06c0, 0x133b2200, 0x136185b0)
/home/jcv/code/golang/src/net/http/server.go:1422 +0x34
net/http.(*ServeMux).ServeHTTP(0x13603ee0, 0x338f06c0, 0x133b2200, 0x136185b0)
/home/jcv/code/golang/src/net/http/server.go:1699 +0x133
net/http.serverHandler.ServeHTTP(0x23656c00, 0x338f06c0, 0x133b2200, 0x136185b0)
/home/jcv/code/golang/src/net/http/server.go:1862 +0x156
net/http.(*conn).serve(0x135f4000)
/home/jcv/code/golang/src/net/http/server.go:1361 +0xc05
created by net/http.(*Server).Serve
/home/jcv/code/golang/src/net/http/server.go:1910 +0x343
PS C:\wallets\decred\windows-386>