Skip to content
New issue

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

Out of memory on missing quote #31

Closed
stanislas-m opened this issue Jan 9, 2018 · 1 comment
Closed

Out of memory on missing quote #31

stanislas-m opened this issue Jan 9, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@stanislas-m
Copy link
Member

stanislas-m commented Jan 9, 2018

Config

  • Plush version: 760a9e9 (latest master).
  • Ubuntu GNU/Linux 17.04 64 bits.

Context

Using <%= partial("test.md) %> (note the missing quote), I tried to load the page but it keeps loading. After a few seconds, the app panic with the following trace:

fatal error: runtime: out of memory

runtime stack:
runtime.throw(0xbadc0a, 0x16)
        /usr/lib/go-1.8/src/runtime/panic.go:596 +0x95
runtime.sysMap(0xc581ec0000, 0x498c0000, 0x1151b00, 0x116b1d8)
        /usr/lib/go-1.8/src/runtime/mem_linux.go:216 +0x1d0
runtime.(*mheap).sysAlloc(0x1151a20, 0x498c0000, 0x429071)
        /usr/lib/go-1.8/src/runtime/malloc.go:428 +0x374
runtime.(*mheap).grow(0x1151a20, 0x24c5f, 0x0)
        /usr/lib/go-1.8/src/runtime/mheap.go:774 +0x62
runtime.(*mheap).allocSpanLocked(0x1151a20, 0x24c5f, 0x100)
        /usr/lib/go-1.8/src/runtime/mheap.go:678 +0x44f
runtime.(*mheap).alloc_m(0x1151a20, 0x24c5f, 0x100000000, 0xc400000000)
        /usr/lib/go-1.8/src/runtime/mheap.go:562 +0xe2
runtime.(*mheap).alloc.func1()
        /usr/lib/go-1.8/src/runtime/mheap.go:627 +0x4b
runtime.systemstack(0x7ff22212ae18)
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:343 +0xab
runtime.(*mheap).alloc(0x1151a20, 0x24c5f, 0x10100000000, 0x1152f80)
        /usr/lib/go-1.8/src/runtime/mheap.go:628 +0xa0
runtime.largeAlloc(0x498be000, 0x7ff2252c5401, 0xc500000005)
        /usr/lib/go-1.8/src/runtime/malloc.go:795 +0x93
runtime.mallocgc.func1()
        /usr/lib/go-1.8/src/runtime/malloc.go:690 +0x3e
runtime.systemstack(0xc420026000)
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:327 +0x79
runtime.mstart()
        /usr/lib/go-1.8/src/runtime/proc.go:1132

goroutine 18 [running]:
runtime.systemstack_switch()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:281 fp=0xc42012aa70 sp=0xc42012aa68
runtime.mallocgc(0x498be000, 0xac4940, 0xc42001e101, 0x0)
        /usr/lib/go-1.8/src/runtime/malloc.go:691 +0x930 fp=0xc42012ab10 sp=0xc42012aa70
runtime.growslice(0xac4940, 0xc534050000, 0x3ad6400, 0x3ad6400, 0x3ad6401, 0xc581e8fdd0, 0x2f, 0x4141b4)
        /usr/lib/go-1.8/src/runtime/slice.go:147 +0x152 fp=0xc42012ab98 sp=0xc42012ab10
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser.(*parser).noPrefixParseFnError(0xc420450900, 0xb9c3a7, 0x3)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser/parser.go:140 +0x1b4 fp=0xc42012ac38 sp=0xc42012ab98
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser.(*parser).parseExpression(0xc420450900, 0x1, 0x851cf9, 0xc420449470)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser/parser.go:223 +0x22d fp=0xc42012ac98 sp=0xc42012ac38
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser.(*parser).parseExpressionStatement(0xc420450900, 0x3)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser/parser.go:209 +0x88 fp=0xc42012acd8 sp=0xc42012ac98
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser.(*parser).parseStatement(0xc420450900, 0x3, 0xb9c3b6)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser/parser.go:161 +0x9c fp=0xc42012ad20 sp=0xc42012acd8
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser.(*parser).parseProgram(0xc420450900, 0xc420450900)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser/parser.go:94 +0xb7 fp=0xc42012ad90 sp=0xc42012ad20
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser.Parse(0xc42046b800, 0x59c, 0xb1e740, 0xc42031ae01, 0xc42045bd80)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/parser/parser.go:21 +0xbd fp=0xc42012add8 sp=0xc42012ad90
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.(*Template).Parse(0xc42045bd80, 0xc42045bd80, 0x8)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/template.go:39 +0x48 fp=0xc42012ae10 sp=0xc42012add8
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.NewTemplate(0xc42046b800, 0x59c, 0xc42046b800, 0x59c, 0x116a5a0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/template.go:25 +0x76 fp=0xc42012ae48 sp=0xc42012ae10
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.Parse(0xc42046b800, 0x59c, 0x0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/plush.go:36 +0xdb fp=0xc42012aeb0 sp=0xc42012ae48
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.BuffaloRenderer(0xc42046b800, 0x59c, 0xc420235f20, 0xc420448fc0, 0xc42046b800, 0x59c, 0x493, 0x3)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/plush.go:17 +0x4d fp=0xc42012af78 sp=0xc42012aeb0
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.MDTemplateEngine(0xc420230f00, 0x493, 0xc420235f20, 0xc420448fc0, 0xc42022c650, 0x1, 0xc42045b960, 0x15)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/html.go:49 +0x187 fp=0xc42012afe8 sp=0xc42012af78
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.templateRenderer.exec(0xc4201c1180, 0xba334d, 0x9, 0xc42045b9a0, 0x2, 0x2, 0xc42045b960, 0x15, 0xc420235f20, 0xc42031b2c0, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/template.go:111 +0x925 fp=0xc42012b240 sp=0xc42012afe8
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.templateRenderer.Render(0xc4201c1180, 0xba334d, 0x9, 0xc42045b9a0, 0x2, 0x2, 0x1113c20, 0xc420256af0, 0xc420235f20, 0x110a101, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/template.go:33 +0xa2 fp=0xc42012b308 sp=0xc42012b240
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.(*templateRenderer).Render(0xc420448f00, 0x1113c20, 0xc420256af0, 0xc420235f20, 0xc420448f30, 0x114c3c0)
        <autogenerated>:14 +0x7d fp=0xc42012b370 sp=0xc42012b308
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*DefaultContext).Render(0xc4202563f0, 0xc8, 0x1119620, 0xc420448f00, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/default_context.go:118 +0x431 fp=0xc42012b4e8 sp=0xc42012b370
github.com/gobuffalo/gobuffalo/actions.Docs(0x1120ea0, 0xc4202563f0, 0x1, 0xae68c0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/actions/docs.go:15 +0x407 fp=0xc42012b5f0 sp=0xc42012b4e8
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/i18n.(*Translator).Middleware.func1.1(0x1120ea0, 0xc4202563f0, 0x4, 0xac4940)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/i18n/i18n.go:119 +0x28f fp=0xc42012b6b8 sp=0xc42012b5f0
github.com/gobuffalo/gobuffalo/actions.App.func1.1(0x1120ea0, 0xc4202563f0, 0x1120ea0, 0xc4202563f0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/actions/app.go:51 +0x352 fp=0xc42012b768 sp=0xc42012b6b8
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware.ParameterLogger.func1(0x1120ea0, 0xc4202563f0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/param_logger.go:28 +0x89 fp=0xc42012b7a0 sp=0xc42012b768
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/ssl.ForceSSL.func1.1(0x1120ea0, 0xc4202563f0, 0xc42031b830, 0xc420243260)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/ssl/ssl.go:26 +0x113 fp=0xc42012b800 sp=0xc42012b7a0
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.sessionSaver.func1(0x1120ea0, 0xc4202563f0, 0x1120ea0, 0xc4202563f0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/session.go:70 +0x3d fp=0xc42012b830 sp=0xc42012b800
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.RequestLoggerFunc.func1(0x1120ea0, 0xc4202563f0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/request_logger.go:51 +0x2ff fp=0xc42012b940 sp=0xc42012b830
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).PanicHandler.func1(0x1120ea0, 0xc4202563f0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/errors.go:69 +0x92 fp=0xc42012b980 sp=0xc42012b940
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.RouteInfo.ServeHTTP(0xb9c3d1, 0x3, 0xba73c7, 0xf, 0xed3550, 0x2b, 0xc420250d73, 0x7, 0x1169860, 0x0, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/handler.go:75 +0x1b6 fp=0xc42012ba88 sp=0xc42012b980
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*RouteInfo).ServeHTTP(0xc420238d90, 0x111a620, 0xc42024dde0, 0xc4201f7f00)
        <autogenerated>:43 +0x9a fp=0xc42012bb20 sp=0xc42012ba88
github.com/gobuffalo/gobuffalo/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc4202226c0, 0x111a620, 0xc42024dde0, 0xc4201f7f00)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gorilla/mux/mux.go:150 +0x101 fp=0xc42012bc10 sp=0xc42012bb20
github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/refresh/refresh/web.ErrorChecker.func1(0x111a620, 0xc42024dde0, 0xc420073c00)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/refresh/refresh/web/web.go:23 +0xc0 fp=0xc42012bca0 sp=0xc42012bc10
net/http.HandlerFunc.ServeHTTP(0xc42024de00, 0x111a620, 0xc42024dde0, 0xc420073c00)
        /usr/lib/go-1.8/src/net/http/server.go:1942 +0x44 fp=0xc42012bcc8 sp=0xc42012bca0
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).ServeHTTP(0xc42001de40, 0x111b6e0, 0xc4201069a0, 0xc420073c00)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/app.go:151 +0x111 fp=0xc42012bd10 sp=0xc42012bcc8
net/http.serverHandler.ServeHTTP(0xc4202142c0, 0x111b6e0, 0xc4201069a0, 0xc420073c00)
        /usr/lib/go-1.8/src/net/http/server.go:2568 +0x92 fp=0xc42012bd58 sp=0xc42012bd10
net/http.(*conn).serve(0xc420270000, 0x111bee0, 0xc42027e040)
        /usr/lib/go-1.8/src/net/http/server.go:1825 +0x612 fp=0xc42012bfc8 sp=0xc42012bd58
runtime.goexit()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42012bfd0 sp=0xc42012bfc8
created by net/http.(*Server).Serve
        /usr/lib/go-1.8/src/net/http/server.go:2668 +0x2ce

goroutine 1 [IO wait]:
net.runtime_pollWait(0x7ff22528dfe8, 0x72, 0x0)
        /usr/lib/go-1.8/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420256148, 0x72, 0x0, 0xc42000c780)
        /usr/lib/go-1.8/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420256148, 0xffffffffffffffff, 0x0)
        /usr/lib/go-1.8/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).accept(0xc4202560e0, 0x0, 0x11156e0, 0xc42000c780)
        /usr/lib/go-1.8/src/net/fd_unix.go:430 +0x1e5
net.(*TCPListener).accept(0xc42000eba8, 0xc420122da0, 0xae86c0, 0xffffffffffffffff)
        /usr/lib/go-1.8/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).AcceptTCP(0xc42000eba8, 0xc42004fd10, 0xc42004fd18, 0xc42004fd08)
        /usr/lib/go-1.8/src/net/tcpsock.go:215 +0x49
net/http.tcpKeepAliveListener.Accept(0xc42000eba8, 0xbe60d0, 0xc420122d20, 0x111bfa0, 0xc4202359b0)
        /usr/lib/go-1.8/src/net/http/server.go:3044 +0x2f
net/http.(*Server).Serve(0xc4202142c0, 0x111b9a0, 0xc42000eba8, 0x0, 0x0)
        /usr/lib/go-1.8/src/net/http/server.go:2643 +0x228
net/http.(*Server).ListenAndServe(0xc4202142c0, 0x5, 0xb9e8d4)
        /usr/lib/go-1.8/src/net/http/server.go:2585 +0xb0
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).Serve(0xc42001de40, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/app.go:115 +0x412
main.main()
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/main.go:10 +0x2f

goroutine 17 [syscall, 1 minutes, locked to thread]:
runtime.goexit()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1

goroutine 6 [syscall, 1 minutes]:
os/signal.signal_recv(0x0)
        /usr/lib/go-1.8/src/runtime/sigqueue.go:116 +0x104
os/signal.loop()
        /usr/lib/go-1.8/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.1
        /usr/lib/go-1.8/src/os/signal/signal_unix.go:28 +0x41

goroutine 40 [IO wait]:
net.runtime_pollWait(0x7ff22528dc28, 0x72, 0x4)
        /usr/lib/go-1.8/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc42011e378, 0x72, 0x11170a0, 0x11122f8)
        /usr/lib/go-1.8/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc42011e378, 0xc57d85e051, 0x1)
        /usr/lib/go-1.8/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc42011e310, 0xc57d85e051, 0x1, 0x1, 0x0, 0x11170a0, 0x11122f8)
        /usr/lib/go-1.8/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42026e050, 0xc57d85e051, 0x1, 0x1, 0x0, 0x0, 0x0)
        /usr/lib/go-1.8/src/net/net.go:181 +0x70
