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

Stack Overflow Error #11

Open
salazarbrandon1257 opened this issue Dec 11, 2023 · 5 comments
Open

Stack Overflow Error #11

salazarbrandon1257 opened this issue Dec 11, 2023 · 5 comments

Comments

@salazarbrandon1257
Copy link

I am running "rainbow-roads myfile.zip"

Exception has occurred: fatal error
"stack overflow"
Stack:
2 0x0000000000322597 in github.com/NathanBaulch/rainbow-roads/scan.Scan.func1.2
at C:/Users/Brandon/projects/rainbow-roads/scan/scan.go:27
3 0x0000000000322448 in github.com/NathanBaulch/rainbow-roads/scan.Scan.func1.2
at C:/Users/Brandon/projects/rainbow-roads/scan/scan.go:28
4 0x0000000000322448 in github.com/NathanBaulch/rainbow-roads/scan.Scan.func1.2
at C:/Users/Brandon/projects/rainbow-roads/scan/scan.go:28
5 0x0000000000322448 in github.com/NathanBaulch/rainbow-roads/scan.Scan.func1.2
at C:/Users/Brandon/projects/rainbow-roads/scan/scan.go:28
6 0x0000000000322448 in github.com/NathanBaulch/rainbow-roads/scan.Scan.func1.2
at C:/Users/Brandon/projects/rainbow-roads/scan/scan.go:28

@sturbridge
Copy link

sturbridge commented Dec 24, 2023

Same issue here, something broke with version 4, although version 3 still works. (Development on this project seems dead though -- @NathanBaulch ???)

Entering command "rainbow-roads.exe worms export.zip" (and also paint command) it hangs for a minute, then outputs a ton of errors about "scan.go" line 28, then ends:

github.com/NathanBaulch/rainbow-roads/scan.Scan.func1.2()
C:/Users/Nathan/go/src/github.com/NathanBaulch/rainbow-roads/scan/scan.go:28 +0x22 fp=0xc086c4fc10 sp=0xc086c4fbf0 pc=0xc101a2
github.com/NathanBaulch/rainbow-roads/scan.Scan.func1.2()
C:/Users/Nathan/go/src/github.com/NathanBaulch/rainbow-roads/scan/scan.go:28 +0x22 fp=0xc086c4fc30 sp=0xc086c4fc10 pc=0xc101a2
...additional frames elided...
created by github.com/NathanBaulch/rainbow-roads/parse.Parse
C:/Users/Nathan/go/src/github.com/NathanBaulch/rainbow-roads/parse/parse.go:29 +0x96

goroutine 6 [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0xd0?, 0x3f?, 0xc2bafe?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000053f50 sp=0xc000053f30 pc=0xa5b1f6
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000053fe0 sp=0xc000053f50 pc=0xa3c3d1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000053fe8 sp=0xc000053fe0 pc=0xa85d01
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25

goroutine 7 [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000057f50 sp=0xc000057f30 pc=0xa5b1f6
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000057fe0 sp=0xc000057f50 pc=0xa3c3d1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000057fe8 sp=0xc000057fe0 pc=0xa85d01
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25

goroutine 242 [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0xd0?, 0x7f?, 0xc2bafe?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000387f50 sp=0xc000387f30 pc=0xa5b1f6
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000387fe0 sp=0xc000387f50 pc=0xa3c3d1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000387fe8 sp=0xc000387fe0 pc=0xa85d01
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25

goroutine 243 [GC worker (idle)]:
runtime.gopark(0xfffdc8?, 0xc00052a040?, 0x18?, 0x14?, 0x0?)
C:/Program Files/Go/src/runtime/proc.go:363 +0xd6 fp=0xc000051f50 sp=0xc000051f30 pc=0xa5b1f6
runtime.gcBgMarkWorker()
C:/Program Files/Go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000051fe0 sp=0xc000051f50 pc=0xa3c3d1
runtime.goexit()
C:/Program Files/Go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000051fe8 sp=0xc000051fe0 pc=0xa85d01
created by runtime.gcBgMarkStartWorkers
C:/Program Files/Go/src/runtime/mgc.go:1159 +0x25

runtime stack:
runtime.throw({0xfb522b?, 0x136f7a0?})
C:/Program Files/Go/src/runtime/panic.go:1047 +0x65 fp=0x8ffbbffcd8 sp=0x8ffbbffca8 pc=0xa58725
runtime.newstack()
C:/Program Files/Go/src/runtime/stack.go:1103 +0x5db fp=0x8ffbbffe90 sp=0x8ffbbffcd8 pc=0xa6e71b
runtime.morestack()
C:/Program Files/Go/src/runtime/asm_amd64.s:570 +0x93 fp=0x8ffbbffe98 sp=0x8ffbbffe90 pc=0xa83af3

Also tried to install Go and manually compile it, but that's beyond me.

@NathanBaulch
Copy link
Owner

Still alive and kicking. Are either of you able to email your data file(s) to my username at gmail?

@sturbridge
Copy link

Doing some testing, mine might be a different issue as it hangs when it processes a file with extension "fit.gz".

In the Strava export, if I remove all those under "\activities#####.fit.gz", so that the only files left are "#####.gpx", the program runs correctly. Once I add back in a file, it crashes. As noted before, version 3 does not have this problem.

Paint looks awesome, so looking forward to a fix.

I see you already made code changes, but can still send a modified zip if needed though.

@NathanBaulch
Copy link
Owner

I don't use Strava and it doesn't sound like my recent changes would have addressed something like that, so feel free to send a minimal test ZIP if you get a chance.

@NathanBaulch
Copy link
Owner

Fixed!

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

3 participants