Skip to content

borges pack failed: fatal error - stack overflow #215

@bzz

Description

@bzz

While running latest borges pack

echo "https://github.com/google/gson" > repos.txt
echo "https://github.com/src-d/siva-java" >> repos.txt

# get latest Borges https://github.com/src-d/borges#build
borges pack --loglevel=debug --workers=2 --to=./siva -f repos.txt

Got

044de62a129b2750e786d246149efa79abee RootedRepository=3764044de62a129b2750e786d246149efa79abee copyFromRemote=0 caller=archiver.go:303
runtime: goroutine stack exceeds 1000000000-byte limit
fatal error: stack overflow

runtime stack:
runtime.throw(0x19826f9, 0xe)
	/usr/local/Cellar/go/1.9.2/libexec/src/runtime/panic.go:605 +0x95
runtime.newstack(0x0)
	/usr/local/Cellar/go/1.9.2/libexec/src/runtime/stack.go:1050 +0x6e1
runtime.morestack()
	/usr/local/Cellar/go/1.9.2/libexec/src/runtime/asm_amd64.s:415 +0x86

goroutine 113836 [running]:
github.com/src-d/borges/vendor/gopkg.in/src-d/go-git.v4/plumbing/format/packfile.(*ObjectToPack).Type(0xc420b22940, 0x0)

Full log borges-pack-stack-trace.txt.

Is reproducible on consecutive runs.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions