Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcojakob/fd575644598a6007da61da60a986d7b5 to your computer and use it in GitHub Desktop.
Save marcojakob/fd575644598a6007da61da60a986d7b5 to your computer and use it in GitHub Desktop.
3:00:24 AM: fatal error: concurrent map read and map write
3:00:24 AM:
goroutine 113 [running]:
runtime.throw(0xd176c0, 0x21)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:547 +0x90 fp=0xc8214cf418 sp=0xc8214cf400
runtime.mapaccess1_faststr(0xa669a0, 0xc82032eb40, 0xc820378d7c, 0xd, 0xc820cb0c30)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/hashmap_fast.go:202 +0x5b fp=0xc8214cf478 sp=0xc8214cf418
text/template.(*state).walkTemplate(0xc8214cf910, 0xc59520, 0xc820521000, 0x16, 0xc82033b1c0)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:358 +0xe9 fp=0xc8214cf588 sp=0xc8214cf478
text/template.(*state).walk(0xc8214cf910, 0xc59520, 0xc820521000, 0x16, 0x7f5796c268e0, 0xc82033b1c0)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:228 +0x5b7 fp=0xc8214cf6d0 sp=0xc8214cf588
text/template.(*state).walk(0xc8214cf910, 0xc59520, 0xc820521000, 0x16, 0x7f5796caa720, 0xc820340c90)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:223 +0x6a1 fp=0xc8214cf818 sp=0xc8214cf6d0
text/template.(*Template).Execute(0xc820489100, 0x7f5796c61a80, 0xc82055bc70, 0xc59520, 0xc820521000, 0x0, 0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:178 +0x2a7 fp=0xc8214cf958 sp=0xc8214cf818
html/template.(*Template).Execute(0xc82032fb30, 0x7f5796c61a80, 0xc82055bc70, 0xc59520, 0xc820521000, 0x0, 0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/html/template/template.go:104 +0x9a fp=0xc8214cf9a8 sp=0xc8214cf958
github.com/spf13/hugo/hugolib.(*Site).renderThing(0xc820438000, 0xc59520,
3:00:24 AM: 0xc820521000, 0xc8208dc530, 0x10, 0x7f5796c61a80, 0xc82055bc70, 0x0, 0x0)
/Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:2044 +0xc2 fp=0xc8214cfa40 sp=0xc8214cf9a8
github.com/spf13/hugo/hugolib.(*Site).render(0xc820438000, 0xc820dee3c0, 0x2d, 0xc59520, 0xc820521000, 0x7f5796c61a80, 0xc82055bc70, 0xc82112b700, 0x5, 0x8, ...)
/Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:2018 +0x2be fp=0xc8214cfb20 sp=0xc8214cfa40
github.com/spf13/hugo/hugolib.(*Site).renderAndWritePage(0xc820438000, 0xc820dee3c0, 0x2d, 0xc820dee390, 0x2a, 0xc59520, 0xc820521000, 0xc82112b700, 0x5, 0x8, ...)
/Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1938 +0x135 fp=0xc8214cfe58 sp=0xc8214cfb20
github.com/spf13/hugo/hugolib.pageRenderer(0xc820438000, 0xc8206d3c80, 0xc8206d3c20, 0xc8208c2180)
/Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1406 +0x24a fp=0xc8214cff60 sp=0xc8214cfe58
runtime.goexit()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8214cff68 sp=0xc8214cff60
created by github.com/spf13/hugo/hugolib.(*Site).renderPages
/Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1383 +0x37a
goroutine 1 [chan send]:
github.com/spf13/hugo/hugolib.(*Site).renderPages(0xc820438000, 0x0, 0x0)
/Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1387 +0x40c
github.com/spf13/hugo/hugolib.(*Site).Render(0xc820438000, 0x0, 0x0)
/Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:728 +0x154
github.com/spf13/hugo/hugolib.(*Site).Build(0xc820438000, 0x0, 0x0)
/Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:380 +0x80
github.com/spf13/hugo/commands.buildSite(0xc820039b27, 0x1, 0x1, 0x0, 0x0)
3:00:25 AM: /Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:688 +0x1b8
github.com/spf13/hugo/commands.build(0x0, 0x0, 0x0, 0x0, 0x0)
/Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:525 +0x3be
github.com/spf13/hugo/commands.glob.func7(0x107d000, 0x10a2e78, 0x0, 0x0, 0x0, 0x0)
/Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:119 +0xdd
github.com/spf13/cobra.(*Command).execute(0x107d000, 0xc82000a220, 0x0, 0x0, 0x0, 0x0)
/Users/spf13/gopath/src/github.com/spf13/cobra/command.go:561 +0x62c
github.com/spf13/cobra.(*Command).ExecuteC(0x107d000, 0x107d000, 0x0, 0x0)
/Users/spf13/gopath/src/github.com/spf13/cobra/command.go:651 +0x55c
github.com/spf13/hugo/commands.Execute()
/Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:168 +0x77
main.main()
/Users/spf13/gopath/src/github.com/spf13/hugo/main.go:26 +0x28
goroutine 96 [runnable]:
reflect.memclr(0xc821276330, 0x18)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/stubs.go:66
reflect.Value.call(0xac4d60, 0xdf9830, 0x13, 0xc63758, 0x4, 0xc82096e7e0, 0x1, 0x1, 0x0, 0x0, ...)
/usr/local/Cellar/go/1.6.2/libexec/src/reflect/value.go:450 +0x12f2
reflect.Value.Call(0xac4d60, 0xdf9830, 0x13, 0xc82096e7a0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/reflect/value.go:303 +0xb1
text/template.(*state).evalCall(0xc820ce5540, 0xc59520, 0xc820790000, 0x16, 0xac4d60, 0xdf9830, 0x13, 0x7f5796caa6d8, 0xc82054ce10, 0xd0bb20, ...)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:641 +0xb39
text/template.(*state).evalFunction(0xc820ce5540, 0xc59520, 0xc820790000, 0x16, 0xc82054cde0, 0x7f5796caa6d8, 0xc82054ce10, 0xc8208c2aa0, 0x1, 0x1, ...)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:515 +0x336
text/template.(*state).evalCommand(0xc820ce5540, 0xc59520, 0xc820790000, 0x16, 0xc82054ce10, 0xa68b20, 0xc8207902c8, 0x198, 0x0, 0x0, ...)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:412 +0x1e9
text/template.(*state).evalPipeline(0xc820ce5540, 0xc59520, 0xc820790000, 0x16, 0xc8204b9bd0, 0xa68b20, 0xc8207902c8, 0x198)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:385 +0x180
text/template.(*state).walk(0xc820ce5540, 0xc59520, 0xc820790000, 0x16, 0x7f5796ca89a8, 0xc8204bf710)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:215 +0x135
text/template.(*state).walk(0xc820ce5540, 0xc59520, 0xc820790000, 0x16, 0x7f5796caa720, 0xc8204bf590)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:223 +0x6a1
text/template.(*state).walkTemplate(0xc820ce5910, 0xc59520
3:00:25 AM: Cleaning up docker container
3:00:25 AM: , 0xc820790000, 0x16, 0xc82033b100)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:368 +0x410
text/template.(*state).walk(0xc820ce5910, 0xc59520, 0xc820790000, 0x16, 0x7f5796c268e0, 0xc82033b100)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:228 +0x5b7
text/template.(*state).walk(0xc820ce5910, 0xc59520, 0xc820790000, 0x16, 0x7f5796caa720, 0xc820340c90)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:223 +0x6a1
text/template.(*Template).Execute(0xc820489100, 0x7f5796c61a80, 0xc820062bd0, 0xc59520, 0xc820790000, 0x0, 0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/text/template/exec.go:178 +0x2a7
html/template.(*Template).Execute(0xc82032fb30, 0x7f5796c61a80, 0xc820062bd0, 0xc59520, 0xc820790000, 0x0, 0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/html/template/template.go:104 +0x9a
github.com/spf13/hugo/hugolib.(*Site).renderThing(0xc820438000, 0xc59520, 0xc820790000, 0xc8208dc650, 0x10, 0x7f5796c61a80, 0xc820062bd0, 0x0, 0x0)
/Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:2044 +0xc2
3:00:25 AM: github.com/spf13/hugo/hugolib.(*Site).render(0xc820438000, 0xc820aa0b40, 0x35, 0xc59520, 0xc820790000, 0x7f5796c61a80, 0xc820062bd0, 0xc82112b880, 0x5,
3:00:25 AM: Error running command: Build script returned non-zero exit code: 2
3:00:25 AM: 0x8, ...)
/Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:2018 +0x2be
3:00:25 AM: github.com/spf13/hugo/hugolib.(*Site).renderAndWritePage(0xc820438000, 0xc820aa0b40, 0x35, 0xc820aa0b00, 0x32, 0xc59520
3:00:25 AM: , 0xc820790000, 0xc82112b880, 0x5, 0x8, ...)
3:00:25 AM: /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1938 +0x135
github.com/spf13/hugo/hugolib.pageRenderer(
3:00:25 AM: 0xc820438000, 0xc8206d3c80, 0xc8206d3c20, 0xc8208c2180)
/Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:
3:00:25 AM: 1406 +0x24a
created by github.com/spf13/hugo/hugolib.(*Site).renderPages
3:00:25 AM: /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1383 +0x37a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment