Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16385] Android: libtiverify.so has text relocations. This is wasting memory and is a security risk

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-02-03T00:44:55.000+0000
Affected Version/sRelease 3.2.0
Fix Version/sRelease 4.0.0
ComponentsAndroid
LabelsSupportTeam
ReporterMauro Parra-Miranda
AssigneePing Wang
Created2014-02-05T23:44:12.000+0000
Updated2015-02-12T19:52:09.000+0000

Description

Problem Description

Currently, when the users set the DEBUG option, they will see this in the adb log:
[WARN] : linker: libtiverify.so has text relocations. This is wasting memory and is a security risk. Please fix. 
[WARN] : V8Object: Runtime disposed, cannot set property 'userAgent'
even if those messages are not affecting the apps (and they are happening in a lot of places), some users get stressed about them. Can we just eliminate that output?

Comments

  1. Ingo Muschenetz 2014-02-06

    Appears that building with a later NDK may address the issue: http://stackoverflow.com/questions/20141538/mylib-so-has-text-relocations-this-is-wasting-memory-and-is-a-security-risk-pl
  2. Ingo Muschenetz 2014-05-05

    The debug option is disabled in release mode, so we consider this lower-priority.
  3. Ingo Muschenetz 2014-08-14

    3.4.0 is moved forward, and 3.5.0 is taking its place in the calendar.
  4. Ingo Muschenetz 2015-01-26

    Can we fix this sooner over later?
  5. Ping Wang 2015-01-29

    PR: https://github.com/appcelerator/titanium_verify/pull/15 https://github.com/appcelerator/titanium_mobile/pull/6611
  6. Ewan Harris 2015-02-12

    Verified fix on: Mac OSX 10.10.2 Appcelerator Studio, build: 4.0.0.201502051633 Titanium SDK build: 4.0.0.v20150212104820 Titanium CLI, build: 3.6.0-dev Alloy: 1.5.1 Android Build tools 21.1.1 Nexus 6 (5.0.1) Built to device, the log message no longer appears in the console. Closing ticket.

JSON Source