Hi!
I just upgraded vom v0.54/extended windows/amd64 to v0.55.3/extended windows/amd64 and now hugo crashes when I access localhost:1313 in server mode. The generation of the website still works without any errors if I just use the hugo command.
c:\Hugo\www.example.com>hugo server
Building sites …
| DE
+------------------+------+
Pages | 9991
Paginator pages | 1930
Non-page files | 0
Static files | 21
Processed images | 0
Aliases | 9984
Sitemaps | 1
Cleaned | 0
Total in 20139 ms
Watching for changes in c:\Hugo\www.example.com\{content,themes}
Watching for config changes in c:\Hugo\www.example.com\config.toml, c:\Hugo\www.example.com\themes\optitheme\config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
panic: invalid paginator state for "Example.com"
goroutine 29728 [running]:
github.com/gohugoio/hugo/hugolib.(*Site).renderPaginator(0xc000383500, 0xc007ba1f50, 0xc01bd1dc00, 0x2e, 0x40, 0xa, 0xc007ba1f50)
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:174 +0x726
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc030b35c00, 0xc000383500, 0xc0334b2420, 0xc00d00e720, 0xc036a0cae0)
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:157 +0x645
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:73 +0x167
c:\Hugo\www.example.com>hugo
Building sites …
| DE
+------------------+------+
Pages | 9991
Paginator pages | 1930
Non-page files | 0
Static files | 21
Processed images | 0
Aliases | 9984
Sitemaps | 1
Cleaned | 0
Total in 81550 ms
c:\Hugo\www.example.com>
Let me know if you need any additional information to track this down.
Best regards
Tobias
Let me know if you need any additional information to track this down.
Is the source code available somewhere? Also, have you tested this with Hugo 0.55.2?
I just tested 0.55.2 and it has the same problem.
The sourcecode is not public. However I made the theme public: https://github.com/Noki/optitheme
If this is not enough I could probably build an example case in a public repo but it would take me some days.
Best regards
Tobias
We have the same issues (server only) on several of our sites only it mentions the paginator internal template but I suppose this revolves around the Paginator.
I'll try and a find a way to reproduce this on a public server and share it.
No yet anything shareable but here is the error we get:
Failed to render "/categories/awards/":
Failed to render pages: render of "taxonomy" failed: execute of template failed: template: _internal/pagination.html:2:13: executing "_internal/pagination.html" at <$pag.TotalPages>: error calling TotalPages: runtime error: invalid memory address or nil pointer dereference
Failed to render "/categories/announcements/":
Logged 2 error(s)
The error happens, not when I navigate to the mentioned URL (/categories/awards/) but when we go the the /news/ url, which includes a link to the above URL.
Reloading the server while I'm visiting /categories/awards and returning to /news this other errors hits:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x497ebb0]
goroutine 1784 [running]:
github.com/gohugoio/hugo/resources/page.(*Pager).HasNext(...)
/private/tmp/hugo-20190417-13546-fbw4lf/hugo-0.55.2/src/github.com/gohugoio/hugo/resources/page/pagination.go:158
github.com/gohugoio/hugo/resources/page.(*Pager).Next(...)
/private/tmp/hugo-20190417-13546-fbw4lf/hugo-0.55.2/src/github.com/gohugoio/hugo/resources/page/pagination.go:163
github.com/gohugoio/hugo/hugolib.(*Site).renderPaginator(0xc0001bb500, 0xc001e1ab40, 0xc001696800, 0x30, 0x40, 0x1d, 0xc001e1ab40)
/private/tmp/hugo-20190417-13546-fbw4lf/hugo-0.55.2/src/github.com/gohugoio/hugo/hugolib/site_render.go:186 +0x340
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc003f5bee0, 0xc0001bb500, 0xc004e15f80, 0xc001d0e9c0, 0xc005085de0)
/private/tmp/hugo-20190417-13546-fbw4lf/hugo-0.55.2/src/github.com/gohugoio/hugo/hugolib/site_render.go:157 +0x63e
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/private/tmp/hugo-20190417-13546-fbw4lf/hugo-0.55.2/src/github.com/gohugoio/hugo/hugolib/site_render.go:73 +0x160
@bep - just send you a link by mail with a repo to reproduce.
@Noki I'm not even able to start a server with that site on my MacBool. I get "socket: too many open files", which I could probably fix (I tried to raise the ulimit some), but it tells me that that site wouldn't be ... ideal to use to debug this. Let's wait for someone to dig up a simpler example.
@bep Looks like that's exactly the problem. I tried to reproduce the error with a small number of files but I could not. It is only there if I have a couple of thousand files, however I could not find any information about the file limit on a windows 10 installation.
btw.: in addion I ran into a concurrency issue when I copied a large number of files to the content directory to increase the number of files.
c:\Hugo\hugo-pagination-bug>hugo server
Building sites …
| DE
+------------------+----+
Pages | 29
Paginator pages | 2
Non-page files | 0
Static files | 21
Processed images | 0
Aliases | 2
Sitemaps | 1
Cleaned | 0
Total in 170 ms
Watching for changes in c:\Hugo\hugo-pagination-bug\{content,themes}
Watching for config changes in c:\Hugo\hugo-pagination-bug\config.toml, c:\Hugo\hugo-pagination-bug\themes\optitheme\config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
fatal error: concurrent map read and map write
goroutine 265 [running]:
runtime.throw(0x12eed7e, 0x21)
/usr/local/go/src/runtime/panic.go:617 +0x79 fp=0xc00131a868 sp=0xc00131a838 pc=0x4322d9
runtime.mapaccess1_faststr(0x1179320, 0xc000a52360, 0xc0001fd323, 0x1b, 0xc00131a990)
/usr/local/go/src/runtime/map_faststr.go:21 +0x470 fp=0xc00131a8d8 sp=0xc00131a868 pc=0x4146f0
text/template.(*state).walkTemplate(0xc00131ab28, 0x1289480, 0xc000a819e0, 0x16, 0xc0006e6d00)
/usr/local/go/src/text/template/exec.go:398 +0x96 fp=0xc00131a9a0 sp=0xc00131a8d8 pc=0x58e3c6
text/template.(*state).walk(0xc00131ab28, 0x1289480, 0xc000a819e0, 0x16, 0x14f8620, 0xc0006e6d00)
/usr/local/go/src/text/template/exec.go:267 +0x20d fp=0xc00131aa30 sp=0xc00131a9a0 pc=0x58cf2d
text/template.(*state).walk(0xc00131ab28, 0x1289480, 0xc000a819e0, 0x16, 0x14f84a0, 0xc0009977a0)
/usr/local/go/src/text/template/exec.go:262 +0x14a fp=0xc00131aac0 sp=0xc00131aa30 pc=0x58ce6a
text/template.(*Template).execute(0xc0006e6680, 0x14ddce0, 0xc000ddc780, 0x1289480, 0xc000a819e0, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:217 +0x1ef fp=0xc00131ab80 sp=0xc00131aac0 pc=0x58c88f
text/template.(*Template).Execute(...)
/usr/local/go/src/text/template/exec.go:200
html/template.(*Template).Execute(0xc000997740, 0x14ddce0, 0xc000ddc780, 0x1289480, 0xc000a819e0, 0x430fd6, 0x8)
/usr/local/go/src/html/template/template.go:122 +0x94 fp=0xc00131abc8 sp=0xc00131ab80 pc=0x7c9af4
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc0012f60f0, 0x14ddce0, 0xc000ddc780, 0x1289480, 0xc000a819e0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6 fp=0xc00131ac28 sp=0xc00131abc8 pc=0xbdd8d6
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc000713170, 0xc000bdb056, 0x9, 0xc0009ba300, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/partials/partials.go:132 +0x21e fp=0xc00131acf0 sp=0xc00131ac28 pc=0xd0efbe
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm(0xc000bdb056, 0x9, 0xc0009ba300, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/partials/partials.go:85 +0x6a fp=0xc00131ad50 sp=0xc00131acf0 pc=0xd0fefa
runtime.call128(0xc000892180, 0xc000713190, 0xc000904eb0, 0x2800000048)
/usr/local/go/src/runtime/asm_amd64.s:521 +0x59 fp=0xc00131ade0 sp=0xc00131ad50 pc=0x45e179
reflect.Value.call(0x118a620, 0xc000713190, 0x13, 0x128da8e, 0x4, 0xc0009a7200, 0x2, 0x2, 0xc0005ea180, 0xc000856c50, ...)
/usr/local/go/src/reflect/value.go:447 +0x468 fp=0xc00131b000 sp=0xc00131ade0 pc=0x4cfd08
reflect.Value.Call(0x118a620, 0xc000713190, 0x13, 0xc0009a7200, 0x2, 0x2, 0x4465c3, 0x30, 0x127e9a0)
/usr/local/go/src/reflect/value.go:308 +0xab fp=0xc00131b068 sp=0xc00131b000 pc=0x4cf76b
text/template.safeCall(0x118a620, 0xc000713190, 0x13, 0xc0009a7200, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/text/template/funcs.go:293 +0xbd fp=0xc00131b0d0 sp=0xc00131b068 pc=0x59852d
text/template.(*state).evalCall(0xc00131b650, 0x1289480, 0xc000a819e0, 0x16, 0x118a620, 0xc000713190, 0x13, 0x14f8360, 0xc000881920, 0xc000bdb04d, ...)
/usr/local/go/src/text/template/exec.go:703 +0x693 fp=0xc00131b220 sp=0xc00131b0d0 pc=0x591be3
text/template.(*state).evalFunction(0xc000f9f650, 0x1289480, 0xc000a819e0, 0x16, 0xc000881950, 0x14f8360, 0xc000881920, 0xc000882ac0, 0x3, 0x4, ...)
/usr/local/go/src/text/template/exec.go:564 +0x177 fp=0xc00131b308 sp=0xc00131b220 pc=0x5905a7
text/template.(*state).evalCommand(0xc000f9f650, 0x1289480, 0xc000a819e0, 0x16, 0xc000881920, 0x1193200, 0x1d07b40, 0x99, 0xc000f9f430, 0xc000f9f4b8, ...)
/usr/local/go/src/text/template/exec.go:461 +0x673 fp=0xc00131b3d8 sp=0xc00131b308 pc=0x58f273
text/template.(*state).evalPipeline(0xc00131b650, 0x1289480, 0xc000a819e0, 0x16, 0xc000d558c0, 0x0, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:430 +0x123 fp=0xc00131b4c8 sp=0xc00131b3d8 pc=0x58e7e3
text/template.(*state).walk(0xc00131b650, 0x1289480, 0xc000a819e0, 0x16, 0x14f8260, 0xc000881980)
/usr/local/go/src/text/template/exec.go:254 +0x4a3 fp=0xc00131b558 sp=0xc00131b4c8 pc=0x58d1c3
text/template.(*state).walk(0xc00131b650, 0x1289480, 0xc000a819e0, 0x16, 0x14f84a0, 0xc000881740)
/usr/local/go/src/text/template/exec.go:262 +0x14a fp=0xc00131b5e8 sp=0xc00131b558 pc=0x58ce6a
text/template.(*Template).execute(0xc000fecf00, 0x14ddce0, 0xc0009a7110, 0x1289480, 0xc000a819e0, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:217 +0x1ef fp=0xc00131b6a8 sp=0xc00131b5e8 pc=0x58c88f
text/template.(*Template).Execute(...)
/usr/local/go/src/text/template/exec.go:200
html/template.(*Template).Execute(0xc0008be120, 0x14ddce0, 0xc0009a7110, 0x1289480, 0xc000a819e0, 0x14e7a60, 0xc000904e60)
/usr/local/go/src/html/template/template.go:122 +0x94 fp=0xc00131b6f0 sp=0xc00131b6a8 pc=0x7c9af4
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc000904e60, 0x14ddce0, 0xc0009a7110, 0x1289480, 0xc000a819e0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6 fp=0xc00131b750 sp=0xc00131b6f0 pc=0xbdd8d6
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc000bd0700, 0x128ebaa, 0x4, 0x128dc02, 0x4, 0x1289480, 0xc000a819e0, 0x14ddce0, 0xc0009a7110, 0xc000681800, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1801 +0xbf fp=0xc00131b7f8 sp=0xc00131b750 pc=0xd87bdf
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc000bd0700, 0xc000a377d0, 0xc000f9fd48, 0x11, 0xc0012b8200, 0x14, 0xc000a819e0, 0xc000681800, 0x8, 0x8, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1717 +0x1d5 fp=0xc00131bcc8 sp=0xc00131b7f8 pc=0xd874a5
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc000d9a7e0, 0xc000bd0700, 0xc0012bba40, 0xc000a77200, 0xc0012c8eb0)
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:152 +0x5f9 fp=0xc00131bfb8 sp=0xc00131bcc8 pc=0xd8ab89
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc00131bfc0 sp=0xc00131bfb8 pc=0x45fe31
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:73 +0x167
goroutine 1 [chan receive, 1 minutes]:
github.com/gohugoio/hugo/commands.(*commandeer).serve(0xc0000fc780, 0xc00003b940, 0xc00093d4c0, 0x40)
/go/src/github.com/gohugoio/hugo/commands/server.go:461 +0x94c
github.com/gohugoio/hugo/commands.(*serverCmd).server(0xc00003b940, 0xc0003f4a00, 0x1d07b40, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/commands/server.go:278 +0x284
github.com/spf13/cobra.(*Command).execute(0xc0003f4a00, 0x1d07b40, 0x0, 0x0, 0xc0003f4a00, 0x1d07b40)
/go/pkg/mod/github.com/spf13/[email protected]/command.go:762 +0x46c
github.com/spf13/cobra.(*Command).ExecuteC(0xc0003caa00, 0xc000454be0, 0xc0001904e0, 0xc000454860)
/go/pkg/mod/github.com/spf13/[email protected]/command.go:852 +0x2f3
github.com/gohugoio/hugo/commands.Execute(0xc000004450, 0x1, 0x1, 0x4070c6, 0xc00006e058, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/commands/hugo.go:91 +0xc2
main.main()
/go/src/github.com/gohugoio/hugo/main.go:23 +0x71
goroutine 8 [syscall, 1 minutes]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:139 +0xa3
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:23 +0x29
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:29 +0x48
goroutine 346 [select]:
github.com/gohugoio/hugo/watcher.(*Batcher).run(0xc00093d4c0)
/go/src/github.com/gohugoio/hugo/watcher/batcher.go:53 +0x168
created by github.com/gohugoio/hugo/watcher.New
/go/src/github.com/gohugoio/hugo/watcher/batcher.go:42 +0x12b
goroutine 345 [syscall, locked to thread]:
syscall.Syscall6(0x7fffa9336b90, 0x5, 0x268, 0xc000765d10, 0xc000765d14, 0xc000765d78, 0xffffffff, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/runtime/syscall_windows.go:197 +0xed
syscall.GetQueuedCompletionStatus(0x268, 0xc000765d10, 0xc000765d14, 0xc000765d78, 0xffffffff, 0x0, 0x0)
/usr/local/go/src/syscall/zsyscall_windows.go:556 +0xb6
github.com/fsnotify/fsnotify.(*Watcher).readEvents(0xc0006d8680)
/go/pkg/mod/github.com/fsnotify/[email protected]/windows.go:381 +0x98
created by github.com/fsnotify/fsnotify.NewWatcher
/go/pkg/mod/github.com/fsnotify/[email protected]/windows.go:46 +0x21c
goroutine 216 [IO wait]:
internal/poll.runtime_pollWait(0x49c11d8, 0x72, 0x14e02a0)
/usr/local/go/src/runtime/netpoll.go:182 +0x5d
internal/poll.(*pollDesc).wait(0xc0002de748, 0x72, 0x104c900, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x1ce09e8, 0xc0002de598, 0xc00093c300, 0x1, 0x0, 0x360)
/usr/local/go/src/internal/poll/fd_windows.go:228 +0x124
internal/poll.(*FD).acceptOne(0xc0002de580, 0x360, 0xc0006022d0, 0x2, 0x2, 0xc0002de598, 0xc00044ea80, 0xc000767c08, 0x40e46f, 0x10)
/usr/local/go/src/internal/poll/fd_windows.go:864 +0xa9
internal/poll.(*FD).Accept(0xc0002de580, 0xc0006f4ab0, 0x0, 0x0, 0x0, 0x0, 0xc000000000, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/internal/poll/fd_windows.go:898 +0x148
net.(*netFD).accept(0xc0002de580, 0xc00003c070, 0xc00003c000, 0x40dbb3)
/usr/local/go/src/net/fd_windows.go:193 +0x81
net.(*TCPListener).accept(0xc000c26400, 0xc000767dc8, 0x13cb95d4, 0x670d9f3223f84d6d)
/usr/local/go/src/net/tcpsock_posix.go:139 +0x39
net.(*TCPListener).AcceptTCP(0xc000c26400, 0xc0004f3410, 0x490f1d, 0x5ccdc026)
/usr/local/go/src/net/tcpsock.go:247 +0x4f
net/http.tcpKeepAliveListener.Accept(0xc000c26400, 0xc000767e40, 0x18, 0xc000468600, 0x72808b)
/usr/local/go/src/net/http/server.go:3264 +0x36
net/http.(*Server).Serve(0xc0004f3380, 0x14f29e0, 0xc000c26400, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2859 +0x234
net/http.(*Server).ListenAndServe(0xc0004f3380, 0xc0004f3380, 0x12a295e)
/usr/local/go/src/net/http/server.go:2797 +0xeb
net/http.ListenAndServe(...)
/usr/local/go/src/net/http/server.go:3037
github.com/gohugoio/hugo/commands.(*commandeer).serve.func1(0xc00019d070, 0xe, 0xc0006b5380, 0xc000e08bf0, 0xc0000fc780)
/go/src/github.com/gohugoio/hugo/commands/server.go:445 +0x86
created by github.com/gohugoio/hugo/commands.(*commandeer).serve
/go/src/github.com/gohugoio/hugo/commands/server.go:444 +0x69f
goroutine 268 [semacquire]:
sync.runtime_SemacquireMutex(0xc000a379a4, 0xc001217600)
/usr/local/go/src/runtime/sema.go:71 +0x44
sync.(*Mutex).Lock(0xc000a379a0)
/usr/local/go/src/sync/mutex.go:134 +0x110
html/template.(*Template).Lookup(0xc000a523f0, 0xc001217680, 0x18, 0x0)
/usr/local/go/src/html/template/template.go:361 +0x45
github.com/gohugoio/hugo/tpl/tplimpl.(*htmlTemplates).lookup(0xc00076c5c0, 0xc001217680, 0x18, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/tplimpl/template.go:416 +0xa3
github.com/gohugoio/hugo/tpl/tplimpl.(*htmlTemplates).Lookup(0xc00076c5c0, 0xc001217680, 0x18, 0x0, 0x2, 0xc001217680)
/go/src/github.com/gohugoio/hugo/tpl/tplimpl/template.go:397 +0x4a
github.com/gohugoio/hugo/tpl/tplimpl.(*templateHandler).Lookup(0xc000b9fb80, 0xc001217680, 0x18, 0xc000bdb16a, 0xf, 0xc001217680)
/go/src/github.com/gohugoio/hugo/tpl/tplimpl/template.go:202 +0x147
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc000713170, 0xc000bdb16a, 0xf, 0xc000e15220, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/partials/partials.go:98 +0x129
reflect.Value.call(0x118a620, 0xc000713190, 0x13, 0x128da8e, 0x4, 0xc00140c990, 0x2, 0x2, 0xc000f46040, 0x1, ...)
/usr/local/go/src/reflect/value.go:447 +0x468
reflect.Value.Call(0x118a620, 0xc000713190, 0x13, 0xc00140c990, 0x2, 0x2, 0x4465c3, 0x30, 0x127e9a0)
/usr/local/go/src/reflect/value.go:308 +0xab
text/template.safeCall(0x118a620, 0xc000713190, 0x13, 0xc00140c990, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/text/template/funcs.go:293 +0xbd
text/template.(*state).evalCall(0xc001333650, 0x1289480, 0xc000a52a80, 0x16, 0x118a620, 0xc000713190, 0x13, 0x14f8360, 0xc000881b60, 0xc000bdb161, ...)
/usr/local/go/src/text/template/exec.go:703 +0x693
text/template.(*state).evalFunction(0xc001333650, 0x1289480, 0xc000a52a80, 0x16, 0xc000881b90, 0x14f8360, 0xc000881b60, 0xc000882bc0, 0x3, 0x4, ...)
/usr/local/go/src/text/template/exec.go:564 +0x177
text/template.(*state).evalCommand(0xc001333650, 0x1289480, 0xc000a52a80, 0x16, 0xc000881b60, 0x1193200, 0x1d07b40, 0x99, 0xc0013334b8, 0x5952ec, ...)
/usr/local/go/src/text/template/exec.go:461 +0x673
text/template.(*state).evalPipeline(0xc001333650, 0x1289480, 0xc000a52a80, 0x16, 0xc000d559e0, 0x0, 0x0, 0x98)
/usr/local/go/src/text/template/exec.go:430 +0x123
text/template.(*state).walk(0xc001333650, 0x1289480, 0xc000a52a80, 0x16, 0x14f8260, 0xc000881bc0)
/usr/local/go/src/text/template/exec.go:254 +0x4a3
text/template.(*state).walk(0xc001333650, 0x1289480, 0xc000a52a80, 0x16, 0x14f84a0, 0xc000881740)
/usr/local/go/src/text/template/exec.go:262 +0x14a
text/template.(*Template).execute(0xc000fecf00, 0x14ddce0, 0xc000d25470, 0x1289480, 0xc000a52a80, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:217 +0x1ef
text/template.(*Template).Execute(...)
/usr/local/go/src/text/template/exec.go:200
html/template.(*Template).Execute(0xc0008be120, 0x14ddce0, 0xc000d25470, 0x1289480, 0xc000a52a80, 0x14e7a60, 0xc000d40f00)
/usr/local/go/src/html/template/template.go:122 +0x94
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc000d40f00, 0x14ddce0, 0xc000d25470, 0x1289480, 0xc000a52a80, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc000bd0700, 0x128ebaa, 0x4, 0x128dc02, 0x4, 0x1289480, 0xc000a52a80, 0x14ddce0, 0xc000d25470, 0xc000912f00, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1801 +0xbf
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc000bd0700, 0xc000a377d0, 0xc0011b7d48, 0x10, 0xc0012b8400, 0x14, 0xc000a52a80, 0xc000912f00, 0x8, 0x8, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1717 +0x1d5
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc000d9a7e0, 0xc000bd0700, 0xc0012bba40, 0xc000a77200, 0xc0012c8eb0)
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:152 +0x5f9
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:73 +0x167
goroutine 311 [select]:
github.com/gohugoio/hugo/commands.(*commandeer).newWatcher.func1(0xc00093d4c0, 0xc0000fc780, 0xc000c263d8, 0xc0010b1200)
/go/src/github.com/gohugoio/hugo/commands/hugo.go:862 +0xe9
created by github.com/gohugoio/hugo/commands.(*commandeer).newWatcher
/go/src/github.com/gohugoio/hugo/commands/hugo.go:860 +0x295
goroutine 169 [IO wait]:
internal/poll.runtime_pollWait(0x49c1108, 0x72, 0x14e02a0)
/usr/local/go/src/runtime/netpoll.go:182 +0x5d
internal/poll.(*pollDesc).wait(0xc00033c748, 0x72, 0x104c900, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x1ce09e8, 0xc00033c598, 0x134bb38, 0xc000df0500, 0xc00003a480, 0xc00103d9d8)
/usr/local/go/src/internal/poll/fd_windows.go:228 +0x124
internal/poll.(*FD).Read(0xc00033c580, 0xc000de2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_windows.go:502 +0x26b
net.(*netFD).Read(0xc00033c580, 0xc000de2000, 0x1000, 0x1000, 0x4318c8, 0xc00103d938, 0x71d4f1)
/usr/local/go/src/net/fd_windows.go:152 +0x56
net.(*conn).Read(0xc00093e6a0, 0xc000de2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:177 +0x70
net/http.(*connReader).Read(0xc000ddda10, 0xc000de2000, 0x1000, 0x1000, 0x0, 0x5, 0x30001)
/usr/local/go/src/net/http/server.go:787 +0x10e
bufio.(*Reader).fill(0xc000de5440)
/usr/local/go/src/bufio/bufio.go:100 +0x116
bufio.(*Reader).ReadSlice(0xc000de5440, 0xc00033c60a, 0x0, 0xc00103db00, 0x40dbb3, 0xc0007af000, 0x100)
/usr/local/go/src/bufio/bufio.go:356 +0x44
bufio.(*Reader).ReadLine(0xc000de5440, 0xc00103db08, 0xc000440000, 0x4970d58, 0x0, 0xc00033c580, 0x1242300)
/usr/local/go/src/bufio/bufio.go:385 +0x3b
net/textproto.(*Reader).readLineSlice(0xc000aa6600, 0xc0007af000, 0xc00033c580, 0x0, 0x0, 0x4318c8)
/usr/local/go/src/net/textproto/reader.go:55 +0x76
net/textproto.(*Reader).ReadLine(...)
/usr/local/go/src/net/textproto/reader.go:36
net/http.readRequest(0xc000de5440, 0x0, 0xc0007af000, 0x0, 0x0)
/usr/local/go/src/net/http/request.go:968 +0x94
net/http.(*conn).readRequest(0xc00040c460, 0x14f4fa0, 0xc0006d8800, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:967 +0x16a
net/http.(*conn).serve(0xc00040c460, 0x14f4fa0, 0xc0006d8800)
/usr/local/go/src/net/http/server.go:1819 +0x6b4
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2884 +0x2fb
goroutine 430 [chan send]:
github.com/gohugoio/hugo/hugolib.(*Site).renderPages(0xc000bd0700, 0xc000d9a7e0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:90 +0x26b
github.com/gohugoio/hugo/hugolib.(*Site).render(0xc000bd0700, 0xc000d9a7e0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1161 +0x5c
github.com/gohugoio/hugo/hugolib.(*HugoSites).render(0xc00048a850, 0xc000c967c0, 0xc000f65df0, 0x20)
/go/src/github.com/gohugoio/hugo/hugolib/hugo_sites_build.go:302 +0x428
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build.func4()
/go/src/github.com/gohugoio/hugo/hugolib/hugo_sites_build.go:121 +0x43
runtime/trace.WithRegion(0x14f5060, 0xc000c98e70, 0x1295da0, 0x6, 0xc000f65f10)
/usr/local/go/src/runtime/trace/annotation.go:137 +0xf0
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build(0xc00048a850, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/src/github.com/gohugoio/hugo/hugolib/hugo_sites_build.go:123 +0x672
github.com/gohugoio/hugo/commands.(*commandeer).buildSites(...)
/go/src/github.com/gohugoio/hugo/commands/hugo.go:763
github.com/gohugoio/hugo/commands.(*commandeer).fullRebuild(0xc0000fc780)
/go/src/github.com/gohugoio/hugo/commands/hugo.go:819 +0xf4
created by time.goFunc
/usr/local/go/src/time/sleep.go:169 +0x4b
goroutine 267 [runnable]:
reflect.Value.Call(0x1268100, 0xc000bd0728, 0x7a13, 0x1d07b40, 0x0, 0x0, 0x4465c3, 0x0, 0x127e9a0)
/usr/local/go/src/reflect/value.go:305 +0xe1
text/template.safeCall(0x1268100, 0xc000bd0728, 0x7a13, 0x1d07b40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/text/template/funcs.go:293 +0xbd
text/template.(*state).evalCall(0xc00132ab28, 0x1289480, 0xc000ddc270, 0x16, 0x1268100, 0xc000bd0728, 0x7a13, 0x14f83e0, 0xc000ae22d0, 0xc000b06d46, ...)
/usr/local/go/src/text/template/exec.go:703 +0x693
text/template.(*state).evalField(0xc00132ab28, 0x1289480, 0xc000ddc270, 0x16, 0xc000b06d46, 0x5, 0x14f83e0, 0xc000ae22d0, 0xc000d57910, 0x1, ...)
/usr/local/go/src/text/template/exec.go:593 +0xd68
text/template.(*state).evalFieldChain(0xc00132ab28, 0x1289480, 0xc000ddc270, 0x16, 0x1289480, 0xc000ddc270, 0x16, 0x14f83e0, 0xc000ae22d0, 0xc000869100, ...)
/usr/local/go/src/text/template/exec.go:554 +0x227
text/template.(*state).evalFieldNode(0xc00132ab28, 0x1289480, 0xc000ddc270, 0x16, 0xc000ae22d0, 0xc000d57910, 0x1, 0x1, 0x1193200, 0x1d07b40, ...)
/usr/local/go/src/text/template/exec.go:518 +0x11b
text/template.(*state).evalCommand(0xc00132ab28, 0x1289480, 0xc000ddc270, 0x16, 0xc000ae2270, 0x1193200, 0x1d07b40, 0x99, 0xc00132a990, 0x5952ec, ...)
/usr/local/go/src/text/template/exec.go:456 +0x7af
text/template.(*state).evalPipeline(0xc00132ab28, 0x1289480, 0xc000ddc270, 0x16, 0xc000ee55c0, 0x0, 0x0, 0x98)
/usr/local/go/src/text/template/exec.go:430 +0x123
text/template.(*state).walk(0xc00132ab28, 0x1289480, 0xc000ddc270, 0x16, 0x14f8260, 0xc000ae2300)
/usr/local/go/src/text/template/exec.go:254 +0x4a3
text/template.(*state).walk(0xc00132ab28, 0x1289480, 0xc000ddc270, 0x16, 0x14f84a0, 0xc000aea9c0)
/usr/local/go/src/text/template/exec.go:262 +0x14a
text/template.(*Template).execute(0xc0006e7680, 0x14ddce0, 0xc000ddd590, 0x1289480, 0xc000ddc270, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:217 +0x1ef
text/template.(*Template).Execute(...)
/usr/local/go/src/text/template/exec.go:200
html/template.(*Template).Execute(0xc000aea960, 0x14ddce0, 0xc000ddd590, 0x1289480, 0xc000ddc270, 0x430fd6, 0x8)
/usr/local/go/src/html/template/template.go:122 +0x94
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc0012f6410, 0x14ddce0, 0xc000ddd590, 0x1289480, 0xc000ddc270, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc000713170, 0xc000bdb12e, 0x9, 0xc001000ff0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/partials/partials.go:132 +0x21e
reflect.Value.call(0x118a620, 0xc000713190, 0x13, 0x128da8e, 0x4, 0xc00140e540, 0x2, 0x2, 0xc000908d00, 0x1, ...)
/usr/local/go/src/reflect/value.go:447 +0x468
reflect.Value.Call(0x118a620, 0xc000713190, 0x13, 0xc00140e540, 0x2, 0x2, 0x4465c3, 0x30, 0x127e9a0)
/usr/local/go/src/reflect/value.go:308 +0xab
text/template.safeCall(0x118a620, 0xc000713190, 0x13, 0xc00140e540, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/text/template/funcs.go:293 +0xbd
text/template.(*state).evalCall(0xc00132b650, 0x1289480, 0xc000ddc270, 0x16, 0x118a620, 0xc000713190, 0x13, 0x14f8360, 0xc000881aa0, 0xc000bdb125, ...)
/usr/local/go/src/text/template/exec.go:703 +0x693
text/template.(*state).evalFunction(0xc00132b650, 0x1289480, 0xc000ddc270, 0x16, 0xc000881ad0, 0x14f8360, 0xc000881aa0, 0xc000882b40, 0x3, 0x4, ...)
/usr/local/go/src/text/template/exec.go:564 +0x177
text/template.(*state).evalCommand(0xc00132b650, 0x1289480, 0xc000ddc270, 0x16, 0xc000881aa0, 0x1193200, 0x1d07b40, 0x99, 0x1144080, 0x6178, ...)
/usr/local/go/src/text/template/exec.go:461 +0x673
text/template.(*state).evalPipeline(0xc00132b650, 0x1289480, 0xc000ddc270, 0x16, 0xc000d55980, 0x0, 0x0, 0x98)
/usr/local/go/src/text/template/exec.go:430 +0x123
text/template.(*state).walk(0xc00132b650, 0x1289480, 0xc000ddc270, 0x16, 0x14f8260, 0xc000881b00)
/usr/local/go/src/text/template/exec.go:254 +0x4a3
text/template.(*state).walk(0xc00132b650, 0x1289480, 0xc000ddc270, 0x16, 0x14f84a0, 0xc000881740)
/usr/local/go/src/text/template/exec.go:262 +0x14a
text/template.(*Template).execute(0xc000fecf00, 0x14ddce0, 0xc000a4e1b0, 0x1289480, 0xc000ddc270, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:217 +0x1ef
text/template.(*Template).Execute(...)
/usr/local/go/src/text/template/exec.go:200
html/template.(*Template).Execute(0xc0008be120, 0x14ddce0, 0xc000a4e1b0, 0x1289480, 0xc000ddc270, 0x14e7a60, 0xc000d8d4f0)
/usr/local/go/src/html/template/template.go:122 +0x94
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc000d8d4f0, 0x14ddce0, 0xc000a4e1b0, 0x1289480, 0xc000ddc270, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc000bd0700, 0x128ebaa, 0x4, 0x128dc02, 0x4, 0x1289480, 0xc000ddc270, 0x14ddce0, 0xc000a4e1b0, 0xc0009e7200, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1801 +0xbf
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc000bd0700, 0xc000a377d0, 0xc0011b3d48, 0x1f, 0xc0012b8300, 0x14, 0xc000ddc270, 0xc0009e7200, 0x8, 0x8, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1717 +0x1d5
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc000d9a7e0, 0xc000bd0700, 0xc0012bba40, 0xc000a77200, 0xc0012c8eb0)
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:152 +0x5f9
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:73 +0x167
goroutine 481 [chan receive]:
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build.func1(0xc00048a850, 0xc000c9a540, 0xc000113f20)
/go/src/github.com/gohugoio/hugo/hugolib/hugo_sites_build.go:43 +0x83
created by github.com/gohugoio/hugo/hugolib.(*HugoSites).Build
/go/src/github.com/gohugoio/hugo/hugolib/hugo_sites_build.go:40 +0x1b6
goroutine 261 [chan receive]:
github.com/gohugoio/hugo/hugolib.(*Site).errorCollator(0xc000bd0700, 0xc000a77200, 0xc000a77260)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1643 +0x79
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:67 +0xe2
goroutine 347 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x49c1038, 0x72, 0x14e02a0)
/usr/local/go/src/runtime/netpoll.go:182 +0x5d
internal/poll.(*pollDesc).wait(0xc0002dea08, 0x72, 0x104c900, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x1ce09e8, 0xc0002de858, 0x134bb38, 0x4646, 0x5080, 0x4646)
/usr/local/go/src/internal/poll/fd_windows.go:228 +0x124
internal/poll.(*FD).Read(0xc0002de840, 0xc000f7a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_windows.go:502 +0x26b
net.(*netFD).Read(0xc0002de840, 0xc000f7a000, 0x1000, 0x1000, 0x4318c8, 0xc001007938, 0x71d4f1)
/usr/local/go/src/net/fd_windows.go:152 +0x56
net.(*conn).Read(0xc000c26418, 0xc000f7a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:177 +0x70
net/http.(*connReader).Read(0xc000c14de0, 0xc000f7a000, 0x1000, 0x1000, 0x0, 0x5, 0x30001)
/usr/local/go/src/net/http/server.go:787 +0x10e
bufio.(*Reader).fill(0xc0008ac5a0)
/usr/local/go/src/bufio/bufio.go:100 +0x116
bufio.(*Reader).ReadSlice(0xc0008ac5a0, 0xa, 0x28, 0xc001007b00, 0x40dbb3, 0xc000784b00, 0x100)
/usr/local/go/src/bufio/bufio.go:356 +0x44
bufio.(*Reader).ReadLine(0xc0008ac5a0, 0xc001007b08, 0xc00044e000, 0x4970d58, 0x0, 0x40e46f, 0x30)
/usr/local/go/src/bufio/bufio.go:385 +0x3b
net/textproto.(*Reader).readLineSlice(0xc000c14e40, 0xc000784b00, 0xc0002de840, 0x0, 0x0, 0x4318c8)
/usr/local/go/src/net/textproto/reader.go:55 +0x76
net/textproto.(*Reader).ReadLine(...)
/usr/local/go/src/net/textproto/reader.go:36
net/http.readRequest(0xc0008ac5a0, 0x0, 0xc000784b00, 0x0, 0x0)
/usr/local/go/src/net/http/request.go:968 +0x94
net/http.(*conn).readRequest(0xc000ac7220, 0x14f4fa0, 0xc0006fa000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:967 +0x16a
net/http.(*conn).serve(0xc000ac7220, 0x14f4fa0, 0xc0006fa000)
/usr/local/go/src/net/http/server.go:1819 +0x6b4
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2884 +0x2fb
goroutine 443 [chan receive]:
github.com/gohugoio/hugo/livereload.(*connection).writer(0xc000d72500)
/go/src/github.com/gohugoio/hugo/livereload/connection.go:59 +0x61
created by github.com/gohugoio/hugo/livereload.Handler
/go/src/github.com/gohugoio/hugo/livereload/livereload.go:92 +0x13a
goroutine 262 [runnable]:
reflect.Value.Call(0x115dea0, 0x134b9c8, 0x13, 0xc001410a60, 0x1, 0x1, 0x4465c3, 0x20, 0x127e9a0)
/usr/local/go/src/reflect/value.go:305 +0xe1
text/template.safeCall(0x115dea0, 0x134b9c8, 0x13, 0xc001410a60, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/text/template/funcs.go:293 +0xbd
text/template.(*state).evalCall(0xc001305650, 0x1289480, 0xc000aa6060, 0x16, 0x115dea0, 0x134b9c8, 0x13, 0x14f8360, 0xc0012c7110, 0x12e3890, ...)
/usr/local/go/src/text/template/exec.go:703 +0x693
text/template.(*state).evalFunction(0xc001305650, 0x1289480, 0xc000aa6060, 0x16, 0xc0012c70e0, 0x14f8360, 0xc0012c7110, 0xc000886280, 0x1, 0x1, ...)
/usr/local/go/src/text/template/exec.go:564 +0x177
text/template.(*state).evalCommand(0xc001305650, 0x1289480, 0xc000aa6060, 0x16, 0xc0012c7110, 0x1142e80, 0xc000c80c90, 0x98, 0x1176260, 0xc0014082a8, ...)
/usr/local/go/src/text/template/exec.go:461 +0x673
text/template.(*state).evalPipeline(0xc001305650, 0x1289480, 0xc000aa6060, 0x16, 0xc000d55980, 0x0, 0x0, 0x98)
/usr/local/go/src/text/template/exec.go:430 +0x123
text/template.(*state).walk(0xc001305650, 0x1289480, 0xc000aa6060, 0x16, 0x14f8260, 0xc000881b00)
/usr/local/go/src/text/template/exec.go:254 +0x4a3
text/template.(*state).walk(0xc001305650, 0x1289480, 0xc000aa6060, 0x16, 0x14f84a0, 0xc000881740)
/usr/local/go/src/text/template/exec.go:262 +0x14a
text/template.(*Template).execute(0xc000fecf00, 0x14ddce0, 0xc000da0180, 0x1289480, 0xc000aa6060, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:217 +0x1ef
text/template.(*Template).Execute(...)
/usr/local/go/src/text/template/exec.go:200
html/template.(*Template).Execute(0xc0008be120, 0x14ddce0, 0xc000da0180, 0x1289480, 0xc000aa6060, 0x14e7a60, 0xc000a73ea0)
/usr/local/go/src/html/template/template.go:122 +0x94
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc000a73ea0, 0x14ddce0, 0xc000da0180, 0x1289480, 0xc000aa6060, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc000bd0700, 0x128ebaa, 0x4, 0x128dc02, 0x4, 0x1289480, 0xc000aa6060, 0x14ddce0, 0xc000da0180, 0xc000b9ec00, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1801 +0xbf
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc000bd0700, 0xc000a377d0, 0xc001041d48, 0x1e, 0xc001231ee0, 0x13, 0xc000aa6060, 0xc000b9ec00, 0x8, 0x8, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1717 +0x1d5
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc000d9a7e0, 0xc000bd0700, 0xc0012bba40, 0xc000a77200, 0xc0012c8eb0)
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:152 +0x5f9
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:73 +0x167
goroutine 215 [select]:
github.com/gohugoio/hugo/livereload.(*hub).run(0x1ce3da0)
/go/src/github.com/gohugoio/hugo/livereload/hub.go:39 +0x1e4
created by github.com/gohugoio/hugo/livereload.Initialize
/go/src/github.com/gohugoio/hugo/livereload/livereload.go:98 +0x48
goroutine 269 [semacquire]:
sync.runtime_SemacquireMutex(0xc000a379a4, 0xc001261900)
/usr/local/go/src/runtime/sema.go:71 +0x44
sync.(*Mutex).Lock(0xc000a379a0)
/usr/local/go/src/sync/mutex.go:134 +0x110
html/template.(*Template).Lookup(0xc000a523f0, 0xc001261940, 0x18, 0x0)
/usr/local/go/src/html/template/template.go:361 +0x45
github.com/gohugoio/hugo/tpl/tplimpl.(*htmlTemplates).lookup(0xc00076c5c0, 0xc001261940, 0x18, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/tplimpl/template.go:416 +0xa3
github.com/gohugoio/hugo/tpl/tplimpl.(*htmlTemplates).Lookup(0xc00076c5c0, 0xc001261940, 0x18, 0x0, 0x2, 0xc001261940)
/go/src/github.com/gohugoio/hugo/tpl/tplimpl/template.go:397 +0x4a
github.com/gohugoio/hugo/tpl/tplimpl.(*templateHandler).Lookup(0xc000b9fb80, 0xc001261940, 0x18, 0xc000bdb16a, 0xf, 0xc001261940)
/go/src/github.com/gohugoio/hugo/tpl/tplimpl/template.go:202 +0x147
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc000713170, 0xc000bdb16a, 0xf, 0xc000a11540, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/partials/partials.go:98 +0x129
reflect.Value.call(0x118a620, 0xc000713190, 0x13, 0x128da8e, 0x4, 0xc001403590, 0x2, 0x2, 0xc0005b54c0, 0x1, ...)
/usr/local/go/src/reflect/value.go:447 +0x468
reflect.Value.Call(0x118a620, 0xc000713190, 0x13, 0xc001403590, 0x2, 0x2, 0x4465c3, 0x30, 0x127e9a0)
/usr/local/go/src/reflect/value.go:308 +0xab
text/template.safeCall(0x118a620, 0xc000713190, 0x13, 0xc001403590, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/text/template/funcs.go:293 +0xbd
text/template.(*state).evalCall(0xc001313650, 0x1289480, 0xc000d67d10, 0x16, 0x118a620, 0xc000713190, 0x13, 0x14f8360, 0xc000881b60, 0xc000bdb161, ...)
/usr/local/go/src/text/template/exec.go:703 +0x693
text/template.(*state).evalFunction(0xc001313650, 0x1289480, 0xc000d67d10, 0x16, 0xc000881b90, 0x14f8360, 0xc000881b60, 0xc000882bc0, 0x3, 0x4, ...)
/usr/local/go/src/text/template/exec.go:564 +0x177
text/template.(*state).evalCommand(0xc001313650, 0x1289480, 0xc000d67d10, 0x16, 0xc000881b60, 0x1193200, 0x1d07b40, 0x99, 0xc0013134b8, 0x5952ec, ...)
/usr/local/go/src/text/template/exec.go:461 +0x673
text/template.(*state).evalPipeline(0xc001313650, 0x1289480, 0xc000d67d10, 0x16, 0xc000d559e0, 0x0, 0x0, 0x98)
/usr/local/go/src/text/template/exec.go:430 +0x123
text/template.(*state).walk(0xc001313650, 0x1289480, 0xc000d67d10, 0x16, 0x14f8260, 0xc000881bc0)
/usr/local/go/src/text/template/exec.go:254 +0x4a3
text/template.(*state).walk(0xc001313650, 0x1289480, 0xc000d67d10, 0x16, 0x14f84a0, 0xc000881740)
/usr/local/go/src/text/template/exec.go:262 +0x14a
text/template.(*Template).execute(0xc000fecf00, 0x14ddce0, 0xc0012c6780, 0x1289480, 0xc000d67d10, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:217 +0x1ef
text/template.(*Template).Execute(...)
/usr/local/go/src/text/template/exec.go:200
html/template.(*Template).Execute(0xc0008be120, 0x14ddce0, 0xc0012c6780, 0x1289480, 0xc000d67d10, 0x14e7a60, 0xc000641ea0)
/usr/local/go/src/html/template/template.go:122 +0x94
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc000641ea0, 0x14ddce0, 0xc0012c6780, 0x1289480, 0xc000d67d10, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc000bd0700, 0x128ebaa, 0x4, 0x128dc02, 0x4, 0x1289480, 0xc000d67d10, 0x14ddce0, 0xc0012c6780, 0xc0006ed280, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1801 +0xbf
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc000bd0700, 0xc000a377d0, 0xc000f65d48, 0x18, 0xc001231ca0, 0x13, 0xc000d67d10, 0xc0006ed280, 0x8, 0x8, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1717 +0x1d5
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc000d9a7e0, 0xc000bd0700, 0xc0012bba40, 0xc000a77200, 0xc0012c8eb0)
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:152 +0x5f9
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:73 +0x167
goroutine 428 [IO wait]:
internal/poll.runtime_pollWait(0x49c0f68, 0x72, 0x14e02a0)
/usr/local/go/src/runtime/netpoll.go:182 +0x5d
internal/poll.(*pollDesc).wait(0xc0003a4f88, 0x72, 0x104c900, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0xa2
internal/poll.(*ioSrv).ExecIO(0x1ce09e8, 0xc0003a4dd8, 0x134bb38, 0x8f, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_windows.go:228 +0x124
internal/poll.(*FD).Read(0xc0003a4dc0, 0xc000555800, 0x400, 0x400, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_windows.go:502 +0x26b
net.(*netFD).Read(0xc0003a4dc0, 0xc000555800, 0x400, 0x400, 0x5, 0x1cec6b8, 0x83b8060)
/usr/local/go/src/net/fd_windows.go:152 +0x56
net.(*conn).Read(0xc000c26270, 0xc000555800, 0x400, 0x400, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:177 +0x70
bufio.(*Reader).fill(0xc000de4480)
/usr/local/go/src/bufio/bufio.go:100 +0x116
bufio.(*Reader).Peek(0xc000de4480, 0x2, 0xc000040a00, 0x4970d58, 0x0, 0xde8d6c, 0xc0007ef9c0)
/usr/local/go/src/bufio/bufio.go:138 +0x56
github.com/gorilla/websocket.(*Conn).read(0xc0002abb80, 0x2, 0x4f9cb3, 0x1144080, 0x600, 0x600, 0xc000ac8600)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:357 +0x47
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0002abb80, 0x0, 0x0, 0x4fdb74)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:787 +0x63
github.com/gorilla/websocket.(*Conn).NextReader(0xc0002abb80, 0x77, 0x200, 0xc000ac8600, 0x12, 0x600)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:947 +0xa7
github.com/gorilla/websocket.(*Conn).ReadMessage(0xc0002abb80, 0x87, 0x600, 0xc0007efbbf, 0x11, 0x11, 0xffffffffffffffff)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:1028 +0x36
github.com/gohugoio/hugo/livereload.(*connection).reader(0xc000d72500)
/go/src/github.com/gohugoio/hugo/livereload/connection.go:43 +0x4a
github.com/gohugoio/hugo/livereload.Handler(0x14f20a0, 0xc0000fe8c0, 0xc0006e2a00)
/go/src/github.com/gohugoio/hugo/livereload/livereload.go:93 +0x148
net/http.HandlerFunc.ServeHTTP(0x134ae30, 0x14f20a0, 0xc0000fe8c0, 0xc0006e2a00)
/usr/local/go/src/net/http/server.go:1995 +0x4b
net/http.(*ServeMux).ServeHTTP(0xc0006b5380, 0x14f20a0, 0xc0000fe8c0, 0xc0006e2a00)
/usr/local/go/src/net/http/server.go:2375 +0x1dd
net/http.serverHandler.ServeHTTP(0xc0004f3380, 0x14f20a0, 0xc0000fe8c0, 0xc0006e2a00)
/usr/local/go/src/net/http/server.go:2774 +0xaf
net/http.(*conn).serve(0xc000b2aa00, 0x14f4fa0, 0xc000ba2640)
/usr/local/go/src/net/http/server.go:1878 +0x858
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2884 +0x2fb
goroutine 266 [runnable]:
sync.(*Map).Load(0x1ce4688, 0x1144000, 0xc00136a100, 0x4, 0xa25590d, 0x11d4400)
/usr/local/go/src/sync/map.go:102 +0x2b7
reflect.FuncOf(0xc0010f8250, 0x1, 0x1, 0xc0010f8260, 0x1, 0x1, 0x127e900, 0x0, 0x0)
/usr/local/go/src/reflect/type.go:2002 +0x45e
reflect.(*rtype).Method(0x1289480, 0x5c, 0x10b9fcc, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/reflect/type.go:829 +0x4f5
reflect.(*rtype).MethodByName(0x1289480, 0xc000b06d41, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/reflect/type.go:851 +0x1cd
reflect.Value.MethodByName(0x1289480, 0xc0006d6120, 0x16, 0xc000b06d41, 0x4, 0x16, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:1282 +0x7c
text/template.(*state).evalField(0xc00136ab28, 0x1289480, 0xc0006d6120, 0x16, 0xc000b06d41, 0x4, 0x14f83e0, 0xc000ae22d0, 0x0, 0x0, ...)
/usr/local/go/src/text/template/exec.go:592 +0x33b
text/template.(*state).evalFieldChain(0xc00136ab28, 0x1289480, 0xc0006d6120, 0x16, 0x1289480, 0xc0006d6120, 0x16, 0x14f83e0, 0xc000ae22d0, 0xc000869100, ...)
/usr/local/go/src/text/template/exec.go:551 +0x115
text/template.(*state).evalFieldNode(0xc00136ab28, 0x1289480, 0xc0006d6120, 0x16, 0xc000ae22d0, 0xc000d57910, 0x1, 0x1, 0x1193200, 0x1d07b40, ...)
/usr/local/go/src/text/template/exec.go:518 +0x11b
text/template.(*state).evalCommand(0xc00136ab28, 0x1289480, 0xc0006d6120, 0x16, 0xc000ae2270, 0x1193200, 0x1d07b40, 0x99, 0xc00136a990, 0x5952ec, ...)
/usr/local/go/src/text/template/exec.go:456 +0x7af
text/template.(*state).evalPipeline(0xc00136ab28, 0x1289480, 0xc0006d6120, 0x16, 0xc000ee55c0, 0x0, 0x0, 0x98)
/usr/local/go/src/text/template/exec.go:430 +0x123
text/template.(*state).walk(0xc00136ab28, 0x1289480, 0xc0006d6120, 0x16, 0x14f8260, 0xc000ae2300)
/usr/local/go/src/text/template/exec.go:254 +0x4a3
text/template.(*state).walk(0xc00136ab28, 0x1289480, 0xc0006d6120, 0x16, 0x14f84a0, 0xc000aea9c0)
/usr/local/go/src/text/template/exec.go:262 +0x14a
text/template.(*Template).execute(0xc0006e7680, 0x14ddce0, 0xc00134c2d0, 0x1289480, 0xc0006d6120, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:217 +0x1ef
text/template.(*Template).Execute(...)
/usr/local/go/src/text/template/exec.go:200
html/template.(*Template).Execute(0xc000aea960, 0x14ddce0, 0xc00134c2d0, 0x1289480, 0xc0006d6120, 0x430fd6, 0x8)
/usr/local/go/src/html/template/template.go:122 +0x94
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc000d41720, 0x14ddce0, 0xc00134c2d0, 0x1289480, 0xc0006d6120, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc000713170, 0xc000a94d2e, 0x9, 0xc0010f81d0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/partials/partials.go:132 +0x21e
reflect.Value.call(0x118a620, 0xc000713190, 0x13, 0x128da8e, 0x4, 0xc00134d230, 0x2, 0x2, 0xc000ee1240, 0x1, ...)
/usr/local/go/src/reflect/value.go:447 +0x468
reflect.Value.Call(0x118a620, 0xc000713190, 0x13, 0xc00134d230, 0x2, 0x2, 0x4465c3, 0x30, 0x127e9a0)
/usr/local/go/src/reflect/value.go:308 +0xab
text/template.safeCall(0x118a620, 0xc000713190, 0x13, 0xc00134d230, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/text/template/funcs.go:293 +0xbd
text/template.(*state).evalCall(0xc00136b650, 0x1289480, 0xc0006d6120, 0x16, 0x118a620, 0xc000713190, 0x13, 0x14f8360, 0xc000e55560, 0xc000a94d25, ...)
/usr/local/go/src/text/template/exec.go:703 +0x693
text/template.(*state).evalFunction(0xc00136b650, 0x1289480, 0xc0006d6120, 0x16, 0xc000e55590, 0x14f8360, 0xc000e55560, 0xc000890b80, 0x3, 0x4, ...)
/usr/local/go/src/text/template/exec.go:564 +0x177
text/template.(*state).evalCommand(0xc00136b650, 0x1289480, 0xc0006d6120, 0x16, 0xc000e55560, 0x1193200, 0x1d07b40, 0x99, 0x1144080, 0x6170, ...)
/usr/local/go/src/text/template/exec.go:461 +0x673
text/template.(*state).evalPipeline(0xc00136b650, 0x1289480, 0xc0006d6120, 0x16, 0xc0006b9260, 0x0, 0x0, 0x98)
/usr/local/go/src/text/template/exec.go:430 +0x123
text/template.(*state).walk(0xc00136b650, 0x1289480, 0xc0006d6120, 0x16, 0x14f8260, 0xc000e555c0)
/usr/local/go/src/text/template/exec.go:254 +0x4a3
text/template.(*state).walk(0xc00136b650, 0x1289480, 0xc0006d6120, 0x16, 0x14f84a0, 0xc000e551d0)
/usr/local/go/src/text/template/exec.go:262 +0x14a
text/template.(*Template).execute(0xc0006faec0, 0x14ddce0, 0xc000ddc5d0, 0x1289480, 0xc0006d6120, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:217 +0x1ef
text/template.(*Template).Execute(...)
/usr/local/go/src/text/template/exec.go:200
html/template.(*Template).Execute(0xc000e55bc0, 0x14ddce0, 0xc000ddc5d0, 0x1289480, 0xc0006d6120, 0x14e7a60, 0xc000904f00)
/usr/local/go/src/html/template/template.go:122 +0x94
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc000904f00, 0x14ddce0, 0xc000ddc5d0, 0x1289480, 0xc0006d6120, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc000bd0700, 0x128e7c6, 0x4, 0x128dc02, 0x4, 0x1289480, 0xc0006d6120, 0x14ddce0, 0xc000ddc5d0, 0xc0003b3000, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1801 +0xbf
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc000bd0700, 0xc000a377d0, 0xc00103dd48, 0x11, 0xc00127b0a0, 0xb, 0xc0006d6120, 0xc0003b3000, 0x24, 0x40, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1717 +0x1d5
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc000d9a7e0, 0xc000bd0700, 0xc0012bba40, 0xc000a77200, 0xc0012c8eb0)
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:152 +0x5f9
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:73 +0x167
goroutine 263 [semacquire]:
sync.runtime_SemacquireMutex(0xc000a379a4, 0xc001229d00)
/usr/local/go/src/runtime/sema.go:71 +0x44
sync.(*Mutex).Lock(0xc000a379a0)
/usr/local/go/src/sync/mutex.go:134 +0x110
html/template.(*Template).Lookup(0xc000a523f0, 0xc001229d80, 0x18, 0x0)
/usr/local/go/src/html/template/template.go:361 +0x45
github.com/gohugoio/hugo/tpl/tplimpl.(*htmlTemplates).lookup(0xc00076c5c0, 0xc001229d80, 0x18, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/tplimpl/template.go:416 +0xa3
github.com/gohugoio/hugo/tpl/tplimpl.(*htmlTemplates).Lookup(0xc00076c5c0, 0xc001229d80, 0x18, 0x0, 0x2, 0xc001229d80)
/go/src/github.com/gohugoio/hugo/tpl/tplimpl/template.go:397 +0x4a
github.com/gohugoio/hugo/tpl/tplimpl.(*templateHandler).Lookup(0xc000b9fb80, 0xc001229d80, 0x18, 0xc000a9596a, 0xf, 0xc001229d80)
/go/src/github.com/gohugoio/hugo/tpl/tplimpl/template.go:202 +0x147
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc000713170, 0xc000a9596a, 0xf, 0xc000f585c0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/partials/partials.go:98 +0x129
reflect.Value.call(0x118a620, 0xc000713190, 0x13, 0x128da8e, 0x4, 0xc001444360, 0x2, 0x2, 0xc000908240, 0x1, ...)
/usr/local/go/src/reflect/value.go:447 +0x468
reflect.Value.Call(0x118a620, 0xc000713190, 0x13, 0xc001444360, 0x2, 0x2, 0x4465c3, 0x30, 0x127e9a0)
/usr/local/go/src/reflect/value.go:308 +0xab
text/template.safeCall(0x118a620, 0xc000713190, 0x13, 0xc001444360, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/text/template/funcs.go:293 +0xbd
text/template.(*state).evalCall(0xc001361650, 0x1289480, 0xc000a53ce0, 0x16, 0x118a620, 0xc000713190, 0x13, 0x14f8360, 0xc000e3b8f0, 0xc000a95961, ...)
/usr/local/go/src/text/template/exec.go:703 +0x693
text/template.(*state).evalFunction(0xc001361650, 0x1289480, 0xc000a53ce0, 0x16, 0xc000e3b920, 0x14f8360, 0xc000e3b8f0, 0xc000e34a00, 0x3, 0x4, ...)
/usr/local/go/src/text/template/exec.go:564 +0x177
text/template.(*state).evalCommand(0xc001361650, 0x1289480, 0xc000a53ce0, 0x16, 0xc000e3b8f0, 0x1193200, 0x1d07b40, 0x99, 0xc0013614b8, 0x5952ec, ...)
/usr/local/go/src/text/template/exec.go:461 +0x673
text/template.(*state).evalPipeline(0xc001361650, 0x1289480, 0xc000a53ce0, 0x16, 0xc000e56420, 0x0, 0x0, 0x98)
/usr/local/go/src/text/template/exec.go:430 +0x123
text/template.(*state).walk(0xc001361650, 0x1289480, 0xc000a53ce0, 0x16, 0x14f8260, 0xc000e3b950)
/usr/local/go/src/text/template/exec.go:254 +0x4a3
text/template.(*state).walk(0xc001361650, 0x1289480, 0xc000a53ce0, 0x16, 0x14f84a0, 0xc000e3b4d0)
/usr/local/go/src/text/template/exec.go:262 +0x14a
text/template.(*Template).execute(0xc000b99080, 0x14ddce0, 0xc000aa6300, 0x1289480, 0xc000a53ce0, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:217 +0x1ef
text/template.(*Template).Execute(...)
/usr/local/go/src/text/template/exec.go:200
html/template.(*Template).Execute(0xc000e3be90, 0x14ddce0, 0xc000aa6300, 0x1289480, 0xc000a53ce0, 0x14e7a60, 0xc000641f90)
/usr/local/go/src/html/template/template.go:122 +0x94
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc000641f90, 0x14ddce0, 0xc000aa6300, 0x1289480, 0xc000a53ce0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc000bd0700, 0x129b47f, 0x7, 0x128dc02, 0x4, 0x1289480, 0xc000a53ce0, 0x14ddce0, 0xc000aa6300, 0xc0001bd000, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1801 +0xbf
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc000bd0700, 0xc000a377d0, 0xc0006ffd48, 0xb, 0xc0012b8040, 0x11, 0xc000a53ce0, 0xc0001bd000, 0x24, 0x40, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1717 +0x1d5
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc000d9a7e0, 0xc000bd0700, 0xc0012bba40, 0xc000a77200, 0xc0012c8eb0)
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:152 +0x5f9
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:73 +0x167
goroutine 264 [runnable]:
html/template.(*escaper).escape(0xc000bd5300, 0x0, 0x0, 0x14f8660, 0xc0010b0030, 0x0, 0x0)
/usr/local/go/src/html/template/escape.go:123 +0x3e0
html/template.(*escaper).escapeList(0xc000bd5300, 0x0, 0x0, 0xc000defe60, 0x0, 0x0)
/usr/local/go/src/html/template/escape.go:493 +0x99
html/template.(*escaper).escapeListConditionally(0xc000a379b8, 0x0, 0x0, 0xc000defe60, 0xc0013228c8, 0x0, 0x0, 0xc0013228e8)
/usr/local/go/src/html/template/escape.go:508 +0x2e8
html/template.(*escaper).escapeTemplateBody(0xc000a379b8, 0x0, 0x0, 0xc000cdbe00, 0x0, 0x0, 0x7)
/usr/local/go/src/html/template/escape.go:626 +0xee
html/template.(*escaper).computeOutCtx(0xc000a379b8, 0x0, 0x0, 0xc000cdbe00, 0x0, 0x0)
/usr/local/go/src/html/template/escape.go:587 +0x6c
html/template.(*escaper).escapeTree(0xc000a379b8, 0x0, 0x0, 0x14f84a0, 0xc000defe60, 0xc000b52720, 0x18, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/html/template/escape.go:580 +0x1bc
html/template.escapeTemplate(0xc000defe00, 0x14f84a0, 0xc000defe60, 0xc000b52720, 0x18, 0xc0003e60c0, 0x3100000000000018)
/usr/local/go/src/html/template/escape.go:22 +0xa5
html/template.(*Template).escape(0xc000defe00, 0x0, 0x0)
/usr/local/go/src/html/template/template.go:102 +0x137
html/template.(*Template).Execute(0xc000defe00, 0x14ddce0, 0xc0013783c0, 0x1289480, 0xc000d24f30, 0x430fd6, 0x8)
/usr/local/go/src/html/template/template.go:119 +0x36
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc0013588c0, 0x14ddce0, 0xc0013783c0, 0x1289480, 0xc000d24f30, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include(0xc000713170, 0xc000bdb16a, 0xf, 0xc0010dc060, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/partials/partials.go:132 +0x21e
reflect.Value.call(0x118a620, 0xc000713190, 0x13, 0x128da8e, 0x4, 0xc001379ef0, 0x2, 0x2, 0xc0005837c0, 0x1, ...)
/usr/local/go/src/reflect/value.go:447 +0x468
reflect.Value.Call(0x118a620, 0xc000713190, 0x13, 0xc001379ef0, 0x2, 0x2, 0x4465c3, 0x30, 0x127e9a0)
/usr/local/go/src/reflect/value.go:308 +0xab
text/template.safeCall(0x118a620, 0xc000713190, 0x13, 0xc001379ef0, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/text/template/funcs.go:293 +0xbd
text/template.(*state).evalCall(0xc001323650, 0x1289480, 0xc000d24f30, 0x16, 0x118a620, 0xc000713190, 0x13, 0x14f8360, 0xc000881b60, 0xc000bdb161, ...)
/usr/local/go/src/text/template/exec.go:703 +0x693
text/template.(*state).evalFunction(0xc001323650, 0x1289480, 0xc000d24f30, 0x16, 0xc000881b90, 0x14f8360, 0xc000881b60, 0xc000882bc0, 0x3, 0x4, ...)
/usr/local/go/src/text/template/exec.go:564 +0x177
text/template.(*state).evalCommand(0xc001323650, 0x1289480, 0xc000d24f30, 0x16, 0xc000881b60, 0x1193200, 0x1d07b40, 0x99, 0xc0013234b8, 0x5952ec, ...)
/usr/local/go/src/text/template/exec.go:461 +0x673
text/template.(*state).evalPipeline(0xc001323650, 0x1289480, 0xc000d24f30, 0x16, 0xc000d559e0, 0x0, 0x0, 0x98)
/usr/local/go/src/text/template/exec.go:430 +0x123
text/template.(*state).walk(0xc001323650, 0x1289480, 0xc000d24f30, 0x16, 0x14f8260, 0xc000881bc0)
/usr/local/go/src/text/template/exec.go:254 +0x4a3
text/template.(*state).walk(0xc001323650, 0x1289480, 0xc000d24f30, 0x16, 0x14f84a0, 0xc000881740)
/usr/local/go/src/text/template/exec.go:262 +0x14a
text/template.(*Template).execute(0xc000fecf00, 0x14ddce0, 0xc000ddfa70, 0x1289480, 0xc000d24f30, 0x0, 0x0)
/usr/local/go/src/text/template/exec.go:217 +0x1ef
text/template.(*Template).Execute(...)
/usr/local/go/src/text/template/exec.go:200
html/template.(*Template).Execute(0xc0008be120, 0x14ddce0, 0xc000ddfa70, 0x1289480, 0xc000d24f30, 0x14e7a60, 0xc000dc85a0)
/usr/local/go/src/html/template/template.go:122 +0x94
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute(0xc000dc85a0, 0x14ddce0, 0xc000ddfa70, 0x1289480, 0xc000d24f30, 0x0, 0x0)
/go/src/github.com/gohugoio/hugo/tpl/template.go:163 +0xb6
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts(0xc000bd0700, 0x128ebaa, 0x4, 0x128dc02, 0x4, 0x1289480, 0xc000d24f30, 0x14ddce0, 0xc000ddfa70, 0xc000d28a80, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1801 +0xbf
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage(0xc000bd0700, 0xc000a377d0, 0xc000385d48, 0x12, 0xc001231da0, 0x14, 0xc000d24f30, 0xc000d28a80, 0x8, 0x8, ...)
/go/src/github.com/gohugoio/hugo/hugolib/site.go:1717 +0x1d5
github.com/gohugoio/hugo/hugolib.pageRenderer(0xc000d9a7e0, 0xc000bd0700, 0xc0012bba40, 0xc000a77200, 0xc0012c8eb0)
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:152 +0x5f9
created by github.com/gohugoio/hugo/hugolib.(*Site).renderPages
/go/src/github.com/gohugoio/hugo/hugolib/site_render.go:73 +0x167
c:\Hugo\hugo-pagination-bug>
We'll hit with something in private.
Here's a repo that could help: https://github.com/theNewDynamic/pagination-issue
If this is too much work to indentify what part of the code may trigger it (a lot of template files in there), then please let us know how we could help.
In order to reproduce the problem:
yarn installyarn deployhugo serveThanks a lot!
yarn deploy.HUGO_NUMWORKERMULTIPLIER=1 I got past the yarn deploy-race.HUGO_NUMWORKERMULTIPLIER=1 dosen’t solve the race situation when visiting the home page.In the source this seems interesting, but maybe there’s more to it.
https://github.com/gohugoio/hugo/blob/527cf1ab03fe4746885e90a197bc25decad88f89/hugolib/site_render.go#L71-L74
@larzza what exactly do you mean by "race already at yarn deploy"?
@bep What I didn’t know when I wrote that was that I always get a race at site generation time, even for my own site/theme. This race dissapears when setting HUGO_NUMWORKERMULTIPLIER=1. This race might be the same as the one that you found in a test and wrote report stating ”probably a bug in Go” (https://github.com/gohugoio/hugo/issues/5926). I have been meaning to ask you about it but other things come between. I have deep dived in the code, but if it is a bug in Hugo it is deep down, I think. Because the parallelism at the top level seeems right to me. The race is apparent also when buildng Hugo with Go 1.11.
I can elaborate on this another day if you like.
The place to start looking for this race:
https://github.com/gohugoio/hugo/blob/527cf1ab03fe4746885e90a197bc25decad88f89/hugolib/site_render.go#L71
I can elaborate on this another day if you like.
I don't need elaboration, I need some kind of stack trace (i.e. the log when this happens).
That said, I have tested the site in question, and I did get this error once, but I could not repeat it.
My best guess is this:
There are situations where we get concurrent rebuilds, which I guess we currently do not protect against. I wish I had a better test case, but I can and probably also should put in some kind of top level lock.
I think this is two different errors. One at page rendering time (the one I’m talking about). And one at hugo server time... When setting HUGO_NUMWORKERMULTIPLIER=2 it is more random, sometimes I get the race somtimes not. Stacktrace tomorrow!
Ok, I don't know if this will help, but I finally found the piece of code that, if removed, prevented the bug to happen. I have no idea why, but this may help.
If you go into the repo I shared and remove this line: https://github.com/theNewDynamic/pagination-issue/blob/de798e7f9c7854c53d7e016cb3d9d63ef1c27c67/layouts/_default/baseof.html#L8
Then I am not longer able to reproduce the bug. You can check that partial file here https://github.com/theNewDynamic/pagination-issue/blob/master/components/layout_module-base/layouts/partials/_head/scripts.html
I tried removing Fingerprinting, but the bug was still there, only when I stopped calling this partial all together does the bug stops happening 🤷♂
Sorry I cannot be of better help.
Before you ask, it’s there so we can build js with a tier bundle and still use Hugo pipes to fingerprint etc..
I did suspect fingerprinting was the culprit (on server) but after removing it it still triggered the bug.
maybe if (fileExists… is the culprit, which we're eliminating.
@regisphilibert I'm pretty sure I can fix this issue if I can reproduce it reliably -- that is, in a way that I know that it's fixed when I have applied my "fix".
Note that I'm pretty sure that I have a fix for it, and if I don't manage to reproduce this, I will just issue that patch -- as it should be in there anyway.
Running stress -c 2 while starting the server and navigating from home to another section seems to give me these errors more often -- supporting my theory. I will see if I can narrow it down.
@bep Do you have a branch with the fix?
@bep Thanks! Might not get around to it today....
The above patch fixes it for me.
@bep The fix doesn't solve the race at render time (which probably is another issue anyway, so no surprise).
In this test I got: Found 3 data race(s)
==================
WARNING: DATA RACE
Read at 0x00c0004c1ad0 by goroutine 75:
runtime.mapaccess1_faststr()
/usr/local/go/src/runtime/map_faststr.go:12 +0x0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:398 +0x136
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkRange.func1()
/usr/local/go/src/text/template/exec.go:349 +0x14d
text/template.(*state).walkRange()
/usr/local/go/src/text/template/exec.go:358 +0x6e1
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:265 +0x61a
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkIfOrWith()
/usr/local/go/src/text/template/exec.go:292 +0x1eb
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:259 +0x49c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:412 +0x3d0
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkIfOrWith()
/usr/local/go/src/text/template/exec.go:292 +0x1eb
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:259 +0x49c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkRange.func1()
/usr/local/go/src/text/template/exec.go:349 +0x14d
text/template.(*state).walkRange()
/usr/local/go/src/text/template/exec.go:358 +0x6e1
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:265 +0x61a
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:412 +0x3d0
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts()
/src/goapp/hugolib/site.go:1801 +0xc8
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage()
/src/goapp/hugolib/site.go:1717 +0x297
github.com/gohugoio/hugo/hugolib.pageRenderer()
/src/goapp/hugolib/site_render.go:152 +0x8ed
Previous write at 0x00c0004c1ad0 by goroutine 11:
runtime.mapassign_faststr()
/usr/local/go/src/runtime/map_faststr.go:202 +0x0
text/template.(*Template).associate()
/usr/local/go/src/text/template/template.go:222 +0x19e
text/template.(*Template).AddParseTree()
/usr/local/go/src/text/template/template.go:128 +0x2ab
html/template.(*escaper).commit()
/usr/local/go/src/html/template/escape.go:810 +0x2b6
html/template.escapeTemplate()
/usr/local/go/src/html/template/escape.go:38 +0x318
html/template.(*Template).escape()
/usr/local/go/src/html/template/template.go:102 +0x319
html/template.(*Template).Execute()
/usr/local/go/src/html/template/template.go:119 +0x3c
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:412 +0x3d0
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkIfOrWith()
/usr/local/go/src/text/template/exec.go:292 +0x1eb
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:259 +0x49c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts()
/src/goapp/hugolib/site.go:1801 +0xc8
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage()
/src/goapp/hugolib/site.go:1717 +0x297
github.com/gohugoio/hugo/hugolib.pageRenderer()
/src/goapp/hugolib/site_render.go:152 +0x8ed
Goroutine 75 (running) created at:
github.com/gohugoio/hugo/hugolib.(*Site).renderPages()
/src/goapp/hugolib/site_render.go:73 +0x199
github.com/gohugoio/hugo/hugolib.(*Site).render()
/src/goapp/hugolib/site.go:1161 +0x8b
github.com/gohugoio/hugo/hugolib.(*HugoSites).render()
/src/goapp/hugolib/hugo_sites_build.go:308 +0x9f0
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build.func4()
/src/goapp/hugolib/hugo_sites_build.go:127 +0x57
runtime/trace.WithRegion()
/usr/local/go/src/runtime/trace/annotation.go:137 +0x10b
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build()
/src/goapp/hugolib/hugo_sites_build.go:129 +0xa77
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func3()
/src/goapp/commands/hugo.go:763 +0x113
golang.org/x/sync/errgroup.(*Group).Go.func1()
/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:58 +0x64
Goroutine 11 (running) created at:
github.com/gohugoio/hugo/hugolib.(*Site).renderPages()
/src/goapp/hugolib/site_render.go:73 +0x199
github.com/gohugoio/hugo/hugolib.(*Site).render()
/src/goapp/hugolib/site.go:1161 +0x8b
github.com/gohugoio/hugo/hugolib.(*HugoSites).render()
/src/goapp/hugolib/hugo_sites_build.go:308 +0x9f0
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build.func4()
/src/goapp/hugolib/hugo_sites_build.go:127 +0x57
runtime/trace.WithRegion()
/usr/local/go/src/runtime/trace/annotation.go:137 +0x10b
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build()
/src/goapp/hugolib/hugo_sites_build.go:129 +0xa77
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func3()
/src/goapp/commands/hugo.go:763 +0x113
golang.org/x/sync/errgroup.(*Group).Go.func1()
/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:58 +0x64
==================
==================
WARNING: DATA RACE
Write at 0x00c0004c1ad0 by goroutine 11:
runtime.mapassign_faststr()
/usr/local/go/src/runtime/map_faststr.go:202 +0x0
text/template.(*Template).associate()
/usr/local/go/src/text/template/template.go:222 +0x19e
text/template.(*Template).AddParseTree()
/usr/local/go/src/text/template/template.go:128 +0x2ab
html/template.(*escaper).commit()
/usr/local/go/src/html/template/escape.go:810 +0x2b6
html/template.escapeTemplate()
/usr/local/go/src/html/template/escape.go:38 +0x318
html/template.(*Template).escape()
/usr/local/go/src/html/template/template.go:102 +0x319
html/template.(*Template).Execute()
/usr/local/go/src/html/template/template.go:119 +0x3c
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:412 +0x3d0
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkIfOrWith()
/usr/local/go/src/text/template/exec.go:292 +0x1eb
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:259 +0x49c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts()
/src/goapp/hugolib/site.go:1801 +0xc8
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage()
/src/goapp/hugolib/site.go:1717 +0x297
github.com/gohugoio/hugo/hugolib.pageRenderer()
/src/goapp/hugolib/site_render.go:152 +0x8ed
Previous read at 0x00c0004c1ad0 by goroutine 73:
runtime.mapaccess1_faststr()
/usr/local/go/src/runtime/map_faststr.go:12 +0x0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:398 +0x136
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkRange.func1()
/usr/local/go/src/text/template/exec.go:349 +0x14d
text/template.(*state).walkRange()
/usr/local/go/src/text/template/exec.go:358 +0x6e1
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:265 +0x61a
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkIfOrWith()
/usr/local/go/src/text/template/exec.go:292 +0x1eb
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:259 +0x49c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:412 +0x3d0
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkIfOrWith()
/usr/local/go/src/text/template/exec.go:292 +0x1eb
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:259 +0x49c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkRange.func1()
/usr/local/go/src/text/template/exec.go:349 +0x14d
text/template.(*state).walkRange()
/usr/local/go/src/text/template/exec.go:358 +0x6e1
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:265 +0x61a
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:412 +0x3d0
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts()
/src/goapp/hugolib/site.go:1801 +0xc8
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage()
/src/goapp/hugolib/site.go:1717 +0x297
github.com/gohugoio/hugo/hugolib.pageRenderer()
/src/goapp/hugolib/site_render.go:152 +0x8ed
Goroutine 11 (running) created at:
github.com/gohugoio/hugo/hugolib.(*Site).renderPages()
/src/goapp/hugolib/site_render.go:73 +0x199
github.com/gohugoio/hugo/hugolib.(*Site).render()
/src/goapp/hugolib/site.go:1161 +0x8b
github.com/gohugoio/hugo/hugolib.(*HugoSites).render()
/src/goapp/hugolib/hugo_sites_build.go:308 +0x9f0
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build.func4()
/src/goapp/hugolib/hugo_sites_build.go:127 +0x57
runtime/trace.WithRegion()
/usr/local/go/src/runtime/trace/annotation.go:137 +0x10b
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build()
/src/goapp/hugolib/hugo_sites_build.go:129 +0xa77
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func3()
/src/goapp/commands/hugo.go:763 +0x113
golang.org/x/sync/errgroup.(*Group).Go.func1()
/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:58 +0x64
Goroutine 73 (running) created at:
github.com/gohugoio/hugo/hugolib.(*Site).renderPages()
/src/goapp/hugolib/site_render.go:73 +0x199
github.com/gohugoio/hugo/hugolib.(*Site).render()
/src/goapp/hugolib/site.go:1161 +0x8b
github.com/gohugoio/hugo/hugolib.(*HugoSites).render()
/src/goapp/hugolib/hugo_sites_build.go:308 +0x9f0
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build.func4()
/src/goapp/hugolib/hugo_sites_build.go:127 +0x57
runtime/trace.WithRegion()
/usr/local/go/src/runtime/trace/annotation.go:137 +0x10b
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build()
/src/goapp/hugolib/hugo_sites_build.go:129 +0xa77
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func3()
/src/goapp/commands/hugo.go:763 +0x113
golang.org/x/sync/errgroup.(*Group).Go.func1()
/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:58 +0x64
==================
==================
WARNING: DATA RACE
Read at 0x00c0004c1ad0 by goroutine 73:
runtime.mapaccess1_faststr()
/usr/local/go/src/runtime/map_faststr.go:12 +0x0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:398 +0x136
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkRange.func1()
/usr/local/go/src/text/template/exec.go:349 +0x14d
text/template.(*state).walkRange()
/usr/local/go/src/text/template/exec.go:358 +0x6e1
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:265 +0x61a
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkIfOrWith()
/usr/local/go/src/text/template/exec.go:292 +0x1eb
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:259 +0x49c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:412 +0x3d0
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkIfOrWith()
/usr/local/go/src/text/template/exec.go:292 +0x1eb
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:259 +0x49c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkRange.func1()
/usr/local/go/src/text/template/exec.go:349 +0x14d
text/template.(*state).walkRange()
/usr/local/go/src/text/template/exec.go:358 +0x6e1
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:265 +0x61a
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:412 +0x3d0
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts()
/src/goapp/hugolib/site.go:1801 +0xc8
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage()
/src/goapp/hugolib/site.go:1717 +0x297
github.com/gohugoio/hugo/hugolib.pageRenderer()
/src/goapp/hugolib/site_render.go:152 +0x8ed
Previous write at 0x00c0004c1ad0 by goroutine 11:
runtime.mapassign_faststr()
/usr/local/go/src/runtime/map_faststr.go:202 +0x0
text/template.(*Template).associate()
/usr/local/go/src/text/template/template.go:222 +0x19e
text/template.(*Template).AddParseTree()
/usr/local/go/src/text/template/template.go:128 +0x2ab
html/template.(*escaper).commit()
/usr/local/go/src/html/template/escape.go:810 +0x2b6
html/template.escapeTemplate()
/usr/local/go/src/html/template/escape.go:38 +0x318
html/template.(*Template).escape()
/usr/local/go/src/html/template/template.go:102 +0x319
html/template.(*Template).Execute()
/usr/local/go/src/html/template/template.go:119 +0x3c
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include()
/src/goapp/tpl/partials/partials.go:132 +0x2e9
github.com/gohugoio/hugo/tpl/partials.(*Namespace).Include-fm()
/src/goapp/tpl/partials/partials.go:85 +0x86
runtime.call128()
/usr/local/go/src/runtime/asm_amd64.s:521 +0x51
reflect.Value.Call()
/usr/local/go/src/reflect/value.go:308 +0xc0
text/template.safeCall()
/usr/local/go/src/text/template/funcs.go:293 +0xdd
text/template.(*state).evalCall()
/usr/local/go/src/text/template/exec.go:703 +0x6e0
text/template.(*state).evalFunction()
/usr/local/go/src/text/template/exec.go:564 +0x1d7
text/template.(*state).evalCommand()
/usr/local/go/src/text/template/exec.go:461 +0xb0f
text/template.(*state).evalPipeline()
/usr/local/go/src/text/template/exec.go:430 +0x1ff
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:254 +0x69c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkTemplate()
/usr/local/go/src/text/template/exec.go:412 +0x3d0
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:267 +0x2a5
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*state).walkIfOrWith()
/usr/local/go/src/text/template/exec.go:292 +0x1eb
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:259 +0x49c
text/template.(*state).walk()
/usr/local/go/src/text/template/exec.go:262 +0x1a0
text/template.(*Template).execute()
/usr/local/go/src/text/template/exec.go:217 +0x2f8
html/template.(*Template).Execute()
/usr/local/go/src/text/template/exec.go:200 +0xd3
github.com/gohugoio/hugo/tpl.(*TemplateAdapter).Execute()
/src/goapp/tpl/template.go:163 +0xf8
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts()
/src/goapp/hugolib/site.go:1801 +0xc8
github.com/gohugoio/hugo/hugolib.(*Site).renderAndWritePage()
/src/goapp/hugolib/site.go:1717 +0x297
github.com/gohugoio/hugo/hugolib.pageRenderer()
/src/goapp/hugolib/site_render.go:152 +0x8ed
Goroutine 73 (running) created at:
github.com/gohugoio/hugo/hugolib.(*Site).renderPages()
/src/goapp/hugolib/site_render.go:73 +0x199
github.com/gohugoio/hugo/hugolib.(*Site).render()
/src/goapp/hugolib/site.go:1161 +0x8b
github.com/gohugoio/hugo/hugolib.(*HugoSites).render()
/src/goapp/hugolib/hugo_sites_build.go:308 +0x9f0
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build.func4()
/src/goapp/hugolib/hugo_sites_build.go:127 +0x57
runtime/trace.WithRegion()
/usr/local/go/src/runtime/trace/annotation.go:137 +0x10b
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build()
/src/goapp/hugolib/hugo_sites_build.go:129 +0xa77
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func3()
/src/goapp/commands/hugo.go:763 +0x113
golang.org/x/sync/errgroup.(*Group).Go.func1()
/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:58 +0x64
Goroutine 11 (running) created at:
github.com/gohugoio/hugo/hugolib.(*Site).renderPages()
/src/goapp/hugolib/site_render.go:73 +0x199
github.com/gohugoio/hugo/hugolib.(*Site).render()
/src/goapp/hugolib/site.go:1161 +0x8b
github.com/gohugoio/hugo/hugolib.(*HugoSites).render()
/src/goapp/hugolib/hugo_sites_build.go:308 +0x9f0
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build.func4()
/src/goapp/hugolib/hugo_sites_build.go:127 +0x57
runtime/trace.WithRegion()
/usr/local/go/src/runtime/trace/annotation.go:137 +0x10b
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build()
/src/goapp/hugolib/hugo_sites_build.go:129 +0xa77
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func3()
/src/goapp/commands/hugo.go:763 +0x113
golang.org/x/sync/errgroup.(*Group).Go.func1()
/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:58 +0x64
==================
@larzza that data race is already in an issue somewhere (and is probably a bug in Go that I have not been able to create a standalone repro for). For the future: I almost never read comments on closed issues. Which isn't a way of saying that I guarantee that it is fixed, it's just a way to reduce the number of notifications. So, if an issue isn't fixed => new issue. Also, it would be good if we could make one issue about one thing, and that thing only.
@bep I agree! I think you are referencing https://github.com/gohugoio/hugo/issues/5926 as I mentioned above. Let us continue the discussion on that one.
Sorry I was no better help 🛌 ...
Anyhow, after hours of trying to isolate this bug, I'm confident I would be able to reproduce it, was it still around on 55.6.
I can confirm all is good on .55.6 and it's amazing news!
Thanks a ton for this quick fix and release.
Works for me now... thanks...
Most helpful comment
Works for me now... thanks...