[tor-bugs] #29809 [Applications/Tor Browser]: TBA: Only ship one tor binary per apk

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 18 23:06:49 UTC 2019


#29809: TBA: Only ship one tor binary per apk
-------------------------------------------------+-------------------------
 Reporter:  sysrqb                               |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:  new
 Priority:  Very High                            |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  TorBrowserTeam201903, tbb-mobile,    |  Actual Points:
  tbb-8.5                                        |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by sysrqb):

 This looks successful (that app installs and runs without failure):
 {{{
 03-18 22:32:58.413  1849  1898 I PackageManager: New shared user
 org.torproject.torbrowser_alpha.sharedID: id=10317
 --------- beginning of system
 03-18 22:32:58.449  1849  1898 I PackageManager.DexOptimizer: Running
 dexopt (dexoptNeeded=1) on: /data/app/org.torproject.torbrowser_alpha-
 F_xSBaczkBN7RRB1lZ1dFw==/base.apk pkg=org.torproject.torbrowser_alpha
 isa=x86
 dexoptFlags=boot_complete,profile_guided,public,enable_hidden_api_checks
 targetFilter=speed-profile oatDir=/data/app/org.torproject
 .torbrowser_alpha-F_xSBaczkBN7RRB1lZ1dFw==/oat
 classLoaderContext=PCL[/system/framework/org.apache.http.legacy.boot.jar]
 03-18 22:32:58.450  1707  1707 V installed: DexInv: --- BEGIN
 '/data/app/org.torproject.torbrowser_alpha-
 F_xSBaczkBN7RRB1lZ1dFw==/base.apk' ---
 03-18 22:32:58.465   889   889 W dex2oat : Unexpected CPU variant for X86
 using defaults: x86
 03-18 22:32:58.465   889   889 W dex2oat : Mismatch between dex2oat
 instruction set features (ISA: X86 Feature string:
 -ssse3,-sse4.1,-sse4.2,-avx,-avx2,-popcnt) and those of dex2oat executable
 (ISA: X86 Feature string: ssse3,-sse4.1,-sse4.2,-avx,-avx2,-popcnt) for
 the command line:
 03-18 22:32:58.465   889   889 W dex2oat : /system/bin/dex2oat --zip-fd=8
 --zip-location=base.apk --input-vdex-fd=-1 --output-vdex-fd=10 --oat-fd=9
 --oat-location=/data/app/org.torproject.torbrowser_alpha-
 F_xSBaczkBN7RRB1lZ1dFw==/oat/x86/base.odex --instruction-set=x86
 --instruction-set-variant=x86 --instruction-set-features=default
 --runtime-arg -Xms64m --runtime-arg -Xmx512m --compiler-filter=speed-
 profile --swap-fd=11 --app-image-fd=12 --image-format=lz4 --classpath-
 dir=/data/app/org.torproject.torbrowser_alpha-F_xSBaczkBN7RRB1lZ1dFw==
 --class-loader-
 context=PCL[/system/framework/org.apache.http.legacy.boot.jar] --generate-
 mini-debug-info --compact-dex-level=none --runtime-arg -Xtarget-sdk-
 version:26 --runtime-arg -Xhidden-api-checks --compilation-reason=install
 03-18 22:32:58.465   889   889 I dex2oat : /system/bin/dex2oat --input-
 vdex-fd=-1 --output-vdex-fd=10 --compiler-filter=speed-profile
 --classpath-dir=/data/app/org.torproject.torbrowser_alpha-
 F_xSBaczkBN7RRB1lZ1dFw== --class-loader-
 context=PCL[/system/framework/org.apache.http.legacy.boot.jar] --generate-
 mini-debug-info --compact-dex-level=none --compilation-reason=install
 03-18 22:32:59.176   889   889 I dex2oat : Explicit concurrent copying GC
 freed 26987(5MB) AllocSpace objects, 0(0B) LOS objects, 99% free,
 896B/1536KB, paused 15us total 3.596ms
 03-18 22:32:59.281   889   889 I dex2oat : dex2oat took 817.867ms (1.324s
 cpu) (threads: 4) arena alloc=464B (464B) java alloc=16KB (17280B) native
 alloc=7MB (8060920B) free=2MB (2949128B)
 03-18 22:32:59.287  1707  1707 V installed: DexInv: --- END
 '/data/app/org.torproject.torbrowser_alpha-
 F_xSBaczkBN7RRB1lZ1dFw==/base.apk' (success) ---
 }}}

 (We can ignore the warnings about unexpected CPU variant and mismatched
 dex instruction set features.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29809#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list