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

x/mobile: go tool pprof profile crashes the process #15917

Closed
balboah opened this issue Jun 1, 2016 · 3 comments
Closed

x/mobile: go tool pprof profile crashes the process #15917

balboah opened this issue Jun 1, 2016 · 3 comments
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@balboah
Copy link

balboah commented Jun 1, 2016

  1. What version of Go are you using (go version)?
    1.6.2
    gomobile revision c435d0b
  2. What operating system and processor architecture are you using (go env)?
    built on darwin amd64
    executed on ARMv7 android 6
  3. What did you do?
  • Enable pprof via net/http/pprof
  • Start profiling with go tool pprof http://<host>/debug/pprof/profile

This causes the application to exit without any more details than:
Zygote : Process 6268 exited due to signal (27)

The other goroutine & heap profiling works fine.

@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Jun 1, 2016
@zllak
Copy link

zllak commented Dec 19, 2016

Tested with go1.8b2, still crashing. Any progress on this issue ?
Tested on both iOS and Android, same.

@ALTree ALTree added the NeedsFix The path to resolution is known, but the work has not been done. label Jul 18, 2017
@ALTree ALTree changed the title mobile: go tool pprof profile crashes the process x/mobile: go tool pprof profile crashes the process Jul 18, 2017
@gopherbot gopherbot added the mobile Android, iOS, and x/mobile label Jul 20, 2017
@eliasnaur
Copy link
Contributor

Is this still a problem? If so, can you verify that profiling a Go library (built with -buildmode=c-shared) run from a C main program works? The result of that experiment will determine whether the problem is with android in particular or with profiling c-shared libraries.
Thank you.

@changkun
Copy link
Member

pprof works on mobile as of today. Close as outdated, and feel free to comment if there is any updates on the issue.

@golang golang locked and limited conversation to collaborators Mar 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

7 participants