Skip to content

Instantly share code, notes, and snippets.

@AlanBreck
Last active February 2, 2021 19:47
Show Gist options
  • Save AlanBreck/e1a32bb71d6f090a0bd8d0199bc64809 to your computer and use it in GitHub Desktop.
Save AlanBreck/e1a32bb71d6f090a0bd8d0199bc64809 to your computer and use it in GitHub Desktop.
Start building sites …
fatal error: concurrent map writes
fatal error: concurrent map writes
goroutine 111 [running]:
runtime.throw(0x21a3f0d, 0x15)
/usr/local/go/src/runtime/panic.go:1116 +0x72 fp=0xc001a296c0 sp=0xc001a29690 pc=0x4f5f72
runtime.mapassign_faststr(0x20f3dc0, 0xc00090bc20, 0x21544c6, 0x8, 0xc000934668)
/usr/local/go/src/runtime/map_faststr.go:291 +0x3d8 fp=0xc001a29728 sp=0xc001a296c0 pc=0x4d31f8
github.com/gohugoio/hugo/hugofs.(*Walkway).walk(0xc001907320, 0xc001905440, 0x9, 0x2646360, 0xc0020a0060, 0xc001887e00, 0x4, 0x4, 0xc001887c40, 0x1f1cbe0, ...)
/root/project/hugo/hugofs/walk.go:271 +0x3ee fp=0xc001a298e8 sp=0xc001a29728 pc=0xa42eae
github.com/gohugoio/hugo/hugofs.(*Walkway).walk(0xc001907320, 0x213bf75, 0x1, 0x2646360, 0xc002091e00, 0xc001887d80, 0x4, 0x4, 0xc001887c40, 0x264e400, ...)
/root/project/hugo/hugofs/walk.go:298 +0x779 fp=0xc001a29aa8 sp=0xc001a298e8 pc=0xa43239
github.com/gohugoio/hugo/hugofs.(*Walkway).Walk(0xc001907320, 0xc00093bf00, 0x213bf75)
/root/project/hugo/hugofs/walk.go:136 +0x1c5 fp=0xc001a29b48 sp=0xc001a29aa8 pc=0xa42485
github.com/gohugoio/hugo/hugofs.Glob(0x264bd40, 0xc00093bf00, 0xc001024fc0, 0x12, 0xc002091be0, 0xc000943170, 0xc001ff5ef0)
/root/project/hugo/hugofs/glob.go:77 +0x2cf fp=0xc001a29cb8 sp=0xc001a29b48 pc=0xa3aeef
github.com/gohugoio/hugo/resources/resource_factories/create.(*Client).match.func1(0xc001ff5ef0, 0x24, 0x32ca6c0, 0xc001ff5e00, 0x24)
/root/project/hugo/resources/resource_factories/create/create.go:108 +0xe5 fp=0xc001a29d28 sp=0xc001a29cb8 pc=0x1219225
github.com/gohugoio/hugo/resources.(*ResourceCache).GetOrCreateResources.func1(0xc0003aaa40, 0xc001ff5ef0, 0x24, 0x0)
/root/project/hugo/resources/resource_cache.go:170 +0x26 fp=0xc001a29d70 sp=0xc001a29d28 pc=0xf881a6
github.com/gohugoio/hugo/resources.(*ResourceCache).getOrCreate(0xc0003aaa40, 0xc001ff5ef0, 0x24, 0xc001a29e28, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/resources/resource_cache.go:196 +0x16c fp=0xc001a29de8 sp=0xc001a29d70 pc=0xf7dd8c
github.com/gohugoio/hugo/resources.(*ResourceCache).GetOrCreateResources(0xc0003aaa40, 0xc001ff5ef0, 0x24, 0xc001a29ee0, 0x24, 0x1, 0xc002081550, 0x1, 0x1)
/root/project/hugo/resources/resource_cache.go:170 +0x6b fp=0xc001a29e48 sp=0xc001a29de8 pc=0xf7db4b
github.com/gohugoio/hugo/resources/resource_factories/create.(*Client).match(0xc0000114b0, 0xc001024fc0, 0x12, 0x4cc501, 0xc001887b00, 0x40, 0xc001a29ff8, 0x59f9e5, 0x1e344e0)
/root/project/hugo/resources/resource_factories/create/create.go:85 +0x292 fp=0xc001a29f18 sp=0xc001a29e48 pc=0x1218972
github.com/gohugoio/hugo/resources/resource_factories/create.(*Client).GetMatch(0xc0000114b0, 0xc001024fc0, 0x12, 0x12, 0x0, 0x0, 0x0)
/root/project/hugo/resources/resource_factories/create/create.go:62 +0x48 fp=0xc001a29f70 sp=0xc001a29f18 pc=0x1218648
github.com/gohugoio/hugo/tpl/resources.(*Namespace).GetMatch(0xc00057b180, 0x1d89140, 0xc001887ae8, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/resources/resources.go:110 +0x8a fp=0xc001a29fb8 sp=0xc001a29f70 pc=0x122644a
runtime.call64(0xc001370180, 0xc00175b0f0, 0xc001887b00, 0x1800000038)
/usr/local/go/src/runtime/asm_amd64.s:541 +0x3e fp=0xc001a2a008 sp=0xc001a29fb8 pc=0x52ccfe
reflect.Value.call(0x203fc40, 0xc00057b180, 0x1a13, 0x213e209, 0x4, 0xc002091b60, 0x1, 0x1, 0x18, 0x2127ce0, ...)
/usr/local/go/src/reflect/value.go:475 +0x8c7 fp=0xc001a2a220 sp=0xc001a2a008 pc=0x5970a7
reflect.Value.Call(0x203fc40, 0xc00057b180, 0x1a13, 0xc002091b60, 0x1, 0x1, 0x1e27ee0, 0x1d89140, 0xc001887ae8)
/usr/local/go/src/reflect/value.go:336 +0xb9 fp=0xc001a2a2a0 sp=0xc001a2a220 pc=0x596599
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.safeCall(0x203fc40, 0xc00057b180, 0x1a13, 0xc002091b60, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/funcs.go:365 +0xbd fp=0xc001a2a320 sp=0xc001a2a2a0 pc=0xf3debd
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCall(0xc001a2ad30, 0x1e76f20, 0xc002096bd0, 0x15, 0x203fc40, 0xc00057b180, 0x1a13, 0x2643420, 0xc000bcc100, 0xc0002a181c, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:297 +0x61f fp=0xc001a2a468 sp=0xc001a2a320 pc=0xf4421f
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalField(0xc001a2ad30, 0x1e76f20, 0xc002096bd0, 0x15, 0xc0002a181c, 0x8, 0x2643420, 0xc000bcc100, 0xc000bbeee0, 0x2, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:172 +0x610 fp=0xc001a2a678 sp=0xc001a2a468 pc=0xf43090
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalFieldChain(0xc001a2ad30, 0x1e76f20, 0xc002096bd0, 0x15, 0x1e344e0, 0xc002096fa8, 0x94, 0x2643420, 0xc000bcc100, 0xc0009172c0, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:565 +0x225 fp=0xc001a2a730 sp=0xc001a2a678 pc=0xf37d85
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalChainNode(0xc001a2ad30, 0x1e76f20, 0xc002096bd0, 0x15, 0xc000bcc100, 0xc000bbeee0, 0x2, 0x2, 0x1e89fa0, 0x32c9250, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:542 +0x1c5 fp=0xc001a2a7f8 sp=0xc001a2a730 pc=0xf376e5
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCommand(0xc001a2ad30, 0x1e76f20, 0xc002096bd0, 0x15, 0xc000bc3c80, 0x1e89fa0, 0x32c9250, 0x99, 0x58f1a8, 0x1e76f20, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:459 +0x5dc fp=0xc001a2a8c8 sp=0xc001a2a7f8 pc=0xf36a3c
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalPipeline(0xc001a2ad30, 0x1e76f20, 0xc002096bd0, 0x15, 0xc000bca480, 0xc002091aa0, 0x194, 0x2652701)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:431 +0x125 fp=0xc001a2a9b8 sp=0xc001a2a8c8 pc=0xf36005
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2ad30, 0x1e76f20, 0xc002096bd0, 0x15, 0x2643300, 0xc000bc3d70)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:255 +0x335 fp=0xc001a2aa40 sp=0xc001a2a9b8 pc=0xf34ef5
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2ad30, 0x1e76f20, 0xc002096bd0, 0x15, 0x2643660, 0xc000bd2e10)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001a2aac8 sp=0xc001a2aa40 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walkIfOrWith(0xc001a2ad30, 0x13, 0x1e43c80, 0xc002091aa0, 0x16, 0xc000bcac60, 0xc000bd2e10, 0x0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:291 +0x15c fp=0xc001a2ab50 sp=0xc001a2aac8 pc=0xf351fc
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2ad30, 0x1e43c80, 0xc002091aa0, 0x16, 0x26439c0, 0xc000bcc8c0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:274 +0x2c8 fp=0xc001a2abd8 sp=0xc001a2ab50 pc=0xf34e88
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2ad30, 0x1e43c80, 0xc002091aa0, 0x16, 0x2643660, 0xc000bd2c00)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001a2ac60 sp=0xc001a2abd8 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*Template).executeWithState(0xc000bcc0c0, 0xc001a2ad30, 0x1e43c80, 0xc002091aa0, 0x16, 0x0, 0x0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:93 +0xb7 fp=0xc001a2acc8 sp=0xc001a2ac60 pc=0xf42677
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*executer).Execute(0xc00084e520, 0x7fea39b85f00, 0xc000b92d20, 0x26127e0, 0x32c9108, 0x1e43c80, 0xc002091aa0, 0x20, 0xc002091aa0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:79 +0x1eb fp=0xc001a2ada8 sp=0xc001a2acc8 pc=0xf4246b
github.com/gohugoio/hugo/tpl/tplimpl.(*templateExec).Execute(0xc000bf5ec0, 0x2621b60, 0xc000b92d20, 0x26127e0, 0x32c9108, 0x1e43c80, 0xc002091aa0, 0x0, 0x0)
/root/project/hugo/tpl/tplimpl/template.go:227 +0x168 fp=0xc001a2ae78 sp=0xc001a2ada8 pc=0x1238648
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc00084bb00, 0xc00029e87b, 0x15, 0xc0020814c0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/partials/partials.go:143 +0x291 fp=0xc001a2af68 sp=0xc001a2ae78 pc=0x1213611
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm(0xc00029e87b, 0x15, 0xc0020814c0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/partials/partials.go:96 +0x65 fp=0xc001a2afc8 sp=0xc001a2af68 pc=0x1214ba5
runtime.call128(0xc00136da10, 0xc00084bb20, 0xc0017f3090, 0x2800000048)
/usr/local/go/src/runtime/asm_amd64.s:542 +0x59 fp=0xc001a2b058 sp=0xc001a2afc8 pc=0x52cdb9
reflect.Value.call(0x1e65d00, 0xc00084bb20, 0x13, 0x213e209, 0x4, 0xc002096b70, 0x2, 0x2, 0x30, 0x2127ce0, ...)
/usr/local/go/src/reflect/value.go:475 +0x8c7 fp=0xc001a2b270 sp=0xc001a2b058 pc=0x5970a7
reflect.Value.Call(0x1e65d00, 0xc00084bb20, 0x13, 0xc002096b70, 0x2, 0x2, 0xc002096b40, 0x1e76f20, 0xc002096bb8)
/usr/local/go/src/reflect/value.go:336 +0xb9 fp=0xc001a2b2f0 sp=0xc001a2b270 pc=0x596599
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.safeCall(0x1e65d00, 0xc00084bb20, 0x13, 0xc002096b70, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/funcs.go:365 +0xbd fp=0xc001a2b370 sp=0xc001a2b2f0 pc=0xf3debd
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCall(0xc001a2b958, 0x1e76f20, 0xc0020961e0, 0x15, 0x1e65d00, 0xc00084bb20, 0x13, 0x2643480, 0xc000b8b890, 0xc00029e872, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:297 +0x61f fp=0xc001a2b4b8 sp=0xc001a2b370 pc=0xf4421f
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalFunction(0xc001a2b958, 0x1e76f20, 0xc0020961e0, 0x15, 0xc000b8b8c0, 0x2643480, 0xc000b8b890, 0xc000b85680, 0x3, 0x4, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:130 +0x19e fp=0xc001a2b5b8 sp=0xc001a2b4b8 pc=0xf428de
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCommand(0xc001a2b958, 0x1e76f20, 0xc0020961e0, 0x15, 0xc000b8b890, 0x1e89fa0, 0x32c9250, 0x99, 0x1e344e0, 0xc0017f3018, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:462 +0x125 fp=0xc001a2b688 sp=0xc001a2b5b8 pc=0xf36585
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalPipeline(0xc001a2b958, 0x1e76f20, 0xc0020961e0, 0x15, 0xc000b81560, 0x1d89140, 0xc0020812d0, 0x98)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:431 +0x125 fp=0xc001a2b778 sp=0xc001a2b688 pc=0xf36005
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2b958, 0x1e76f20, 0xc0020961e0, 0x15, 0x2643300, 0xc000b8b9b0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:255 +0x335 fp=0xc001a2b800 sp=0xc001a2b778 pc=0xf34ef5
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2b958, 0x1e76f20, 0xc0020961e0, 0x15, 0x2643660, 0xc000b8b710)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001a2b888 sp=0xc001a2b800 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*Template).executeWithState(0xc000b854c0, 0xc001a2b958, 0x1e76f20, 0xc0020961e0, 0x15, 0x0, 0x0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:93 +0xb7 fp=0xc001a2b8f0 sp=0xc001a2b888 pc=0xf42677
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*executer).Execute(0xc00084e520, 0x7fea39b85f00, 0xc000b920f0, 0x260d5a0, 0xc001370c60, 0x1e76f20, 0xc0020961e0, 0x20e3f00, 0xc001370c60)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:79 +0x1eb fp=0xc001a2b9d0 sp=0xc001a2b8f0 pc=0xf4246b
github.com/gohugoio/hugo/tpl/tplimpl.(*templateExec).Execute(0xc000bf5ec0, 0x2621b60, 0xc000b920f0, 0x260d5a0, 0xc001370c60, 0x1e76f20, 0xc0020961e0, 0x0, 0x0)
/root/project/hugo/tpl/tplimpl/template.go:227 +0x168 fp=0xc001a2baa0 sp=0xc001a2b9d0 pc=0x1238648
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc00084bb00, 0xc000242976, 0x4, 0xc0020812f0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/partials/partials.go:143 +0x291 fp=0xc001a2bb90 sp=0xc001a2baa0 pc=0x1213611
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm(0xc000242976, 0x4, 0xc0020812f0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/partials/partials.go:96 +0x65 fp=0xc001a2bbf0 sp=0xc001a2bb90 pc=0x1214ba5
runtime.call128(0xc00136da10, 0xc00084bb20, 0xc0017f2fa0, 0x2800000048)
/usr/local/go/src/runtime/asm_amd64.s:542 +0x59 fp=0xc001a2bc80 sp=0xc001a2bbf0 pc=0x52cdb9
reflect.Value.call(0x1e65d00, 0xc00084bb20, 0x13, 0x213e209, 0x4, 0xc002096180, 0x2, 0x2, 0x30, 0x2127ce0, ...)
/usr/local/go/src/reflect/value.go:475 +0x8c7 fp=0xc001a2be98 sp=0xc001a2bc80 pc=0x5970a7
reflect.Value.Call(0x1e65d00, 0xc00084bb20, 0x13, 0xc002096180, 0x2, 0x2, 0xc00084b700, 0x1e76f20, 0xc0020961c8)
/usr/local/go/src/reflect/value.go:336 +0xb9 fp=0xc001a2bf18 sp=0xc001a2be98 pc=0x596599
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.safeCall(0x1e65d00, 0xc00084bb20, 0x13, 0xc002096180, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/funcs.go:365 +0xbd fp=0xc001a2bf98 sp=0xc001a2bf18 pc=0xf3debd
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCall(0xc001a2c580, 0x1e76f20, 0xc00208fbf0, 0x15, 0x1e65d00, 0xc00084bb20, 0x13, 0x2643480, 0xc000bb11d0, 0xc00024296d, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:297 +0x61f fp=0xc001a2c0e0 sp=0xc001a2bf98 pc=0xf4421f
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalFunction(0xc001a2c580, 0x1e76f20, 0xc00208fbf0, 0x15, 0xc000bb1200, 0x2643480, 0xc000bb11d0, 0xc000bae7c0, 0x3, 0x4, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:130 +0x19e fp=0xc001a2c1e0 sp=0xc001a2c0e0 pc=0xf428de
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCommand(0xc001a2c580, 0x1e76f20, 0xc00208fbf0, 0x15, 0xc000bb11d0, 0x1e89fa0, 0x32c9250, 0x99, 0x1d89140, 0xc0018879e8, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:462 +0x125 fp=0xc001a2c2b0 sp=0xc001a2c1e0 pc=0xf36585
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalPipeline(0xc001a2c580, 0x1e76f20, 0xc00208fbf0, 0x15, 0xc000bb24e0, 0x0, 0x0, 0x98)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:431 +0x125 fp=0xc001a2c3a0 sp=0xc001a2c2b0 pc=0xf36005
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2c580, 0x1e76f20, 0xc00208fbf0, 0x15, 0x2643300, 0xc000bb1320)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:255 +0x335 fp=0xc001a2c428 sp=0xc001a2c3a0 pc=0xf34ef5
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2c580, 0x1e76f20, 0xc00208fbf0, 0x15, 0x2643660, 0xc000bb0f30)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001a2c4b0 sp=0xc001a2c428 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*Template).executeWithState(0xc000bae4c0, 0xc001a2c580, 0x1e76f20, 0xc00208fbf0, 0x15, 0x0, 0x0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:93 +0xb7 fp=0xc001a2c518 sp=0xc001a2c4b0 pc=0xf42677
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*executer).Execute(0xc00084e520, 0x7fea39b85f00, 0xc000b92780, 0x260d5a0, 0xc0019cbdd0, 0x1e76f20, 0xc00208fbf0, 0xc0007e1820, 0xc0007d57a0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:79 +0x1eb fp=0xc001a2c5f8 sp=0xc001a2c518 pc=0xf4246b
github.com/gohugoio/hugo/tpl/tplimpl.(*templateExec).Execute(0xc000bf5ec0, 0x2621b60, 0xc000b92780, 0x260d5a0, 0xc0019cbdd0, 0x1e76f20, 0xc00208fbf0, 0x0, 0x0)
/root/project/hugo/tpl/tplimpl/template.go:227 +0x168 fp=0xc001a2c6c8 sp=0xc001a2c5f8 pc=0x1238648
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc00084bb00, 0xc000224d2b, 0xc, 0xc002081150, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/partials/partials.go:143 +0x291 fp=0xc001a2c7b8 sp=0xc001a2c6c8 pc=0x1213611
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm(0xc000224d2b, 0xc, 0xc002081150, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/partials/partials.go:96 +0x65 fp=0xc001a2c818 sp=0xc001a2c7b8 pc=0x1214ba5
runtime.call128(0xc00136da10, 0xc00084bb20, 0xc0017f2f00, 0x2800000048)
/usr/local/go/src/runtime/asm_amd64.s:542 +0x59 fp=0xc001a2c8a8 sp=0xc001a2c818 pc=0x52cdb9
reflect.Value.call(0x1e65d00, 0xc00084bb20, 0x13, 0x213e209, 0x4, 0xc00208fb90, 0x2, 0x2, 0x30, 0x2127ce0, ...)
/usr/local/go/src/reflect/value.go:475 +0x8c7 fp=0xc001a2cac0 sp=0xc001a2c8a8 pc=0x5970a7
reflect.Value.Call(0x1e65d00, 0xc00084bb20, 0x13, 0xc00208fb90, 0x2, 0x2, 0x94, 0x1e76f20, 0xc00208fbd8)
/usr/local/go/src/reflect/value.go:336 +0xb9 fp=0xc001a2cb40 sp=0xc001a2cac0 pc=0x596599
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.safeCall(0x1e65d00, 0xc00084bb20, 0x13, 0xc00208fb90, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/funcs.go:365 +0xbd fp=0xc001a2cbc0 sp=0xc001a2cb40 pc=0xf3debd
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCall(0xc001a2d3f8, 0x1e344e0, 0xc001367e00, 0x194, 0x1e65d00, 0xc00084bb20, 0x13, 0x2643480, 0xc0019c6690, 0xc000224d22, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:297 +0x61f fp=0xc001a2cd08 sp=0xc001a2cbc0 pc=0xf4421f
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalFunction(0xc001a2d3f8, 0x1e344e0, 0xc001367e00, 0x194, 0xc0019c66c0, 0x2643480, 0xc0019c6690, 0xc0019c09c0, 0x3, 0x4, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:130 +0x19e fp=0xc001a2ce08 sp=0xc001a2cd08 pc=0xf428de
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCommand(0xc001a2d3f8, 0x1e344e0, 0xc001367e00, 0x194, 0xc0019c6690, 0x1e89fa0, 0x32c9250, 0x99, 0xc0019add70, 0x1d614c0, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:462 +0x125 fp=0xc001a2ced8 sp=0xc001a2ce08 pc=0xf36585
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalPipeline(0xc001a2d3f8, 0x1e344e0, 0xc001367e00, 0x194, 0xc0019be780, 0x0, 0x0, 0xc001125970)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:431 +0x125 fp=0xc001a2cfc8 sp=0xc001a2ced8 pc=0xf36005
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2d3f8, 0x1e344e0, 0xc001367e00, 0x194, 0x2643300, 0xc0019c67b0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:255 +0x335 fp=0xc001a2d050 sp=0xc001a2cfc8 pc=0xf34ef5
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2d3f8, 0x1e344e0, 0xc001367e00, 0x194, 0x2643660, 0xc0019c6630)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001a2d0d8 sp=0xc001a2d050 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walkRange.func1(0x1d88540, 0x3239180, 0x82, 0x1e344e0, 0xc001367e00, 0x194)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:350 +0x125 fp=0xc001a2d128 sp=0xc001a2d0d8 pc=0xf47165
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walkRange(0xc001a2d3f8, 0x21351c0, 0xc0013ddd70, 0x16, 0xc0019c0a40)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:359 +0x502 fp=0xc001a2d278 sp=0xc001a2d128 pc=0xf35802
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2d3f8, 0x21351c0, 0xc0013ddd70, 0x16, 0x26437e0, 0xc0019c0a40)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:266 +0x3e9 fp=0xc001a2d300 sp=0xc001a2d278 pc=0xf34fa9
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2d3f8, 0x21351c0, 0xc0013ddd70, 0x16, 0x2643660, 0xc0019bdad0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001a2d388 sp=0xc001a2d300 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walkTemplate(0xc001a2d7e8, 0x21351c0, 0xc0013ddd70, 0x16, 0xc0015a4f40)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:413 +0x211 fp=0xc001a2d470 sp=0xc001a2d388 pc=0xf35d71
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2d7e8, 0x21351c0, 0xc0013ddd70, 0x16, 0x26438a0, 0xc0015a4f40)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:268 +0x1da fp=0xc001a2d4f8 sp=0xc001a2d470 pc=0xf34d9a
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2d7e8, 0x21351c0, 0xc0013ddd70, 0x16, 0x2643660, 0xc00158ca50)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001a2d580 sp=0xc001a2d4f8 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walkIfOrWith(0xc00196f7e8, 0xa, 0x21351c0, 0xc0013ddd70, 0x16, 0xc00158e000, 0xc00158ca50, 0x0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:293 +0x1d4 fp=0xc001a2d608 sp=0xc001a2d580 pc=0xf35274
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc00196f7e8, 0x21351c0, 0xc0013ddd70, 0x16, 0x2643600, 0xc0015a56c0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:260 +0x24f fp=0xc001a2d690 sp=0xc001a2d608 pc=0xf34e0f
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001a2d7e8, 0x21351c0, 0xc0013ddd70, 0x16, 0x2643660, 0xc00158c990)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001a2d718 sp=0xc001a2d690 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*Template).executeWithState(0xc001388640, 0xc00196f7e8, 0x21351c0, 0xc0013ddd70, 0x16, 0x0, 0x0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:93 +0xb7 fp=0xc001a2d780 sp=0xc001a2d718 pc=0xf42677
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*executer).Execute(0xc00084e520, 0x7fea39b85f00, 0xc000d29950, 0x260d5a0, 0xc0019c6fc0, 0x21351c0, 0xc0013ddd70, 0x8064b4, 0x8)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:79 +0x1eb fp=0xc001a2d860 sp=0xc001a2d780 pc=0xf4246b
github.com/gohugoio/hugo/tpl/tplimpl.(*templateExec).Execute(0xc000bf5ec0, 0x2621b60, 0xc000d29950, 0x260d5a0, 0xc0019c6fc0, 0x21351c0, 0xc0013ddd70, 0x0, 0x0)
/root/project/hugo/tpl/tplimpl/template.go:227 +0x168 fp=0xc001a2d930 sp=0xc001a2d860 pc=0x1238648
github.com/gohugoio/hugo/hugolib.(*Site).renderForTemplate(0xc000148900, 0x213fa25, 0x4, 0x213e3e5, 0x4, 0x21351c0, 0xc0013ddd70, 0x260d5a0, 0xc0019c6fc0, 0x2621b60, ...)
/root/project/hugo/hugolib/site.go:1759 +0x96 fp=0xc001a2d9a8 sp=0xc001a2d930 pc=0x12912f6
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc000148900, 0xc0000cfc30, 0xc0014e7120, 0x10, 0xc000aae420, 0x11, 0xc0013ddd70, 0x2621b60, 0xc000d29950, 0x0, ...)
/root/project/hugo/hugolib/site.go:1692 +0x2e6 fp=0xc001a2dea0 sp=0xc001a2d9a8 pc=0x1290ba6
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc000c21ca0, 0xc000148900, 0xc000eb1aa0, 0xc000103620, 0xc000edb410)
/root/project/hugo/hugolib/site_render.go:139 +0x29c fp=0xc001a2dfb8 sp=0xc001a2dea0 pc=0x129375c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc001a2dfc0 sp=0xc001a2dfb8 pc=0x52e681
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/root/project/hugo/hugolib/site_render.go:74 +0x165
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc000e50c10)
/usr/local/go/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000e50c08)
/usr/local/go/src/sync/waitgroup.go:130 +0x65
golang.org/x/sync/errgroup.(*Group).Wait(0xc000e50c00, 0xc000a6c0b0, 0x13)
/go/pkg/mod/golang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e/errgroup/errgroup.go:40 +0x31
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild(0xc0003e4e00, 0x0, 0x0)
/root/project/hugo/commands/hugo.go:328 +0x476
github.com/gohugoio/hugo/commands.(*commandeer).build(0xc0003e4e00, 0x0, 0x0)
/root/project/hugo/commands/hugo.go:508 +0xaa
github.com/gohugoio/hugo/commands.(*commandsBuilder).newHugoCmd.func1(0xc000454000, 0x32c9250, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/commands/commands.go:171 +0x15d
github.com/spf13/cobra.(*Command).execute(0xc000454000, 0xc000112190, 0x0, 0x0, 0xc000454000, 0xc000112190)
/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:850 +0x47c
github.com/spf13/cobra.(*Command).ExecuteC(0xc000454000, 0xc0007b2550, 0x8, 0xc0004c5500)
/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958 +0x375
github.com/gohugoio/hugo/commands.Execute(0xc000112190, 0x0, 0x0, 0x4c4f45, 0xc000102058, 0x0, 0x0)
/root/project/hugo/commands/hugo.go:90 +0xb9
main.main()
/root/project/hugo/main.go:23 +0x76
goroutine 6 [select]:
go.opencensus.io/stats/view.(*worker).start(0xc00017c320)
/go/pkg/mod/go.opencensus.io@v0.22.0/stats/view/worker.go:154 +0x105
created by go.opencensus.io/stats/view.init.0
/go/pkg/mod/go.opencensus.io@v0.22.0/stats/view/worker.go:32 +0x57
goroutine 89 [chan send]:
github.com/gohugoio/hugo/hugolib.(*Site).renderPages.func1(0xc000b65400, 0x12, 0xc00076bf50, 0x0)
/root/project/hugo/hugolib/site_render.go:85 +0xa7
github.com/gohugoio/hugo/hugolib.contentTrees.Walk.func1(0xc000b65400, 0x12, 0x1e41d00, 0xc00076bf50, 0x203000)
/root/project/hugo/hugolib/content_map.go:886 +0x54
github.com/armon/go-radix.recursiveWalk(0xc0000b16e0, 0xc0018af968, 0x4cc500)
/go/pkg/mod/github.com/armon/go-radix@v1.0.0/radix.go:519 +0xd7
github.com/armon/go-radix.recursiveWalk(0xc0000b0720, 0xc0018af968, 0x21351c0)
/go/pkg/mod/github.com/armon/go-radix@v1.0.0/radix.go:525 +0x74
github.com/armon/go-radix.recursiveWalk(0xc000b6d140, 0xc0018af968, 0x0)
/go/pkg/mod/github.com/armon/go-radix@v1.0.0/radix.go:525 +0x74
github.com/armon/go-radix.recursiveWalk(0xc000943a40, 0xc0018af968, 0xc000861998)
/go/pkg/mod/github.com/armon/go-radix@v1.0.0/radix.go:525 +0x74
github.com/armon/go-radix.(*Tree).Walk(...)
/go/pkg/mod/github.com/armon/go-radix@v1.0.0/radix.go:447
github.com/gohugoio/hugo/hugolib.contentTrees.Walk(0xc00094b5e0, 0x3, 0x3, 0xc0018afa00)
/root/project/hugo/hugolib/content_map.go:884 +0x68
github.com/gohugoio/hugo/hugolib.(*Site).renderPages(0xc000148900, 0xc000c21ca0, 0x0, 0xc000861a00)
/root/project/hugo/hugolib/site_render.go:79 +0x209
github.com/gohugoio/hugo/hugolib.(*Site).render(0xc000148900, 0xc000c21ca0, 0x0, 0x0)
/root/project/hugo/hugolib/site.go:1234 +0x59
github.com/gohugoio/hugo/hugolib.(*HugoSites).render(0xc00022c9c0, 0xc000e2eb00, 0x32c9250, 0x1)
/root/project/hugo/hugolib/hugo_sites_build.go:322 +0x435
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build.func4()
/root/project/hugo/hugolib/hugo_sites_build.go:147 +0x3c
runtime/trace.WithRegion(0x2634920, 0xc000e50c30, 0x2148d10, 0x6, 0xc001421e60)
/usr/local/go/src/runtime/trace/annotation.go:137 +0xf8
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build(0xc00022c9c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/root/project/hugo/hugolib/hugo_sites_build.go:149 +0x7d9
github.com/gohugoio/hugo/commands.(*commandeer).buildSites(...)
/root/project/hugo/commands/hugo.go:737
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func3(0xc000051c18, 0x0)
/root/project/hugo/commands/hugo.go:310 +0x7c
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000e50c00, 0xc000a6c0b0)
/go/pkg/mod/golang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e/errgroup/errgroup.go:57 +0x59
created by golang.org/x/sync/errgroup.(*Group).Go
/go/pkg/mod/golang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e/errgroup/errgroup.go:54 +0x66
goroutine 90 [chan receive]:
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build.func1(0xc00022c9c0, 0xc000c274a0, 0xc000c14000)
/root/project/hugo/hugolib/hugo_sites_build.go:63 +0x7d
created by github.com/gohugoio/hugo/hugolib.(*HugoSites).Build
/root/project/hugo/hugolib/hugo_sites_build.go:60 +0x226
goroutine 110 [running]:
goroutine running on other thread; stack unavailable
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/root/project/hugo/hugolib/site_render.go:74 +0x165
goroutine 109 [chan receive]:
github.com/gohugoio/hugo/hugolib.(*Site).errorCollator(0xc000148900, 0xc000103620, 0xc000103680)
/root/project/hugo/hugolib/site.go:1593 +0x72
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/root/project/hugo/hugolib/site_render.go:68 +0xdb
goroutine 110 [running]:
runtime.throw(0x21a3f0d, 0x15)
/usr/local/go/src/runtime/panic.go:1116 +0x72 fp=0xc001aac598 sp=0xc001aac568 pc=0x4f5f72
runtime.mapassign_faststr(0x20f3dc0, 0xc00090bc20, 0x21544c6, 0x8, 0xc000934668)
/usr/local/go/src/runtime/map_faststr.go:291 +0x3d8 fp=0xc001aac600 sp=0xc001aac598 pc=0x4d31f8
github.com/gohugoio/hugo/hugofs.(*Walkway).walk(0xc0017e7710, 0xc001aa4380, 0x9, 0x2646360, 0xc0020305a0, 0xc002032340, 0x4, 0x4, 0xc002032180, 0x1f1cbe0, ...)
/root/project/hugo/hugofs/walk.go:271 +0x3ee fp=0xc001aac7c0 sp=0xc001aac600 pc=0xa42eae
github.com/gohugoio/hugo/hugofs.(*Walkway).walk(0xc0017e7710, 0x213bf75, 0x1, 0x2646360, 0xc002030340, 0xc0020322c0, 0x4, 0x4, 0xc002032180, 0x264e400, ...)
/root/project/hugo/hugofs/walk.go:298 +0x779 fp=0xc001aac980 sp=0xc001aac7c0 pc=0xa43239
github.com/gohugoio/hugo/hugofs.(*Walkway).Walk(0xc0017e7710, 0xc00093bf00, 0x213bf75)
/root/project/hugo/hugofs/walk.go:136 +0x1c5 fp=0xc001aaca20 sp=0xc001aac980 pc=0xa42485
github.com/gohugoio/hugo/hugofs.Glob(0x264bd40, 0xc00093bf00, 0xc002024900, 0x22, 0xc002030120, 0xc000943170, 0xc000f83f80)
/root/project/hugo/hugofs/glob.go:77 +0x2cf fp=0xc001aacb90 sp=0xc001aaca20 pc=0xa3aeef
github.com/gohugoio/hugo/resources/resource_factories/create.(*Client).match.func1(0xc000f83f80, 0x34, 0x32ca6c0, 0xc000f83f00, 0x34)
/root/project/hugo/resources/resource_factories/create/create.go:108 +0xe5 fp=0xc001aacc00 sp=0xc001aacb90 pc=0x1219225
github.com/gohugoio/hugo/resources.(*ResourceCache).GetOrCreateResources.func1(0xc0003aaa40, 0xc000f83f80, 0x34, 0x0)
/root/project/hugo/resources/resource_cache.go:170 +0x26 fp=0xc001aacc48 sp=0xc001aacc00 pc=0xf881a6
github.com/gohugoio/hugo/resources.(*ResourceCache).getOrCreate(0xc0003aaa40, 0xc000f83f80, 0x34, 0xc001aacd00, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/resources/resource_cache.go:196 +0x16c fp=0xc001aaccc0 sp=0xc001aacc48 pc=0xf7dd8c
github.com/gohugoio/hugo/resources.(*ResourceCache).GetOrCreateResources(0xc0003aaa40, 0xc000f83f80, 0x34, 0xc001aacdb8, 0x34, 0x1, 0xc002023160, 0x1, 0x1)
/root/project/hugo/resources/resource_cache.go:170 +0x6b fp=0xc001aacd20 sp=0xc001aaccc0 pc=0xf7db4b
github.com/gohugoio/hugo/resources/resource_factories/create.(*Client).match(0xc0000114b0, 0xc002024900, 0x22, 0x4cc501, 0xc002032040, 0x40, 0xc001aaced0, 0x59f9e5, 0x1e344e0)
/root/project/hugo/resources/resource_factories/create/create.go:85 +0x292 fp=0xc001aacdf0 sp=0xc001aacd20 pc=0x1218972
github.com/gohugoio/hugo/resources/resource_factories/create.(*Client).GetMatch(0xc0000114b0, 0xc002024900, 0x22, 0x22, 0x0, 0x0, 0x0)
/root/project/hugo/resources/resource_factories/create/create.go:62 +0x48 fp=0xc001aace48 sp=0xc001aacdf0 pc=0x1218648
github.com/gohugoio/hugo/tpl/resources.(*Namespace).GetMatch(0xc00057b180, 0x1d89140, 0xc002032028, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/resources/resources.go:110 +0x8a fp=0xc001aace90 sp=0xc001aace48 pc=0x122644a
runtime.call64(0xc001370180, 0xc00179ec08, 0xc002032040, 0x1800000038)
/usr/local/go/src/runtime/asm_amd64.s:541 +0x3e fp=0xc001aacee0 sp=0xc001aace90 pc=0x52ccfe
reflect.Value.call(0x203fc40, 0xc00057b180, 0x1a13, 0x213e209, 0x4, 0xc0020300a0, 0x1, 0x1, 0x18, 0x2127ce0, ...)
/usr/local/go/src/reflect/value.go:475 +0x8c7 fp=0xc001aad0f8 sp=0xc001aacee0 pc=0x5970a7
reflect.Value.Call(0x203fc40, 0xc00057b180, 0x1a13, 0xc0020300a0, 0x1, 0x1, 0x1e27ee0, 0x1d89140, 0xc002032028)
/usr/local/go/src/reflect/value.go:336 +0xb9 fp=0xc001aad178 sp=0xc001aad0f8 pc=0x596599
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.safeCall(0x203fc40, 0xc00057b180, 0x1a13, 0xc0020300a0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/funcs.go:365 +0xbd fp=0xc001aad1f8 sp=0xc001aad178 pc=0xf3debd
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCall(0xc001aadc08, 0x1e76f20, 0xc001f54e70, 0x15, 0x203fc40, 0xc00057b180, 0x1a13, 0x2643420, 0xc000bcc100, 0xc0002a181c, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:297 +0x61f fp=0xc001aad340 sp=0xc001aad1f8 pc=0xf4421f
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalField(0xc001aadc08, 0x1e76f20, 0xc001f54e70, 0x15, 0xc0002a181c, 0x8, 0x2643420, 0xc000bcc100, 0xc000bbeee0, 0x2, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:172 +0x610 fp=0xc001aad550 sp=0xc001aad340 pc=0xf43090
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalFieldChain(0xc001aadc08, 0x1e76f20, 0xc001f54e70, 0x15, 0x1e344e0, 0xc001f54f48, 0x94, 0x2643420, 0xc000bcc100, 0xc0009172c0, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:565 +0x225 fp=0xc001aad608 sp=0xc001aad550 pc=0xf37d85
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalChainNode(0xc001aadc08, 0x1e76f20, 0xc001f54e70, 0x15, 0xc000bcc100, 0xc000bbeee0, 0x2, 0x2, 0x1e89fa0, 0x32c9250, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:542 +0x1c5 fp=0xc001aad6d0 sp=0xc001aad608 pc=0xf376e5
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCommand(0xc001aadc08, 0x1e76f20, 0xc001f54e70, 0x15, 0xc000bc3c80, 0x1e89fa0, 0x32c9250, 0x99, 0x58f1a8, 0x1e76f20, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:459 +0x5dc fp=0xc001aad7a0 sp=0xc001aad6d0 pc=0xf36a3c
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalPipeline(0xc001aadc08, 0x1e76f20, 0xc001f54e70, 0x15, 0xc000bca480, 0xc001f49fe0, 0x194, 0x2652701)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:431 +0x125 fp=0xc001aad890 sp=0xc001aad7a0 pc=0xf36005
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001aadc08, 0x1e76f20, 0xc001f54e70, 0x15, 0x2643300, 0xc000bc3d70)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:255 +0x335 fp=0xc001aad918 sp=0xc001aad890 pc=0xf34ef5
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001aadc08, 0x1e76f20, 0xc001f54e70, 0x15, 0x2643660, 0xc000bd2e10)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001aad9a0 sp=0xc001aad918 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walkIfOrWith(0xc001aadc08, 0x13, 0x1e43c80, 0xc001f49fe0, 0x16, 0xc000bcac60, 0xc000bd2e10, 0x0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:291 +0x15c fp=0xc001aada28 sp=0xc001aad9a0 pc=0xf351fc
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001aadc08, 0x1e43c80, 0xc001f49fe0, 0x16, 0x26439c0, 0xc000bcc8c0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:274 +0x2c8 fp=0xc001aadab0 sp=0xc001aada28 pc=0xf34e88
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001aadc08, 0x1e43c80, 0xc001f49fe0, 0x16, 0x2643660, 0xc000bd2c00)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001aadb38 sp=0xc001aadab0 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*Template).executeWithState(0xc000bcc0c0, 0xc001aadc08, 0x1e43c80, 0xc001f49fe0, 0x16, 0x0, 0x0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:93 +0xb7 fp=0xc001aadba0 sp=0xc001aadb38 pc=0xf42677
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*executer).Execute(0xc00084e520, 0x7fea39b85f00, 0xc000b92d20, 0x26127e0, 0x32c9108, 0x1e43c80, 0xc001f49fe0, 0x20, 0xc001f49fe0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:79 +0x1eb fp=0xc001aadc80 sp=0xc001aadba0 pc=0xf4246b
github.com/gohugoio/hugo/tpl/tplimpl.(*templateExec).Execute(0xc000bf5ec0, 0x2621b60, 0xc000b92d20, 0x26127e0, 0x32c9108, 0x1e43c80, 0xc001f49fe0, 0x0, 0x0)
/root/project/hugo/tpl/tplimpl/template.go:227 +0x168 fp=0xc001aadd50 sp=0xc001aadc80 pc=0x1238648
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc00084bb00, 0xc00029e87b, 0x15, 0xc002023100, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/partials/partials.go:143 +0x291 fp=0xc001aade40 sp=0xc001aadd50 pc=0x1213611
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm(0xc00029e87b, 0x15, 0xc002023100, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/partials/partials.go:96 +0x65 fp=0xc001aadea0 sp=0xc001aade40 pc=0x1214ba5
runtime.call128(0xc00136da10, 0xc00084bb20, 0xc000dcbdb0, 0x2800000048)
/usr/local/go/src/runtime/asm_amd64.s:542 +0x59 fp=0xc001aadf30 sp=0xc001aadea0 pc=0x52cdb9
reflect.Value.call(0x1e65d00, 0xc00084bb20, 0x13, 0x213e209, 0x4, 0xc001f54e10, 0x2, 0x2, 0x30, 0x2127ce0, ...)
/usr/local/go/src/reflect/value.go:475 +0x8c7 fp=0xc001aae148 sp=0xc001aadf30 pc=0x5970a7
reflect.Value.Call(0x1e65d00, 0xc00084bb20, 0x13, 0xc001f54e10, 0x2, 0x2, 0xc001f54de0, 0x1e76f20, 0xc001f54e58)
/usr/local/go/src/reflect/value.go:336 +0xb9 fp=0xc001aae1c8 sp=0xc001aae148 pc=0x596599
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.safeCall(0x1e65d00, 0xc00084bb20, 0x13, 0xc001f54e10, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/funcs.go:365 +0xbd fp=0xc001aae248 sp=0xc001aae1c8 pc=0xf3debd
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCall(0xc001aae830, 0x1e76f20, 0xc001f54cc0, 0x15, 0x1e65d00, 0xc00084bb20, 0x13, 0x2643480, 0xc000b8b890, 0xc00029e872, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:297 +0x61f fp=0xc001aae390 sp=0xc001aae248 pc=0xf4421f
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalFunction(0xc001aae830, 0x1e76f20, 0xc001f54cc0, 0x15, 0xc000b8b8c0, 0x2643480, 0xc000b8b890, 0xc000b85680, 0x3, 0x4, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:130 +0x19e fp=0xc001aae490 sp=0xc001aae390 pc=0xf428de
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCommand(0xc001aae830, 0x1e76f20, 0xc001f54cc0, 0x15, 0xc000b8b890, 0x1e89fa0, 0x32c9250, 0x99, 0x1e344e0, 0xc000dcbd38, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:462 +0x125 fp=0xc001aae560 sp=0xc001aae490 pc=0xf36585
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalPipeline(0xc001aae830, 0x1e76f20, 0xc001f54cc0, 0x15, 0xc000b81560, 0x1d89140, 0x32ca6c0, 0x98)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:431 +0x125 fp=0xc001aae650 sp=0xc001aae560 pc=0xf36005
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001aae830, 0x1e76f20, 0xc001f54cc0, 0x15, 0x2643300, 0xc000b8b9b0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:255 +0x335 fp=0xc001aae6d8 sp=0xc001aae650 pc=0xf34ef5
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001aae830, 0x1e76f20, 0xc001f54cc0, 0x15, 0x2643660, 0xc000b8b710)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001aae760 sp=0xc001aae6d8 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*Template).executeWithState(0xc000b854c0, 0xc001aae830, 0x1e76f20, 0xc001f54cc0, 0x15, 0x0, 0x0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:93 +0xb7 fp=0xc001aae7c8 sp=0xc001aae760 pc=0xf42677
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*executer).Execute(0xc00084e520, 0x7fea39b85f00, 0xc000b920f0, 0x260d5a0, 0xc001370c90, 0x1e76f20, 0xc001f54cc0, 0xc0007e1820, 0xc0007d57a0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:79 +0x1eb fp=0xc001aae8a8 sp=0xc001aae7c8 pc=0xf4246b
github.com/gohugoio/hugo/tpl/tplimpl.(*templateExec).Execute(0xc000bf5ec0, 0x2621b60, 0xc000b920f0, 0x260d5a0, 0xc001370c90, 0x1e76f20, 0xc001f54cc0, 0x0, 0x0)
/root/project/hugo/tpl/tplimpl/template.go:227 +0x168 fp=0xc001aae978 sp=0xc001aae8a8 pc=0x1238648
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc00084bb00, 0xc000894509, 0x4, 0xc002023050, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/partials/partials.go:143 +0x291 fp=0xc001aaea68 sp=0xc001aae978 pc=0x1213611
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm(0xc000894509, 0x4, 0xc002023050, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/root/project/hugo/tpl/partials/partials.go:96 +0x65 fp=0xc001aaeac8 sp=0xc001aaea68 pc=0x1214ba5
runtime.call128(0xc00136da10, 0xc00084bb20, 0xc001819f90, 0x2800000048)
/usr/local/go/src/runtime/asm_amd64.s:542 +0x59 fp=0xc001aaeb58 sp=0xc001aaeac8 pc=0x52cdb9
reflect.Value.call(0x1e65d00, 0xc00084bb20, 0x13, 0x213e209, 0x4, 0xc001f54c30, 0x2, 0x2, 0x30, 0x2127ce0, ...)
/usr/local/go/src/reflect/value.go:475 +0x8c7 fp=0xc001aaed70 sp=0xc001aaeb58 pc=0x5970a7
reflect.Value.Call(0x1e65d00, 0xc00084bb20, 0x13, 0xc001f54c30, 0x2, 0x2, 0xc001f49ec0, 0x1e76f20, 0xc001f54ca8)
/usr/local/go/src/reflect/value.go:336 +0xb9 fp=0xc001aaedf0 sp=0xc001aaed70 pc=0x596599
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.safeCall(0x1e65d00, 0xc00084bb20, 0x13, 0xc001f54c30, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/funcs.go:365 +0xbd fp=0xc001aaee70 sp=0xc001aaedf0 pc=0xf3debd
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCall(0xc001aaf3f8, 0x21351c0, 0xc000d85b60, 0x16, 0x1e65d00, 0xc00084bb20, 0x13, 0x2643480, 0xc001359ec0, 0xc000894500, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:297 +0x61f fp=0xc001aaefb8 sp=0xc001aaee70 pc=0xf4421f
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalFunction(0xc001aaf3f8, 0x21351c0, 0xc000d85b60, 0x16, 0xc001359ef0, 0x2643480, 0xc001359ec0, 0xc00135cbc0, 0x3, 0x4, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:130 +0x19e fp=0xc001aaf0b8 sp=0xc001aaefb8 pc=0xf428de
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalCommand(0xc001aaf3f8, 0x21351c0, 0xc000d85b60, 0x16, 0xc001359ec0, 0x1e89fa0, 0x32c9250, 0x99, 0xc001aaf268, 0xf3ac65, ...)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:462 +0x125 fp=0xc001aaf188 sp=0xc001aaf0b8 pc=0xf36585
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).evalPipeline(0xc001aaf3f8, 0x21351c0, 0xc000d85b60, 0x16, 0xc0013572c0, 0x0, 0x0, 0x98)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:431 +0x125 fp=0xc001aaf278 sp=0xc001aaf188 pc=0xf36005
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001aaf3f8, 0x21351c0, 0xc000d85b60, 0x16, 0x2643300, 0xc001359f80)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:255 +0x335 fp=0xc001aaf300 sp=0xc001aaf278 pc=0xf34ef5
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001aaf3f8, 0x21351c0, 0xc000d85b60, 0x16, 0x2643660, 0xc0013599e0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001aaf388 sp=0xc001aaf300 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walkTemplate(0xc001aaf7e8, 0x21351c0, 0xc000d85b60, 0x16, 0xc00126e300)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:413 +0x211 fp=0xc001aaf470 sp=0xc001aaf388 pc=0xf35d71
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001aaf7e8, 0x21351c0, 0xc000d85b60, 0x16, 0x26438a0, 0xc00126e300)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:268 +0x1da fp=0xc001aaf4f8 sp=0xc001aaf470 pc=0xf34d9a
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001aaf7e8, 0x21351c0, 0xc000d85b60, 0x16, 0x2643660, 0xc001265e00)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001aaf580 sp=0xc001aaf4f8 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walkIfOrWith(0xc00085d7e8, 0xa, 0x21351c0, 0xc000d85b60, 0x16, 0xc00125f9e0, 0xc001265e00, 0x0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:293 +0x1d4 fp=0xc001aaf608 sp=0xc001aaf580 pc=0xf35274
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc00085d7e8, 0x21351c0, 0xc000d85b60, 0x16, 0x2643600, 0xc00126ea80)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:260 +0x24f fp=0xc001aaf690 sp=0xc001aaf608 pc=0xf34e0f
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*state).walk(0xc001aaf7e8, 0x21351c0, 0xc000d85b60, 0x16, 0x2643660, 0xc001265d40)
/root/project/hugo/tpl/internal/go_templates/texttemplate/exec.go:263 +0x11e fp=0xc001aaf718 sp=0xc001aaf690 pc=0xf34cde
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*Template).executeWithState(0xc000f6cc80, 0xc00085d7e8, 0x21351c0, 0xc000d85b60, 0x16, 0x0, 0x0)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:93 +0xb7 fp=0xc001aaf780 sp=0xc001aaf718 pc=0xf42677
github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate.(*executer).Execute(0xc00084e520, 0x7fea39b85f00, 0xc00189aa50, 0x260d5a0, 0xc001368180, 0x21351c0, 0xc000d85b60, 0xc001366200, 0x8)
/root/project/hugo/tpl/internal/go_templates/texttemplate/hugo_template.go:79 +0x1eb fp=0xc001aaf860 sp=0xc001aaf780 pc=0xf4246b
github.com/gohugoio/hugo/tpl/tplimpl.(*templateExec).Execute(0xc000bf5ec0, 0x2621b60, 0xc00189aa50, 0x260d5a0, 0xc001368180, 0x21351c0, 0xc000d85b60, 0x0, 0x0)
/root/project/hugo/tpl/tplimpl/template.go:227 +0x168 fp=0xc001aaf930 sp=0xc001aaf860 pc=0x1238648
github.com/gohugoio/hugo/hugolib.(*Site).renderForTemplate(0xc000148900, 0x213fa25, 0x4, 0x213e3e5, 0x4, 0x21351c0, 0xc000d85b60, 0x260d5a0, 0xc001368180, 0x2621b60, ...)
/root/project/hugo/hugolib/site.go:1759 +0x96 fp=0xc001aaf9a8 sp=0xc001aaf930 pc=0x12912f6
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc000148900, 0xc0000cfc30, 0xc000dd6000, 0x1a, 0xc0008462a0, 0x21, 0xc000d85b60, 0x2621b60, 0xc00189aa50, 0x0, ...)
/root/project/hugo/hugolib/site.go:1692 +0x2e6 fp=0xc001aafea0 sp=0xc001aaf9a8 pc=0x1290ba6
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc000c21ca0, 0xc000148900, 0xc000eb1aa0, 0xc000103620, 0xc000edb410)
/root/project/hugo/hugolib/site_render.go:139 +0x29c fp=0xc001aaffb8 sp=0xc001aafea0 pc=0x129375c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc001aaffc0 sp=0xc001aaffb8 pc=0x52e681
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/root/project/hugo/hugolib/site_render.go:74 +0x165
error Command failed with exit code 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment