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

Cannot run slowjam, failed to parse int on line #19

Closed
paraddise opened this issue Feb 7, 2024 · 2 comments
Closed

Cannot run slowjam, failed to parse int on line #19

paraddise opened this issue Feb 7, 2024 · 2 comments

Comments

@paraddise
Copy link

I tried to run program on linux and macos, but error same

$ slowjam --http 0.0.0.0:9091 stacklog/stacklog.slog
F0207 20:07:24.575449       1 slowjam.go:66] parse: failed to parse int on line: "net/http.(*http2Transport).RoundTripOpt(0xc0005fec60, 0xc00050d300, {0xc0?})"

That' beginning of the stacklog

1707335284932749210
goroutine 19 [running]:
github.com/google/slowjam/pkg/stacklog.DumpStacks()
	/src/vendor/github.com/google/slowjam/pkg/stacklog/stacklog.go:143 +0x65
github.com/google/slowjam/pkg/stacklog.(*Stacklog).loop(0xc000162fc0)
	/src/vendor/github.com/google/slowjam/pkg/stacklog/stacklog.go:122 +0x1b8
created by github.com/google/slowjam/pkg/stacklog.Start in goroutine 1
	/src/vendor/github.com/google/slowjam/pkg/stacklog/stacklog.go:76 +0x22f

goroutine 1 [select, locked to thread]:
net/http.(*http2ClientConn).RoundTrip(0xc000442000, 0xc00050d300)
	/usr/local/go/src/net/http/h2_bundle.go:8381 +0x44f
net/http.(*http2Transport).RoundTripOpt(0xc0005fec60, 0xc00050d300, {0xc0?})
	/usr/local/go/src/net/http/h2_bundle.go:7649 +0x1b1
net/http.(*http2Transport).RoundTrip(0xc0002b4280?, 0xc000420640?)
	/usr/local/go/src/net/http/h2_bundle.go:7598 +0x15
net/http.(*Transport).roundTrip(0xc0002b4280, 0xc00050d300)
	/usr/local/go/src/net/http/transport.go:602 +0x78b
net/http.(*Transport).RoundTrip(0xc0005b4e40?, 0xc0005b4e40?)
	/usr/local/go/src/net/http/roundtrip.go:17 +0x13

That's log from kaniko build

@spowelljr
Copy link
Collaborator

Hi @paraddise, I unfortunately don't have the ability to create a new release, but my PR to fix this has been merged #17. To install the binary with the changes you can run the following:

$ go install github.com/google/slowjam/cmd/slowjam@18c9e8081dde2dd15d377bd9e79502ffa37894ca

@spowelljr
Copy link
Collaborator

I just released https://github.com/google/slowjam/releases/tag/v1.1.1, run go install github.com/google/slowjam/cmd/slowjam@latest again and the issue should now be resolved.

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

2 participants