Skip to content

Instantly share code, notes, and snippets.

@kalbasit
Created October 2, 2015 05:11
Show Gist options
  • Select an option

  • Save kalbasit/08965ba4487519488a16 to your computer and use it in GitHub Desktop.

Select an option

Save kalbasit/08965ba4487519488a16 to your computer and use it in GitHub Desktop.
kalbasit@cratos ~/code/src/github.com/gmuch/gmuch [master *] ± % go run cmd/gmuch/main.go --db-path=/Users/kalbasit/.mail
listen=:7080 caller=main.go:72 msg=HTTP addr=:7080
listen=:7080 caller=log.go:43 method=thread id=0000000000020ab3 took=30.917227ms
listen=:7080 caller=log.go:26 method=query query=tag:inbox offset=0 limit=100 took=483.272983ms
listen=:7080 caller=log.go:43 method=thread id=0000000000020c5c took=22.619513ms
SIGABRT: abort
PC=0x7fff9589a0ae m=7
signal arrived during cgo execution
goroutine 19 [syscall, locked to thread]:
runtime.cgocall(0x4002fc0, 0xc82002af18, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/cgocall.go:120 +0x11b fp=0xc82002aee8 sp=0xc82002aeb8
github.com/gmuch/gmuch/vendor/github.com/zenhack/go%2enotmuch._Cfunc_notmuch_tags_destroy(0x64062d0)
github.com/gmuch/gmuch/vendor/github.com/zenhack/go.notmuch/_obj/_cgo_gotypes.go:689 +0x31 fp=0xc82002af18 sp=0xc82002aee8
github.com/gmuch/gmuch/vendor/github.com/zenhack/go%2enotmuch.(*Message).Tags.func1(0xc82012bc20)
/Users/kalbasit/code/src/github.com/gmuch/gmuch/vendor/github.com/zenhack/go.notmuch/message.go:88 +0x24 fp=0xc82002af28 sp=0xc82002af18
runtime.call32(0x0, 0x44fe278, 0xc820104030, 0x1000000010)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:437 +0x3e fp=0xc82002af50 sp=0xc82002af28
runtime.runfinq()
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/mfinal.go:196 +0x292 fp=0xc82002afc0 sp=0xc82002af50
runtime.goexit()
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82002afc8 sp=0xc82002afc0
created by runtime.createfing
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/mfinal.go:135 +0x60
goroutine 1 [IO wait]:
net.runtime_pollWait(0x4f45e30, 0x72, 0xc8200780a0)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc8200e6920, 0x72, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc8200e6920, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).accept(0xc8200e68c0, 0x0, 0x4f45f28, 0xc8203d4700)
/usr/local/Cellar/go/1.5.1/libexec/src/net/fd_unix.go:408 +0x27c
net.(*TCPListener).AcceptTCP(0xc8200900b0, 0x4054720, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/net/tcpsock_posix.go:254 +0x4d
net/http.tcpKeepAliveListener.Accept(0xc8200900b0, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/net/http/server.go:2135 +0x41
net/http.(*Server).Serve(0xc820076900, 0x4f45ef0, 0xc8200900b0, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/net/http/server.go:1887 +0xb3
net/http.(*Server).ListenAndServe(0xc820076900, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/net/http/server.go:1877 +0x136
net/http.ListenAndServe(0x4449470, 0x5, 0x4f44e58, 0xc82007fda0, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/net/http/server.go:1967 +0x8f
main.main()
/Users/kalbasit/code/src/github.com/gmuch/gmuch/cmd/gmuch/main.go:73 +0xed7
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:1696 +0x1
goroutine 32 [runnable, locked to thread]:
github.com/gmuch/gmuch/vendor/github.com/zenhack/go%2enotmuch._Cfunc_notmuch_threads_get(0x4d589f0, 0x6430990)
github.com/gmuch/gmuch/vendor/github.com/zenhack/go.notmuch/_obj/_cgo_gotypes.go:881 +0x36
github.com/gmuch/gmuch/vendor/github.com/zenhack/go%2enotmuch.(*Threads).get(0xc8203d10e0, 0xc800000001)
/Users/kalbasit/code/src/github.com/gmuch/gmuch/vendor/github.com/zenhack/go.notmuch/threads.go:35 +0x28
github.com/gmuch/gmuch/vendor/github.com/zenhack/go%2enotmuch.(*Threads).Next(0xc8203d10e0, 0xc82004f648, 0x3)
/Users/kalbasit/code/src/github.com/gmuch/gmuch/vendor/github.com/zenhack/go.notmuch/threads.go:29 +0x47
github.com/gmuch/gmuch.(*Gmuch).Query(0xc820093ae0, 0xc8203d10c0, 0x9, 0x0, 0x1388, 0x0, 0x0, 0x0)
/Users/kalbasit/code/src/github.com/gmuch/gmuch/query.go:31 +0x24e
github.com/gmuch/gmuch/server.logMiddleware.Query(0x4f449c0, 0xc82007faa0, 0x4f44b00, 0xc820093ae0, 0xc8203d10c0, 0x9, 0x0, 0x1388, 0x0, 0x0, ...)
/Users/kalbasit/code/src/github.com/gmuch/gmuch/server/log.go:37 +0x155
github.com/gmuch/gmuch/server.(*logMiddleware).Query(0xc820093b20, 0xc8203d10c0, 0x9, 0x0, 0x1388, 0x4f44ad0, 0x0, 0x0)
<autogenerated>:5 +0xd3
github.com/gmuch/gmuch/server.instrumentingMiddleware.Query(0x4f44a40, 0xc820079e30, 0x4f44ad0, 0xc820093ac0, 0x4f44b30, 0xc820093b20, 0xc8203d10c0, 0x9, 0x0, 0x1388, ...)
/Users/kalbasit/code/src/github.com/gmuch/gmuch/server/instrumenting.go:35 +0x151
github.com/gmuch/gmuch/server.(*instrumentingMiddleware).Query(0xc82007fd40, 0xc8203d10c0, 0x9, 0x0, 0x1388, 0xc8203d4780, 0x0, 0x0)
<autogenerated>:3 +0xd9
github.com/gmuch/gmuch.EndpointenizeQuery.func1(0x4f46160, 0xc8203913c0, 0x43df420, 0xc8203d47a0, 0x0, 0x0, 0x0, 0x0)
/Users/kalbasit/code/src/github.com/gmuch/gmuch/endpoint.go:13 +0x116
github.com/gmuch/gmuch/vendor/github.com/go-kit/kit/transport/http.Server.ServeHTTP(0x4f44b90, 0xc820078bd0, 0xc820093b40, 0x44fe210, 0x44fe220, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/kalbasit/code/src/github.com/gmuch/gmuch/vendor/github.com/go-kit/kit/transport/http/server.go:93 +0x418
github.com/gmuch/gmuch/vendor/github.com/go-kit/kit/transport/http.(*Server).ServeHTTP(0xc8200e6380, 0x4f460f8, 0xc8200c7550, 0xc8203d62a0)
<autogenerated>:2 +0xd1
net/http.(*ServeMux).ServeHTTP(0xc82007fda0, 0x4f460f8, 0xc8200c7550, 0xc8203d62a0)
/usr/local/Cellar/go/1.5.1/libexec/src/net/http/server.go:1699 +0x17d
net/http.serverHandler.ServeHTTP(0xc820076900, 0x4f460f8, 0xc8200c7550, 0xc8203d62a0)
/usr/local/Cellar/go/1.5.1/libexec/src/net/http/server.go:1862 +0x19e
net/http.(*conn).serve(0xc8200c74a0)
/usr/local/Cellar/go/1.5.1/libexec/src/net/http/server.go:1361 +0xbee
created by net/http.(*Server).Serve
/usr/local/Cellar/go/1.5.1/libexec/src/net/http/server.go:1910 +0x3f6
rax 0x0
rbx 0x6
rcx 0x70000030fd58
rdx 0x0
rdi 0x1e03
rsi 0x6
rbp 0x70000030fd80
rsp 0x70000030fd58
r8 0xc820068480
r9 0xc82002aeb0
r10 0x8000000
r11 0x206
r12 0x64062d0
r13 0x61660089df10
r14 0x700000310000
r15 0x0
rip 0x7fff9589a0ae
rflags 0x206
cs 0x7
fs 0x0
gs 0x0
exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment