Got this:
unexpected fault address 0x0
throw: fault
[signal 0xb code=0x80 addr=0x0 pc=0x7eff836f69bb]
goroutine 1 [chan receive]:
net.(*pollServer).WaitRead(0xf8400d2080, 0xf8400d8000, 0xf840069a20, 0xb, 0x1, ...)
/usr/local/go/src/pkg/net/fd.go:268 +0x73
net.(*netFD).accept(0xf8400d8000, 0x4d4e7b, 0x0, 0xf84006b210, 0xf840081040, ...)
/usr/local/go/src/pkg/net/fd.go:622 +0x20d
net.(*TCPListener).AcceptTCP(0xf840081490, 0xf840193360, 0x0, 0x0unexpected fault address , 0x80x0, ...)
/usr/local/go/src/pkg/net/tcpsock_posix.go:320 +0x71
net.(*TCPListener).Accept(0xf840081490, 0x0, 0x0, 0x0
, 0x0, ...)
/usr/local/go/src/pkg/net/tcpsock_posix.go:330 +0x49
net/http.(*Server).Serve(0xf8400afd80, 0xf8400d2100, 0xf840081490, 0x0, 0x0unexpected fault address , ...)
0x0
/usr/local/go/src/pkg/net/http/server.go:1014 +0x88
net/http.(*Server).ListenAndServe(0xf8400afd80, 0x7473694c0000001f, 0x7eff83ab2f48, 0x100000001)
/usr/local/go/src/pkg/net/http/server.go:1004 +0xb6
main.main()
unexpected fault address /opt/go/src/pkg/github.com/dustin/seriesly/main.go:0x0235
+0x40c
goroutine 2 [syscall]:
created by runtime.main
/tmp/bindist927634324/go/src/pkg/runtime/proc.c:221
goroutine 3 [runnable]:
github.com/dustin/go-couchstore._Cfunc_CString(0xf84006abe0, 0xf800000010, 0x6259cc, 0x756f632e00000006, 0xf84006abe0, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_defun.c:31 +0x29
github.com/dustin/go-couchstore.Open(0xf84006abe0, 0x100000010, 0xf84006ab00, 0x0, 0x0, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:313 +0x8d
main.dbopen(0xf84018ee75, 0x6, 0x765278, 0xf8400709a0, 0x765278, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/database.go:60 +0x4c
main.process_docs(0xf8400c4e80, 0x1a846038)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:100 +0xfa
main.docProcessor(0xf840001190, 0x0)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:162 +0xeb
created by main.main
/opt/go/src/pkg/github.com/dustin/seriesly/main.go:206 +0x239
goroutine 4 [chan send]:
main.fetchDocs(0xf84018ee75, 0x6, 0x12b38dfe18037680, 0xf840081948, 0x100000001, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:176 +0x155
main._func_009(0xf840081f10, 0xf840079f90, 0xf840079f80, 0xf840081f28, 0xf840081f18, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:208 +0x1dd
github.com/dustin/go-couchstore.callbackAdapt(0x3d560c0, 0x3d55e50, 0xf840081f30, unexpected fault address 0x7eff81628c00, 0x7eff83ab5100, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:591 +0xb7
----- stack segment boundary -----
github.com/dustin/go-couchstore._Cfunc_start_all_docs(0x3d560c0, 0x3d31010)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_defun.c:0x0170 +0x2f
github.com/dustin/go-couchstore.(*Couchstore).Walk(0xf840079f70, 0x622bf4, 0x0, 0xf8400f3000, 0x0, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:610 +0xa9
main.runQuery(0xf8404c9dc0, 0x1a1b7ca8)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:222 +0x30a
main.queryExecutor(0xf840001140, 0x0)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:236 +0xf0
created by main.main
/opt/go/src/pkg/github.com/dustin/seriesly/main.go:222 +0x2c1
goroutine 5 [syscall]:
syscall.Syscall6()
/tmp/bindist927634324/go/src/pkg/syscall/asm_linux_amd64.s:40 +0x5
syscall.EpollWait(0xf800000006, 0xf8400d7010, 0xa0000000a, 0x1b, 0xc, ...)
/usr/local/go/src/pkg/syscall/zerrors_linux_amd64.go:1781 +0xa1
net.(*pollster).WaitFD(0xf8400d7000, 0xf8400d2080, 0x1959420, 0x0, 0x0, ...)
/usr/local/go/src/pkg/net/fd_linux.go:146 +0x110
net.(*pollServer).Run(0xf8400d2080, 0x0)
/usr/local/go/src/pkg/net/fd.go:236 +0xe4
created by net.newPollServer
/usr/local/go/src/pkg/net/newpollserver.go:35 +0x382
goroutine 18 [select]:
main.dbWriteLoop(0xf8400ff7b0, 0x0)
/opt/go/src/pkg/github.com/dustin/seriesly/database.go:143 +0x6af
created by main.dbWriteFun
/opt/go/src/pkg/github.com/dustin/seriesly/database.go:202 +0x115
goroutine 7 [syscall]:
created by addtimer
/tmp/bindist927634324/go/src/pkg/runtime/ztime_amd64.c:72
goroutine 1201 [runnable]:
main.query(0xf8401b1b30, 0x100000001, 0xf8400d2340, 0xf840199040, 0xf84039b600, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/handlers.go:169unexpected fault address +0xfd6
main.handler0x0(
0xf8400d2340, 0xf840199040, 0xf84039b600, 0x47edf9, 0x406cb3, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/main.go:149 +0x274
net/http.HandlerFunc.ServeHTTP(0x406cb3, 0xf8400d2340, 0xf840199040, 0xf84039b600, 0xf840199040, ...)
/usr/local/go/src/pkg/net/http/server.go:690 +0x3d
net/http.(*conn).serve(0xf8400c3660, 0x0)
/usr/local/go/src/pkg/net/http/server.go:656 +0x621
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1042 +0x430
goroutine 19 [select]:
github.com/dustin/go-couchstore._func_001(0xf840081980, 0xf840081978, 0x0, 0x0)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:231 +0x273
created by github.com/dustin/go-couchstore.(*Couchstore).Bulk
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:241 +0xf5
goroutine 1202 [syscall]:
github.com/dustin/go-couchstore._Cfunc_couchstore_open_doc_with_docinfo(0x7eff78047520, 0xf840107000)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_defun.c:114 +0x2f
github.com/dustin/go-couchstore.(*Couchstore).GetFromDocInfo(0xf840079e90, 0xf840107000, 0x4227a8, 0x50, 0x100000000, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:527 +0x83
main._func_023(0xf840081e30, 0xf840079e20, 0xf840081e28, 0x40b7d5, 0xf840107000, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:123 +0x35
main._func_008(0xf840079e20, 0xf840081e30, 0xf840081e28, 0x0, 0x0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:134 +0xf3
created by unexpected fault address main.process_docs
/opt/go/src/pkg/github.com/dustin/seriesly/query.go0x0:139
+0x4ac
goroutine 30 [finalizer wait]:
created by runtime.gc
/tmp/bindist927634324/go/src/pkg/runtime/mgc0.c:882
goroutine 1203 [syscall]:
github.com/dustin/go-couchstore._Cfunc_couchstore_open_doc_with_docinfo(0x3d5a4d0, 0xf840107050)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_defun.c:114 +0x2f
github.com/dustin/go-couchstore.(*Couchstore).GetFromDocInfo(0xf840079da0, 0xf840107050, 0x4227a8, 0x50, 0x100000000, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:527 +0x83
main._func_023(0xf840081e10, 0xf840079d90, 0xf840081e18, 0x40b7d5, 0xf840107050, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:123 +0x35
main._func_008(0xf840079d90, 0xf840081e10, 0xf840081e18, 0x0, 0x0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:134 +0xf3
created by main.process_docs
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:139 +0x4ac
goroutine 1204 [syscall]:
github.com/dustin/go-couchstore._Cfunc_couchstore_open_doc_with_docinfo(0x3d55ca0, 0xf8401070a0)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_defun.c:114 +0x2f
github.com/dustin/go-couchstore.(*Couchstore).GetFromDocInfo(0xf840079aa0, 0xf8401070a0, 0x4227a8, 0x50, 0x100000000, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:527 +0x83
main._func_023(0xf840081f20, 0xf840079e40, 0xf840081ff0, 0x40b7d5, 0xf8401070a0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:123 +0x35
main._func_008(0xf840079e40, 0xf840081f20, 0xf840081ff0, 0x0, 0x0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:134 +0xf3
created by main.process_docs
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:139 +0x4ac
goroutine 1205 [syscall]:
github.com/dustin/go-couchstore._Cfunc_couchstore_open_doc_with_docinfo(0x3d55e50, 0xf840107e10)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_defun.c:114 +0x2f
github.com/dustin/go-couchstore.(*Couchstore).GetFromDocInfo(0xf840079f50, 0xf840107e10, 0x4227a8, 0x50, 0x100000000, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:527 +0x83
main._func_023(0xf840081f48, 0xf840079f60, 0xf840081f40, 0x40b7d5, 0xf840107e10, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:123 +0x35
main._func_008(0xf840079f60, 0xf840081f48, 0xf840081f40, 0x0, 0x0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:134 +unexpected fault address 0xf3
0x0created by
main.process_docs
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:139 +0x4ac
goroutine 1206 [syscall]:
github.com/dustin/go-couchstore._Cfunc_couchstore_open_doc_with_docinfo(0x3d5aad0, 0xf840107e60)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_defun.c:114 +0x2f
github.com/dustin/go-couchstore.(*Couchstore).GetFromDocInfo(0xf8400f1950, 0xf840107e60, 0x4227a8, 0x50, 0x100000000, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:527 +0x83
main._func_023(0xf840081f60, 0xf8400f1960, 0xf840081f58, 0x40b7d5, 0xf840107e60, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:123 +0x35
main._func_008(0xf8400f1960, 0xf840081f60, 0xf840081f58, 0x0, 0x0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:134 +0xf3
created by main.process_docs
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:139 +0x4ac
goroutine 1207 [syscall]:
github.com/dustin/go-couchstore._Cfunc_couchstore_open_doc_with_docinfo(0x3d5ab40, 0xf840107eb0)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_defun.c:114 +0x2f
github.com/dustin/go-couchstore.(*Couchstore).GetFromDocInfo(0xf8400f1520, 0xf840107eb0, 0x4227a8, 0x50, 0x100000000, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:527 +0x83
main._func_023(0xf840081f80, 0xf8400f1530, 0xf840081f78, 0x40b7d5, 0xf840107eb0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:123 +0x35
main._func_008(0xf8400f1530, 0xf840081f80, 0xf840081f78, 0x0, 0x0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:134 +0xf3
created by main.process_docs
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:139 +0x4ac
goroutine 1208 [syscall]:
github.com/dustin/go-couchstore._Cfunc_couchstore_open_doc_with_docinfo(0x3d5d4a0, 0xf840107f00)
unexpected fault address /tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_defun.c:114 +0x2f
github.com/dustin/go-couchstore.(*Couchstore).GetFromDocInfo(0x00xf8400f15b0, 0xf840107f00
, 0x4227a8, 0x50, 0x100000000, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:527 +0x83
main._func_023(0xf840081fa8, 0xf8400f15c0, 0xf840081fa0, 0x40b7d5, 0xf840107f00, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:123 +0x35
main._func_008(0xf8400f15c0, 0xf840081fa8, 0xf840081fa0, 0x0, 0x0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:134 +0xf3
created by main.process_docs
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:139 +0x4ac
goroutine 1209 [syscall]:
github.com/dustin/go-couchstore._Cfunc_couchstore_open_doc_with_docinfo(0x3d5d650, 0xf840107f50)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_defun.c:114 +0x2f
github.com/dustin/go-couchstore.(*Couchstore).GetFromDocInfo(0xf8400f16e0, 0xf840107f50, 0x4227a8, 0x50, 0x100000000, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:527 +0x83
main._func_023(0xf840081fc0, 0xf8400f16f0, 0xf840081fb8, 0x40b7d5, 0xf840107f50, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:123 +0x35
main._func_008(0xf8400f16f0, 0xf840081fc0, 0xf840081fb8, 0x0, 0x0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:134 +0xf3
created by main.process_docs
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:139 +0x4ac
goroutine 1210 [syscall]:
github.com/dustin/go-couchstore._Cfunc_couchstore_open_doc_with_docinfo(0x3d5d800, 0xf840107fa0)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_defun.c:114 +0x2f
github.com/dustin/go-couchstore.(*Couchstore).GetFromDocInfo(0xf8401f4eb0, 0xf840107fa0, 0x4227a8, 0x50, 0x100000000, ...)
/tmp/go-build617365700/github.com/dustin/go-couchstore/_obj/_cgo_gotypes.go:527 +0x83
main._func_023(0xf840081fd8, 0xf8401f4ec0, 0xf840081fd0, 0x40b7d5, 0xf840107fa0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:123 +0x35
main._func_008(0xf8401f4ec0, 0xf840081fd8, 0xf840081fd0, 0x0, 0x0, ...)
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:134 +0xf3
created by main.process_docs
/opt/go/src/pkg/github.com/dustin/seriesly/query.go:139 +0x4ac
throw: fault
[signal 0xb code=0x80 addr=0x0 pc=0x7eff836f69bb]
throw: fault
[signal 0xb code=0x80 addr=0x0 pc=0x7eff836f69bb]
throw: fault
[signal 0xb code=0x80 addr=0x0 pc=0x7eff836f69bb]
throw: fault
[signal 0xb code=0x80 addr=0x0 pc=unexpected fault address 0x7eff836f69bb]
0x0throw:
fault
[signal 0xb code=0x80 addr=0x0 pc=0x7eff836f69bb]
throw: fault
[signal 0xb code=0x80 addr=0x0 pc=0x7eff836f69bb]
throw: fault
[signal 0xb code=0x80 addr=0x0 pc=0x7eff836f69bb]
throw: fault
[signal 0xb code=0x80 addr=0x0 pc=0x7eff836f69bb]
throw: fault
[signal 0xb code=0x80 addr=0x0 pc=0x7eff836f69bb]