Within the last few days my Nexus 4 has started behaving strangely. This is a completely stock Nexus 4 running the official 4.3 build. Not even bootloader unlocked.
What happens is that random apps will begin crashing, usually Google apps like Gmail, Settings, etc. If I try to report the crash, the crash reporter also crashes. I plugged the phone in to check the logcat and all of the error messages are the same:
FATAL EXCEPTION: main E/AndroidRuntime(31480):
java.lang.IllegalStateException: Could not create an EGL context.
eglCreateContext failed with error: EGL_SUCCESS
E/AndroidRuntime(31480): at android.view.HardwareRenderer$GlRenderer.createContext(HardwareRenderer.java:1192)
E/AndroidRuntime(31480): at android.view.HardwareRenderer$GlRenderer.initializeEgl(HardwareRenderer.java:1044)
E/AndroidRuntime(31480): at android.view.HardwareRenderer$GlRenderer.initialize(HardwareRenderer.java:979)
E/AndroidRuntime(31480): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1536)
E/AndroidRuntime(31480): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1004)
E/AndroidRuntime(31480): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5481)
E/AndroidRuntime(31480): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
E/AndroidRuntime(31480): at android.view.Choreographer.doCallbacks(Choreographer.java:562)
E/AndroidRuntime(31480): at android.view.Choreographer.doFrame(Choreographer.java:532)
E/AndroidRuntime(31480): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
E/AndroidRuntime(31480): at android.os.Handler.handleCallback(Handler.java:730)
E/AndroidRuntime(31480): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(31480): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(31480): at android.app.ActivityThread.main(ActivityThread.java:5103)
E/AndroidRuntime(31480): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(31480): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime(31480): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
E/AndroidRuntime(31480): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime(31480): at dalvik.system.NativeStart.main(Native Method)
Rebooting the phone temporarily solves the problem. Does anybody have any ideas? Thanks