Donnerstag, 29. Mai 2014

Random App crash on Genymotion

A view weeks ago I started using Genymotion which is actually awesome!

As I'm working a lot in the train I usually work on my laptop. This is why I often put windows to sleep and wake it up again.

Sometimes after this procedure my app do no more startup in my genymotion with the following exception:

05-28 20:50:59.835 E/eglCodecCommon( 6677): writeFully: failed: Broken pipe

05-28 20:50:59.835 E/eglCodecCommon( 6677): writeFully: failed: Broken pipe

05-28 20:50:59.835 E/eglCodecCommon( 6677): writeFully: failed: Broken pipe

05-28 20:50:59.835 E/eglCodecCommon( 6677): writeFully: failed: Broken pipe

05-28 20:50:59.839 E/eglCodecCommon( 6677): writeFully: failed: Broken pipe

05-28 20:50:59.839 E/eglCodecCommon( 6677): writeFully: failed: Broken pipe

05-28 20:50:59.839 W/libEGL  ( 6677): eglInitialize(0x90dad040) failed (EGL_SUCCESS)

05-28 20:50:59.839 E/EGL_genymotion( 6677): tid 6677: eglChooseConfig(544): error 0x3001 (EGL_NOT_INITIALIZED)

05-28 20:50:59.839 D/AndroidRuntime( 6677): Shutting down VM

05-28 20:50:59.839 W/dalvikvm( 6677): threadid=1: thread exiting with uncaught exception (group=0xa4dabb20)

05-28 20:50:59.839 E/AndroidRuntime( 6677): FATAL EXCEPTION: main

05-28 20:50:59.839 E/AndroidRuntime( 6677): Process: ch.fordere, PID: 6677

05-28 20:50:59.839 E/AndroidRuntime( 6677): java.lang.IllegalArgumentException: eglChooseConfig failed EGL_NOT_INITIALIZED

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.view.HardwareRenderer$GlRenderer.chooseEglConfig(HardwareRenderer.java:1173)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.view.HardwareRenderer$GlRenderer.loadEglConfig(HardwareRenderer.java:1135)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.view.HardwareRenderer$GlRenderer.initializeEgl(HardwareRenderer.java:1117)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.view.HardwareRenderer$GlRenderer.initialize(HardwareRenderer.java:1057)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1550)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.view.Choreographer.doCallbacks(Choreographer.java:574)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.view.Choreographer.doFrame(Choreographer.java:544)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.os.Handler.handleCallback(Handler.java:733)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.os.Handler.dispatchMessage(Handler.java:95)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.os.Looper.loop(Looper.java:136)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at android.app.ActivityThread.main(ActivityThread.java:5017)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at java.lang.reflect.Method.invokeNative(Native Method)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at java.lang.reflect.Method.invoke(Method.java:515)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

05-28 20:50:59.839 E/AndroidRuntime( 6677):  at dalvik.system.NativeStart.main(Native Method)


Solution:
Close your current Genymotion instance and restart :-)

Keine Kommentare:

Kommentar veröffentlichen