net/http.(*connReader).backgroundRead(0xc57d85e040)
        /usr/lib/go-1.8/src/net/http/server.go:656 +0x58
created by net/http.(*connReader).startBackgroundRead
        /usr/lib/go-1.8/src/net/http/server.go:652 +0xdf

goroutine 9 [select, 1 minutes, locked to thread]:
runtime.gopark(0xbe66b8, 0x0, 0xb9fa96, 0x6, 0x18, 0x2)
        /usr/lib/go-1.8/src/runtime/proc.go:271 +0x13a
runtime.selectgoImpl(0xc42003ef50, 0x0, 0x18)
        /usr/lib/go-1.8/src/runtime/select.go:423 +0x1364
runtime.selectgo(0xc42003ef50)
        /usr/lib/go-1.8/src/runtime/select.go:238 +0x1c
runtime.ensureSigM.func1()
        /usr/lib/go-1.8/src/runtime/signal_unix.go:434 +0x2dd
runtime.goexit()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1

goroutine 10 [select, 1 minutes]:
github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/sigtx.WithCancel.func1(0xc4202526c0, 0xc4202511a0, 0x111bee0, 0xc42023cb40)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/sigtx/context.go:14 +0x12f
created by github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/sigtx.WithCancel
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/sigtx/context.go:21 +0xe1

