What's up with those 1281s? On Apr 8, 2:53 am, seb boyart <unix...@gmail.com> wrote: > Here's a crashlog. > It happened on n1 after a rotation. > Looks like the swap function is called with a wrong arg. > 04/08/2010 09:30:00 [DEBUG] EglHelperSLWP(465) start() > 04/08/2010 09:30:00 [DEBUG] EglHelperSLWP(465) getting new EGL > 04/08/2010 09:30:00 [DEBUG] EglHelperSLWP(465) getting new display > 04/08/2010 09:30:00 [DEBUG] EglHelperSLWP(465) getting new config > 04/08/2010 09:30:00 [DEBUG] EglHelperSLWP(465) creating new context > 04/08/2010 09:30:01 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:30:02 [DEBUG] EglHelperSLWP(465) start() > 04/08/2010 09:30:02 [DEBUG] EglHelperSLWP(465) getting new EGL > 04/08/2010 09:30:02 [DEBUG] EglHelperSLWP(465) getting new display > 04/08/2010 09:30:02 [DEBUG] EglHelperSLWP(465) getting new config > 04/08/2010 09:30:02 [DEBUG] EglHelperSLWP(465) creating new context > 04/08/2010 09:30:03 [DEBUG] EglHelperSLWP(465) start() > 04/08/2010 09:30:03 [DEBUG] EglHelperSLWP(465) reusing EGL > 04/08/2010 09:30:03 [DEBUG] EglHelperSLWP(465) reusing display > 04/08/2010 09:30:03 [DEBUG] EglHelperSLWP(465) reusing config > 04/08/2010 09:30:03 [DEBUG] EglHelperSLWP(465) reusing context > 04/08/2010 09:30:03 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:30:04 [WARNING] SLWP(465) Texture Load GLError: 1284 > 04/08/2010 09:30:07 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:30:09 [WARNING] SLWP(465) Texture Load GLError: 1284 > 04/08/2010 09:30:22 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:30:24 [WARNING] SLWP(465) Texture Load GLError: 1284 > 04/08/2010 09:30:27 [DEBUG] EglHelperSLWP(465) start() > 04/08/2010 09:30:27 [DEBUG] EglHelperSLWP(465) reusing EGL > 04/08/2010 09:30:27 [DEBUG] EglHelperSLWP(465) reusing display > 04/08/2010 09:30:27 [DEBUG] EglHelperSLWP(465) reusing config > 04/08/2010 09:30:27 [DEBUG] EglHelperSLWP(465) reusing context > 04/08/2010 09:30:42 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:30:46 [DEBUG] EglHelperSLWP(465) start() > 04/08/2010 09:30:46 [DEBUG] EglHelperSLWP(465) reusing EGL > 04/08/2010 09:30:46 [DEBUG] EglHelperSLWP(465) reusing display > 04/08/2010 09:30:46 [DEBUG] EglHelperSLWP(465) reusing config > 04/08/2010 09:30:46 [DEBUG] EglHelperSLWP(465) reusing context > 04/08/2010 09:38:34 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:38:39 [DEBUG] EglHelperSLWP(465) start() > 04/08/2010 09:38:39 [DEBUG] EglHelperSLWP(465) reusing EGL > 04/08/2010 09:38:39 [DEBUG] EglHelperSLWP(465) reusing display > 04/08/2010 09:38:39 [DEBUG] EglHelperSLWP(465) reusing config > 04/08/2010 09:38:39 [DEBUG] EglHelperSLWP(465) reusing context > 04/08/2010 09:39:19 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:39:26 [DEBUG] EglHelperSLWP(465) start() > 04/08/2010 09:39:26 [DEBUG] EglHelperSLWP(465) reusing EGL > 04/08/2010 09:39:26 [DEBUG] EglHelperSLWP(465) reusing display > 04/08/2010 09:39:26 [DEBUG] EglHelperSLWP(465) reusing config > 04/08/2010 09:39:26 [DEBUG] EglHelperSLWP(465) reusing context > 04/08/2010 09:41:46 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:41:50 [DEBUG] EglHelperSLWP(465) start() > 04/08/2010 09:41:50 [DEBUG] EglHelperSLWP(465) reusing EGL > 04/08/2010 09:41:50 [DEBUG] EglHelperSLWP(465) reusing display > 04/08/2010 09:41:50 [DEBUG] EglHelperSLWP(465) reusing config > 04/08/2010 09:41:50 [DEBUG] EglHelperSLWP(465) reusing context > 04/08/2010 09:43:00 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:43:21 [DEBUG] EglHelperSLWP(465) start() > 04/08/2010 09:43:21 [DEBUG] EglHelperSLWP(465) reusing EGL > 04/08/2010 09:43:21 [DEBUG] EglHelperSLWP(465) reusing display > 04/08/2010 09:43:21 [DEBUG] EglHelperSLWP(465) reusing config > 04/08/2010 09:43:21 [DEBUG] EglHelperSLWP(465) reusing context > 04/08/2010 09:43:58 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:44:01 [DEBUG] EglHelperSLWP(465) start() > 04/08/2010 09:44:01 [DEBUG] EglHelperSLWP(465) reusing EGL > 04/08/2010 09:44:01 [DEBUG] EglHelperSLWP(465) reusing display > 04/08/2010 09:44:01 [DEBUG] EglHelperSLWP(465) reusing config > 04/08/2010 09:44:01 [DEBUG] EglHelperSLWP(465) reusing context > 04/08/2010 09:44:02 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:44:07 [WARNING] SLWP(465) Background Load GLError: 1281 > 04/08/2010 09:44:08 [DEBUG] EglHelperSLWP(465) start() > 04/08/2010 09:44:08 [DEBUG] EglHelperSLWP(465) reusing EGL > 04/08/2010 09:44:08 [DEBUG] EglHelperSLWP(465) reusing display > 04/08/2010 09:44:08 [DEBUG] EglHelperSLWP(465) reusing config > 04/08/2010 09:44:08 [DEBUG] EglHelperSLWP(465) reusing context > 04/08/2010 09:44:09 [WARNING] SLWP(465) Texture Load GLError: 1384584 > 04/08/2010 09:44:09 [ERROR] AndroidRuntime(465) > java.lang.IllegalArgumentException > at com.google.android.gles_jni.EGLImpl.eglSwapBuffers(Native Method) > at com.seb.SLWP.EglHelper.swap(GLWallpaperService.java:446) > at com.seb.SLWP.GLThread.guardedRun(GLWallpaperService.java:687) > at com.seb.SLWP.GLThread.run(GLWallpaperService.java:539) > > 04/08/2010 09:44:11 [INFORMATION] ActivityManager(106) Process com.seb.SLWP > (pid 465) has died. > 04/08/2010 09:44:11 [WARNING] ActivityManager(106) Scheduling restart of > crashed service com.seb.SLWP/.SLWP in 5000ms > 04/08/2010 09:44:11 [INFORMATION] WindowManager(106) WIN DEATH: > Window{466c5a68 com.seb.SLWP.SLWP paused=false} > 04/08/2010 09:44:11 [WARNING] WallpaperService(106) Wallpaper service gone: > ComponentInfo{com.seb.SLWP/com.seb.SLWP.SLWP} > > I think i know how to fix It. I'll Try tonight. > > Le 7 avr. 2010 23:46, "seb boyart" <unix...@gmail.com> a écrit : > > forget it, your code is fine, it call the surfacechanged right, passing good > values for width and height. > for obvious reasons, my sphere isn't restreched after a rotation (it does > approx 5% of the time only), but all initialization is done > in surfacechanged using passed width and height, it worked fine before, but > not anymore. > anyway the code on the blog look fine, i just had to declare the instanceId > var and cast a return value to Runnable to compile it. > i'm gonna publish a commentary with a link to your blog in the code, do you > want something special in it ? > > 2010/4/7 seb boyart <unix...@gmail.com> > > > > > I use helixlauncher2 to rotate the desktop on n1. > > >> Le 7 avr. 2010 23:01, "Robert Green" <r... > > -- > /¯¯¯¯/|¯¯¯||¯¯¯¯¯¯¯||¯¯¯¯|\¯¯¯\ > \____\|___|| ¯¯|¯ | |/ / > |¯¯¯¯|\ ¯¯\| '¯¯¯'|| |\ \ > |____|/___/|_______||____|/___/
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.