[TIMOB-16385] Android: libtiverify.so has text relocations. This is wasting memory and is a security risk
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-02-03T00:44:55.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | Release 4.0.0 |
Components | Android |
Labels | SupportTeam |
Reporter | Mauro Parra-Miranda |
Assignee | Ping Wang |
Created | 2014-02-05T23:44:12.000+0000 |
Updated | 2015-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?
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
The debug option is disabled in release mode, so we consider this lower-priority.
3.4.0 is moved forward, and 3.5.0 is taking its place in the calendar.
Can we fix this sooner over later?
PR: https://github.com/appcelerator/titanium_verify/pull/15 https://github.com/appcelerator/titanium_mobile/pull/6611
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.