Thanks again to HeHe for the post. I built a simple test app that has a WebView on a page and I call loadURL with null. This reproduces the problem I am seeing. I have notified my contact with the AdSense for Mobile Apps team about this.
I'm concerned that this bug remains in the OS, however. It seems that just being diligent to not pass null to loadURL is not sufficient as the end result is fairly catastrophic. Regards, - Mike On Feb 12, 10:36 pm, Mike <michaeldouglaskra...@gmail.com> wrote: > Thanks for the info. Since I don't have control over the webview > component (it's wrapped in an AdSense component that I simply place in > the main view) I'll have to defer to the AdSense guys to confirm > whether or not they check for a null url before calling > WebView.loadUrl. > > - Mike > > On Feb 12, 6:35 pm, HeHe <cnm...@gmail.com> wrote: > > > i experienced this weeks ago. > > > it happened because my app calls WebView.loadUrl(url) with null url > > value. after i added a null check, it seems never happens again. > > > On Feb 12, 4:03 pm, Mike <michaeldouglaskra...@gmail.com> wrote: > > > > Not to beat a dead horse... but obviously it's not dead enough since I > > > haven't really seen any good explanation for this yet. My game > > > randomly restarts everyone once in a while, but only in the version of > > > my game that is showing an ad (which uses a webview.) > > > > There are lots of other threads to back this up. Namely: > > > >http://groups.google.com/group/android-developers/browse_thread/threa... > > > >http://groups.google.com.tw/group/android-developers/msg/0d9e92709ced... > > > >http://groups.google.com/group/android-developers/browse_thread/threa... > > > >http://groups.google.com/group/android-developers/browse_thread/threa... > > > > But I'm going to throw my 2 cents in as well. I have been working > > > with one of the AdSense for Mobile engineers on my issue since it > > > seems to only occur in my game with the ads turned on and he suggested > > > I post on the developer forum so I could have one of the framework > > > engineers look at it as well. I was able to build a small sample app > > > that reproduces the problem. I'd rather not post it here since it > > > contains my ad sense client and channel ids. > > > > The restart issue has been seen by my users on at least the following > > > configurations: > > > > Brand: tmobile > > > Model: T-Mobile G1 > > > Version: 1.6 > > > > Brand: tmobile > > > Model: T-Mobile myTouch 3G > > > Version: 1.6 > > > > Brand: verizon > > > Model: Droid Eris > > > Version: 1.5 > > > > Brand: verizon > > > Model: Droid > > > Version: 2.0.1 > > > > I can get this to happen in the emulator as well as on my G1 with the > > > test app. Again - happy to send the test app, just don't want to post > > > it here. > > > > Here is my trace log: > > > > 02-08 23:03:36.330: INFO/ActivityManager(76): Displayed activity > > > com.wm.wordfind.client/.WordUpOptionsActivity: 1191 ms (total 1191 ms) > > > 02-08 23:03:37.368: DEBUG/dalvikvm(1742): GC freed 1656 objects / > > > 254696 bytes in 217ms > > > 02-08 23:03:40.958: WARN/InputManagerService(76): Window already > > > focused, ignoring focus gain of: > > > com.android.internal.view.iinputmethodclient$stub$pr...@4399c5b0 > > > 02-08 23:03:42.858: INFO/ActivityManager(76): Starting activity: > > > Intent { cmp=com.wm.wordfind.client/.WordUpPlayActivity } > > > 02-08 23:03:43.018: INFO/ActivityManager(76): Starting activity: > > > Intent { cmp=com.wm.wordfind.client/.WordUpNextPlayerActivity (has > > > extras) } > > > 02-08 23:03:43.468: INFO/ActivityManager(76): Displayed activity > > > com.wm.wordfind.client/.WordUpNextPlayerActivity: 299 ms (total 580 > > > ms) > > > 02-08 23:03:44.268: INFO/ActivityManager(76): Displayed activity > > > com.wm.wordfind.client/.WordUpPlayActivity: 1377 ms (total 1377 ms) > > > 02-08 23:03:45.598: DEBUG/dalvikvm(1742): GC freed 20289 objects / > > > 1022512 bytes in 230ms > > > 02-08 23:03:45.638: INFO/DEBUG(48): *** *** *** *** *** *** *** *** > > > *** *** *** *** *** *** *** *** > > > 02-08 23:03:45.638: INFO/DEBUG(48): Build fingerprint: 'android- > > > devphone1/dream_devphone/dream/trout:1.6/DRC83/14721:userdebug/ > > > adp,test-keys' > > > 02-08 23:03:45.638: INFO/DEBUG(48): pid: 1742, tid: 1759 >>> > > > com.wm.wordfind.client <<< > > > 02-08 23:03:45.638: INFO/DEBUG(48): signal 11 (SIGSEGV), fault addr > > > 00000000 > > > 02-08 23:03:45.638: INFO/DEBUG(48): r0 00000007 r1 411bdd58 r2 > > > 411bdd58 r3 00000000 > > > 02-08 23:03:45.638: INFO/DEBUG(48): r4 411bdd58 r5 0023c998 r6 > > > 00000000 r7 45e87abc > > > 02-08 23:03:45.638: INFO/DEBUG(48): r8 45e87da0 r9 4247ff54 10 > > > 4247ff40 fp 00000001 > > > 02-08 23:03:45.638: INFO/DEBUG(48): ip 00000011 sp 45e87a80 lr > > > ad047361 pc ad03fc86 cpsr 00000030 > > > 02-08 23:03:45.658: DEBUG/webviewglue(1742): nativeDestroy view: > > > 0x28bfd8 > > > 02-08 23:03:46.208: DEBUG/CubeGridSolver(1742): Solved board in 3166 > > > milliseconds > > > 02-08 23:03:46.298: INFO/DEBUG(48): #00 pc 0003fc86 / > > > system/ > > > lib/libdvm.so > > > 02-08 23:03:46.338: INFO/DEBUG(48): #01 pc 001f3c3a / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.338: INFO/DEBUG(48): #02 pc 00260be6 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.348: INFO/DEBUG(48): #03 pc 00260c48 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.348: INFO/DEBUG(48): #04 pc 00260d80 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.348: INFO/DEBUG(48): #05 pc 001c7de2 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.358: INFO/DEBUG(48): #06 pc 001aac3a / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.358: INFO/DEBUG(48): #07 pc 002426a4 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.358: INFO/DEBUG(48): #08 pc 00228e04 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.358: INFO/DEBUG(48): #09 pc 0024273c / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.368: INFO/DEBUG(48): #10 pc 0021f072 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.368: INFO/DEBUG(48): #11 pc 0021f0ea / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.368: INFO/DEBUG(48): #12 pc 001ac08e / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.378: INFO/DEBUG(48): #13 pc 001ac2c2 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.378: INFO/DEBUG(48): #14 pc 001a9bc2 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.378: INFO/DEBUG(48): #15 pc 001c6166 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.378: INFO/DEBUG(48): #16 pc 001c61e2 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.378: INFO/DEBUG(48): #17 pc 00256b62 / > > > system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.388: INFO/DEBUG(48): #18 pc 0000e434 / > > > system/ > > > lib/libdvm.so > > > 02-08 23:03:46.388: INFO/DEBUG(48): #19 pc 00040b0e / > > > system/ > > > lib/libdvm.so > > > 02-08 23:03:46.388: INFO/DEBUG(48): #20 pc 00013198 / > > > system/ > > > lib/libdvm.so > > > 02-08 23:03:46.388: INFO/DEBUG(48): #21 pc 00017be4 / > > > system/ > > > lib/libdvm.so > > > 02-08 23:03:46.398: INFO/DEBUG(48): #22 pc 0001762c / > > > system/ > > > lib/libdvm.so > > > 02-08 23:03:46.398: INFO/DEBUG(48): #23 pc 0005282c / > > > system/ > > > lib/libdvm.so > > > 02-08 23:03:46.398: INFO/DEBUG(48): #24 pc 0005284a / > > > system/ > > > lib/libdvm.so > > > 02-08 23:03:46.428: INFO/DEBUG(48): #25 pc 00047800 / > > > system/ > > > lib/libdvm.so > > > 02-08 23:03:46.428: INFO/DEBUG(48): #26 pc 0000f940 / > > > system/ > > > lib/libc.so > > > 02-08 23:03:46.428: INFO/DEBUG(48): #27 pc 0000f4b4 / > > > system/ > > > lib/libc.so > > > 02-08 23:03:46.428: INFO/DEBUG(48): stack: > > > 02-08 23:03:46.428: INFO/DEBUG(48): 45e87a40 45e87a78 > > > 02-08 23:03:46.428: INFO/DEBUG(48): 45e87a44 0023c998 [heap] > > > 02-08 23:03:46.428: INFO/DEBUG(48): 45e87a48 4182b12a /data/ > > > dalvik-cache/sys...@framew...@core....@classes.dex > > > 02-08 23:03:46.428: INFO/DEBUG(48): 45e87a4c 4182b12b /data/ > > > dalvik-cache/sys...@framew...@core....@classes.dex > > > 02-08 23:03:46.428: INFO/DEBUG(48): 45e87a50 0023c998 [heap] > > > 02-08 23:03:46.428: INFO/DEBUG(48): 45e87a54 00000001 > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a58 00000007 > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a5c 41073fe0 /dev/ > > > ashmem/dalvik-LinearAlloc (deleted) > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a60 0023c998 [heap] > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a64 00000001 > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a68 00000007 > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a6c ad047361 /system/ > > > lib/libdvm.so > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a70 411bdd58 /dev/ > > > ashmem/dalvik-LinearAlloc (deleted) > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a74 0023c998 [heap] > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a78 df002777 > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a7c e3a070ad > > > 02-08 23:03:46.448: INFO/DEBUG(48): #00 45e87a80 45e87ab4 > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a84 ad03ff19 /system/ > > > lib/libdvm.so > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a88 45e87ac0 > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a8c 0023cb80 [heap] > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a90 0023cb80 [heap] > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a94 ad03fc71 /system/ > > > lib/libdvm.so > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a98 00278628 [heap] > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87a9c 00000000 > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87aa0 0023cb80 [heap] > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87aa4 aa1f3c3d /system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.448: INFO/DEBUG(48): #01 45e87aa8 41073fe0 /dev/ > > > ashmem/dalvik-LinearAlloc (deleted) > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87aac 45e87abc > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87ab0 aa1f3c25 /system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.448: INFO/DEBUG(48): 45e87ab4 aa260be9 /system/ > > > lib/libwebcore.so > > > 02-08 23:03:46.448: > > ... > > read more » -- 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