goroutine 11 [chan receive, 1 minutes]:
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).Serve.func1(0x111bee0, 0xc42023cb40, 0xc42001de40, 0xc4202142c0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/app.go:66 +0x6c
created by github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).Serve
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/app.go:88 +0x263

goroutine 13 [semacquire]:
sync.runtime_SemacquireMutex(0x116950c)
        /usr/lib/go-1.8/src/runtime/sema.go:62 +0x34
sync.(*Mutex).Lock(0x1169508)
        /usr/lib/go-1.8/src/sync/mutex.go:87 +0x9d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.Parse(0xc4202e3300, 0x1264, 0x0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/plush.go:31 +0x52
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.BuffaloRenderer(0xc4202e3300, 0x1264, 0xc44346f0b0, 0xc483f72120, 0xc42022c638, 0x1, 0xbaa4d5,0x12)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/plush.go:17 +0x4d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.templateRenderer.exec(0xc4201c1180, 0xba334d, 0x9, 0xc420154840, 0x2, 0x2, 0xbaa4d5, 0x12, 0xc44346f0b0, 0xc420127380, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/template.go:111 +0x925
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.templateRenderer.Render(0xc4201c1180, 0xba334d, 0x9, 0xc420154840, 0x2, 0x2, 0x1113c20, 0xc4200229a0, 0xc44346f0b0, 0xc420127501, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/template.go:33 +0xa2
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.(*templateRenderer).Render(0xc483f720c0, 0x1113c20, 0xc4200229a0, 0xc44346f0b0, 0xc483f720f0, 0x114c3c0)
        <autogenerated>:14 +0x7d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*DefaultContext).Render(0xc4200221c0, 0xc8, 0x1119620, 0xc483f720c0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/default_context.go:118 +0x431
github.com/gobuffalo/gobuffalo/actions.HomeHandler(0x1120ea0, 0xc4200221c0, 0x1, 0xae68c0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/actions/home.go:13 +0xb7
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/i18n.(*Translator).Middleware.func1.1(0x1120ea0, 0xc4200221c0, 0x4, 0xac4940)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/i18n/i18n.go:119 +0x28f
github.com/gobuffalo/gobuffalo/actions.App.func1.1(0x1120ea0, 0xc4200221c0, 0x1120ea0, 0xc4200221c0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/actions/app.go:51 +0x352
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware.ParameterLogger.func1(0x1120ea0, 0xc4200221c0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/param_logger.go:28 +0x89
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/ssl.ForceSSL.func1.1(0x1120ea0, 0xc4200221c0, 0xc420053830, 0xc420020300)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/ssl/ssl.go:26 +0x113
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.sessionSaver.func1(0x1120ea0, 0xc4200221c0, 0x1120ea0, 0xc4200221c0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/session.go:70 +0x3d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.RequestLoggerFunc.func1(0x1120ea0, 0xc4200221c0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/request_logger.go:51 +0x2ff
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).PanicHandler.func1(0x1120ea0, 0xc4200221c0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/errors.go:69 +0x92
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.RouteInfo.ServeHTTP(0xb9c3d1, 0x3, 0xb9bcfe, 0x1, 0xed3620, 0x32, 0xc4202510c8, 0x8, 0x1169860, 0x0, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/handler.go:75 +0x1b6
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*RouteInfo).ServeHTTP(0xc420239ce0, 0x111a620, 0xc4203fa080, 0xc42000ad00)
        <autogenerated>:43 +0x9a
github.com/gobuffalo/gobuffalo/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc4202226c0, 0x111a620, 0xc4203fa080, 0xc42000ad00)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gorilla/mux/mux.go:150 +0x101
github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/refresh/refresh/web.ErrorChecker.func1(0x111a620, 0xc4203fa080, 0xc420073f00)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/refresh/refresh/web/web.go:23 +0xc0
net/http.HandlerFunc.ServeHTTP(0xc4203fa0a0, 0x111a620, 0xc4203fa080, 0xc420073f00)
        /usr/lib/go-1.8/src/net/http/server.go:1942 +0x44
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).ServeHTTP(0xc42001de40, 0x111b6e0, 0xc420106000, 0xc420073f00)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/app.go:151 +0x111
net/http.serverHandler.ServeHTTP(0xc4202142c0, 0x111b6e0, 0xc420106000, 0xc420073f00)
        /usr/lib/go-1.8/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420220fa0, 0x111bee0, 0xc42023cbc0)
        /usr/lib/go-1.8/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
        /usr/lib/go-1.8/src/net/http/server.go:2668 +0x2ce

goroutine 26 [semacquire]:
sync.runtime_SemacquireMutex(0x116950c)
        /usr/lib/go-1.8/src/runtime/sema.go:62 +0x34
sync.(*Mutex).Lock(0x1169508)
        /usr/lib/go-1.8/src/sync/mutex.go:87 +0x9d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.Parse(0xc4fde9ac00, 0x5a5, 0x0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/plush.go:31 +0x52
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.BuffaloRenderer(0xc4fde9ac00, 0x5a5, 0xc533f5e270, 0xc533f5f320, 0xc4fde9ac00, 0x5a5, 0x4d7, 0x3)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/plush.go:17 +0x4d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.MDTemplateEngine(0xc420100f00, 0x4d7, 0xc533f5e270, 0xc533f5f320, 0xc42022c650, 0x1, 0xc534012790, 0x10)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/html.go:49 +0x187
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.templateRenderer.exec(0xc4201c1180, 0xba334d, 0x9, 0xc420154680, 0x2, 0x2, 0xc534012790, 0x10, 0xc533f5e270, 0x38, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/template.go:111 +0x925
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.templateRenderer.Render(0xc4201c1180, 0xba334d, 0x9, 0xc420154680, 0x2, 0x2, 0x1113c20, 0xc42011f880, 0xc533f5e270, 0x110a101, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/template.go:33 +0xa2
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.(*templateRenderer).Render(0xc533f5f260, 0x1113c20, 0xc42011f880, 0xc533f5e270, 0xc533f5f290, 0x114c3c0)
        <autogenerated>:14 +0x7d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*DefaultContext).Render(0xc42011f1f0, 0xc8, 0x1119620, 0xc533f5f260, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/default_context.go:118 +0x431
github.com/gobuffalo/gobuffalo/actions.Docs(0x1120ea0, 0xc42011f1f0, 0x1, 0xae68c0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/actions/docs.go:15 +0x407
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/i18n.(*Translator).Middleware.func1.1(0x1120ea0, 0xc42011f1f0, 0x4, 0xac4940)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/i18n/i18n.go:119 +0x28f
github.com/gobuffalo/gobuffalo/actions.App.func1.1(0x1120ea0, 0xc42011f1f0, 0x1120ea0, 0xc42011f1f0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/actions/app.go:51 +0x352
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware.ParameterLogger.func1(0x1120ea0, 0xc42011f1f0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/param_logger.go:28 +0x89
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/ssl.ForceSSL.func1.1(0x1120ea0, 0xc42011f1f0, 0xc420055830, 0xc4202805a0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/ssl/ssl.go:26 +0x113
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.sessionSaver.func1(0x1120ea0, 0xc42011f1f0, 0x1120ea0, 0xc42011f1f0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/session.go:70 +0x3d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.RequestLoggerFunc.func1(0x1120ea0, 0xc42011f1f0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/request_logger.go:51 +0x2ff
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).PanicHandler.func1(0x1120ea0, 0xc42011f1f0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/errors.go:69 +0x92
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.RouteInfo.ServeHTTP(0xb9c3d1, 0x3, 0xba73c7, 0xf, 0xed3550, 0x2b, 0xc420250d73, 0x7, 0x1169860, 0x0, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/handler.go:75 +0x1b6
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*RouteInfo).ServeHTTP(0xc420238d90, 0x111a620, 0xc42000c7c0, 0xc420072e00)
        <autogenerated>:43 +0x9a
github.com/gobuffalo/gobuffalo/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc4202226c0, 0x111a620, 0xc42000c7c0, 0xc420072e00)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gorilla/mux/mux.go:150 +0x101
github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/refresh/refresh/web.ErrorChecker.func1(0x111a620, 0xc42000c7c0, 0xc420072c00)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/refresh/refresh/web/web.go:23 +0xc0
net/http.HandlerFunc.ServeHTTP(0xc4200ca980, 0x111a620, 0xc42000c7c0, 0xc420072c00)
        /usr/lib/go-1.8/src/net/http/server.go:1942 +0x44
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).ServeHTTP(0xc42001de40, 0x111b6e0, 0xc4fde900e0, 0xc420072c00)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/app.go:151 +0x111
net/http.serverHandler.ServeHTTP(0xc4202142c0, 0x111b6e0, 0xc4fde900e0, 0xc420072c00)
        /usr/lib/go-1.8/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420122f00, 0x111bee0, 0xc533f62000)
        /usr/lib/go-1.8/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
        /usr/lib/go-1.8/src/net/http/server.go:2668 +0x2ce

goroutine 36 [semacquire]:
sync.runtime_SemacquireMutex(0x116950c)
        /usr/lib/go-1.8/src/runtime/sema.go:62 +0x34
sync.(*Mutex).Lock(0x1169508)
        /usr/lib/go-1.8/src/sync/mutex.go:87 +0x9d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.Parse(0xc4200fb900, 0x1264, 0x0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/plush.go:31 +0x52
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.BuffaloRenderer(0xc4200fb900, 0x1264, 0xc4fde8a2a0, 0xc4fde8b320, 0xc42022c638, 0x1, 0xc42024cc80, 0x12)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/plush.go:17 +0x4d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.templateRenderer.exec(0xc4201c1180, 0xba334d, 0x9, 0xc42024cd00, 0x2, 0x2, 0xc42024cc80, 0x12, 0xc4fde8a2a0, 0x1b, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/template.go:111 +0x925
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.templateRenderer.Render(0xc4201c1180, 0xba334d, 0x9, 0xc42024cd00, 0x2, 0x2, 0x1113c20, 0xc42011ebd0, 0xc4fde8a2a0, 0x110a101, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/template.go:33 +0xa2
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.(*templateRenderer).Render(0xc4fde8b2c0, 0x1113c20, 0xc42011ebd0, 0xc4fde8a2a0, 0xc4fde8b2f0, 0x114c3c0)
        <autogenerated>:14 +0x7d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*DefaultContext).Render(0xc42011e2a0, 0xc8, 0x1119620, 0xc4fde8b2c0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/default_context.go:118 +0x431
github.com/gobuffalo/gobuffalo/actions.Docs(0x1120ea0, 0xc42011e2a0, 0x1, 0xae68c0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/actions/docs.go:15 +0x407
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/i18n.(*Translator).Middleware.func1.1(0x1120ea0, 0xc42011e2a0, 0x4, 0xac4940)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/i18n/i18n.go:119 +0x28f
github.com/gobuffalo/gobuffalo/actions.App.func1.1(0x1120ea0, 0xc42011e2a0, 0x1120ea0, 0xc42011e2a0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/actions/app.go:51 +0x352
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware.ParameterLogger.func1(0x1120ea0, 0xc42011e2a0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/param_logger.go:28 +0x89
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/ssl.ForceSSL.func1.1(0x1120ea0, 0xc42011e2a0, 0xc420055830, 0xc42024a180)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/ssl/ssl.go:26 +0x113
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.sessionSaver.func1(0x1120ea0, 0xc42011e2a0, 0x1120ea0, 0xc42011e2a0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/session.go:70 +0x3d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.RequestLoggerFunc.func1(0x1120ea0, 0xc42011e2a0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/request_logger.go:51 +0x2ff
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).PanicHandler.func1(0x1120ea0, 0xc42011e2a0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/errors.go:69 +0x92
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.RouteInfo.ServeHTTP(0xb9c3d1, 0x3, 0xba73c7, 0xf, 0xed3550, 0x2b, 0xc420250d73, 0x7, 0x1169860, 0x0, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/handler.go:75 +0x1b6
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*RouteInfo).ServeHTTP(0xc420238d90, 0x111a620, 0xc4201ea120, 0xc420072500)
        <autogenerated>:43 +0x9a
github.com/gobuffalo/gobuffalo/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc4202226c0, 0x111a620, 0xc4201ea120, 0xc420072500)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gorilla/mux/mux.go:150 +0x101
github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/refresh/refresh/web.ErrorChecker.func1(0x111a620, 0xc4201ea120, 0xc420072100)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/refresh/refresh/web/web.go:23 +0xc0
net/http.HandlerFunc.ServeHTTP(0xc4201ea140, 0x111a620, 0xc4201ea120, 0xc420072100)
        /usr/lib/go-1.8/src/net/http/server.go:1942 +0x44
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).ServeHTTP(0xc42001de40, 0x111b6e0, 0xc4fde90000, 0xc420072100)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/app.go:151 +0x111
net/http.serverHandler.ServeHTTP(0xc4202142c0, 0x111b6e0, 0xc4fde90000, 0xc420072100)
        /usr/lib/go-1.8/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420122be0, 0x111bee0, 0xc4fde8e000)
        /usr/lib/go-1.8/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
        /usr/lib/go-1.8/src/net/http/server.go:2668 +0x2ce

goroutine 69 [semacquire]:
sync.runtime_SemacquireMutex(0x116950c)
        /usr/lib/go-1.8/src/runtime/sema.go:62 +0x34
sync.(*Mutex).Lock(0x1169508)
        /usr/lib/go-1.8/src/sync/mutex.go:87 +0x9d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.Parse(0xc4200fcc00, 0x1264, 0x0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/plush.go:31 +0x52
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush.BuffaloRenderer(0xc4200fcc00, 0x1264, 0xc57d894210, 0xc57d895260, 0xc42022c638, 0x1, 0xbaa4d5,0x12)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/plush/plush.go:17 +0x4d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.templateRenderer.exec(0xc4201c1180, 0xba334d, 0x9, 0xc4203fa5e0, 0x2, 0x2, 0xbaa4d5, 0x12, 0xc57d894210, 0xc57da59380, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/template.go:111 +0x925
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.templateRenderer.Render(0xc4201c1180, 0xba334d, 0x9, 0xc4203fa5e0, 0x2, 0x2, 0x1113c20, 0xc420022b60, 0xc57d894210, 0xc57da59501, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render/template.go:33 +0xa2
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/render.(*templateRenderer).Render(0xc57d895200, 0x1113c20, 0xc420022b60, 0xc57d894210, 0xc57d895230, 0x114c3c0)
        <autogenerated>:14 +0x7d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*DefaultContext).Render(0xc420022380, 0xc8, 0x1119620, 0xc57d895200, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/default_context.go:118 +0x431
github.com/gobuffalo/gobuffalo/actions.HomeHandler(0x1120ea0, 0xc420022380, 0x1, 0xae68c0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/actions/home.go:13 +0xb7
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/i18n.(*Translator).Middleware.func1.1(0x1120ea0, 0xc420022380, 0x4, 0xac4940)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/i18n/i18n.go:119 +0x28f
github.com/gobuffalo/gobuffalo/actions.App.func1.1(0x1120ea0, 0xc420022380, 0x1120ea0, 0xc420022380)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/actions/app.go:51 +0x352
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware.ParameterLogger.func1(0x1120ea0, 0xc420022380, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/param_logger.go:28 +0x89
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/ssl.ForceSSL.func1.1(0x1120ea0, 0xc420022380, 0xc420055830, 0xc420253320)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/middleware/ssl/ssl.go:26 +0x113
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.sessionSaver.func1(0x1120ea0, 0xc420022380, 0x1120ea0, 0xc420022380)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/session.go:70 +0x3d
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.RequestLoggerFunc.func1(0x1120ea0, 0xc420022380, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/request_logger.go:51 +0x2ff
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).PanicHandler.func1(0x1120ea0, 0xc420022380, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/errors.go:69 +0x92
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.RouteInfo.ServeHTTP(0xb9c3d1, 0x3, 0xb9bcfe, 0x1, 0xed3620, 0x32, 0xc4202510c8, 0x8, 0x1169860, 0x0, ...)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/handler.go:75 +0x1b6
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*RouteInfo).ServeHTTP(0xc420239ce0, 0x111a620, 0xc420154140, 0xc420072700)
        <autogenerated>:43 +0x9a
github.com/gobuffalo/gobuffalo/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc4202226c0, 0x111a620, 0xc420154140, 0xc420072700)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gorilla/mux/mux.go:150 +0x101
github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/refresh/refresh/web.ErrorChecker.func1(0x111a620, 0xc420154140, 0xc420072400)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/markbates/refresh/refresh/web/web.go:23 +0xc0
net/http.HandlerFunc.ServeHTTP(0xc420154180, 0x111a620, 0xc420154140, 0xc420072400)
        /usr/lib/go-1.8/src/net/http/server.go:1942 +0x44
github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo.(*App).ServeHTTP(0xc42001de40, 0x111b6e0, 0xc4fde901c0, 0xc420072400)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/gobuffalo/vendor/github.com/gobuffalo/buffalo/app.go:151 +0x111
net/http.serverHandler.ServeHTTP(0xc4202142c0, 0x111b6e0, 0xc4fde901c0, 0xc420072400)
        /usr/lib/go-1.8/src/net/http/server.go:2568 +0x92
net/http.(*conn).serve(0xc420122d20, 0x111bee0, 0xc57d85e000)
        /usr/lib/go-1.8/src/net/http/server.go:1825 +0x612
created by net/http.(*Server).Serve
        /usr/lib/go-1.8/src/net/http/server.go:2668 +0x2ce
@stanislas-m stanislas-m added the bug Something isn't working label Jan 9, 2018
markbates added a commit that referenced this issue Jan 9, 2018
@stanislas-m
Copy link
Member Author

Just found a variant, playing with the docs pages:

func Test_MissingQuote_Variant(t *testing.T) {
	r := require.New(t)
	input := `<%= foo("test) %>".`
	ctx := NewContext()
	ctx.Set("foo", func(string) {})
	_, err := Render(input, ctx)
	r.Error(err)
}
fatal error: runtime: out of memory

runtime stack:
runtime.throw(0x8c75fd, 0x16)
        /usr/lib/go-1.8/src/runtime/panic.go:596 +0x95
runtime.sysMap(0xc581dc0000, 0x498c0000, 0xb06200, 0xb204b8)
        /usr/lib/go-1.8/src/runtime/mem_linux.go:216 +0x1d0
runtime.(*mheap).sysAlloc(0xb061a0, 0x498c0000, 0x4226a1)
        /usr/lib/go-1.8/src/runtime/malloc.go:428 +0x374
runtime.(*mheap).grow(0xb061a0, 0x24c5f, 0x0)
        /usr/lib/go-1.8/src/runtime/mheap.go:774 +0x62
runtime.(*mheap).allocSpanLocked(0xb061a0, 0x24c5f, 0x100)
        /usr/lib/go-1.8/src/runtime/mheap.go:678 +0x44f
runtime.(*mheap).alloc_m(0xb061a0, 0x24c5f, 0x100000000, 0xc400000000)
        /usr/lib/go-1.8/src/runtime/mheap.go:562 +0xe2
runtime.(*mheap).alloc.func1()
        /usr/lib/go-1.8/src/runtime/mheap.go:627 +0x4b
runtime.systemstack(0x7f4b3ef5ee18)
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:343 +0xab
runtime.(*mheap).alloc(0xb061a0, 0x24c5f, 0x10100000000, 0xb07700)
        /usr/lib/go-1.8/src/runtime/mheap.go:628 +0xa0
runtime.largeAlloc(0x498be000, 0x7f4b3fef1001, 0xc500000005)
        /usr/lib/go-1.8/src/runtime/malloc.go:795 +0x93
runtime.mallocgc.func1()
        /usr/lib/go-1.8/src/runtime/malloc.go:690 +0x3e
runtime.systemstack(0xc420027300)
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:327 +0x79
runtime.mstart()
        /usr/lib/go-1.8/src/runtime/proc.go:1132

goroutine 100 [running]:
runtime.systemstack_switch()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:281 fp=0xc42004fac8 sp=0xc42004fac0
runtime.mallocgc(0x498be000, 0x82d2a0, 0xc4d4188001, 0x0)
        /usr/lib/go-1.8/src/runtime/malloc.go:691 +0x930 fp=0xc42004fb68 sp=0xc42004fac8
runtime.growslice(0x82d2a0, 0xc53fbf0000, 0x3ad6400, 0x3ad6400, 0x3ad6401, 0xc581d98ed0, 0x2e, 0x40d7e4)
        /usr/lib/go-1.8/src/runtime/slice.go:147 +0x152 fp=0xc42004fbf0 sp=0xc42004fb68
github.com/gobuffalo/plush/parser.(*parser).noPrefixParseFnError(0xc420301680, 0x8b9abf, 0x3)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/plush/parser/parser.go:140 +0x1b4 fp=0xc42004fc90 sp=0xc42004fbf0
github.com/gobuffalo/plush/parser.(*parser).parseExpression(0xc420301680, 0x1, 0x6bcfd9, 0xc420370210)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/plush/parser/parser.go:223 +0x22d fp=0xc42004fcf0 sp=0xc42004fc90
github.com/gobuffalo/plush/parser.(*parser).parseExpressionStatement(0xc420301680, 0x3)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/plush/parser/parser.go:209 +0x88 fp=0xc42004fd30 sp=0xc42004fcf0
github.com/gobuffalo/plush/parser.(*parser).parseStatement(0xc420301680, 0x3, 0x8b9ace)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/plush/parser/parser.go:161 +0x9c fp=0xc42004fd78 sp=0xc42004fd30
github.com/gobuffalo/plush/parser.(*parser).parseProgram(0xc420301680, 0xc420301680)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/plush/parser/parser.go:94 +0xb7 fp=0xc42004fde8 sp=0xc42004fd78
github.com/gobuffalo/plush/parser.Parse(0x8c54a0, 0x13, 0x868a60, 0x168ad101, 0xc420347920)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/plush/parser/parser.go:21 +0xbd fp=0xc42004fe30 sp=0xc42004fde8
github.com/gobuffalo/plush.(*Template).Parse(0xc420347920, 0xc420347920, 0xc420031ea8)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/plush/template.go:39 +0x48 fp=0xc42004fe68 sp=0xc42004fe30
github.com/gobuffalo/plush.NewTemplate(0x8c54a0, 0x13, 0x8c54a0, 0x13, 0xb1e1e0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/plush/template.go:25 +0x76 fp=0xc42004fea0 sp=0xc42004fe68
github.com/gobuffalo/plush.Parse(0x8c54a0, 0x13, 0x0, 0x0, 0x0)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/plush/plush.go:36 +0xdb fp=0xc42004ff08 sp=0xc42004fea0
github.com/gobuffalo/plush.Render(0x8c54a0, 0x13, 0xc4203701e0, 0x82c5a0, 0x8d89c0, 0x1fd26603, 0xc420031f98)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/plush/plush.go:51 +0x39 fp=0xc42004ff48 sp=0xc42004ff08
github.com/gobuffalo/plush.Test_MissingQuote_Variant(0xc420366a90)
        /home/michalakst/Documents/Dev/go/src/github.com/gobuffalo/plush/plush_test.go:465 +0xb0 fp=0xc42004ffa8 sp=0xc42004ff48
testing.tRunner(0xc420366a90, 0x8d89c8)
        /usr/lib/go-1.8/src/testing/testing.go:657 +0x96 fp=0xc42004ffd0 sp=0xc42004ffa8
runtime.goexit()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42004ffd8 sp=0xc42004ffd0
created by testing.(*T).Run
        /usr/lib/go-1.8/src/testing/testing.go:697 +0x2ca

goroutine 1 [chan receive]:
testing.(*T).Run(0xc4201d3860, 0x8c8802, 0x19, 0x8d89c8, 0xc42016fd01)
        /usr/lib/go-1.8/src/testing/testing.go:698 +0x2f4
testing.runTests.func1(0xc4201d3860)
        /usr/lib/go-1.8/src/testing/testing.go:882 +0x67
testing.tRunner(0xc4201d3860, 0xc42016fde0)
        /usr/lib/go-1.8/src/testing/testing.go:657 +0x96
testing.runTests(0xc420212180, 0xafec40, 0x5e, 0x5e, 0xaf92b0)
        /usr/lib/go-1.8/src/testing/testing.go:888 +0x2c1
testing.(*M).Run(0xc420051f20, 0xc42016ff20)
        /usr/lib/go-1.8/src/testing/testing.go:822 +0xfc
main.main()
        github.com/gobuffalo/plush/_test/_testmain.go:236 +0xf7

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant