New issue
Advanced search Search tips

Issue 621572 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2016
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Incremental Install not working on latest version of N preview

Project Member Reported by agrieve@chromium.org, Jun 20 2016

Issue description

ninja chrome_public_apk_incremental
bin/install_chrome_public_apk_incremental

With the latest N preview, I see in logcat:

06-20 10:34:15.162 23033 23755 E cr_LibraryLoader: Unable to load library: libchrome.so
06-20 10:34:15.163 23033 23755 E NativeInitializationController: Unable to load native library.
06-20 10:34:15.163 23033 23755 E NativeInitializationController: org.chromium.base.library_loader.ProcessInitException
06-20 10:34:15.163 23033 23755 E NativeInitializationController:        at org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:308)
06-20 10:34:15.163 23033 23755 E NativeInitializationController:        at org.chromium.base.library_loader.LibraryLoader.ensureInitialized(LibraryLoader.java:143)
06-20 10:34:15.163 23033 23755 E NativeInitializationController:        at org.chromium.chrome.browser.init.NativeInitializationController$1.run(NativeInitializationController.java:84)
06-20 10:34:15.163 23033 23755 E NativeInitializationController: Caused by: java.lang.UnsatisfiedLinkError: Unable to load library: libchrome.so
06-20 10:34:15.163 23033 23755 E NativeInitializationController:        at org.chromium.base.library_loader.ModernLinker.loadLibraryImpl(ModernLinker.java:415)
06-20 10:34:15.163 23033 23755 E NativeInitializationController:        at org.chromium.base.library_loader.Linker.loadLibrary(Linker.java:570)
06-20 10:34:15.163 23033 23755 E NativeInitializationController:        at org.chromium.base.library_loader.LibraryLoader.loadLibrary(LibraryLoader.java:239)
06-20 10:34:15.163 23033 23755 E NativeInitializationController:        at org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:284)


 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f034867a98cfe868d652ca73e97f07be60d5f02d

commit f034867a98cfe868d652ca73e97f07be60d5f02d
Author: agrieve <agrieve@chromium.org>
Date: Wed Jun 22 01:47:59 2016

Fix incremental install on latest version of Android N

Looks like the libraryloader.so always loads fine, but when the
ModernLinker is enabled, loading of subsequent libraries fails.
This change just forces the LegacyLinker to be used when incrmental
install is detected.

BUG= 621572 

Review-Url: https://codereview.chromium.org/2079333003
Cr-Commit-Position: refs/heads/master@{#401157}

[modify] https://crrev.com/f034867a98cfe868d652ca73e97f07be60d5f02d/base/android/java/src/org/chromium/base/library_loader/Linker.java

Status: Fixed (was: Started)
Project Member

Comment 3 by bugdroid1@chromium.org, Jun 24 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/da4099d475a0d6aacc251725a22d11cf70ba79b0

commit da4099d475a0d6aacc251725a22d11cf70ba79b0
Author: agrieve <agrieve@chromium.org>
Date: Fri Jun 24 03:09:08 2016

Fix NPE on start-up when no application class exists in ApplicationInfo

NPE introduced recently by https://codereview.chromium.org/2079333003

TBR=torne
BUG= 621572 

Review-Url: https://codereview.chromium.org/2093883002
Cr-Commit-Position: refs/heads/master@{#401803}

[modify] https://crrev.com/da4099d475a0d6aacc251725a22d11cf70ba79b0/base/android/java/src/org/chromium/base/library_loader/Linker.java

Sign in to add a comment