New issue
Advanced search Search tips

Issue 889337 link

Starred by 3 users

Issue metadata

Status: Unconfirmed
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Error:Forcing bringing down service: ServiceRecord{ab19fe u0 org.chromium.chrome/org.chromium.content.app.SandboxedProcessService0}

Reported by rtbwgr...@gmail.com, Sep 26

Issue description

Steps to reproduce the problem:
Steps to reproduce the problem:
0. Download chromium src 71.0.3549.0
1. Build chrome_public_apk with ASan support
   gn args out/asan
     is_clang = true
     is_asan = true
     is_debug = false
     is_component_build = false
     target_os = "android"
2. Re-package the ChromePublic.apk with wrap.sh & asan runtime libs by following the guide @ https://developer.android.com/ndk/guides/wrap-script
The content of the wrap.sh:
#!/system/bin/sh
HERE="$(cd "$(dirname "$0")" && pwd)"
export ASAN_OPTIONS=color=false,log_to_syslog=false,allow_user_segv_handler=1
export LD_PRELOAD=$HERE/libclang_rt.asan-arm-android.so
$@

3. Run the asan-enabled apk on Huawei P20&pixel 2

What is the expected behavior?
ASan works as expected on Android

What went wrong?
The web page cannot be opened.
log:
09-26 10:26:39.822  7360  7360 I InputMethodManager: mServedView =org.chromium.chrome.browser.omnibox.UrlBar{87d45ce VFED..CL. .F...... 30,9-1002,159 #7f0a0439 app:id/url_bar};view =org.chromiu .chrome.browser.omnibox.UrlBar{87d45ce VFED..CL. .F...... 30,9-1002,159 #7f0a0439 app:id/url_bar}
09-26 10:26:41.580  1044  1108 W ActivityManager: Process ProcessRecord{b71304d 7503:org.chromium.chrome:sandboxed_process1/u0a207i6} failed to attach
09-26 10:26:41.582  1044  1108 W ActivityManager: Forcing bringing down service: ServiceRecord{e0f6f5e u0 org.chromium.chrome/org.chromium.content.app.SandboxedProcessService1}
09-26 10:26:41.582  1044  1108 I ActivityManager: Killing 7503:org.chromium.chrome:sandboxed_process1/u0a207i6 (adj -10000): start timeout
09-26 10:26:51.374  1658  2072 I ash     : org.chromium.chrome { running duration=122 Uptime=122 } transition to: end, reason:stop_ash
09-26 10:26:54.048  1044  1462 D hw_netstat: total/1015/4422,com.google.uid.shared:10021/0/2400,org.chromium.chrome/285/1364,com.huawei.appmarket/384/502,unknown:0/294/104,android.uid.system:1000/52/52
09-26 10:26:54.657  7360  7360 I InputMethodManager: mServedView =org.chromium.chrome.browser.omnibox.UrlBar{87d45ce VFED..CL. .F...... 30,9-918,159 #7f0a0439 app:id/url_bar};view =org.chromium.chrome.browser.omnibox.UrlBar{87d45ce VFED..CL. .F...... 30,9-918,159 #7f0a0439 app:id/url_bar}
09-26 10:26:55.004  1044  1468 D HwWifiConnectivityMonitor: ENTER: notifyTopUidTcpInfo, rtt = 0, rttPkts = 0, aveRtt = 0.0, app = org.chromium.chrome
09-26 10:26:55.004  1044  1468 D HwUidTcpMonitor: parseWlanUidTcpStatistics lastUidTcpStatInfo = [ mUid = 10207 mPacketName = org.chromium.chrome mLastUpdateTime = 1537928815004 mSendSegs = 361 mResendSegs = 197 mRcvSegs = 139 mRttDuration = 14240 mRttSegs = 46 mMobileSendSegs = 0 mMobileResendSegs = 0 mMobileRcvSegs = 0 mMobileRttDuration = 0 mMobileRttSegs = 0 ]
09-26 10:26:59.056  1044  1462 D hw_netstat: total/132/1832,com.google.uid.shared:10021/0/1320,org.chromium.chrome/92/512,unknown:0/40/0
09-26 10:27:03.003  1044  1468 D HwWifiConnectivityMonitor: ENTER: notifyTopUidTcpInfo, rtt = 0, rttPkts = 0, aveRtt = 0.0, app = org.chromium.chrome
09-26 10:27:03.003  1044  1468 D HwUidTcpMonitor: parseWlanUidTcpStatistics lastUidTcpStatInfo = [ mUid = 10207 mPacketName = org.chromium.chrome mLastUpdateTime = 1537928823003 mSendSegs = 376 mResendSegs = 212 mRcvSegs = 139 mRttDuration = 14240 mRttSegs = 46 mMobileSendSegs = 0 mMobileResendSegs = 0 mMobileRcvSegs = 0 mMobileRttDuration = 0 mMobileRttSegs = 0 ]
09-26 10:27:04.063  1044  1462 D hw_netstat: total/264/1784,com.google.uid.shared:10021/0/1080,org.chromium.chrome/104/644,unknown:0/160/0,com.android.vending/0/60
09-26 10:27:08.093  7360  7360 I org.chromium.chrome: Deoptimizing boolean org.chromium.chrome.browser.toolbar.ToolbarPhone.drawChild(android.graphics.Canvas, android.view.View, long) due to JIT inline cache
09-26 10:27:08.164  7360  7360 I chatty  : uid=10207(org.chromium.chrome) identical 5 lines
09-26 10:27:09.068  1044  1462 D hw_netstat: total/161/2519,com.google.uid.shared:10021/0/1320,org.chromium.chrome/121/1079,com.android.vending/0/120,unknown:0/40/0
09-26 10:27:11.012  1044  1468 D HwWifiConnectivityMonitor: ENTER: notifyTopUidTcpInfo, rtt = 744, rttPkts = 5, aveRtt = 148.8, app = org.chromium.chrome
09-26 10:27:11.013  1044  1468 D HwUidTcpMonitor: parseWlanUidTcpStatistics lastUidTcpStatInfo = [ mUid = 10207 mPacketName = org.chromium.chrome mLastUpdateTime = 1537928831012 mSendSegs = 406 mResendSegs = 229 mRcvSegs = 147 mRttDuration = 14984 mRttSegs = 51 mMobileSendSegs = 0 mMobileResendSegs = 0 mMobileRcvSegs = 0 mMobileRttDuration = 0 mMobileRttSegs = 0 ]
09-26 10:27:14.072  1044  1462 D hw_netstat: total/4784/2551,org.chromium.chrome/4732/1619,com.google.uid.shared:10021/0/600,com.android.vending/0/240,android.uid.system:1000/52/92
09-26 10:27:16.584  7360  7361 I org.chromium.chrome: Do partial code cache collection, code=126KB, data=95KB
09-26 10:27:16.586  7360  7361 I org.chromium.chrome: After code cache collection, code=123KB, data=95KB
09-26 10:27:16.586  7360  7361 I org.chromium.chrome: Increasing code cache capacity to 512KB
09-26 10:27:19.022  1044  1468 D HwWifiConnectivityMonitor: ENTER: notifyTopUidTcpInfo, rtt = 488, rttPkts = 2, aveRtt = 244.0, app = org.chromium.chrom

Did this work before? N/A 

Chrome version: 69.0.3497.100  Channel: dev
OS Version: 8.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

Some Asan errors related to ICU so detection will be reported before. After solving this problem, the sandbox service can not start and the web page will not open.
 
hi 
If the above methods are incorrect,How to run Asan chrome_publick APK normally in Android8.0 or higher version?
thanks
hi 
 any update ?
thanks
Components: -Platform>DevTools Build

Sign in to add a comment