StrictMode violation - eglCreateWindowSurface returned no surface @ at org.mozilla.gecko.StartPane.onCreate(StartPane.java:17)

NEW
Unassigned

Status

()

Firefox for Android
Toolbar
3 years ago
2 years ago

People

(Reporter: aaronmt, Unassigned)

Tracking

35 Branch
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
I get this on first-run.

E/GeckoGLController(13651): eglCreateWindowSurface threw
E/GeckoGLController(13651): java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface
E/GeckoGLController(13651): 	at com.google.android.gles_jni.EGLImpl._eglCreateWindowSurface(Native Method)
E/GeckoGLController(13651): 	at com.google.android.gles_jni.EGLImpl.eglCreateWindowSurface(EGLImpl.java:92)
E/GeckoGLController(13651): 	at org.mozilla.gecko.gfx.GLController.AttemptPreallocateEGLSurfaceForCompositor(GLController.java:296)
E/GeckoGLController(13651): 	at org.mozilla.gecko.gfx.GLController.updateCompositor(GLController.java:181)
E/GeckoGLController(13651): 	at org.mozilla.gecko.gfx.GLController$1.run(GLController.java:165)
E/GeckoGLController(13651): 	at android.os.Handler.handleCallback(Handler.java:733)
E/GeckoGLController(13651): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/GeckoGLController(13651): 	at android.os.Looper.loop(Looper.java:136)
E/GeckoGLController(13651): 	at android.app.ActivityThread.main(ActivityThread.java:5579)
E/GeckoGLController(13651): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/GeckoGLController(13651): 	at java.lang.reflect.Method.invoke(Method.java:515)
E/GeckoGLController(13651): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
E/GeckoGLController(13651): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
E/GeckoGLController(13651): 	at dalvik.system.NativeStart.main(Native Method)
W/GeckoGLController(13651): eglCreateWindowSurface returned no surface!
D/StrictMode(13651): 	at org.mozilla.gecko.StartPane.onCreate(StartPane.java:17)
D/StrictMode(13651): 	at org.mozilla.gecko.StartPane.onCreate(StartPane.java:17)
(Reporter)

Updated

3 years ago
Blocks: 1042809

Comment 1

2 years ago
hi,guys:have you solved this problem? I encountered this problem when doing the secondary development of android app.I download the geckoview_assets.zip and geckoview_library.zip on this site:http://ftp.mozilla.org/pub/mobile/nightly/2016/02/2016-02-27-03-02-05-mozilla-central-android-api-15/
I think it's a new code.but i also encounter this problem. I think the problem is the update of geckoview_library.zip.
do you know the reason of this problem?if you have the correct code,please send me.Thanks very much!
my email:Sala19900505@gmail.com
You need to log in before you can comment on or make changes to this bug.