We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reflect: NumIn of non-func type
Listening on :13000 and proxying against http://localhost:3000 Rendering HTML for page at URL: http://localhost:3000/github.com/ruby/ruby Rendering HTML for page at URL: http://localhost:3000/github.com/ruby/ruby/tree Rendering HTML for page at URL: http://localhost:3000/github.com/ruby/ruby/tree panic: reflect: NumIn of non-func type goroutine 9 [running]: runtime.panic(0x5faf80, 0xc2100a20e0) /usr/local/go/src/pkg/runtime/panic.c:266 +0xb6 reflect.(*rtype).NumIn(0xc2100a8c80, 0x1) /usr/local/go/src/pkg/reflect/type.go:662 +0x6d reflect.Value.call(0xc2100a8c80, 0xdeaddeaddeaddead, 0x130, 0x6b47e0, 0x4, ...) /usr/local/go/src/pkg/reflect/value.go:381 +0x16d reflect.Value.Call(0xc2100a8c80, 0xdeaddeaddeaddead, 0x130, 0x7fb974c54e20, 0x1, ...) /usr/local/go/src/pkg/reflect/value.go:345 +0x9d github.com/sourcegraph/go-webkit2/webkit2._go_gasyncreadycallback_call(0xc2100a8c60, 0x7fb9200e0d10) /home/sqs/src/github.com/sourcegraph/go-webkit2/webkit2/gasyncreadycallback.go:20 +0xd4 github.com/sqs/gotk3/gtk._Cfunc_gtk_main(0x4458df) github.com/sqs/gotk3/gtk/_obj/_cgo_defun.c:1852 +0x31 github.com/sqs/gotk3/gtk.Main() /home/sqs/src/github.com/sqs/gotk3/gtk/gtk.go:354 +0x1a github.com/sourcegraph/webloop.func??001() /home/sqs/src/github.com/sourcegraph/webloop/static_renderer.go:44 +0x1f created by github.com/sourcegraph/webloop.func??002 /home/sqs/src/github.com/sourcegraph/webloop/static_renderer.go:45 +0x32 goroutine 1 [IO wait]: net.runtime_pollWait(0x7fb98cb6e518, 0x72, 0x0) /home/sqs/src/code.google.com/p/go/src/pkg/runtime/netpoll.goc:116 +0x6a net.(*pollDesc).Wait(0xc210062220, 0x72, 0x7fb98cb6d268, 0xb) /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34 net.(*pollDesc).WaitRead(0xc210062220, 0xb, 0x7fb98cb6d268) /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30 net.(*netFD).accept(0xc2100621c0, 0x73eef8, 0x0, 0x7fb98cb6d268, 0xb) /usr/local/go/src/pkg/net/fd_unix.go:382 +0x2c2 net.(*TCPListener).AcceptTCP(0xc2100001e0, 0x45b06b, 0x7fb98cb3ed78, 0x45b06b) /usr/local/go/src/pkg/net/tcpsock_posix.go:233 +0x47 net.(*TCPListener).Accept(0xc2100001e0, 0x7fb98cb6e5f8, 0xc210094120, 0xc210093280, 0x0) /usr/local/go/src/pkg/net/tcpsock_posix.go:243 +0x27 net/http.(*Server).Serve(0xc210038820, 0x7fb98cb6e5c0, 0xc2100001e0, 0x0, 0x0) /usr/local/go/src/pkg/net/http/server.go:1622 +0x91 net/http.(*Server).ListenAndServe(0xc210038820, 0xc210038820, 0x3e) /usr/local/go/src/pkg/net/http/server.go:1612 +0xa0 net/http.ListenAndServe(0x6b3dc0, 0x6, 0x0, 0x0, 0x2, ...) /usr/local/go/src/pkg/net/http/server.go:1677 +0x6d main.main() /home/sqs/src/github.com/sourcegraph/webloop/examples/static-reverse-proxy/static_reverse_proxy.go:44 +0x35b goroutine 3 [syscall]: runtime.cgocallbackg() /usr/local/go/src/pkg/runtime/cgocall.c:267 +0x89 runtime.cgocallback_gofunc(0x0, 0x0, 0x0) /usr/local/go/src/pkg/runtime/asm_amd64.s:711 +0x67 runtime.goexit() /usr/local/go/src/pkg/runtime/proc.c:1396 goroutine 4 [select]: github.com/sourcegraph/webloop.(*View).EvaluateJavaScript(0xc21009b090, 0x6fc6f0, 0x19, 0x0, 0x0, ...) /home/sqs/src/github.com/sourcegraph/webloop/webloop.go:113 +0x220 github.com/sourcegraph/webloop.(*StaticRenderer).ServeHTTP(0xc21002ea80, 0x7fb98cb6e750, 0xc210011500, 0xc2100e2340) /home/sqs/src/github.com/sourcegraph/webloop/static_renderer.go:82 +0x48e main.func??001(0x7fb98cb6e750, 0xc210011500, 0xc2100e2340) /home/sqs/src/github.com/sourcegraph/webloop/examples/static-reverse-proxy/static_reverse_proxy.go:39 +0x1de net/http.HandlerFunc.ServeHTTP(0xc210060520, 0x7fb98cb6e750, 0xc210011500, 0xc2100e2340) /usr/local/go/src/pkg/net/http/server.go:1220 +0x40 net/http.(*ServeMux).ServeHTTP(0xc21002e660, 0x7fb98cb6e750, 0xc210011500, 0xc2100e2340) /usr/local/go/src/pkg/net/http/server.go:1496 +0x163 net/http.serverHandler.ServeHTTP(0xc210038820, 0x7fb98cb6e750, 0xc210011500, 0xc2100e2340) /usr/local/go/src/pkg/net/http/server.go:1597 +0x16e net/http.(*conn).serve(0xc210073400) /usr/local/go/src/pkg/net/http/server.go:1167 +0x7b7 created by net/http.(*Server).Serve /usr/local/go/src/pkg/net/http/server.go:1644 +0x28b goroutine 5 [semacquire]: sync.runtime_Semacquire(0xc21002eaa4) /home/sqs/src/code.google.com/p/go/src/pkg/runtime/sema.goc:199 +0x30 sync.(*Mutex).Lock(0xc21002eaa0) /usr/local/go/src/pkg/sync/mutex.go:66 +0xd6 github.com/sourcegraph/webloop.(*StaticRenderer).ServeHTTP(0xc21002ea80, 0x7fb98cb6e750, 0xc210100280, 0xc2100e2270) /home/sqs/src/github.com/sourcegraph/webloop/static_renderer.go:61 +0x56 main.func??001(0x7fb98cb6e750, 0xc210100280, 0xc2100e2270) /home/sqs/src/github.com/sourcegraph/webloop/examples/static-reverse-proxy/static_reverse_proxy.go:39 +0x1de net/http.HandlerFunc.ServeHTTP(0xc210060520, 0x7fb98cb6e750, 0xc210100280, 0xc2100e2270) /usr/local/go/src/pkg/net/http/server.go:1220 +0x40 net/http.(*ServeMux).ServeHTTP(0xc21002e660, 0x7fb98cb6e750, 0xc210100280, 0xc2100e2270) /usr/local/go/src/pkg/net/http/server.go:1496 +0x163 net/http.serverHandler.ServeHTTP(0xc210038820, 0x7fb98cb6e750, 0xc210100280, 0xc2100e2270) /usr/local/go/src/pkg/net/http/server.go:1597 +0x16e net/http.(*conn).serve(0xc210093000) /usr/local/go/src/pkg/net/http/server.go:1167 +0x7b7 created by net/http.(*Server).Serve /usr/local/go/src/pkg/net/http/server.go:1644 +0x28b goroutine 6 [IO wait]: net.runtime_pollWait(0x7fb98cb6e320, 0x72, 0x0) /home/sqs/src/code.google.com/p/go/src/pkg/runtime/netpoll.goc:116 +0x6a net.(*pollDesc).Wait(0xc210091220, 0x72, 0x7fb98cb6d268, 0xb) /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34 net.(*pollDesc).WaitRead(0xc210091220, 0xb, 0x7fb98cb6d268) /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30 net.(*netFD).Read(0xc2100911c0, 0xc21009c000, 0x1000, 0x1000, 0x0, ...) /usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0 net.(*conn).Read(0xc210094028, 0xc21009c000, 0x1000, 0x1000, 0x0, ...) /usr/local/go/src/pkg/net/net.go:122 +0xc5 net/http.(*liveSwitchReader).Read(0xc2100930a8, 0xc21009c000, 0x1000, 0x1000, 0x492da3, ...) /usr/local/go/src/pkg/net/http/server.go:204 +0xa5 io.(*LimitedReader).Read(0xc210060080, 0xc21009c000, 0x1000, 0x1000, 0x0, ...) /usr/local/go/src/pkg/io/io.go:398 +0xbb bufio.(*Reader).fill(0xc210095060) /usr/local/go/src/pkg/bufio/bufio.go:91 +0x110 bufio.(*Reader).ReadSlice(0xc210095060, 0xc2100d000a, 0x0, 0x0, 0x0, ...) /usr/local/go/src/pkg/bufio/bufio.go:274 +0x204 bufio.(*Reader).ReadLine(0xc210095060, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/pkg/bufio/bufio.go:305 +0x63 net/textproto.(*Reader).readLineSlice(0xc21009b030, 0x7fb98cb66780, 0x5ef0a0, 0x7fb974e1bce8, 0x43a652, ...) /usr/local/go/src/pkg/net/textproto/reader.go:55 +0x61 net/textproto.(*Reader).ReadLine(0xc21009b030, 0xc2100e21a0, 0x0, 0xc21009e000, 0x0) /usr/local/go/src/pkg/net/textproto/reader.go:36 +0x27 net/http.ReadRequest(0xc210095060, 0xc2100e21a0, 0x0, 0x0) /usr/local/go/src/pkg/net/http/request.go:526 +0x88 net/http.(*conn).readRequest(0xc210093080, 0x0, 0x0, 0x0) /usr/local/go/src/pkg/net/http/server.go:575 +0x1bb net/http.(*conn).serve(0xc210093080) /usr/local/go/src/pkg/net/http/server.go:1123 +0x3b4 created by net/http.(*Server).Serve /usr/local/go/src/pkg/net/http/server.go:1644 +0x28b goroutine 10 [syscall]: runtime.goexit() /usr/local/go/src/pkg/runtime/proc.c:1396 goroutine 13 [IO wait]: net.runtime_pollWait(0x7fb98cb6e278, 0x72, 0x0) /home/sqs/src/code.google.com/p/go/src/pkg/runtime/netpoll.goc:116 +0x6a net.(*pollDesc).Wait(0xc2100916f0, 0x72, 0x7fb98cb6d268, 0xb) /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34 net.(*pollDesc).WaitRead(0xc2100916f0, 0xb, 0x7fb98cb6d268) /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30 net.(*netFD).Read(0xc210091690, 0xc21009f000, 0x1000, 0x1000, 0x0, ...) /usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0 net.(*conn).Read(0xc2100940e0, 0xc21009f000, 0x1000, 0x1000, 0x0, ...) /usr/local/go/src/pkg/net/net.go:122 +0xc5 net/http.(*liveSwitchReader).Read(0xc210093228, 0xc21009f000, 0x1000, 0x1000, 0x0, ...) /usr/local/go/src/pkg/net/http/server.go:204 +0xa5 io.(*LimitedReader).Read(0xc2100de000, 0xc21009f000, 0x1000, 0x1000, 0x0, ...) /usr/local/go/src/pkg/io/io.go:398 +0xbb bufio.(*Reader).fill(0xc2100950c0) /usr/local/go/src/pkg/bufio/bufio.go:91 +0x110 bufio.(*Reader).ReadSlice(0xc2100950c0, 0x42ab0a, 0x0, 0x0, 0x0, ...) /usr/local/go/src/pkg/bufio/bufio.go:274 +0x204 bufio.(*Reader).ReadLine(0xc2100950c0, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/pkg/bufio/bufio.go:305 +0x63 net/textproto.(*Reader).readLineSlice(0xc2100e3240, 0x7fb98cb65000, 0x678560, 0xc2100e3240, 0x43a652, ...) /usr/local/go/src/pkg/net/textproto/reader.go:55 +0x61 net/textproto.(*Reader).ReadLine(0xc2100e3240, 0xc210074820, 0x1, 0x0, 0x4257fc) /usr/local/go/src/pkg/net/textproto/reader.go:36 +0x27 net/http.ReadRequest(0xc2100950c0, 0xc210074820, 0x0, 0x0) /usr/local/go/src/pkg/net/http/request.go:526 +0x88 net/http.(*conn).readRequest(0xc210093200, 0x0, 0x0, 0x0) /usr/local/go/src/pkg/net/http/server.go:575 +0x1bb net/http.(*conn).serve(0xc210093200) /usr/local/go/src/pkg/net/http/server.go:1123 +0x3b4 created by net/http.(*Server).Serve /usr/local/go/src/pkg/net/http/server.go:1644 +0x28b goroutine 14 [IO wait]: net.runtime_pollWait(0x7fb98cb6e1d0, 0x72, 0x0) /home/sqs/src/code.google.com/p/go/src/pkg/runtime/netpoll.goc:116 +0x6a net.(*pollDesc).Wait(0xc2100918b0, 0x72, 0x7fb98cb6d268, 0xb) /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34 net.(*pollDesc).WaitRead(0xc2100918b0, 0xb, 0x7fb98cb6d268) /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30 net.(*netFD).Read(0xc210091850, 0xc2100a3000, 0x1000, 0x1000, 0x0, ...) /usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0 net.(*conn).Read(0xc210094120, 0xc2100a3000, 0x1000, 0x1000, 0x0, ...) /usr/local/go/src/pkg/net/net.go:122 +0xc5 net/http.(*liveSwitchReader).Read(0xc2100932a8, 0xc2100a3000, 0x1000, 0x1000, 0x0, ...) /usr/local/go/src/pkg/net/http/server.go:204 +0xa5 io.(*LimitedReader).Read(0xc2100de020, 0xc2100a3000, 0x1000, 0x1000, 0x0, ...) /usr/local/go/src/pkg/io/io.go:398 +0xbb bufio.(*Reader).fill(0xc210095120) /usr/local/go/src/pkg/bufio/bufio.go:91 +0x110 bufio.(*Reader).ReadSlice(0xc210095120, 0x42ab0a, 0x0, 0x0, 0x0, ...) /usr/local/go/src/pkg/bufio/bufio.go:274 +0x204 bufio.(*Reader).ReadLine(0xc210095120, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/pkg/bufio/bufio.go:305 +0x63 net/textproto.(*Reader).readLineSlice(0xc21009b0c0, 0x7fb98cb65bc0, 0x678560, 0xc21009b0c0, 0x43a652, ...) /usr/local/go/src/pkg/net/textproto/reader.go:55 +0x61 net/textproto.(*Reader).ReadLine(0xc21009b0c0, 0xc210050410, 0x1, 0x0, 0x4257fc) /usr/local/go/src/pkg/net/textproto/reader.go:36 +0x27 net/http.ReadRequest(0xc210095120, 0xc210050410, 0x0, 0x0) /usr/local/go/src/pkg/net/http/request.go:526 +0x88 net/http.(*conn).readRequest(0xc210093280, 0x0, 0x0, 0x0) /usr/local/go/src/pkg/net/http/server.go:575 +0x1bb net/http.(*conn).serve(0xc210093280) /usr/local/go/src/pkg/net/http/server.go:1123 +0x3b4 created by net/http.(*Server).Serve /usr/local/go/src/pkg/net/http/server.go:1644 +0x28b
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: