[Galaxy S I9000 Android Development] jamesrt:
Issue with Chrome and some websites

Hi,

Apologies in advance if this is an FAQ and/or known issue; but searching the forum hasn't returned anything directly relevant... yet...

I'm a recent convert to Slim from CM9, and I've noticed that on Slim, the Google Chrome browser is unable to render certain websites - for example, twitter.com. Going to twitter.com for the first time, and the login page loads; but once logged in, all I get is a blank (white) browser page.

A logcat shows this:

I/LibraryLoader( 1479): loading: chromeview
D/dalvikvm( 1704): Late-enabling CheckJNI
I/ActivityManager( 215): Start proc com.android.chrome:sandboxed_process0 for service com.android.chrome/org.chromium.chromeview.SandboxedProcessService0: pid=1704 uid=10051 gids={3003, 1015}
D/dalvikvm( 1479): Trying to load lib /data/data/com.android.chrome/lib/libchromeview.so 0x4132f118
I/LibraryLoader( 1704): loading: chromeview
D/dalvikvm( 1704): Trying to load lib /data/data/com.android.chrome/lib/libchromeview.so 0x4132b4d8
D/OpenGLRenderer( 449): Flushing caches (mode 0)
I/Process ( 215): Sending signal. PID: 1479 SIG: 3
I/dalvikvm( 1479): threadid=3: reacting to signal 3
I/dalvikvm( 1479): Wrote stack traces to '/data/anr/traces.txt'
W/ResourceType( 1479): Failure getting entry for 0x7f030034 (t=2 e=52) in package 0 (error -75)
D/dalvikvm( 1704): Added shared lib /data/data/com.android.chrome/lib/libchromeview.so 0x4132b4d8
I/LibraryLoader( 1704): loaded: chromeview
D/dalvikvm( 1479): Added shared lib /data/data/com.android.chrome/lib/libchromeview.so 0x4132f118
I/LibraryLoader( 1479): loaded: chromeview
W/ResourceType( 1479): Failure getting entry for 0x7f030008 (t=2 e=8) in package 0 (error -75)
V/NFC ( 1479): this device does not have NFC support
D/dalvikvm( 1479): GC_CONCURRENT freed 135K, 3% free 9597K/9863K, paused 2ms+3ms
I/chromium( 1479): [INFO:chrome_library_loader_hooks.cc(158)] Chromium logging enabled: level = 0, default verbosity = 0
I/Process ( 215): Sending signal. PID: 1479 SIG: 3
I/dalvikvm( 1479): threadid=3: reacting to signal 3
I/MemoryUsageMonitor( 1479): Max active tabs = 6
I/dalvikvm( 1479): Wrote stack traces to '/data/anr/traces.txt'
W/BrowserProcessMain( 1479): Excessive maxRendererProcesses value: 5
I/BrowserProcessMain( 1479): Initializing chromium process, renderers=3 hostIsChrome=true
I/chromium( 1479): [INFO:chrome_paths.cc(456)] Registering chrome_paths.cc as a path provider
I/chromium( 1479): [INFO:build_info.cc(87)] BuildInfo instance initialized with device=GT-I9000 model=GT-I9000 brand=Android android_build_id=IMM76D android_build_fp=samsung/full_galaxysmtd/galaxysmtd:4.0.4/IMM76D/eng.ar.20120201.181605:user/release-keys package_version_code=2396 package_version_name=0.18.4409.2396
I/chromium( 1479): [INFO:breakpad_posix.cc(902)] Dump path: /data/data/com.android.chrome/cache/Crash Reports
I/Process ( 215): Sending signal. PID: 1479 SIG: 3
I/dalvikvm( 1479): threadid=3: reacting to signal 3
I/dalvikvm( 1479): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 215): GC_EXPLICIT freed 74K, 12% free 17118K/19271K, paused 3ms+7ms
V/SyncSetupManager( 1479): Ignoring pref change because user is not signed in to Chrome
E/chromium( 1479): [ERROR:user_style_sheet_watcher.cc(164)] Failed to setup watch for /data/data/com.android.chrome/app_chrome/Default/User StyleSheets/Custom.css
D/SandboxedProcessLauncher( 1479): Setting up connection to process: slot=0
I/chromium( 1704): [INFO:chrome_library_loader_hooks.cc(158)] Chromium logging enabled: level = 0, default verbosity = 0
D/SandboxedProcessLauncher( 1479): on connect callback, pid=1704 context=14578256
I/chromium( 1704): [INFO:sandboxed_process_service.cc(173)] Starting sandboxed process main entry point, cmdline=/system/bin/app_process --type=renderer --enable-fixed-layout --enable-threaded-compositing --ppapi-out-of-process --register-pepper-plugins --lang=en-GB --enable-crash-reporter=,Android --disable-client-side-phishing-detection --enable-in-browser-thumbnailing --channel=1479.0xdcfd30.20458656 --data-dir=/data/data/com.android.chrome/app_chrome --lang=en-GB --cache-dir=/data/data/com.android.chrome/cache

which I'm going to assume is Chrome spawning a subprocess, which equates to the browser tab. However, there are a couple of entries in there which imply that it's looking for and not finding "something".

Then, as I try to access the site, there is this:

I/chromium( 1479): [INFO:CONSOLE(15)] "Revision: d5d0a76c2ad0698f68e514ca86ad1cee74e9e743", source: https://mobile.twitter.com/ (15)
I/chromium( 1479): [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://mobile.twitter.com/cache/manifest", source: (0)
I/chromium( 1479): [INFO:CONSOLE(0)] "Application Cache Checking event", source: (0)
I/chromium( 1479): [INFO:CONSOLE(37)] "cache: checking", source: https://mobile.twitter.com/ (37)
I/chromium( 1479): [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: (0)
I/chromium( 1479): [INFO:CONSOLE(37)] "cache: noupdate", source: https://mobile.twitter.com/ (37)
W/SurfaceTexture( 1479): freeAllBuffersExceptCurrentLocked called but mQueue is not empty
I/CrashUploadUtils( 1479): Attempting to upload accumulated crash dumps.
D/ChromeBrowserSyncAdapter( 1479): handling delayed sync
D/dalvikvm( 1479): GC_CONCURRENT freed 334K, 9% free 10719K/11719K, paused 2ms+2ms
V/ChromeBrowserSyncAdapter( 1479): Received sync tickle for all types in ChromeBrowserSyncAdapter
V/ChromeBrowserSyncAdapter( 1479): Received sync tickle for all types in ChromeBrowserSyncAdapter
I/chromium( 1479): [INFO:CONSOLE(15)] "Revision: d5d0a76c2ad0698f68e514ca86ad1cee74e9e743", source: https://mobile.twitter.com/ (15)
I/chromium( 1479): [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://mobile.twitter.com/cache/manifest", source: (0)
I/chromium( 1479): [INFO:CONSOLE(0)] "Application Cache Checking event", source: (0)
I/chromium( 1479): [INFO:CONSOLE(37)] "cache: checking", source: https://mobile.twitter.com/ (37)
I/chromium( 1479): [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: (0)
I/chromium( 1479): [INFO:CONSOLE(37)] "cache: noupdate", source: https://mobile.twitter.com/ (37)
D/dalvikvm( 1479): GC_CONCURRENT freed 273K, 8% free 10872K/11719K, paused 2ms+6ms
W/InputManagerService( 215): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41b2a9f0
I/chromium( 1479): [INFO:CONSOLE(15)] "Revision: d5d0a76c2ad0698f68e514ca86ad1cee74e9e743", source: https://mobile.twitter.com/ (15)
I/chromium( 1479): [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://mobile.twitter.com/cache/manifest", source: (0)
I/chromium( 1479): [INFO:CONSOLE(0)] "Application Cache Checking event", source: (0)
I/chromium( 1479): [INFO:CONSOLE(37)] "cache: checking", source: https://mobile.twitter.com/ (37)
I/chromium( 1479): [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: (0)
I/chromium( 1479): [INFO:CONSOLE(37)] "cache: noupdate", source: https://mobile.twitter.com/ (37)
D/dalvikvm( 1479): GC_CONCURRENT freed 398K, 7% free 11004K/11719K, paused 1ms+3ms
D/dalvikvm( 1479): GC_FOR_ALLOC freed 128K, 7% free 10992K/11719K, paused 18ms
D/dalvikvm( 1479): GC_FOR_ALLOC freed <1K, 6% free 11109K/11719K, paused 18ms
I/ActivityManager( 215): Process com.android.chrome:sandboxed_process0 (pid 1704) has died.
W/ActivityManager( 215): Scheduling restart of crashed service com.android.chrome/org.chromium.chromeview.SandboxedProcessService0 in 5000ms
W/SandboxedProcessConnection( 1479): onServiceDisconnected (crash?): pid=1704
D/SandboxedProcessLauncher( 1479): stopping sandboxed connection: pid=1704

which is, I assume, the problem in that the subprocess 1704 crashes - presumably this is why the page isn't being rendered/displayed.

I'm pretty sure this was working OK on CM9; but I'll admit to not having gone back to a full CM9 install to check (yet!).

I have done some obvious steps:

1. Cleared Chrome cache and rebooted

2. Cleared /cache partition and rebooted

3. Uninstalled and reinstalled chrome.

4. Tried a Slim ROM reinstallation (v3.6, BTW).

None of this has made any difference.

I'm fairly sure I don't have a space issue:

Filesystem Size Used Free Blksize
/dev 199M 32K 199M 4096
/mnt/asec 199M 0K 199M 4096
/mnt/obb 199M 0K 199M 4096
/system 250M 174M 75M 4096
/cache 17M 2M 15M 4096
/radio 16M 14M 1M 4096
/data 1G 689M 1G 4096
/datadata 172M 2M 169M 4096
/efs 12M 6M 5M 4096
/mnt/emmc 7G 5G 2G 32768
/mnt/sdcard 5G 3G 2G 32768

(using .nodatadata entry, but none of the data "fixing" scripts).

Any ideas out there in internet-land ?