Trithilon
Topic Author
Posts: 15
Joined: 06 May 2014, 19:05

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

03 Apr 2015, 21:12

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.
 
User avatar
jsantos
Site Admin
Posts: 2922
Joined: 20 Jan 2012, 17:18
Contact:

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

04 Apr 2015, 13:40

Hi,

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

Thanks for the feedback!
 
User avatar
jsantos
Site Admin
Posts: 2922
Joined: 20 Jan 2012, 17:18
Contact:

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

04 Apr 2015, 13:43

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.
 
Trithilon
Topic Author
Posts: 15
Joined: 06 May 2014, 19:05

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

04 Apr 2015, 16:51

Done! :)
Thanks!

Who is online

Users browsing this forum: No registered users and 3 guests