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

panic: runtime error: index out of range [27] with length 27 #192

Closed
ostrolucky opened this issue Aug 27, 2020 · 3 comments
Closed

panic: runtime error: index out of range [27] with length 27 #192

ostrolucky opened this issue Aug 27, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@ostrolucky
Copy link

ostrolucky commented Aug 27, 2020

❯ scc                                                                                                 8s
panic: runtime error: index out of range [27] with length 27

goroutine 53 [running]:
github.com/boyter/scc/processor.codeState(0xc013ec15e0, 0x1, 0x1e, 0x2, 0xc008881348, 0x0, 0x0, 0xc008881348, 0x0, 0x0, ...)
	/private/tmp/scc-20200303-52931-1xbax9l/scc-2.12.0/src/github.com/boyter/scc/processor/workers.go:194 +0x730
github.com/boyter/scc/processor.CountStats(0xc013ec15e0)
	/private/tmp/scc-20200303-52931-1xbax9l/scc-2.12.0/src/github.com/boyter/scc/processor/workers.go:431 +0xdca
github.com/boyter/scc/processor.processFile(0xc013ec15e0, 0xc013ec4300)
	/private/tmp/scc-20200303-52931-1xbax9l/scc-2.12.0/src/github.com/boyter/scc/processor/workers.go:707 +0x27c
github.com/boyter/scc/processor.fileProcessorWorker.func1(0xc000210360, 0xc00008e000, 0xc00008e008, 0xc00008e010, 0xc000210420, 0xc00008e020)
	/private/tmp/scc-20200303-52931-1xbax9l/scc-2.12.0/src/github.com/boyter/scc/processor/workers.go:648 +0x284
created by github.com/boyter/scc/processor.fileProcessorWorker
	/private/tmp/scc-20200303-52931-1xbax9l/scc-2.12.0/src/github.com/boyter/scc/processor/workers.go:624 +0xfb

Desktop (please complete the following information):

  • OS: MacOs Catalina
  • Version 10.15.6

scc version 2.12.0

@boyter boyter added the bug Something isn't working label Aug 27, 2020
@boyter
Copy link
Owner

boyter commented Sep 3, 2020

@ostrolucky Would it be possible for you to try the lastest build from master? I suspect this might be a symlink issue which should hopefully be resolved.

@ostrolucky
Copy link
Author

ostrolucky commented Sep 3, 2020

Yep, that solved the issue, thx 👍

@boyter
Copy link
Owner

boyter commented Sep 4, 2020

Confirmed symlink issue then. Great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants