Skip to content

Instantly share code, notes, and snippets.

@jpatters
Last active April 2, 2018 13:59
Show Gist options
  • Save jpatters/ad231868ced67082ca9f2230c233cf41 to your computer and use it in GitHub Desktop.
Save jpatters/ad231868ced67082ca9f2230c233cf41 to your computer and use it in GitHub Desktop.
hugo race
fatal error: concurrent map iteration and map write
goroutine 78 [running]:
runtime.throw(0x1a89f07, 0x26)
/usr/local/Cellar/go/1.10.1/libexec/src/runtime/panic.go:616 +0x81 fp=0xc4217a0f78 sp=0xc4217a0f58 pc=0x102bc71
runtime.mapiternext(0xc421325440)
/usr/local/Cellar/go/1.10.1/libexec/src/runtime/hashmap.go:747 +0x55c fp=0xc4217a1008 sp=0xc4217a0f78 pc=0x100a71c
reflect.mapiternext(0xc421325440)
/usr/local/Cellar/go/1.10.1/libexec/src/runtime/hashmap.go:1223 +0x2b fp=0xc4217a1020 sp=0xc4217a1008 pc=0x100b83b
reflect.Value.MapKeys(0x19474c0, 0xc4224df410, 0x15, 0x16, 0xc4224df410, 0x15)
/usr/local/Cellar/go/1.10.1/libexec/src/reflect/value.go:1134 +0x13f fp=0xc4217a10c8 sp=0xc4217a1020 pc=0x10b564f
text/template.(*state).walkRange(0xc4217a1730, 0x1a21ec0, 0xc420330000, 0x196, 0xc420650080)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:342 +0x48d fp=0xc4217a11d0 sp=0xc4217a10c8 pc=0x118870d
text/template.(*state).walk(0xc4217a1730, 0x1a21ec0, 0xc420330000, 0x196, 0x1bf6c60, 0xc420650080)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:242 +0x447 fp=0xc4217a1250 sp=0xc4217a11d0 pc=0x1187c27
text/template.(*state).walk(0xc4217a1730, 0x1a21ec0, 0xc420330000, 0x196, 0x1bf6b60, 0xc420459560)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:239 +0x11d fp=0xc4217a12d0 sp=0xc4217a1250 pc=0x11878fd
text/template.(*state).walkIfOrWith(0xc4217a1730, 0xa, 0x1a21ec0, 0xc420330000, 0x196, 0xc4205db630, 0xc420459560, 0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:269 +0x1c4 fp=0xc4217a1368 sp=0xc4217a12d0 pc=0x1187ee4
text/template.(*state).walk(0xc4217a1730, 0x1a21ec0, 0xc420330000, 0x196, 0x1bf6b20, 0xc42063bac0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:236 +0x30e fp=0xc4217a13e8 sp=0xc4217a1368 pc=0x1187aee
text/template.(*state).walk(0xc4217a1730, 0x1a21ec0, 0xc420330000, 0x196, 0x1bf6b60, 0xc4204590b0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:239 +0x11d fp=0xc4217a1468 sp=0xc4217a13e8 pc=0x11878fd
text/template.(*state).walkRange.func1(0x1906fc0, 0x210de20, 0x82, 0x1a21ec0, 0xc420330000, 0x196)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:326 +0x121 fp=0xc4217a14b8 sp=0xc4217a1468 pc=0x1196cb1
text/template.(*state).walkRange(0xc4217a1730, 0x1a23700, 0xc42267a480, 0x16, 0xc42063bb00)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:335 +0x2fe fp=0xc4217a15c0 sp=0xc4217a14b8 pc=0x118857e
text/template.(*state).walk(0xc4217a1730, 0x1a23700, 0xc42267a480, 0x16, 0x1bf6c60, 0xc42063bb00)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:242 +0x447 fp=0xc4217a1640 sp=0xc4217a15c0 pc=0x1187c27
text/template.(*state).walk(0xc4217a1730, 0x1a23700, 0xc42267a480, 0x16, 0x1bf6b60, 0xc42063f4a0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:239 +0x11d fp=0xc4217a16c0 sp=0xc4217a1640 pc=0x11878fd
text/template.(*Template).execute(0xc42063aec0, 0x1be9a60, 0xc42168e310, 0x1a23700, 0xc42267a480, 0x0, 0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:194 +0x1e6 fp=0xc4217a1788 sp=0xc4217a16c0 pc=0x1187366
text/template.(*Template).Execute(0xc42063aec0, 0x1be9a60, 0xc42168e310, 0x1a23700, 0xc42267a480, 0xc4216467e0, 0x20)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:177 +0x53 fp=0xc4217a17d0 sp=0xc4217a1788 pc=0x1187153
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc42202dae0, 0x1be9a60, 0xc42168e310, 0x1a23700, 0xc42267a480, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/tpl/template.go:81 +0x76 fp=0xc4217a1830 sp=0xc4217a17d0 pc=0x1375d96
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc4202ee840, 0x1a26674, 0x3, 0x1a23700, 0xc42267a480, 0x1be9a60, 0xc42168e310, 0xc42131e800, 0x60, 0x80, ...)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site.go:1818 +0x10c fp=0xc4217a19a0 sp=0xc4217a1830 pc=0x182c7fc
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc4202ee840, 0xc4203a1960, 0xc421025c38, 0x13, 0xc421646980, 0x12, 0xc42267a480, 0xc42131e800, 0x60, 0x80, ...)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site.go:1742 +0xf2 fp=0xc4217a1b40 sp=0xc4217a19a0 pc=0x182be92
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc4202ee840, 0xc420c02060, 0xc420a85e00, 0xc4218a4760)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site_render.go:163 +0x75a fp=0xc4217a1fc0 sp=0xc4217a1b40 pc=0x182feba
runtime.goexit()
/usr/local/Cellar/go/1.10.1/libexec/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc4217a1fc8 sp=0xc4217a1fc0 pc=0x1058411
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site_render.go:41 +0x153
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc420299b14)
/usr/local/Cellar/go/1.10.1/libexec/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0xc420299b08)
/usr/local/Cellar/go/1.10.1/libexec/src/sync/waitgroup.go:129 +0x72
github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup.(*Group).Wait(0xc420299b00, 0xc4204fe2e0, 0x13)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup/errgroup.go:41 +0x31
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild(0xc4200b8790, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/commands/hugo.go:441 +0x34d
github.com/gohugoio/hugo/commands.(*commandeer).build(0xc4200b8790, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/commands/hugo.go:468 +0xaf
github.com/gohugoio/hugo/commands.glob..func8(0x20d5d80, 0x210d1d8, 0x0, 0x0, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/commands/hugo.go:141 +0x7e
github.com/gohugoio/hugo/vendor/github.com/spf13/cobra.(*Command).execute(0x20d5d80, 0xc42001e190, 0x0, 0x0, 0x20d5d80, 0xc42001e190)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/github.com/spf13/cobra/command.go:753 +0x468
github.com/gohugoio/hugo/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x20d5d80, 0x1ad4c80, 0xc4201ae460, 0xc)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/github.com/spf13/cobra/command.go:843 +0x30a
github.com/gohugoio/hugo/commands.Execute()
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/commands/hugo.go:182 +0x60
main.main()
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/main.go:27 +0x36
goroutine 66 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/runtime/sigqueue.go:139 +0xa7
os/signal.loop()
/usr/local/Cellar/go/1.10.1/libexec/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
/usr/local/Cellar/go/1.10.1/libexec/src/os/signal/signal_unix.go:28 +0x41
goroutine 67 [runnable]:
syscall.Syscall(0x3, 0x5, 0xc420c72800, 0x3e8, 0x3e8, 0x0, 0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/syscall/asm_darwin_amd64.s:16 +0x5
syscall.read(0x5, 0xc420c72800, 0x3e8, 0x3e8, 0xc42112da01, 0x0, 0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/syscall/zsyscall_darwin_amd64.go:947 +0x5f
syscall.Read(0x5, 0xc420c72800, 0x3e8, 0x3e8, 0x3e8, 0x3e8, 0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/syscall/syscall_unix.go:162 +0x49
internal/poll.(*FD).Read(0xc4216560a0, 0xc420c72800, 0x3e8, 0x3e8, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/internal/poll/fd_unix.go:153 +0x116
os.(*File).read(0xc420a262f0, 0xc420c72800, 0x3e8, 0x3e8, 0x13466ba, 0xc420a26378, 0xc420c72c00)
/usr/local/Cellar/go/1.10.1/libexec/src/os/file_unix.go:226 +0x4e
os.(*File).Read(0xc420a262f0, 0xc420c72800, 0x3e8, 0x3e8, 0x3e8, 0x3e8, 0x1)
/usr/local/Cellar/go/1.10.1/libexec/src/os/file.go:107 +0x6a
github.com/gohugoio/hugo/vendor/github.com/spf13/fsync.(*Syncer).equal(0xc420346040, 0xc420c02480, 0x5c, 0xc4209c0210, 0x2e, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/github.com/spf13/fsync/fsync.go:264 +0x3e9
github.com/gohugoio/hugo/vendor/github.com/spf13/fsync.(*Syncer).sync(0xc420346040, 0xc420c02480, 0x5c, 0xc4209c0210, 0x2e)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/github.com/spf13/fsync/fsync.go:151 +0x87e
github.com/gohugoio/hugo/vendor/github.com/spf13/fsync.(*Syncer).sync(0xc420346040, 0xc4209915c0, 0x3e, 0xc420248200, 0x10)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/github.com/spf13/fsync/fsync.go:194 +0x464
github.com/gohugoio/hugo/vendor/github.com/spf13/fsync.(*Syncer).sync(0xc420346040, 0xc4209912c0, 0x3b, 0xc4202481e0, 0xd)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/github.com/spf13/fsync/fsync.go:194 +0x464
github.com/gohugoio/hugo/vendor/github.com/spf13/fsync.(*Syncer).sync(0xc420346040, 0xc420990f40, 0x36, 0xc4202481a8, 0x8)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/github.com/spf13/fsync/fsync.go:194 +0x464
github.com/gohugoio/hugo/vendor/github.com/spf13/fsync.(*Syncer).sync(0xc420346040, 0xc420435410, 0x2f, 0x1a25bc6, 0x1)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/github.com/spf13/fsync/fsync.go:194 +0x464
github.com/gohugoio/hugo/vendor/github.com/spf13/fsync.(*Syncer).syncRecover(0xc420346040, 0xc420435410, 0x2f, 0x1a25bc6, 0x1, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/github.com/spf13/fsync/fsync.go:125 +0x85
github.com/gohugoio/hugo/vendor/github.com/spf13/fsync.(*Syncer).Sync(0xc420346040, 0xc420435410, 0x2f, 0x1a25bc6, 0x1, 0x1011e79, 0xc4200a2870)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/github.com/spf13/fsync/fsync.go:100 +0x10c
github.com/gohugoio/hugo/commands.(*commandeer).copyStaticTo(0xc4200b8790, 0xc4203a17c0, 0xc420435410, 0x2f, 0x1008d3d, 0x19e7d40, 0xc4200a2870)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/commands/hugo.go:627 +0x30a
github.com/gohugoio/hugo/commands.(*commandeer).(github.com/gohugoio/hugo/commands.copyStaticTo)-fm(0xc4203a17c0, 0xc420435410, 0x2f, 0x0, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/commands/hugo.go:517 +0x48
github.com/gohugoio/hugo/commands.(*commandeer).doWithPublishDirs(0xc4200b8790, 0xc42051df08, 0xc42004ff18, 0x0, 0xc42046ca80)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/commands/hugo.go:549 +0x110
github.com/gohugoio/hugo/commands.(*commandeer).copyStatic(0xc4200b8790, 0x0, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/commands/hugo.go:517 +0x46
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func2(0x8, 0x1ad65f0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/commands/hugo.go:415 +0x37
github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc420299b00, 0xc4205018a0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup.(*Group).Go
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 68 [semacquire]:
sync.runtime_Semacquire(0xc4218a476c)
/usr/local/Cellar/go/1.10.1/libexec/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0xc4218a4760)
/usr/local/Cellar/go/1.10.1/libexec/src/sync/waitgroup.go:129 +0x72
github.com/gohugoio/hugo/hugolib.(*Site).renderPages(0xc4202ee840, 0xc421277940, 0xc420abfaa0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site_render.go:58 +0x230
github.com/gohugoio/hugo/hugolib.(*Site).render(0xc4202ee840, 0xc421277940, 0x2, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site.go:995 +0x47
github.com/gohugoio/hugo/hugolib.(*HugoSites).render(0xc420374480, 0xc421277940, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/hugo_sites_build.go:230 +0x17c
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build(0xc420374480, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/hugo_sites_build.go:64 +0x172
github.com/gohugoio/hugo/commands.(*commandeer).buildSites(0xc4200b8790, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/commands/hugo.go:827 +0x8b
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func3(0x8, 0x1ad65f0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/commands/hugo.go:423 +0x2e
github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc420299b00, 0xc4204fe2e0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup.(*Group).Go
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
goroutine 77 [chan receive]:
github.com/gohugoio/hugo/hugolib.errorCollator(0xc420a85e00, 0xc420c02240)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site.go:1630 +0x79
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site_render.go:33 +0xbf
goroutine 80 [runnable]:
text/template.findFunction(0xc420194141, 0x2, 0xc42063aec0, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/funcs.go:123 +0x150
text/template.(*state).evalFunction(0xc4217a5730, 0x1a21ec0, 0xc420330088, 0x196, 0xc4204591a0, 0x1bf6a20, 0xc420459170, 0xc420512f80, 0x3, 0x4, ...)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:531 +0x8e
text/template.(*state).evalCommand(0xc4217a5730, 0x1a21ec0, 0xc420330088, 0x196, 0xc420459170, 0x0, 0x0, 0x0, 0x1900600, 0x3, ...)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:432 +0x516
text/template.(*state).evalPipeline(0xc4217a5730, 0x1a21ec0, 0xc420330088, 0x196, 0xc4205db630, 0x1a21ec0, 0xc420330088, 0x81)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:405 +0x10f
text/template.(*state).walkIfOrWith(0xc4217a5730, 0xa, 0x1a21ec0, 0xc420330088, 0x196, 0xc4205db630, 0xc420459560, 0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:260 +0xbc
text/template.(*state).walk(0xc4217a5730, 0x1a21ec0, 0xc420330088, 0x196, 0x1bf6b20, 0xc42063bac0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:236 +0x30e
text/template.(*state).walk(0xc4217a5730, 0x1a21ec0, 0xc420330088, 0x196, 0x1bf6b60, 0xc4204590b0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:239 +0x11d
text/template.(*state).walkRange.func1(0x1906fc0, 0xc420e34b18, 0x82, 0x1a21ec0, 0xc420330088, 0x196)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:326 +0x121
text/template.(*state).walkRange(0xc4217a5730, 0x1a23700, 0xc42196d8c0, 0x16, 0xc42063bb00)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:335 +0x2fe
text/template.(*state).walk(0xc4217a5730, 0x1a23700, 0xc42196d8c0, 0x16, 0x1bf6c60, 0xc42063bb00)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:242 +0x447
text/template.(*state).walk(0xc4217a5730, 0x1a23700, 0xc42196d8c0, 0x16, 0x1bf6b60, 0xc42063f4a0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:239 +0x11d
text/template.(*Template).execute(0xc42063aec0, 0x1be9a60, 0xc420e591f0, 0x1a23700, 0xc42196d8c0, 0x0, 0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:194 +0x1e6
text/template.(*Template).Execute(0xc42063aec0, 0x1be9a60, 0xc420e591f0, 0x1a23700, 0xc42196d8c0, 0xc4215b3ee0, 0x20)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:177 +0x53
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc421fb0f60, 0x1be9a60, 0xc420e591f0, 0x1a23700, 0xc42196d8c0, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/tpl/template.go:81 +0x76
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc4202ee840, 0x1a34be4, 0x7, 0x1a23700, 0xc42196d8c0, 0x1be9a60, 0xc420e591f0, 0xc421b6f000, 0x48, 0x80, ...)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site.go:1818 +0x10c
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc4202ee840, 0xc4203a1960, 0xc420403c38, 0x13, 0xc4216920a0, 0x12, 0xc42196d8c0, 0xc421b6f000, 0x48, 0x80, ...)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site.go:1742 +0xf2
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc4202ee840, 0xc420c02060, 0xc420a85e00, 0xc4218a4760)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site_render.go:163 +0x75a
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site_render.go:41 +0x153
goroutine 81 [runnable]:
reflect.unsafe_New(0x1907b40, 0xc421a62488)
/usr/local/Cellar/go/1.10.1/libexec/src/runtime/malloc.go:843 +0x44
reflect.Value.MapKeys(0x19474c0, 0xc4224df410, 0x15, 0x16, 0xc4224df410, 0x15)
/usr/local/Cellar/go/1.10.1/libexec/src/reflect/value.go:1128 +0x1fc
text/template.(*state).walkRange(0xc422be1730, 0x1a21ec0, 0xc420330000, 0x196, 0xc420650080)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:342 +0x48d
text/template.(*state).walk(0xc422be1730, 0x1a21ec0, 0xc420330000, 0x196, 0x1bf6c60, 0xc420650080)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:242 +0x447
text/template.(*state).walk(0xc422be1730, 0x1a21ec0, 0xc420330000, 0x196, 0x1bf6b60, 0xc420459560)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:239 +0x11d
text/template.(*state).walkIfOrWith(0xc422be1730, 0xa, 0x1a21ec0, 0xc420330000, 0x196, 0xc4205db630, 0xc420459560, 0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:269 +0x1c4
text/template.(*state).walk(0xc422be1730, 0x1a21ec0, 0xc420330000, 0x196, 0x1bf6b20, 0xc42063bac0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:236 +0x30e
text/template.(*state).walk(0xc422be1730, 0x1a21ec0, 0xc420330000, 0x196, 0x1bf6b60, 0xc4204590b0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:239 +0x11d
text/template.(*state).walkRange.func1(0x1906fc0, 0x210de20, 0x82, 0x1a21ec0, 0xc420330000, 0x196)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:326 +0x121
text/template.(*state).walkRange(0xc422be1730, 0x1a23700, 0xc42233a480, 0x16, 0xc42063bb00)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:335 +0x2fe
text/template.(*state).walk(0xc422be1730, 0x1a23700, 0xc42233a480, 0x16, 0x1bf6c60, 0xc42063bb00)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:242 +0x447
text/template.(*state).walk(0xc422be1730, 0x1a23700, 0xc42233a480, 0x16, 0x1bf6b60, 0xc42063f4a0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:239 +0x11d
text/template.(*Template).execute(0xc42063aec0, 0x1be9a60, 0xc4228a7880, 0x1a23700, 0xc42233a480, 0x0, 0x0)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:194 +0x1e6
text/template.(*Template).Execute(0xc42063aec0, 0x1be9a60, 0xc4228a7880, 0x1a23700, 0xc42233a480, 0xc4215ec860, 0x20)
/usr/local/Cellar/go/1.10.1/libexec/src/text/template/exec.go:177 +0x53
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc420e93bc0, 0x1be9a60, 0xc4228a7880, 0x1a23700, 0xc42233a480, 0x0, 0x0)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/tpl/template.go:81 +0x76
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc4202ee840, 0x1a2838d, 0x4, 0x1a23700, 0xc42233a480, 0x1be9a60, 0xc4228a7880, 0xc42283f000, 0x48, 0x80, ...)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site.go:1818 +0x10c
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc4202ee840, 0xc4203a1960, 0xc42051bc38, 0xe, 0xc4215f7550, 0xd, 0xc42233a480, 0xc42283f000, 0x48, 0x80, ...)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site.go:1742 +0xf2
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc4202ee840, 0xc420c02060, 0xc420a85e00, 0xc4218a4760)
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site_render.go:163 +0x75a
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/private/tmp/hugo-20180402-82718-17j76pp/hugo-0.38/src/github.com/gohugoio/hugo/hugolib/site_render.go:41 +0x153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment