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/exp/app/debug: occatianal "invalid memory address or nil pointer dereference" #12922

Open
rakyll opened this issue Oct 13, 2015 · 0 comments
Labels
Milestone

Comments

@rakyll
Copy link
Member

@rakyll rakyll commented Oct 13, 2015

I am coming across a panic occasionally by following the steps below:

  1. Launch the basic app on Android.
  2. Press the back button.
  3. App crashes with "panic: runtime error: invalid memory address or nil pointer dereference".
/Adreno-ES20( 6535): <core_glUseProgram:1557>: GL_INVALID_VALUE
E/Go      ( 6535): panic: runtime error: invalid memory address or nil pointer dereference
E/Go      ( 6535): [signal 0xb code=0x1 addr=0x0 pc=0xaea9a854]
E/Go      ( 6535): goroutine 12 [running]:
E/Go      ( 6535): golang.org/x/mobile/exp/app/debug.(*FPS).Draw(0x93ad2120, 0x438, 0x6f0, 0x43220000, 0x43853333, 0x40d55555, 0x1)
E/Go      ( 6535):  /Users/jbd/src/golang.org/x/mobile/exp/app/debug/fps.go:66 +0x2d8
E/Go      ( 6535): main.onPaint(0xaf19e170, 0x93a6a120, 0x438, 0x6f0, 0x43220000, 0x43853333, 0x40d55555, 0x1)
E/Go      ( 6535):  /Users/jbd/src/golang.org/x/mobile/example/sensor/main.go:175 +0x2bc
E/Go      ( 6535): main.main.func1(0xaf11a000, 0xaebe79e0)
E/Go      ( 6535):  /Users/jbd/src/golang.org/x/mobile/example/sensor/main.go:107 +0x23c
E/Go      ( 6535): golang.org/x/mobile/app.mainUI.func1(0x93a5e580)
E/Go      ( 6535):  /Users/jbd/src/golang.org/x/mobile/app/android.go:274 +0x84
E/Go      ( 6535): created by golang.org/x/mobile/app.mainUI
E/Go      ( 6535):  /Users/jbd/src/golang.org/x/mobile/app/android.go:276 +0xb0

/cc @crawshaw @nigeltao

@rakyll rakyll added this to the Unreleased milestone Oct 13, 2015
@rakyll rakyll changed the title x/mobile/app/debug: occatianal "invalid memory address or nil pointer dereference" x/mobile/exp/app/debug: occatianal "invalid memory address or nil pointer dereference" Oct 13, 2015
@gopherbot gopherbot added the mobile label Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.