{ "id": "151777", "key": "TIMOB-19681", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-08T02:21:20.000+0000", "created": "2015-10-06T23:49:57.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2015-10-13T00:35:33.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h6.Issue Descriptions\r\nAdding the TiMap module to Tiapp crashes an app when building for Android 6.0 (M). If the module is removed there is no crash. \r\n\r\nh6.Steps to reproduce\r\n1) Create a sample app having included a com.google.android.maps.v2.API_KEY\r\n2) Get CI build 5.1.0.X or latest stable release\r\n3) Run app on Android 6\r\n4) Watch logs \r\n\r\nh6.Stack Trace\r\n{code}\r\n10-06 17:43:25.363: E/AndroidRuntime(13751): FATAL EXCEPTION: KrollRuntimeThread \r\n10-06 17:43:25.363: E/AndroidRuntime(13751): Process: com.app.id, PID: 13751 \r\n10-06 17:43:25.363: E/AndroidRuntime(13751): java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.app.id-2/lib/arm/libti.map.so: has text relocations \r\n10-06 17:43:25.363: E/AndroidRuntime(13751): at java.lang.Runtime.loadLibrary(Runtime.java:372) \r\n10-06 17:43:25.363: E/AndroidRuntime(13751): at java.lang.System.loadLibrary(System.java:1076) \r\n10-06 17:43:25.363: E/AndroidRuntime(13751): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132) \r\n10-06 17:43:25.363: E/AndroidRuntime(13751): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99) \r\n10-06 17:43:25.363: E/AndroidRuntime(13751): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185) \r\n10-06 17:43:25.363: E/AndroidRuntime(13751): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109) \r\n10-06 17:43:25.364: W/ActivityManager(1990): Force finishing activity com.app.id/.PhoneActivity \r\n10-06 17:43:25.670: I/WindowManager(1990): Screenshot max retries 4 of Token{2157417 ActivityRecord{71e9096 u0 com.app.id/.PhoneActivity t101 f}} appWin=Window{3f32588 u0 Starting com.mfoundry.enterprise.mbanking.push} drawState=4 \r\n{code}", "attachment": [], "flagged": false, "summary": "Android 6.0: Adding TiMap module crashes app while start", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Android 6\r\nTiSDK 5.0.2.GA and 5.1.0.v20151005100431 ", "closedSprints": [ { "id": 494, "state": "closed", "name": "2015 Sprint 20 SDK", "startDate": "2015-09-26T00:29:19.845Z", "endDate": "2015-10-10T00:29:00.000Z", "completeDate": "2015-10-12T05:33:30.964Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "366009", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~msamah] take a look?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-07T02:06:11.000+0000", "updated": "2015-10-07T02:06:11.000+0000" }, { "id": "366020", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~egomez]May I know which version of Ti.Map for Android is being used?", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-07T04:40:51.000+0000", "updated": "2015-10-07T04:41:00.000+0000" }, { "id": "366048", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR: https://github.com/appcelerator-modules/ti.map/pull/128\r\nPlease review this [~ssombhatla]", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-07T08:31:32.000+0000", "updated": "2015-10-07T08:31:32.000+0000" }, { "id": "366059", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR reviewed and merged.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-07T11:01:14.000+0000", "updated": "2015-10-07T11:01:14.000+0000" }, { "id": "366062", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR to update module in Master: https://github.com/appcelerator/titanium_mobile/pull/7273", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-07T11:30:30.000+0000", "updated": "2015-10-07T11:32:46.000+0000" }, { "id": "366186", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR to master merged.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-08T02:21:14.000+0000", "updated": "2015-10-08T02:21:14.000+0000" }, { "id": "366577", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nApp does not crash when the map module is used on android 6.0.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.3.1.201509302304\r\nTi SDK : 5.1.0.v20151009204425, 5.0.2.GA\r\nTi CLI : 5.0.5\r\nAlloy : 1.7.16\r\nMAC Yosemite : 10.10.5\r\nAppc NPM : 4.2.1-1\r\nAppc CLI : 5.1.0-38\r\nNode: v0.10.37\r\nNexus 5 - Android 6.0\r\nAndroid Map Module: 2.3.4 ", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-13T00:35:24.000+0000", "updated": "2015-10-13T00:35:24.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }