Page 1 of 1

[BUG] v1.2.2 Crashes on Android 5.0 upon orientation change

Posted: 03 Apr 2015, 21:12
by Trithilon
Hi,

I tried using the controls gallery as a sample test on my Xiaomi Mi3 and the UI works perfectly when it autorotates and changes the layout.
But when I try to change from Portrait to landscape (or even start the app in landscape) on my Nexus 7 (2012), it crashes.

Logcat reports these errors:
04-03 22:56:30.653: E/libEGL(9472): call to OpenGL ES API with no current context (logged once per thread)
04-03 22:56:37.469: E/audio_a2dp_hw(136): adev_set_parameters: ERROR: set param called even when stream out is null
04-03 22:56:38.087: E/Noesis(9472): NoesisError: glTexImage2D(GL_TEXTURE_2D, 0, texFormat, width, height, 0, texFormat, texType, 0) [GL_INVALID_VALUE]

The interesting thing here is that the Nexus 7 runs the controls gallery scene perfectly in portrait mode otherwise. Upon changing rotation - it crashes. I can try with some other devices later to see if its a device/ROM specific bug or an Android Version specific bug. Will be updating my Nexus 7 to 5.1 Lollipop to see if that helps.

Re: [BUG] v1.2.2 Crashes on Android 5.0 upon orientation cha

Posted: 04 Apr 2015, 13:40
by jsantos
Hi,

I have been able to reproduce the issue and I know what is happening. Please report it.

Thanks for the feedback!

Re: [BUG] v1.2.2 Crashes on Android 5.0 upon orientation cha

Posted: 04 Apr 2015, 13:43
by jsantos
BTW, it is not a hardware or operating system problem.

It is related to the offscreen surface configuration (you can play with that parameter in the noesisgui panel). In your high resolution mobile it is trying to create a texture with dimensions that are not supported.

Re: [BUG] v1.2.2 Crashes on Android 5.0 upon orientation cha

Posted: 04 Apr 2015, 16:51
by Trithilon
Done! :)
Thanks!