Created
October 10, 2015 17:48
-
-
Save josephglanville/794e8e2d9229d9943caf to your computer and use it in GitHub Desktop.
controller hang
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 6ba6-4bc8-88df-4809dfe99862 client_ip=100.100.96.25 | |
| t=2015-10-10T17:26:31+0000 lvl=info msg="request completed" component=controller req_id=3f2af21d-cad6-4e50-9a26-c51acd21987b status=200 duration=7.423849ms | |
| t=2015-10-10T17:26:32+0000 lvl=info msg="request started" component=controller req_id=4d514c6c-b4e9-4518-ba31-2a5f974318e0 method=PUT path=/apps/9234ec88-bfec-4684-9979-bbe5a1ba8586/jobs/host-560dcb09-34b4-4c06-81e9-5f26ada8ed46 client_ip=100.100.96.21 | |
| t=2015-10-10T17:26:32+0000 lvl=info msg="request completed" component=controller req_id=4d514c6c-b4e9-4518-ba31-2a5f974318e0 status=200 duration=6.689677ms | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request started" component=controller req_id=928ee512-1bb4-4218-8866-8799934af655 method=PUT path=/apps/9234ec88-bfec-4684-9979-bbe5a1ba8586/jobs/host-560dcb09-34b4-4c06-81e9-5f26ada8ed46 client_ip=100.100.96.21 | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request completed" component=controller req_id=928ee512-1bb4-4218-8866-8799934af655 status=200 duration=3.801042ms | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request completed" component=controller req_id=6ca02b45-e5ad-4f96-9a0a-85f74d1754ed status=200 duration=55.909078102s | |
| t=2015-10-10T17:26:33+0000 lvl=eror msg="FATAL: terminating connection due to administrator command (SQLSTATE 57P01)" component=controller req_id=6725557a-7d2c-4883-88d6-47f7aab7f43b | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request completed" component=controller req_id=6725557a-7d2c-4883-88d6-47f7aab7f43b status=200 duration=55.913297633s | |
| t=2015-10-10T17:26:33+0000 lvl=eror msg="FATAL: terminating connection due to administrator command (SQLSTATE 57P01)" component=controller req_id=2cd5b20e-3727-4067-b681-dbb90905c759 | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request completed" component=controller req_id=2cd5b20e-3727-4067-b681-dbb90905c759 status=200 duration=7.657249733s | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request started" req_id=20050ec9-28f3-4126-b974-a5509000d7e9 component=controller method=GET path=/formations client_ip=100.100.96.21 | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request started" component=controller req_id=ff33e1eb-2b2f-429e-b905-ece72b224e56 method=GET path=/events client_ip=192.0.2.100 | |
| t=2015-10-10T17:26:33+0000 lvl=eror msg="FATAL: terminating connection due to administrator command (SQLSTATE 57P01)" component=controller req_id=ff33e1eb-2b2f-429e-b905-ece72b224e56 | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request completed" component=controller req_id=ff33e1eb-2b2f-429e-b905-ece72b224e56 status=500 duration=167.34µs | |
| t=2015-10-10T17:26:33+0000 lvl=eror msg="conn is dead" req_id=20050ec9-28f3-4126-b974-a5509000d7e9 component=controller | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request completed" req_id=20050ec9-28f3-4126-b974-a5509000d7e9 component=controller status=500 duration=6.53882ms | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request started" req_id=6033c6da-3e45-4122-942b-44520fb2d6f2 component=controller method=GET path=/formations client_ip=100.100.96.21 | |
| t=2015-10-10T17:26:33+0000 lvl=eror msg="conn is dead" req_id=6033c6da-3e45-4122-942b-44520fb2d6f2 component=controller | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request completed" req_id=6033c6da-3e45-4122-942b-44520fb2d6f2 component=controller status=500 duration=2.26202ms | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request started" component=controller req_id=0d8614c9-7392-4ac4-9c7b-62ec7511e8bd method=GET path=/events client_ip=192.0.2.100 | |
| t=2015-10-10T17:26:33+0000 lvl=info msg="request started" component=controller req_id=9855f653-1193-4195-bd81-824cd0d564cb method=GET path=/formations client_ip=100.100.96.21 | |
| t=2015-10-10T17:26:34+0000 lvl=info msg="request started" component=controller req_id=d1d10142-d728-473c-ac40-ac0147613401 method=PUT path=/apps/9234ec88-bfec-4684-9979-bbe5a1ba8586/formations/48f7e6bf-cbdc-470d-8931-6e5bb4bfe3e2 client_ip=100.100.96.25 | |
| t=2015-10-10T17:26:58+0000 lvl=info msg="request started" component=controller req_id=70d5e239-08c5-4477-825c-a30308ca3a45 method=GET path=/apps/controller/log client_ip=192.0.2.100 | |
| t=2015-10-10T17:27:25+0000 lvl=info msg="request started" component=controller req_id=5cea6a49-9732-4697-97d9-f153f475b4f0 method=GET path=/apps client_ip=100.100.96.21 | |
| t=2015-10-10T17:32:30+0000 lvl=info msg="request started" req_id=db16e891-e51d-4be3-a30d-13110ba58e1c component=controller method=GET path=/apps/9234ec88-bfec-4684-9979-bbe5a1ba8586/jobs client_ip=100.100.96.24 | |
| SIGQUIT: quit | |
| PC=0x464c51 | |
| goroutine 5 [syscall, 11 minutes]: | |
| runtime.notetsleepg(0xa35120, 0xffffffffffffffff, 0xa2c501) | |
| /vagrant/util/_toolchain/go/src/runtime/lock_futex.go:201 +0x52 fp=0xc20801d768 sp=0xc20801d740 | |
| runtime.signal_recv(0x0) | |
| /vagrant/util/_toolchain/go/src/runtime/sigqueue.go:109 +0x135 fp=0xc20801d7a0 sp=0xc20801d768 | |
| os/signal.loop() | |
| /vagrant/util/_toolchain/go/src/os/signal/signal_unix.go:21 +0x1f fp=0xc20801d7e0 sp=0xc20801d7a0 | |
| runtime.goexit() | |
| /vagrant/util/_toolchain/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc20801d7e8 sp=0xc20801d7e0 | |
| created by os/signal.init·1 | |
| /vagrant/util/_toolchain/go/src/os/signal/signal_unix.go:27 +0x35 | |
| goroutine 1 [IO wait, 4 minutes]: | |
| net.(*pollDesc).Wait(0xc2081593a0, 0x72, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/fd_poll_runtime.go:84 +0x47 | |
| net.(*pollDesc).WaitRead(0xc2081593a0, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/fd_poll_runtime.go:89 +0x43 | |
| net.(*netFD).accept(0xc208159340, 0x0, 0x7f18a9076db0, 0xc20820a5b8) | |
| /vagrant/util/_toolchain/go/src/net/fd_unix.go:419 +0x40b | |
| net.(*TCPListener).AcceptTCP(0xc208034c00, 0x4b3abe, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/tcpsock_posix.go:234 +0x4e | |
| net/http.tcpKeepAliveListener.Accept(0xc208034c00, 0x0, 0x0, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1976 +0x4c | |
| net/http.(*Server).Serve(0xc2080f9440, 0x7f18a907a580, 0xc208034c00, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1728 +0x92 | |
| net/http.(*Server).ListenAndServe(0xc2080f9440, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1718 +0x154 | |
| net/http.ListenAndServe(0xc20800bc70, 0x3, 0x7f18a907a520, 0xc208142400, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1808 +0xba | |
| main.main() | |
| /vagrant/controller/controller.go:107 +0xc6f | |
| goroutine 6 [chan receive, 11 minutes]: | |
| github.com/flynn/flynn/pkg/shutdown.(*handler).wait(0xc20803ac00) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/shutdown/handler.go:58 +0x158 | |
| created by github.com/flynn/flynn/pkg/shutdown.newHandler | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/shutdown/handler.go:25 +0xa8 | |
| goroutine 32 [IO wait]: | |
| net.(*pollDesc).Wait(0xc208080d10, 0x72, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/fd_poll_runtime.go:84 +0x47 | |
| net.(*pollDesc).WaitRead(0xc208080d10, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/fd_poll_runtime.go:89 +0x43 | |
| net.(*netFD).Read(0xc208080cb0, 0xc20807a000, 0x1000, 0x1000, 0x0, 0x7f18a9076db0, 0xc208226d58) | |
| /vagrant/util/_toolchain/go/src/net/fd_unix.go:242 +0x40f | |
| net.(*conn).Read(0xc208034170, 0xc20807a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/net.go:121 +0xdc | |
| net/http.noteEOFReader.Read(0x7f18a90783c0, 0xc208034170, 0xc208076318, 0xc20807a000, 0x1000, 0x1000, 0xc2080ba040, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/http/transport.go:1270 +0x6e | |
| net/http.(*noteEOFReader).Read(0xc2080dc940, 0xc20807a000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0) | |
| <autogenerated>:125 +0xd4 | |
| bufio.(*Reader).fill(0xc2080630e0) | |
| /vagrant/util/_toolchain/go/src/bufio/bufio.go:97 +0x1ce | |
| bufio.(*Reader).Peek(0xc2080630e0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/bufio/bufio.go:132 +0xf0 | |
| net/http.(*persistConn).readLoop(0xc2080762c0) | |
| /vagrant/util/_toolchain/go/src/net/http/transport.go:842 +0xa4 | |
| created by net/http.(*Transport).dialConn | |
| /vagrant/util/_toolchain/go/src/net/http/transport.go:660 +0xc9f | |
| goroutine 17 [select, 8 minutes]: | |
| net.func·019() | |
| /vagrant/util/_toolchain/go/src/net/dnsclient_unix.go:241 +0x2f4 | |
| created by net.loadConfig | |
| /vagrant/util/_toolchain/go/src/net/dnsclient_unix.go:269 +0x20c | |
| goroutine 22 [chan send, 11 minutes]: | |
| github.com/flynn/flynn/discoverd/client.func·008() | |
| /home/vagrant/go/src/github.com/flynn/flynn/discoverd/client/watch.go:192 +0x35b | |
| created by github.com/flynn/flynn/discoverd/client.(*service).Watch | |
| /home/vagrant/go/src/github.com/flynn/flynn/discoverd/client/watch.go:195 +0x3cb | |
| goroutine 12 [chan send, 11 minutes]: | |
| github.com/flynn/flynn/discoverd/client.func·008() | |
| /home/vagrant/go/src/github.com/flynn/flynn/discoverd/client/watch.go:192 +0x35b | |
| created by github.com/flynn/flynn/discoverd/client.(*service).Watch | |
| /home/vagrant/go/src/github.com/flynn/flynn/discoverd/client/watch.go:195 +0x3cb | |
| goroutine 33 [select]: | |
| net/http.(*persistConn).writeLoop(0xc2080762c0) | |
| /vagrant/util/_toolchain/go/src/net/http/transport.go:945 +0x41d | |
| created by net/http.(*Transport).dialConn | |
| /vagrant/util/_toolchain/go/src/net/http/transport.go:661 +0xcbc | |
| goroutine 45 [semacquire, 8 minutes]: | |
| sync.(*Cond).Wait(0xc208032f80) | |
| /vagrant/util/_toolchain/go/src/sync/cond.go:62 +0x9e | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Acquire(0xc2080b00e0, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:97 +0x4af | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Exec(0xc2080b00e0, 0xc2080f9c20, 0x58, 0xc2080f9920, 0x5, 0x6, 0x0, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:179 +0x8b | |
| github.com/flynn/flynn/pkg/postgres.(*DB).Exec(0xc2080e5050, 0xc2080f9c20, 0x58, 0xc2080f9920, 0x5, 0x6, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/postgres/postgres.go:114 +0x78 | |
| github.com/flynn/flynn/pkg/postgres.*DB.Exec·fm(0xc2080f9c20, 0x58, 0xc2080f9920, 0x5, 0x6, 0x0, 0x0) | |
| /vagrant/controller/controller.go:153 +0x6b | |
| main.createEvent(0xc20809ff78, 0xc208104cb0, 0x7c2320, 0xc2080774a0, 0x0, 0x0) | |
| /vagrant/controller/controller.go:409 +0x9c9 | |
| main.func·006() | |
| /vagrant/controller/controller.go:158 +0x786 | |
| created by main.streamRouterEvents | |
| /vagrant/controller/controller.go:162 +0x2c8 | |
| goroutine 42 [select, 11 minutes]: | |
| net/http.(*persistConn).readLoop(0xc2080764d0) | |
| /vagrant/util/_toolchain/go/src/net/http/transport.go:928 +0x9ce | |
| created by net/http.(*Transport).dialConn | |
| /vagrant/util/_toolchain/go/src/net/http/transport.go:660 +0xc9f | |
| goroutine 27 [chan receive, 11 minutes]: | |
| main.streamRouterEvents(0x7f18a9078eb8, 0xc208034088, 0xc2080e5050, 0xc208062540, 0x0, 0x0) | |
| /vagrant/controller/controller.go:163 +0x2f1 | |
| main.func·004() | |
| /vagrant/controller/controller.go:80 +0x46 | |
| created by main.main | |
| /vagrant/controller/controller.go:83 +0x75a | |
| goroutine 44 [select, 8 minutes]: | |
| reflect.Select(0xc208099f68, 0x2, 0x2, 0xc208137ce0, 0x0, 0x0, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/reflect/value.go:1965 +0x218 | |
| github.com/flynn/flynn/pkg/httpclient.func·004() | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httpclient/stream.go:72 +0x522 | |
| created by github.com/flynn/flynn/pkg/httpclient.Stream | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httpclient/stream.go:79 +0x3d5 | |
| goroutine 35 [chan send, 11 minutes]: | |
| github.com/flynn/flynn/discoverd/client.func·008() | |
| /home/vagrant/go/src/github.com/flynn/flynn/discoverd/client/watch.go:192 +0x35b | |
| created by github.com/flynn/flynn/discoverd/client.(*service).Watch | |
| /home/vagrant/go/src/github.com/flynn/flynn/discoverd/client/watch.go:195 +0x3cb | |
| goroutine 43 [select, 11 minutes]: | |
| net/http.(*persistConn).writeLoop(0xc2080764d0) | |
| /vagrant/util/_toolchain/go/src/net/http/transport.go:945 +0x41d | |
| created by net/http.(*Transport).dialConn | |
| /vagrant/util/_toolchain/go/src/net/http/transport.go:661 +0xcbc | |
| goroutine 37 [chan send, 8 minutes]: | |
| reflect.Value.send(0x6f3040, 0xc208063380, 0x12, 0x6e3920, 0xc2081379b0, 0x16, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/reflect/value.go:1285 +0x180 | |
| reflect.Value.Send(0x6f3040, 0xc208063380, 0x12, 0x6e3920, 0xc2081379b0, 0x16) | |
| /vagrant/util/_toolchain/go/src/reflect/value.go:1267 +0x84 | |
| github.com/flynn/flynn/pkg/httpclient.func·007() | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httpclient/stream.go:147 +0x66f | |
| created by github.com/flynn/flynn/pkg/httpclient.ResumingStream | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httpclient/stream.go:151 +0x24d | |
| goroutine 46 [select, 11 minutes]: | |
| github.com/flynn/flynn/pkg/httpclient.func·003() | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httpclient/stream.go:45 +0x10d | |
| created by github.com/flynn/flynn/pkg/httpclient.func·004 | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httpclient/stream.go:50 +0x1fa | |
| goroutine 47 [select]: | |
| github.com/flynn/flynn/discoverd/client.(*heartbeater).run(0xc2080367d0, 0xc208063d40) | |
| /home/vagrant/go/src/github.com/flynn/flynn/discoverd/client/heartbeat.go:153 +0x5a3 | |
| created by github.com/flynn/flynn/discoverd/client.(*Client).RegisterInstance | |
| /home/vagrant/go/src/github.com/flynn/flynn/discoverd/client/heartbeat.go:77 +0x301 | |
| goroutine 48 [semacquire, 8 minutes]: | |
| sync.(*Cond).Wait(0xc208032f80) | |
| /vagrant/util/_toolchain/go/src/sync/cond.go:62 +0x9e | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Acquire(0xc2080b00e0, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:97 +0x4af | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Query(0xc2080b00e0, 0xc208172900, 0xb2, 0xc2081b9a80, 0x4, 0x4, 0xc2081afe00, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:190 +0x40 | |
| main.(*EventRepo).ListEvents(0xc208034270, 0xc2081371d0, 0x24, 0xc20814b3c0, 0x1, 0x1, 0xc2081af622, 0x24, 0x0, 0xc2081dd3b8, ...) | |
| /vagrant/controller/events.go:76 +0x1774 | |
| main.streamEvents(0x7f18a907a6a8, 0xc208151080, 0x7f18a907a6e8, 0xc208150e40, 0xc20819fba0, 0xc208146370, 0xc2081bb920, 0xc208034270, 0x0, 0x0) | |
| /vagrant/controller/events.go:267 +0xb47 | |
| main.(*controllerAPI).Events(0xc2080760b0, 0x7f18a907a6a8, 0xc208151080, 0x7f18a907a6e8, 0xc208150e40, 0xc20819fba0) | |
| /vagrant/controller/events.go:166 +0x30b | |
| main.*controllerAPI.Events·fm(0x7f18a907a6a8, 0xc208151080, 0x7f18a907a6e8, 0xc208150e40, 0xc20819fba0) | |
| /vagrant/controller/controller.go:277 +0x59 | |
| github.com/flynn/flynn/pkg/httphelper.HandlerFunc.ServeHTTP(0xc2080e5480, 0x7f18a907a6a8, 0xc208151080, 0x7f18a907a6e8, 0xc208150e40, 0xc20819fba0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:101 +0x55 | |
| github.com/flynn/flynn/pkg/httphelper.func·002(0x7f18a907a6e8, 0xc208150e40, 0xc20819fba0, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:108 +0xcb | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc2080ade60, 0x7f18a907a6e8, 0xc208150e40, 0xc20819fba0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter/router.go:276 +0x188 | |
| main.func·008(0x7f18a907a6e8, 0xc208150e40, 0xc20819fba0) | |
| /vagrant/controller/controller.go:306 +0x44b | |
| net/http.HandlerFunc.ServeHTTP(0xc2081423e0, 0x7f18a907a6e8, 0xc208150e40, 0xc20819fba0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·004(0x7f18a907a6e8, 0xc208150e40, 0xc20819fba0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/request_logger.go:34 +0x8a0 | |
| net/http.HandlerFunc.ServeHTTP(0xc2080e5570, 0x7f18a907a6e8, 0xc208150e40, 0xc20819fba0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·003(0x7f18a907a630, 0xc2081af680, 0xc20819fba0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:121 +0x25c | |
| net/http.HandlerFunc.ServeHTTP(0xc208142400, 0x7f18a907a630, 0xc2081af680, 0xc20819fba0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| net/http.serverHandler.ServeHTTP(0xc2080f9440, 0x7f18a907a630, 0xc2081af680, 0xc20819fba0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1703 +0x19a | |
| net/http.(*conn).serve(0xc208075040) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1204 +0xb57 | |
| created by net/http.(*Server).Serve | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1751 +0x35e | |
| goroutine 49 [semacquire, 8 minutes]: | |
| sync.(*Cond).Wait(0xc208032f80) | |
| /vagrant/util/_toolchain/go/src/sync/cond.go:62 +0x9e | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Acquire(0xc2080b00e0, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:97 +0x4af | |
| github.com/flynn/flynn/pkg/postgres.(*DB).Listen(0xc2080e5050, 0x83d890, 0xa, 0x7f18a9077218, 0xc2081c9960, 0xc2081c9960, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/postgres/listener.go:14 +0x43 | |
| main.(*FormationRepo).startListener(0xc208146d70, 0x0, 0x0) | |
| /vagrant/controller/formation.go:217 +0x227 | |
| main.(*FormationRepo).Subscribe(0xc208146d70, 0xc2081bb620, 0xc2081bb680, 0xecdab4147, 0xe00000000, 0xa24320, 0x0, 0x0) | |
| /vagrant/controller/formation.go:259 +0xa8 | |
| main.(*controllerAPI).GetFormations(0xc2080760b0, 0x7f18a907a6a8, 0xc2081519e0, 0x7f18a907a6e8, 0xc2081517a0, 0xc20819fe10) | |
| /vagrant/controller/formation.go:396 +0x179 | |
| main.*controllerAPI.GetFormations·fm(0x7f18a907a6a8, 0xc2081519e0, 0x7f18a907a6e8, 0xc2081517a0, 0xc20819fe10) | |
| /vagrant/controller/controller.go:247 +0x59 | |
| github.com/flynn/flynn/pkg/httphelper.HandlerFunc.ServeHTTP(0xc2080e45b0, 0x7f18a907a6a8, 0xc2081519e0, 0x7f18a907a6e8, 0xc2081517a0, 0xc20819fe10) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:101 +0x55 | |
| github.com/flynn/flynn/pkg/httphelper.func·002(0x7f18a907a6e8, 0xc2081517a0, 0xc20819fe10, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:108 +0xcb | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc2080ade60, 0x7f18a907a6e8, 0xc2081517a0, 0xc20819fe10) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter/router.go:276 +0x188 | |
| main.func·008(0x7f18a907a6e8, 0xc2081517a0, 0xc20819fe10) | |
| /vagrant/controller/controller.go:306 +0x44b | |
| net/http.HandlerFunc.ServeHTTP(0xc2081423e0, 0x7f18a907a6e8, 0xc2081517a0, 0xc20819fe10) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·004(0x7f18a907a6e8, 0xc2081517a0, 0xc20819fe10) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/request_logger.go:34 +0x8a0 | |
| net/http.HandlerFunc.ServeHTTP(0xc2080e5570, 0x7f18a907a6e8, 0xc2081517a0, 0xc20819fe10) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·003(0x7f18a907a630, 0xc2081af860, 0xc20819fe10) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:121 +0x25c | |
| net/http.HandlerFunc.ServeHTTP(0xc208142400, 0x7f18a907a630, 0xc2081af860, 0xc20819fe10) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| net/http.serverHandler.ServeHTTP(0xc2080f9440, 0x7f18a907a630, 0xc2081af860, 0xc20819fe10) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1703 +0x19a | |
| net/http.(*conn).serve(0xc208075360) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1204 +0xb57 | |
| created by net/http.(*Server).Serve | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1751 +0x35e | |
| goroutine 53 [semacquire, 8 minutes]: | |
| sync.(*Cond).Wait(0xc208032f80) | |
| /vagrant/util/_toolchain/go/src/sync/cond.go:62 +0x9e | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Acquire(0xc2080b00e0, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:97 +0x4af | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Query(0xc2080b00e0, 0x839090, 0x8, 0x0, 0x0, 0x0, 0x30, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:190 +0x40 | |
| main.(*AppRepo).List(0xc20811c6c0, 0x0, 0x0, 0x0, 0x0) | |
| /vagrant/controller/app.go:197 +0x96 | |
| main.func·013(0x7f18a907a6a8, 0xc208131bc0, 0x7f18a907a6e8, 0xc2081318f0, 0xc20819f380) | |
| /vagrant/controller/crud.go:63 +0x39 | |
| github.com/flynn/flynn/pkg/httphelper.HandlerFunc.ServeHTTP(0xc20815fd30, 0x7f18a907a6a8, 0xc208131bc0, 0x7f18a907a6e8, 0xc2081318f0, 0xc20819f380) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:101 +0x55 | |
| github.com/flynn/flynn/pkg/httphelper.func·002(0x7f18a907a6e8, 0xc2081318f0, 0xc20819f380, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:108 +0xcb | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc2080ade60, 0x7f18a907a6e8, 0xc2081318f0, 0xc20819f380) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter/router.go:276 +0x188 | |
| main.func·008(0x7f18a907a6e8, 0xc2081318f0, 0xc20819f380) | |
| /vagrant/controller/controller.go:306 +0x44b | |
| net/http.HandlerFunc.ServeHTTP(0xc2081423e0, 0x7f18a907a6e8, 0xc2081318f0, 0xc20819f380) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·004(0x7f18a907a6e8, 0xc2081318f0, 0xc20819f380) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/request_logger.go:34 +0x8a0 | |
| net/http.HandlerFunc.ServeHTTP(0xc2080e5570, 0x7f18a907a6e8, 0xc2081318f0, 0xc20819f380) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·003(0x7f18a907a630, 0xc208074be0, 0xc20819f380) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:121 +0x25c | |
| net/http.HandlerFunc.ServeHTTP(0xc208142400, 0x7f18a907a630, 0xc208074be0, 0xc20819f380) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| net/http.serverHandler.ServeHTTP(0xc2080f9440, 0x7f18a907a630, 0xc208074be0, 0xc20819f380) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1703 +0x19a | |
| net/http.(*conn).serve(0xc208074140) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1204 +0xb57 | |
| created by net/http.(*Server).Serve | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1751 +0x35e | |
| goroutine 108 [semacquire, 4 minutes]: | |
| sync.(*Cond).Wait(0xc208032f80) | |
| /vagrant/util/_toolchain/go/src/sync/cond.go:62 +0x9e | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Acquire(0xc2080b00e0, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:97 +0x4af | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Query(0xc2080b00e0, 0x873770, 0x18, 0xc20820c160, 0x2, 0x2, 0xc20820c160, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:190 +0x40 | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).QueryRow(0xc2080b00e0, 0x873770, 0x18, 0xc20820c160, 0x2, 0x2, 0x2) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:210 +0x5a | |
| github.com/flynn/flynn/pkg/postgres.(*DB).QueryRow(0xc2080e5050, 0x873770, 0x18, 0xc20820c160, 0x2, 0x2, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/postgres/postgres.go:137 +0x7e | |
| main.selectApp(0x7f18a907a810, 0xc2080e5050, 0xc2081f48ca, 0x24, 0x0, 0x0, 0x0, 0x0) | |
| /vagrant/controller/app.go:127 +0x243 | |
| main.(*AppRepo).Get(0xc20811c6c0, 0xc2081f48ca, 0x24, 0x0, 0x0, 0x0, 0x0) | |
| /vagrant/controller/app.go:135 +0x8c | |
| main.func·009(0x7f18a907a6a8, 0xc20816b3e0, 0x7f18a907a6e8, 0xc20816b260, 0xc20819fad0) | |
| /vagrant/controller/controller.go:355 +0xdd | |
| github.com/flynn/flynn/pkg/httphelper.HandlerFunc.ServeHTTP(0xc2081421a0, 0x7f18a907a6a8, 0xc20816b3e0, 0x7f18a907a6e8, 0xc20816b260, 0xc20819fad0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:101 +0x55 | |
| github.com/flynn/flynn/pkg/httphelper.func·002(0x7f18a907a6e8, 0xc20816b260, 0xc20819fad0, 0xc2080fd080, 0x1, 0x3) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:108 +0xcb | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc2080ade60, 0x7f18a907a6e8, 0xc20816b260, 0xc20819fad0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter/router.go:276 +0x188 | |
| main.func·008(0x7f18a907a6e8, 0xc20816b260, 0xc20819fad0) | |
| /vagrant/controller/controller.go:306 +0x44b | |
| net/http.HandlerFunc.ServeHTTP(0xc2081423e0, 0x7f18a907a6e8, 0xc20816b260, 0xc20819fad0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·004(0x7f18a907a6e8, 0xc20816b260, 0xc20819fad0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/request_logger.go:34 +0x8a0 | |
| net/http.HandlerFunc.ServeHTTP(0xc2080e5570, 0x7f18a907a6e8, 0xc20816b260, 0xc20819fad0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·003(0x7f18a907a630, 0xc2081ae5a0, 0xc20819fad0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:121 +0x25c | |
| net/http.HandlerFunc.ServeHTTP(0xc208142400, 0x7f18a907a630, 0xc2081ae5a0, 0xc20819fad0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| net/http.serverHandler.ServeHTTP(0xc2080f9440, 0x7f18a907a630, 0xc2081ae5a0, 0xc20819fad0) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1703 +0x19a | |
| net/http.(*conn).serve(0xc2081ae500) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1204 +0xb57 | |
| created by net/http.(*Server).Serve | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1751 +0x35e | |
| goroutine 103 [IO wait]: | |
| net.(*pollDesc).Wait(0xc2081ef870, 0x72, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/fd_poll_runtime.go:84 +0x47 | |
| net.(*pollDesc).WaitRead(0xc2081ef870, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/fd_poll_runtime.go:89 +0x43 | |
| net.(*netFD).Read(0xc2081ef810, 0xc208148000, 0x1000, 0x1000, 0x0, 0x7f18a9076db0, 0xc208226d68) | |
| /vagrant/util/_toolchain/go/src/net/fd_unix.go:242 +0x40f | |
| net.(*conn).Read(0xc2080351b0, 0xc208148000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/net.go:121 +0xdc | |
| bufio.(*Reader).fill(0xc2081bb500) | |
| /vagrant/util/_toolchain/go/src/bufio/bufio.go:97 +0x1ce | |
| bufio.(*Reader).Peek(0xc2081bb500, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/bufio/bufio.go:132 +0xf0 | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*Conn).waitForNotification(0xc20819c000, 0xecdab43cf, 0xde913a0, 0xa2b940, 0xecdab43cf, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn.go:647 +0x102 | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*Conn).WaitForNotification(0xc20819c000, 0x2540be400, 0x7f18a9072b40, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn.go:622 +0x593 | |
| github.com/flynn/flynn/pkg/postgres.(*Listener).listen(0xc2081bb9e0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/postgres/listener.go:53 +0x3b | |
| created by github.com/flynn/flynn/pkg/postgres.(*DB).Listen | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/postgres/listener.go:28 +0x235 | |
| goroutine 107 [select, 8 minutes]: | |
| main.(*EventSubscriber).loop(0xc20806dc20) | |
| /vagrant/controller/events.go:349 +0x14d | |
| created by main.(*EventListener).Subscribe | |
| /vagrant/controller/events.go:406 +0x3d2 | |
| goroutine 104 [semacquire, 8 minutes]: | |
| sync.(*Cond).Wait(0xc208032f80) | |
| /vagrant/util/_toolchain/go/src/sync/cond.go:62 +0x9e | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Acquire(0xc2080b00e0, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:97 +0x4af | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Query(0xc2080b00e0, 0x83cd30, 0xc, 0xc20814be50, 0x1, 0x1, 0xc20814be50, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:190 +0x40 | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).QueryRow(0xc2080b00e0, 0x83cd30, 0xc, 0xc20814be50, 0x1, 0x1, 0xc20808e670) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:210 +0x5a | |
| github.com/flynn/flynn/pkg/postgres.(*DB).QueryRow(0xc2080e5050, 0x83cd30, 0xc, 0xc20814be50, 0x1, 0x1, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/postgres/postgres.go:137 +0x7e | |
| main.(*EventRepo).GetEvent(0xc208034270, 0xd4, 0xa, 0x0, 0x0) | |
| /vagrant/controller/events.go:93 +0x106 | |
| main.func·018() | |
| /vagrant/controller/events.go:452 +0x598 | |
| created by main.(*EventListener).Listen | |
| /vagrant/controller/events.go:459 +0x35c | |
| goroutine 106 [select]: | |
| reflect.Select(0xc2080ebf30, 0x3, 0x3, 0xc2081bbaa0, 0x0, 0x0, 0x0, 0xc2080fc401) | |
| /vagrant/util/_toolchain/go/src/reflect/value.go:1965 +0x218 | |
| github.com/flynn/flynn/pkg/sse.func·002() | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/sse/stream.go:83 +0x1e8 | |
| created by github.com/flynn/flynn/pkg/sse.(*Stream).Serve | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/sse/stream.go:99 +0x50a | |
| goroutine 105 [chan receive, 8 minutes]: | |
| github.com/flynn/flynn/pkg/sse.func·001() | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/sse/stream.go:60 +0x65 | |
| created by github.com/flynn/flynn/pkg/sse.(*Stream).Serve | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/sse/stream.go:62 +0x34d | |
| goroutine 66 [chan receive, 11 minutes]: | |
| github.com/flynn/flynn/pkg/sse.func·001() | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/sse/stream.go:60 +0x65 | |
| created by github.com/flynn/flynn/pkg/sse.(*Stream).Serve | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/sse/stream.go:62 +0x34d | |
| goroutine 68 [IO wait, 8 minutes]: | |
| net.(*pollDesc).Wait(0xc208159b80, 0x72, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/fd_poll_runtime.go:84 +0x47 | |
| net.(*pollDesc).WaitRead(0xc208159b80, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/fd_poll_runtime.go:89 +0x43 | |
| net.(*netFD).Read(0xc208159b20, 0xc20817e000, 0x8000, 0x8000, 0x0, 0x7f18a9076db0, 0xc2081dff28) | |
| /vagrant/util/_toolchain/go/src/net/fd_unix.go:242 +0x40f | |
| net.(*conn).Read(0xc208034c88, 0xc20817e000, 0x8000, 0x8000, 0x0, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/net/net.go:121 +0xdc | |
| io.Copy(0x7f18a907aa18, 0xc208034d38, 0x7f18a90783c0, 0xc208034c88, 0x31b, 0x0, 0x0) | |
| /vagrant/util/_toolchain/go/src/io/io.go:362 +0x1f6 | |
| net/http.func·008() | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:171 +0x7d | |
| created by net/http.(*conn).closeNotify | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:177 +0x2e2 | |
| goroutine 92 [semacquire, 8 minutes]: | |
| sync.(*Cond).Wait(0xc208032f80) | |
| /vagrant/util/_toolchain/go/src/sync/cond.go:62 +0x9e | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Acquire(0xc2080b00e0, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:97 +0x4af | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Query(0xc2080b00e0, 0x873770, 0x18, 0xc20815c2a0, 0x2, 0x2, 0xc20815c2a0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:190 +0x40 | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).QueryRow(0xc2080b00e0, 0x873770, 0x18, 0xc20815c2a0, 0x2, 0x2, 0x2) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:210 +0x5a | |
| github.com/flynn/flynn/pkg/postgres.(*DB).QueryRow(0xc2080e5050, 0x873770, 0x18, 0xc20815c2a0, 0x2, 0x2, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/postgres/postgres.go:137 +0x7e | |
| main.selectApp(0x7f18a907a810, 0xc2080e5050, 0xc20810454a, 0x24, 0x0, 0x0, 0x0, 0x0) | |
| /vagrant/controller/app.go:127 +0x243 | |
| main.(*AppRepo).Get(0xc20811c6c0, 0xc20810454a, 0x24, 0x0, 0x0, 0x0, 0x0) | |
| /vagrant/controller/app.go:135 +0x8c | |
| main.func·009(0x7f18a907a6a8, 0xc208137590, 0x7f18a907a6e8, 0xc2081373e0, 0xc20819e410) | |
| /vagrant/controller/controller.go:355 +0xdd | |
| github.com/flynn/flynn/pkg/httphelper.HandlerFunc.ServeHTTP(0xc2081420a0, 0x7f18a907a6a8, 0xc208137590, 0x7f18a907a6e8, 0xc2081373e0, 0xc20819e410) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:101 +0x55 | |
| github.com/flynn/flynn/pkg/httphelper.func·002(0x7f18a907a6e8, 0xc2081373e0, 0xc20819e410, 0xc2081b9c40, 0x2, 0x2) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:108 +0xcb | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc2080ade60, 0x7f18a907a6e8, 0xc2081373e0, 0xc20819e410) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter/router.go:276 +0x188 | |
| main.func·008(0x7f18a907a6e8, 0xc2081373e0, 0xc20819e410) | |
| /vagrant/controller/controller.go:306 +0x44b | |
| net/http.HandlerFunc.ServeHTTP(0xc2081423e0, 0x7f18a907a6e8, 0xc2081373e0, 0xc20819e410) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·004(0x7f18a907a6e8, 0xc2081373e0, 0xc20819e410) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/request_logger.go:34 +0x8a0 | |
| net/http.HandlerFunc.ServeHTTP(0xc2080e5570, 0x7f18a907a6e8, 0xc2081373e0, 0xc20819e410) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·003(0x7f18a907a630, 0xc2081afea0, 0xc20819e410) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:121 +0x25c | |
| net/http.HandlerFunc.ServeHTTP(0xc208142400, 0x7f18a907a630, 0xc2081afea0, 0xc20819e410) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| net/http.serverHandler.ServeHTTP(0xc2080f9440, 0x7f18a907a630, 0xc2081afea0, 0xc20819e410) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1703 +0x19a | |
| net/http.(*conn).serve(0xc2081ae960) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1204 +0xb57 | |
| created by net/http.(*Server).Serve | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1751 +0x35e | |
| goroutine 87 [semacquire, 8 minutes]: | |
| sync.(*Cond).Wait(0xc208032f80) | |
| /vagrant/util/_toolchain/go/src/sync/cond.go:62 +0x9e | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Acquire(0xc2080b00e0, 0x0, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:97 +0x4af | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).Query(0xc2080b00e0, 0x859b30, 0x12, 0xc20812a760, 0x1, 0x1, 0xc20812a760, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:190 +0x40 | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx.(*ConnPool).QueryRow(0xc2080b00e0, 0x859b30, 0x12, 0xc20812a760, 0x1, 0x1, 0x2) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/jackc/pgx/conn_pool.go:210 +0x5a | |
| github.com/flynn/flynn/pkg/postgres.(*DB).QueryRow(0xc2080e5050, 0x859b30, 0x12, 0xc20812a760, 0x1, 0x1, 0x0, 0x0) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/postgres/postgres.go:137 +0x7e | |
| main.selectApp(0x7f18a907a810, 0xc2080e5050, 0xc2081306fa, 0xa, 0x0, 0x0, 0x0, 0x0) | |
| /vagrant/controller/app.go:129 +0x3bf | |
| main.(*AppRepo).Get(0xc20811c6c0, 0xc2081306fa, 0xa, 0x0, 0x0, 0x0, 0x0) | |
| /vagrant/controller/app.go:135 +0x8c | |
| main.func·009(0x7f18a907a6a8, 0xc208130ab0, 0x7f18a907a6e8, 0xc208130840, 0xc20819fa00) | |
| /vagrant/controller/controller.go:355 +0xdd | |
| github.com/flynn/flynn/pkg/httphelper.HandlerFunc.ServeHTTP(0xc208142060, 0x7f18a907a6a8, 0xc208130ab0, 0x7f18a907a6e8, 0xc208130840, 0xc20819fa00) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:101 +0x55 | |
| github.com/flynn/flynn/pkg/httphelper.func·002(0x7f18a907a6e8, 0xc208130840, 0xc20819fa00, 0xc2080fc720, 0x1, 0x3) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:108 +0xcb | |
| github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc2080ade60, 0x7f18a907a6e8, 0xc208130840, 0xc20819fa00) | |
| /home/vagrant/go/src/github.com/flynn/flynn/Godeps/_workspace/src/github.com/julienschmidt/httprouter/router.go:276 +0x188 | |
| main.func·008(0x7f18a907a6e8, 0xc208130840, 0xc20819fa00) | |
| /vagrant/controller/controller.go:306 +0x44b | |
| net/http.HandlerFunc.ServeHTTP(0xc2081423e0, 0x7f18a907a6e8, 0xc208130840, 0xc20819fa00) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·004(0x7f18a907a6e8, 0xc208130840, 0xc20819fa00) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/request_logger.go:34 +0x8a0 | |
| net/http.HandlerFunc.ServeHTTP(0xc2080e5570, 0x7f18a907a6e8, 0xc208130840, 0xc20819fa00) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| github.com/flynn/flynn/pkg/httphelper.func·003(0x7f18a907a630, 0xc2080743c0, 0xc20819fa00) | |
| /home/vagrant/go/src/github.com/flynn/flynn/pkg/httphelper/httphelper.go:121 +0x25c | |
| net/http.HandlerFunc.ServeHTTP(0xc208142400, 0x7f18a907a630, 0xc2080743c0, 0xc20819fa00) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1265 +0x41 | |
| net/http.serverHandler.ServeHTTP(0xc2080f9440, 0x7f18a907a630, 0xc2080743c0, 0xc20819fa00) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1703 +0x19a | |
| net/http.(*conn).serve(0xc208075c20) | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1204 +0xb57 | |
| created by net/http.(*Server).Serve | |
| /vagrant/util/_toolchain/go/src/net/http/server.go:1751 +0x35e | |
| rax 0xca | |
| rbx 0xa35120 | |
| rcx 0xffffffffffffffff | |
| rdx 0x0 | |
| rdi 0xa35120 | |
| rsi 0x0 | |
| rbp 0x1 | |
| rsp 0xc20801d6c0 | |
| r8 0x0 | |
| r9 0x0 | |
| r10 0x0 | |
| r11 0x286 | |
| r12 0x4580e0 | |
| r13 0x3 | |
| r14 0x2 | |
| r15 0xc20800b4f0 | |
| rip 0x464c51 | |
| rflags 0x286 | |
| cs 0x33 | |
| fs 0x0 | |
| gs 0x0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment