Hmm… if an update fixed it, then it sounds like it was a device specific bug then. There’s never a dull moment on the Android front. [import]uid: 32256 topic_id: 26169 reply_id: 124420[/import]
I am also getting this error…
Device: LG Thrill
Corona Build: 2012.840
Exception class: java.lang.RuntimeException
Source method: SwapGLSurfaceView$EglHelper.createSurface()
User message: App will not load
Stack trace:
java.lang.RuntimeException: createWindowSurface failed
at android.opengl.derived.SwapGLSurfaceView$EglHelper.createSurface(SwapGLSurfaceView.java:691)
at android.opengl.derived.SwapGLSurfaceView$EglHelper.createSurface(SwapGLSurfaceView.java:715)
at android.opengl.derived.SwapGLSurfaceView$GLThread.guardedRun(SwapGLSurfaceView.java:936)
at android.opengl.derived.SwapGLSurfaceView$GLThread.run(SwapGLSurfaceView.java:809)
Is this something that might be fixed with Corona Build 2012.894?
Thanks so much! [import]uid: 42083 topic_id: 26169 reply_id: 125219[/import]
ranflas,
Yes, this was fixed as of build #847. Try building your app with the newest release version, build #894, and let me know if it resolves this issue on your particular device. Thanks! [import]uid: 32256 topic_id: 26169 reply_id: 125220[/import]
It is working fine on Galaxy S3. [import]uid: 175437 topic_id: 26169 reply_id: 125415[/import]
I am also getting this error…
Device: LG Thrill
Corona Build: 2012.840
Exception class: java.lang.RuntimeException
Source method: SwapGLSurfaceView$EglHelper.createSurface()
User message: App will not load
Stack trace:
java.lang.RuntimeException: createWindowSurface failed
at android.opengl.derived.SwapGLSurfaceView$EglHelper.createSurface(SwapGLSurfaceView.java:691)
at android.opengl.derived.SwapGLSurfaceView$EglHelper.createSurface(SwapGLSurfaceView.java:715)
at android.opengl.derived.SwapGLSurfaceView$GLThread.guardedRun(SwapGLSurfaceView.java:936)
at android.opengl.derived.SwapGLSurfaceView$GLThread.run(SwapGLSurfaceView.java:809)
Is this something that might be fixed with Corona Build 2012.894?
Thanks so much! [import]uid: 42083 topic_id: 26169 reply_id: 125219[/import]
ranflas,
Yes, this was fixed as of build #847. Try building your app with the newest release version, build #894, and let me know if it resolves this issue on your particular device. Thanks! [import]uid: 32256 topic_id: 26169 reply_id: 125220[/import]
It is working fine on Galaxy S3. [import]uid: 175437 topic_id: 26169 reply_id: 125415[/import]
I have a crash report for this, device is reported as HTC One X:
java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface
at com.google.android.gles_jni.EGLImpl._eglCreateWindowSurface(Native Method)
at com.google.android.gles_jni.EGLImpl.eglCreateWindowSurface(EGLImpl.java:90)
at android.opengl.derived.SwapGLSurfaceView$DefaultWindowSurfaceFactory.createWindowSurface(SwapGLSurfaceView.java:473)
at android.opengl.derived.SwapGLSurfaceView$EglHelper.createSurface(SwapGLSurfaceView.java:689)
at android.opengl.derived.SwapGLSurfaceView$GLThread.guardedRun(SwapGLSurfaceView.java:936)
at android.opengl.derived.SwapGLSurfaceView$GLThread.run(SwapGLSurfaceView.java:809)
Pretty sure I built it with the latests stable, 894. [import]uid: 73736 topic_id: 26169 reply_id: 126093[/import]
Kenneth,
This sounds like a compatibility bug unique to the HTC One X. Unfortunately, device or GPU specific issue do happen and we have to go out of our way to add support for them.
Would you mind submitting a bug report about this please? You can do so by clicking the “Report a Bug” link at the top of this page. Thanks! [import]uid: 32256 topic_id: 26169 reply_id: 126130[/import]
I submitted a bug report. It turns out I can replicate on my own device (SGS2) as well. The crash only happens on exit, so it is non-critical for me. I can reproduce it almost consistently if I get the Google Play dialog for an in-app purchase to show, and then press back after the google play dialog is closed. [import]uid: 73736 topic_id: 26169 reply_id: 126148[/import]
I have a Samsung Galaxy SII running Android 2.3 and I haven’t seen any crashes on startup. If it’s crashing on exit then that’s something else and “adb logcat” should give you a totally different error message. The newest daily build did fix a rare exit crasher, so we might have already fixed the issue that you were seeing.
[import]uid: 32256 topic_id: 26169 reply_id: 126168[/import]
I have a crash report for this, device is reported as HTC One X:
java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface
at com.google.android.gles_jni.EGLImpl._eglCreateWindowSurface(Native Method)
at com.google.android.gles_jni.EGLImpl.eglCreateWindowSurface(EGLImpl.java:90)
at android.opengl.derived.SwapGLSurfaceView$DefaultWindowSurfaceFactory.createWindowSurface(SwapGLSurfaceView.java:473)
at android.opengl.derived.SwapGLSurfaceView$EglHelper.createSurface(SwapGLSurfaceView.java:689)
at android.opengl.derived.SwapGLSurfaceView$GLThread.guardedRun(SwapGLSurfaceView.java:936)
at android.opengl.derived.SwapGLSurfaceView$GLThread.run(SwapGLSurfaceView.java:809)
Pretty sure I built it with the latests stable, 894. [import]uid: 73736 topic_id: 26169 reply_id: 126093[/import]
Kenneth,
This sounds like a compatibility bug unique to the HTC One X. Unfortunately, device or GPU specific issue do happen and we have to go out of our way to add support for them.
Would you mind submitting a bug report about this please? You can do so by clicking the “Report a Bug” link at the top of this page. Thanks! [import]uid: 32256 topic_id: 26169 reply_id: 126130[/import]
I submitted a bug report. It turns out I can replicate on my own device (SGS2) as well. The crash only happens on exit, so it is non-critical for me. I can reproduce it almost consistently if I get the Google Play dialog for an in-app purchase to show, and then press back after the google play dialog is closed. [import]uid: 73736 topic_id: 26169 reply_id: 126148[/import]
I have a Samsung Galaxy SII running Android 2.3 and I haven’t seen any crashes on startup. If it’s crashing on exit then that’s something else and “adb logcat” should give you a totally different error message. The newest daily build did fix a rare exit crasher, so we might have already fixed the issue that you were seeing.
[import]uid: 32256 topic_id: 26169 reply_id: 126168[/import]
I have not had any crash reports after upgrading to build 934, and I can no longer replicate on my own device. [import]uid: 73736 topic_id: 26169 reply_id: 128388[/import]
I have not had any crash reports after upgrading to build 934, and I can no longer replicate on my own device. [import]uid: 73736 topic_id: 26169 reply_id: 128388[/import]
We have gotten multiple crash reports on Android in our game Fun Run.
java.lang.RuntimeException: createWindowSurface failed
at android.opengl.derived.SwapGLSurfaceView$EglHelper.createSurface(SwapGLSurfaceView.java:701)
at android.opengl.derived.SwapGLSurfaceView$EglHelper.createSurface(SwapGLSurfaceView.java:725)
at android.opengl.derived.SwapGLSurfaceView$GLThread.guardedRun(SwapGLSurfaceView.java:948)
at android.opengl.derived.SwapGLSurfaceView$GLThread.run(SwapGLSurfaceView.java:825)
We have tried with build 937 and 902. Some of the phones affected are:
* OTHER 32 reports
* SGH-T759 ? reports
* LG-P920 4 reports
* LG-P925 7 reports
* LT18i 1 reports
* LG-P925g 1 reports
* LT15i 3 reports [import]uid: 88922 topic_id: 26169 reply_id: 129453[/import]
We have gotten multiple crash reports on Android in our game Fun Run.
java.lang.RuntimeException: createWindowSurface failed
at android.opengl.derived.SwapGLSurfaceView$EglHelper.createSurface(SwapGLSurfaceView.java:701)
at android.opengl.derived.SwapGLSurfaceView$EglHelper.createSurface(SwapGLSurfaceView.java:725)
at android.opengl.derived.SwapGLSurfaceView$GLThread.guardedRun(SwapGLSurfaceView.java:948)
at android.opengl.derived.SwapGLSurfaceView$GLThread.run(SwapGLSurfaceView.java:825)
We have tried with build 937 and 902. Some of the phones affected are:
* OTHER 32 reports
* SGH-T759 ? reports
* LG-P920 4 reports
* LG-P925 7 reports
* LT18i 1 reports
* LG-P925g 1 reports
* LT15i 3 reports [import]uid: 88922 topic_id: 26169 reply_id: 129453[/import]
dirtyBit,
Most of the devices that you have listed (the SGH and LG models) are using the “PowerVR SGX 540” GPU, which is the same GPU that the Kindle Fire and Nook Color is using. That GPU has been known to cause the error that you’ve reported. We’ve fixed that issue since release build #894, which was months ago.
Are you sure those errors are not coming from older builds?
We don’t have any of the devices that you’ve mentioned to test with. Do you? Are you able to reproduce this issue yourself?
[import]uid: 32256 topic_id: 26169 reply_id: 129551[/import]