Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: runtime: split stack overflow #44

Open
loretoparisi opened this issue Jun 1, 2018 · 0 comments
Open

fatal error: runtime: split stack overflow #44

loretoparisi opened this issue Jun 1, 2018 · 0 comments

Comments

@loretoparisi
Copy link

I get this error with Postman docs v1.0

Generating output ... runtime: newstack sp=0x10a50d3c stack=[0xea184499, 0x2c065]
	morebuf={pc:0x18ccb sp:0x10a50d44 lr:0x0}
	sched={pc:0x185a0 sp:0x10a50d40 lr:0x0 ctxt:0x0}
runtime: gp=0x10c1a0e0, gp->status=0x4
 runtime: split stack overflow: 0x10a50d3c < 0xea184499
fatal error: runtime: split stack overflow

runtime stack:
runtime.throw(0x4b7ee0, 0x1d)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/runtime/panic.go:527 +0x79
runtime.newstack()
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/runtime/stack1.go:746 +0x797
runtime.morestack()
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/runtime/asm_386.s:336 +0x66

goroutine 19 [stack growth]:
runtime.(*bgMarkSignal).wait(0x741b4c)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/runtime/mgc.go:723 fp=0x10a50d44 sp=0x10a50d40
runtime.gc(0x0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/runtime/mgc.go:1037 +0x29b fp=0x10a50fc8 sp=0x10a50d44
runtime.backgroundgc()
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/runtime/mgc.go:896 +0x31 fp=0x10a50fe0 sp=0x10a50fc8
runtime.goexit()
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/runtime/asm_386.s:1662 +0x1 fp=0x10a50fe4 sp=0x10a50fe0
created by runtime.startGC
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/runtime/mgc.go:869 +0x146

goroutine 1 [runnable]:
runtime.Gosched()
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/runtime/proc.go:166 +0x10
regexp.(*bitState).reset(0x10fbc080, 0x14, 0x2)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/regexp/backtrack.go:87 +0xe1
regexp.(*machine).backtrack(0x10fc2000, 0x8336a8, 0x10fc206c, 0x0, 0x14, 0x2, 0x11ca6)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/regexp/backtrack.go:324 +0xc7
regexp.(*Regexp).doExecute(0x10fc0060, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10fb60a0, 0x14, 0x0, 0x2, ...)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/regexp/exec.go:449 +0x356
regexp.(*Regexp).replaceAll(0x10fc0060, 0x0, 0x0, 0x0, 0x10fb60a0, 0x14, 0x2, 0x10b4ec48, 0x0, 0x0, ...)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/regexp/regexp.go:486 +0xc9
regexp.(*Regexp).ReplaceAllString(0x10fc0060, 0x10fb60a0, 0x14, 0x462c30, 0x1, 0x0, 0x0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/regexp/regexp.go:449 +0xbb
github.com/aubm/postmanerator/theme/helper.slugify(0x10afd0a0, 0x14, 0x0, 0x0)
	/home/travis/gopath/src/github.com/aubm/postmanerator/theme/helper/helper.go:168 +0x83
reflect.Value.call(0x3d0360, 0x5e9ba8, 0x13, 0x463f38, 0x4, 0x10fb8000, 0x1, 0x1, 0x0, 0x0, ...)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/reflect/value.go:432 +0xee2
reflect.Value.Call(0x3d0360, 0x5e9ba8, 0x13, 0x10fb8000, 0x1, 0x1, 0x0, 0x0, 0x0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/reflect/value.go:300 +0x86
text/template.(*state).evalCall(0x10b4fc38, 0x4131a0, 0x10be5af4, 0x56, 0x3d0360, 0x5e9ba8, 0x13, 0x30b1f028, 0x10bf80c0, 0x10be2bb9, ...)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:602 +0x921
text/template.(*state).evalFunction(0x10b4fc38, 0x4131a0, 0x10be5af4, 0x56, 0x10bf80e0, 0x30b1f028, 0x10bf80c0, 0x10bfa070, 0x2, 0x2, ...)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:475 +0x287
text/template.(*state).evalCommand(0x10b4fc38, 0x4131a0, 0x10be5af4, 0x56, 0x10bf80c0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:372 +0x15f
text/template.(*state).evalPipeline(0x10b4fc38, 0x4131a0, 0x10be5af4, 0x56, 0x10bfc000, 0x0, 0x0, 0x0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:345 +0x13a
text/template.(*state).walk(0x10b4fc38, 0x4131a0, 0x10be5af4, 0x56, 0x8337c8, 0x10bf8160)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:180 +0x100
text/template.(*state).walk(0x10b4fc38, 0x4131a0, 0x10be5af4, 0x56, 0x30b1f000, 0x10be47a0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:188 +0x67d
text/template.(*state).walkIfOrWith(0x10b4fc38, 0x13, 0x39f7a0, 0x10a7f478, 0xd8, 0x10be6210, 0x10be47a0, 0x0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:216 +0x1df
text/template.(*state).walk(0x10b4fc38, 0x39f7a0, 0x10a7f478, 0xd8, 0x30adf000, 0x10bf8ea0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:199 +0x547
text/template.(*state).walk(0x10b4fc38, 0x39f7a0, 0x10a7f478, 0xd8, 0x30b1f000, 0x10be4640)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:188 +0x67d
text/template.(*state).walkRange.func1(0x39f3a0, 0x10be8880, 0x42, 0x39f7a0, 0x10a7f478, 0xd8)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:270 +0x13f
text/template.(*state).walkRange(0x10b4fc38, 0x433e40, 0x10a462ec, 0xd9, 0x10bf8f20)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:279 +0x3bd
text/template.(*state).walk(0x10b4fc38, 0x433e40, 0x10a462ec, 0xd9, 0x8338b8, 0x10bf8f20)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:191 +0x205
text/template.(*state).walk(0x10b4fc38, 0x433e40, 0x10a462ec, 0xd9, 0x30b1f000, 0x10be41a0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:188 +0x67d
text/template.(*state).walkIfOrWith(0x10b4fc38, 0x13, 0x433e40, 0x10a462ec, 0xd9, 0x10be6060, 0x10be41a0, 0x0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:216 +0x1df
text/template.(*state).walk(0x10b4fc38, 0x433e40, 0x10a462ec, 0xd9, 0x30adf000, 0x10bf8f60)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:199 +0x547
text/template.(*state).walk(0x10b4fc38, 0x433e40, 0x10a462ec, 0xd9, 0x30b1f000, 0x10be4120)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:188 +0x67d
text/template.(*state).walkRange.func1(0x39f3a0, 0x10ebc670, 0x42, 0x433e40, 0x10a462ec, 0xd9)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:270 +0x13f
text/template.(*state).walkRange(0x10b4fc38, 0x448ac0, 0x10c10460, 0x59, 0x10bf8fc0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:279 +0x3bd
text/template.(*state).walk(0x10b4fc38, 0x448ac0, 0x10c10460, 0x59, 0x8338b8, 0x10bf8fc0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:191 +0x205
text/template.(*state).walk(0x10b4fc38, 0x448ac0, 0x10c10460, 0x59, 0x30b1f000, 0x10b56d00)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:188 +0x67d
text/template.(*Template).Execute(0x10b56ca0, 0x833178, 0x10a586d0, 0x448ac0, 0x10c10460, 0x0, 0x0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:143 +0x20b
text/template.(*Template).ExecuteTemplate(0x10b56be0, 0x833178, 0x10a586d0, 0x487478, 0x9, 0x448ac0, 0x10c10460, 0x0, 0x0)
	/home/travis/.gimme/versions/go1.5.linux.amd64/src/text/template/exec.go:123 +0x1db
main.generate(0x833178, 0x10a580d8, 0x10a586d0, 0x10b56ba0, 0x3, 0x4, 0x10a9d0a0)
	/home/travis/gopath/src/github.com/aubm/postmanerator/main.go:188 +0x6a9
main.defaultCommand(0x833178, 0x10a580d8, 0xbffff99a, 0xc, 0x0, 0x0, 0xbffff986, 0x7, 0xbffff9af, 0xc, ...)
	/home/travis/gopath/src/github.com/aubm/postmanerator/main.go:161 +0x814
main.main()
	/home/travis/gopath/src/github.com/aubm/postmanerator/main.go:83 +0x37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant