297chrisc / playn

Automatically exported from code.google.com/p/playn
0 stars 0 forks source link

PlayN Version 1.4 causes Android Emulator to crash #189

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I updated our app to use PlayN 1.4, and am now running into emulator/app 
crashes with the following error:

[2012-07-12 17:05:34 - Emulator] 
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glU
seProgram:1914 error 0x501

The emulator is an x86 image with accelerated GPU.
All running on Ubuntu.

Another developer on our team reported the following errors:

development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glD
eleteProgram:496 error 0x501
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glS
haderSource:1698 error 0x502
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glC
ompileShader:354 error 0x502
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glA
ttachShader:155 error 0x501
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glA
ttachShader:155 error 0x501
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glL
inkProgram:1565 error 0x501
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glG
etProgramiv:1140 error 0x501
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glG
etProgramiv:1140 error 0x501
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glG
etProgramiv:1140 error 0x501
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glD
eleteProgram:496 error 0x501
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glD
eleteProgram:496 error 0x501

Original issue reported on code.google.com by inder123 on 13 Jul 2012 at 6:52

GoogleCodeExporter commented 9 years ago
Ok, it might have been due to mix and match of some code using PlayN version 
1.3.1 APIs and others using 1.4 APIs.

I updated all libraries to use 1.4, and the frequency of crashes has reduced 
quite a bit. There still are crashes but they are no longer blocking.

Sorry for the false alarm. Feel free to close this bug.

Original comment by inder123 on 13 Jul 2012 at 9:10

GoogleCodeExporter commented 9 years ago
Ok, after a full day of use with 1.4 (all components of the code updated to 
1.4):

The emulator crashes are real and frequent: Had about 10-15 crashes today. All 
with the error:
[2012-07-13 19:06:08 - Emulator] 
development/tools/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glU
seProgram:1914 error 0x501

Hoping if this could be fixed.

Original comment by inder123 on 14 Jul 2012 at 2:21

GoogleCodeExporter commented 9 years ago
Is there any predictable sequence of events that causes the crash?

Original comment by m...@samskivert.com on 14 Jul 2012 at 2:40

GoogleCodeExporter commented 9 years ago
I haven't yet found a predictable sequence. Many of our team members were 
unable to run the app with emulator at all. Sadly, we all had to revert to 
1.3.1.
I can enable 1.4 locally if you need me to test anything.

Original comment by inder123 on 14 Jul 2012 at 10:43