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

Open
balboah opened this Issue Jun 1, 2016 · 2 comments

Comments

Projects
None yet
6 participants
@balboah

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

This comment has been minimized.

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 label Jul 18, 2017

@ALTree ALTree changed the title from mobile: go tool pprof profile crashes the process to x/mobile: go tool pprof profile crashes the process Jul 18, 2017

@gopherbot gopherbot added the mobile label Jul 20, 2017

@eliasnaur

This comment has been minimized.

Contributor

eliasnaur commented Mar 16, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment