New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 825847 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

WebViewLibraryLoader: "can't load with relro file; address space not reserved"

Project Member Reported by dskiba@chromium.org, Mar 26 2018

Issue description

Chrome Version: 65.0.3325.109
OS: Android 8.1.0 (essential/mata/mata:8.1.0/OPM1.180104.092/224:user/release-keys)

I noticed "WebViewLibraryLoader: can't load with relro file; address space not reserved" in the logcat while investigating a crash on my phone.

I thought that maybe this is because WebView failed to reserve address space during startup, so I restarted my phone, and there were no "WebView"-related errors:

03-26 08:22:51.394  1284  1481 D WebViewLibraryLoader: Setting new address space to 113140720
03-26 08:22:51.442  1284  1481 I ActivityManager: Start proc 1797:WebViewLoader-armeabi-v7a/1037 [android.webkit.WebViewLibraryLoader$RelroFileCreator] for
03-26 08:22:51.452  1284  1481 I ActivityManager: Start proc 1807:WebViewLoader-arm64-v8a/1037 [android.webkit.WebViewLibraryLoader$RelroFileCreator] for
03-26 08:22:51.455  1797  1797 V WebViewLibraryLoader: RelroFileCreator (64bit = false),  32-bit lib: /data/app/com.android.chrome-1/base.apk!/lib/armeabi-v7a/libmonochrome.so, 64-bit lib: /data/app/com.android.chrome-1/base.apk!/lib/arm64-v8a/libmonochrome.so
03-26 08:22:51.464  1807  1807 V WebViewLibraryLoader: RelroFileCreator (64bit = true),  32-bit lib: /data/app/com.android.chrome-1/base.apk!/lib/armeabi-v7a/libmonochrome.so, 64-bit lib: /data/app/com.android.chrome-1/base.apk!/lib/arm64-v8a/libmonochrome.so
03-26 08:22:51.850  1820  1820 D AndroidRuntime: >>>>>> START com.android.internal.os.WebViewZygoteInit uid 1053 <<<<<<
03-26 08:23:21.045  2803  2803 I WebViewFactory: Loading com.android.chrome version 65.0.3325.109 (code 332510952)
03-26 08:23:21.166  1284  2775 D WebViewZygote: Preloading package /data/app/com.android.chrome-1/base.apk /data/app/com.android.chrome-1/lib/arm:/data/app/com.android.chrome-1/base.apk!/lib/armeabi-v7a
03-26 08:23:21.178  1820  1820 I WebViewZygoteInit: Beginning package preload
03-26 08:23:21.241  1820  1820 I WebViewZygoteInit: Package preload done
03-26 08:23:21.585  2803  2803 W GsaWebView: Ignoring load event for old query.


But opening a CCT produced the same "can't load with relro file" error:

03-26 08:23:23.863  4225  4225 E WebViewLibraryLoader: can't load with relro file; address space not reserved
 

Comment 1 by torne@chromium.org, Mar 26 2018

Can we get a bugreport from the device, and can you tell us exactly which thing you were launching that generated the error? (which channel/build of chrome). Does the same message appear when you open an app that uses webview?

Comment 2 by dskiba@chromium.org, Mar 26 2018

Bugreport (since the reboot at 08:23) is here (use google@ account): https://drive.google.com/file/d/1OGqjmeXy0183Z96OHbFR-09Qch3EbWZd/view?usp=sharing

Chrome is stable M65 (65.0.3325.109).

WebView doesn't seem to have this problem, launching AirBnb produces just:

03-26 09:02:17.365 10643 10700 I WebViewFactory: Loading com.android.chrome version 65.0.3325.109 (code 332510952)

Comment 3 by boliu@chromium.org, Mar 29 2018

Cc: gsennton@chromium.org
Owner: torne@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment