virus4love / rowboat

Automatically exported from code.google.com/p/rowboat
1 stars 0 forks source link

froyo browser crashes out of the box #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. repo sync on rowboat-froyo
2. normal build for omap3evm
3. dhcp is working now, thanks!
4. browser crashes immediately on start (network is running fine via dhcp, 
checked with ping, dns ok too)

What is the expected output? What do you see instead?
browser comes up for about 1 second then disappears

What version of the product are you using? On what operating system?
3530 omap3evm, froyo, default build as doc on this site

Please provide any additional information below.

logcat output of browser dying:
I/ActivityManager(  863): Starting activity: Intent { 
act=android.intent.action.MAIN flg=0x10000000 
cmp=com.android.browser/.BrowserActivity }
I/ActivityManager(  863): Start proc com.android.browser for activity 
com.android.browser/.BrowserActivity: pid=1341 uid=10014 gids={3003, 1015}
I/ActivityThread( 1341): Publishing provider browser: 
com.android.browser.BrowserProvider
I/ActivityManager(  863): Displayed activity 
com.android.browser/.BrowserActivity: 1525 ms (total 1525 ms)
D/dalvikvm( 1341): GC_FOR_MALLOC freed 3858 objects / 224504 bytes in 122ms
W/dalvikvm( 1341): JNI WARNING: JNI method called with exception raised
W/dalvikvm( 1341):              in 
Landroid/webkit/JWebCoreJavaBridge;.sharedTimerFired ()V (NewLocalRef)
W/dalvikvm( 1341): Pending exception is:
I/dalvikvm( 1341): Ljava/lang/IllegalArgumentException;: provider=gps
I/dalvikvm( 1341):  at android.os.Parcel.readException(Parcel.java:1251)
I/dalvikvm( 1341):  at android.os.Parcel.readException(Parcel.java:1235)
I/dalvikvm( 1341):  at 
android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationMan
ager.java:516)
I/dalvikvm( 1341):  at 
android.location.LocationManager._requestLocationUpdates(LocationManager.java:71
1)
I/dalvikvm( 1341):  at 
android.location.LocationManager.requestLocationUpdates(LocationManager.java:630
)
I/dalvikvm( 1341):  at 
android.webkit.GeolocationService.registerForLocationUpdates(GeolocationService.
java:162)
I/dalvikvm( 1341):  at 
android.webkit.GeolocationService.start(GeolocationService.java:66)
I/dalvikvm( 1341):  at 
android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
I/dalvikvm( 1341):  at 
android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:88)
I/dalvikvm( 1341):  at 
android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:105)
I/dalvikvm( 1341):  at android.os.Handler.dispatchMessage(Handler.java:99)
I/dalvikvm( 1341):  at android.os.Looper.loop(Looper.java:123)
I/dalvikvm( 1341):  at 
android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:621)
I/dalvikvm( 1341):  at java.lang.Thread.run(Thread.java:1096)
I/dalvikvm( 1341): "WebViewCoreThread" prio=5 tid=11 NATIVE
I/dalvikvm( 1341):   | group="main" sCount=0 dsCount=0 s=N obj=0x4402d3e8 
self=0x254b78
I/dalvikvm( 1341):   | sysTid=1354 nice=0 sched=0/0 cgrp=unknown handle=2444472
I/dalvikvm( 1341):   at 
android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
I/dalvikvm( 1341):   at 
android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:88)
I/dalvikvm( 1341):   at 
android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:105)
I/dalvikvm( 1341):   at android.os.Handler.dispatchMessage(Handler.java:99)
I/dalvikvm( 1341):   at android.os.Looper.loop(Looper.java:123)
I/dalvikvm( 1341):   at 
android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:621)
I/dalvikvm( 1341):   at java.lang.Thread.run(Thread.java:1096)
I/dalvikvm( 1341): 
E/dalvikvm( 1341): VM aborting
I/DEBUG   ( 1335): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 
***
I/DEBUG   ( 1335): Build fingerprint: 
'TI/omap3evm/omap3evm/omap3evm:2.2/MASTER/eng.cjohnson.20100910.124511:tests/tes
t-keys'
I/DEBUG   ( 1335): pid: 1341, tid: 1354  >>> com.android.browser <<<
I/DEBUG   ( 1335): signal 11 (SIGSEGV), fault addr deadd00d
I/DEBUG   ( 1335):  r0 00000026  r1 afd14629  r2 afd14629  r3 00000000
I/DEBUG   ( 1335):  r4 802a13f4  r5 802a13f4  r6 00000000  r7 00000000
I/DEBUG   ( 1335):  r8 45945b68  r9 428c8f1c  10 428c8f04  fp 45945ed8
I/DEBUG   ( 1335):  ip deadd00d  sp 45945a68  lr afd15673  pc 80242078  cpsr 
20000030
I/DEBUG   ( 1335):  d0  74726f6261204d69  d1  437765695662656e
I/DEBUG   ( 1335):  d2  4362655724657267  d3  616572685465720a
I/DEBUG   ( 1335):  d4  0000000000000000  d5  4010000000000000
I/DEBUG   ( 1335):  d6  c010000000000000  d7  000ae8983f800000
I/DEBUG   ( 1335):  d8  ffffffffffffff25  d9  41cc36a518bf62fa
I/DEBUG   ( 1335):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   ( 1335):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   ( 1335):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   ( 1335):  d16 ffffffffffffff25  d17 3fe6e07e5a78f25a
I/DEBUG   ( 1335):  d18 4125d13000000000  d19 c010000000000000
I/DEBUG   ( 1335):  d20 0000000000000000  d21 0000000000000000
I/DEBUG   ( 1335):  d22 0000000000000000  d23 4014000000000000
I/DEBUG   ( 1335):  d24 c014000000000000  d25 0000000000000000
I/DEBUG   ( 1335):  d26 3ff0000000000000  d27 0000000000000000
I/DEBUG   ( 1335):  d28 0000000000000000  d29 4010000000000000
I/DEBUG   ( 1335):  d30 0000000000000000  d31 0000000000000000
I/DEBUG   ( 1335):  scr 80000013
I/DEBUG   ( 1335): 
I/DEBUG   ( 1335):          #00  pc 00042078  /system/lib/libdvm.so
I/DEBUG   ( 1335):          #01  pc 0003360c  /system/lib/libdvm.so
I/DEBUG   ( 1335):          #02  pc 00033736  /system/lib/libdvm.so
I/DEBUG   ( 1335):          #03  pc 00035070  /system/lib/libdvm.so
I/DEBUG   ( 1335):          #04  pc 0019a61a  /system/lib/libwebcore.so
I/DEBUG   ( 1335):          #05  pc 00197070  /system/lib/libwebcore.so
I/DEBUG   ( 1335): 
I/DEBUG   ( 1335): code around pc:
I/DEBUG   ( 1335): 80242058 20061861 f7d418a2 2000eb8e ece6f7d4 
I/DEBUG   ( 1335): 80242068 58234808 b1036bdb f8df4798 2026c01c 
I/DEBUG   ( 1335): 80242078 0000f88c ed4cf7d4 0005f3a0 fffe3014 
I/DEBUG   ( 1335): 80242088 fffe6288 0000039c deadd00d f8dfb40e 
I/DEBUG   ( 1335): 80242098 b503c02c bf00490a 188ba200 f853aa03 
I/DEBUG   ( 1335): 
I/DEBUG   ( 1335): code around lr:
I/DEBUG   ( 1335): afd15650 b5f74b0d 490da200 2600189b 585c4602 
I/DEBUG   ( 1335): afd15660 686768a5 f9b5e008 b120000c 46289201 
I/DEBUG   ( 1335): afd15670 9a014790 35544306 37fff117 6824d5f3 
I/DEBUG   ( 1335): afd15680 d1ed2c00 bdfe4630 0002ccd0 000000d4 
I/DEBUG   ( 1335): afd15690 b086b570 f602fb01 9004460c a804a901 
I/DEBUG   ( 1335): 
I/DEBUG   ( 1335): stack:
I/DEBUG   ( 1335):     45945a28  00000015  
I/DEBUG   ( 1335):     45945a2c  afd14659  /system/lib/libc.so
I/DEBUG   ( 1335):     45945a30  afd425a0  /system/lib/libc.so
I/DEBUG   ( 1335):     45945a34  afd4254c  /system/lib/libc.so
I/DEBUG   ( 1335):     45945a38  00000000  
I/DEBUG   ( 1335):     45945a3c  afd15673  /system/lib/libc.so
I/DEBUG   ( 1335):     45945a40  afd14629  /system/lib/libc.so
I/DEBUG   ( 1335):     45945a44  afd14629  /system/lib/libc.so
I/DEBUG   ( 1335):     45945a48  afd14680  /system/lib/libc.so
I/DEBUG   ( 1335):     45945a4c  802a13f4  /system/lib/libdvm.so
I/DEBUG   ( 1335):     45945a50  802a13f4  /system/lib/libdvm.so
I/DEBUG   ( 1335):     45945a54  00000000  
I/DEBUG   ( 1335):     45945a58  00000000  
I/DEBUG   ( 1335):     45945a5c  afd1468d  /system/lib/libc.so
I/DEBUG   ( 1335):     45945a60  df002777  
I/DEBUG   ( 1335):     45945a64  e3a070ad  
I/DEBUG   ( 1335): #00 45945a68  00000001  
I/DEBUG   ( 1335):     45945a6c  80233611  /system/lib/libdvm.so
I/DEBUG   ( 1335): #01 45945a70  00000001  
I/DEBUG   ( 1335):     45945a74  8023373b  /system/lib/libdvm.so
I/DEBUG   ( 1335): debuggerd committing suicide to free the zombie!
I/DEBUG   ( 1375): debuggerd: Sep 10 2010 12:53:40
D/Zygote  (  806): Process 1341 terminated by signal (11)
I/ActivityManager(  863): Process com.android.browser (pid 1341) has died.
I/WindowManager(  863): WIN DEATH: Window{44375cf0 
com.android.browser/com.android.browser.BrowserActivity paused=false}
I/WindowManager(  863): WIN DEATH: Window{440b3e88 
com.android.browser/com.android.browser.BrowserActivity paused=false}
W/InputManagerService(  863): Got RemoteException sending setActive(false) 
notification to pid 1341 uid 10014
I/UsageStats(  863): Unexpected resume of com.android.launcher while already 
resumed in com.android.browser

