Hey everyone,
I'm getting a segmentation error when I press the "back button" while running the "native-activity" sample in landscape mode. No code were changed. If I execute the same code/apk in portrait mode, everything works just fine.
The segmentation error happens when the code is executed on the Android Emulator. If I execute it on a Galaxy Note, no segmentation faults happens, but error messages shows up in the logcat. I attached the logcat dump and the nice "ndk-stack" generated with the emulator to this e-mail. The logcat messages when I execute with a Galaxy Note are:
E/SurfaceTexture( 1705): query: SurfaceTexture has been abandoned!
E/SurfaceTexture( 1705): queueBuffer: SurfaceTexture has been abandoned!
E/SurfaceTextureClient(31566): queueBuffer: error queuing buffer to SurfaceTexture, -19
E/MaliEGL (31566): void __egl_platform_queue_buffer(mali_base_ctx_type*, egl_buffer*):849 [EGL-ERROR] unable to queue buffer (0xdcd7c)
The problem is that with the seg fault, part of the code are not executed when closing the app. So, can this be a problem?
Ps.: I'm using the android-ndk-r8b.
Ps2.: To change between landscape/portrait mode I am pressing the key "7" on the numpad.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/_fgWYrzeHsAJ.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.