Comments (8)
Is it possible for you to see if https://godoc.org/rsc.io/goversion is working with your binary?
from gops.
Right, goversion
doesn't list my binary either. I can confirm that some other binaries lying in my directory from before are being listed with goversion
but the binary in question (which I recently generated) is not. May be something changed on my system? what should I check?
from gops.
@prithsharma could you check whether you still see the issue with the latest gops
version? If you do, could you check with which Go version your binary was compiled using both goversion <binary>
(using the latest version of goversion
) and go version <binary>
?
from gops.
I ran into this same issue today. Here's the output from both go version
and goversion
:
$ go version ~/go/bin/pulumi-resource-kubernetes
/Users/levi/go/bin/pulumi-resource-kubernetes: go1.15.7
$ goversion ~/go/bin/pulumi-resource-kubernetes
/Users/levi/go/bin/pulumi-resource-kubernetes: implausible string size 13678730008574592512 for runtime.buildVersion
This is with gops v0.3.14
and goversion v1.2
I also grabbed the runtime.buildVersion
using dlv like this post shows:
dlv exec ~/go/bin/pulumi-resource-kubernetes
Type 'help' for list of commands.
(dlv) b main.main
Breakpoint 1 set at 0x588b6cf for main.main() /Users/levi/go/src/github.com/pulumi/pulumi-kubernetes/provider/cmd/pulumi-resource-kubernetes/main.go:26
(dlv) p runtime.buildVersion
"go1.15.7"
from gops.
This open issue with goversion
looks like the culprit: rsc/goversion#12
rsc/goversion#13 fixes the issue:
$ goversion ~/go/bin/pulumi-resource-kubernetes
/Users/levi/go/bin/pulumi-resource-kubernetes go1.15.7
from gops.
I think #166 should fix this issues, at least when building gops
using Go 1.18.
@prithsharma @lblackstone could you please check whether gops
built from latest master
branch using Go 1.18 works as expected for you?
from gops.
@lblackstone could you please check whether
gops
built from latestmaster
branch using Go 1.18 works as expected for you?
Yes, this appears to be working as expected now. Thanks!
from gops.
@lblackstone Thanks for confirming!
from gops.
Related Issues (20)
- Gops hangs if there are too many Go processes to examine HOT 17
- can not install binary file to gopath/bin
- Alpine Couldn't resolve addr or pid 1 to TCPAddress: couldn't get port for PID 1: open /root/.config/gops/1: no such file or directory HOT 1
- gops stack 38744 => Couldn't resolve addr or pid 38744 to TCPAddress: couldn't get port for PID 38744: HOT 1
- Amazon triple containing
- Stacktrace in 'debug=1' format
- Install failed HOT 2
- osx: no such file or directory: /src HOT 1
- gops crashes on macos without a CLI command on startup HOT 1
- gops does not validate time duration parameter HOT 2
- improve CI/CD release process with GitHub Actions and GoReleaser
- go get failed in m1
- run gops panic HOT 3
- gops can not list process in Mac book with m1 chip HOT 8
- Couldn't resolve addr or pid <pid> to TCPAddress HOT 2
- gops depends on the now retracted github.com/shirou/gopsutil v3.22.11 HOT 1
- json output?
- Turning off the GC via setgc is cumbersome
- The reported CPU usage is much higher or lower than top reported value?
- Any restrictions on rootless containers?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gops.