Original issue reported on code.google.com by cjohnson...@gmail.com on 10 Sep 2010 at 6:44

GoogleCodeExporter commented 8 years ago
I'm getting the same issue. Disabling the GeolocationService in webkit fixes 
temporally the situation. Is there a setting to disable the geo location 
properly if there is no GPS on device?

Original comment by grego...@gentil.com on 3 Oct 2010 at 10:08

GoogleCodeExporter commented 8 years ago
Please explain how to disable the webkit GeolocationService, thanks

Original comment by cjohnson...@gmail.com on 22 Oct 2010 at 2:53

GoogleCodeExporter commented 8 years ago
I also get the same problem. Did your get the solution??

Original comment by abukust...@gmail.com on 27 Oct 2010 at 4:40

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I am facing same issue. The browser crashes when homepage (google.com) is being 
loaded. If I stop the loading and divert it to some other sites (yahoo.com 
etc.), it is not crashing.
Any pointers in this regard would be helpful.
Thanks in advance.

-Chaitral

Original comment by chaitral...@gmail.com on 28 Jun 2011 at 11:50

GoogleCodeExporter commented 8 years ago
As Comment 1 said, disable GeolocationService will fix this problem.
ALso try tp disable GEOLOACTION in WebKit.
Changed ENABLE_GEOLOCATION=1 to ENABLE_GEOLOCATION=0 in 
WebCore/Android.derived.v8bindings.mk
Or add a GPS HAL will also fixed this problem.

Original comment by abukust...@gmail.com on 29 Jun 2011 at 12:59

GoogleCodeExporter commented 8 years ago
Is there any way to get the Geolocation? From the browser or from another app?

Original comment by hsk...@syntomos.com on 8 Sep 2011 at 11:39

GoogleCodeExporter commented 8 years ago
You need to disable GPS/location based stuff.

You can disable this in the build system by removing 
com.android.location.provider and com.android.location.provider.xml from 
build/target/product/core.mk or by including core.mk in your platform specific 
makefile and then filtering them out of the variable.

You can also hack GeolocationService.registerForLocationUpdates() in 
GeolocationService.java to not update for GPS but this is a messier fix as it 
is application side (webkit)

Original comment by matthew....@gmail.com on 14 Nov 2011 at 5:18

GoogleCodeExporter commented 8 years ago
This upstream webkit patch fixes this issue for webkit alone: 
http://pastebin.com/MgaDqxxe

Although other apps could behave errantly and not catch this exception or check 
providers are enabled properly first, that behaviour is probably an app bug 
that we should not try and plan ahead for though.

Original comment by matthew....@gmail.com on 23 Nov 2011 at 2:49