{ "id": "150491", "key": "TIMOB-19369", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-09-28T02:16:22.000+0000", "created": "2015-08-18T16:28:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-4.1.1", "qe-5.0.0" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-01-20T04:33:11.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h5.Steps To Reproduce:\r\n1. Create a default classic & alloy app.\r\n2. Add this to the tiapp.xml so that we know for sure we are building for API 23:\r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n3. Build for android device running android 6.0 preview final(from studio or appc CLI).\r\n\r\nh5.Actual Results:\r\n1. The app crashes immediately when it try's to launch with errors:\r\n*For classic app:*\r\n{code}\r\n08-17 18:21:04.003: D/AudioFlinger(198): mixer(0xb4100000) throttle end: throttle time(10)\r\n08-17 18:21:04.050: I/TiApplication(10988): (main) [0,0] checkpoint, app created.\r\n08-17 18:21:04.114: I/TiApplication(10988): (main) [64,64] Titanium 4.2.0 (2015/08/17 00:20 1405c59)\r\n08-17 18:21:04.133: E/Surface(5881): getSlotFromBufferLocked: unknown buffer: 0x9b24ade0\r\n08-17 18:21:04.141: E/linker(10988): readlink('/proc/self/fd/17') failed: Permission denied [fd=17]\r\n08-17 18:21:04.141: E/linker(10988): warning: unable to get realpath for the library \"/data/app/com.app.testme-1/lib/arm/libstlport_shared.so\". Will use given name.\r\n08-17 18:21:04.151: E/linker(10988): readlink('/proc/self/fd/17') failed: Permission denied [fd=17]\r\n08-17 18:21:04.151: E/linker(10988): warning: unable to get realpath for the library \"/data/app/com.app.testme-1/lib/arm/libkroll-v8.so\". Will use given name.\r\n08-17 18:21:04.154: I/TiApplication(10988): (main) [40,104] Titanium Javascript runtime: v8\r\n08-17 18:21:04.161: D/CrittercismAndroidModule(10988): (main) [7,111] App context is defined.\r\n08-17 18:21:04.170: I/System.out(10988): ActivityRecorder: before com.app.testme.TestmeActivity@ce6d2a7_onCreate(), launchUrl = null\r\n08-17 18:21:04.171: I/TiRootActivity(10988): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\n08-17 18:21:04.182: W/TiTempFileHelper(10988): (main) [11,11] The external temp directory doesn't exist, skipping cleanup\r\n08-17 18:21:04.182: I/System.out(10988): ActivityRecorder: before com.app.testme.TestmeActivity@ce6d2a7_onCreate(), launchUrl = null\r\n08-17 18:21:04.183: I/System.out(10988): ActivityRecorder: before com.app.testme.TestmeActivity@ce6d2a7_onCreate(), launchUrl = null\r\n08-17 18:21:04.269: W/V8Object(10988): (KrollRuntimeThread) [87,98] Runtime disposed, cannot set property 'userAgent'\r\n08-17 18:21:04.297: E/linker(10988): readlink('/proc/self/fd/17') failed: Permission denied [fd=17]\r\n08-17 18:21:04.297: E/linker(10988): warning: unable to get realpath for the library \"/data/app/com.app.testme-1/lib/arm/libcom.appcelerator.apm.so\". Will use given name.\r\n08-17 18:21:04.301: E/TiApplication(10988): (KrollRuntimeThread) [31,129] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.app.testme-1/lib/arm/libcom.appcelerator.apm.so: has text relocations; Titanium 4.2.0,2015/08/17 00:20,1405c59\r\n08-17 18:21:04.301: E/TiApplication(10988): java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.app.testme-1/lib/arm/libcom.appcelerator.apm.so: has text relocations\r\n08-17 18:21:04.301: E/TiApplication(10988): \tat java.lang.Runtime.loadLibrary(Runtime.java:372)\r\n08-17 18:21:04.301: E/TiApplication(10988): \tat java.lang.System.loadLibrary(System.java:1076)\r\n08-17 18:21:04.301: E/TiApplication(10988): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)\r\n08-17 18:21:04.301: E/TiApplication(10988): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)\r\n08-17 18:21:04.301: E/TiApplication(10988): \tat org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)\r\n08-17 18:21:04.301: E/TiApplication(10988): \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)\r\n08-17 18:21:04.397: E/AndroidRuntime(10988): FATAL EXCEPTION: KrollRuntimeThread\r\n08-17 18:21:04.397: E/AndroidRuntime(10988): Process: com.app.testme, PID: 10988\r\n08-17 18:21:04.397: E/AndroidRuntime(10988): java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.app.testme-1/lib/arm/libcom.appcelerator.apm.so: has text relocations\r\n08-17 18:21:04.397: E/AndroidRuntime(10988): \tat java.lang.Runtime.loadLibrary(Runtime.java:372)\r\n08-17 18:21:04.397: E/AndroidRuntime(10988): \tat java.lang.System.loadLibrary(System.java:1076)\r\n08-17 18:21:04.397: E/AndroidRuntime(10988): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)\r\n08-17 18:21:04.397: E/AndroidRuntime(10988): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)\r\n08-17 18:21:04.397: E/AndroidRuntime(10988): \tat org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)\r\n08-17 18:21:04.397: E/AndroidRuntime(10988): \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)\r\n08-17 18:21:04.399: W/ActivityManager(792): Force finishing activity com.app.testme/.TestmeActivity\r\n08-17 18:21:04.453: I/Adreno-EGL(792): : QUALCOMM Build: 08/12/15, 70b1c55, I9e0bc0c0ce\r\n08-17 18:21:04.453: I/OpenGLRenderer(792): Initialized EGL, version 1.4\r\n08-17 18:21:04.493: I/art(792): Background partial concurrent mark sweep GC freed 17319(992KB) AllocSpace objects, 2(5MB) LOS objects, 33% free, 30MB/45MB, paused 5.592ms total 84.707ms\r\n08-17 18:21:04.914: W/ActivityManager(792): Activity pause timeout for ActivityRecord{1b5900a u0 com.app.testme/.TestmeActivity t17 f}\r\n08-17 18:21:04.965: I/AccountSwitcherDrawerPr(5881): Disabling menu items due to client not being connected\r\n08-17 18:21:05.838: I/ThermalEngine(211): TM Id 'battery_LCD_monitor' Sensor 'batt_therm' - alarm cleared 2 at 330.0 degC\r\n08-17 18:21:05.838: E/ThermalEngine(211): override action 10000\r\n08-17 18:21:05.838: E/ThermalEngine(211): Thermal-Server: Thermal received msg override 10000\r\n08-17 18:21:05.838: E/ThermalEngine(211): override_notify : SS mode 1 override 10000\r\n08-17 18:21:07.203: D/audio_hw_primary(198): disable_audio_route: reset and update mixer path: low-latency-playback\r\n08-17 18:21:07.203: D/audio_hw_primary(198): disable_snd_device: snd_device(2: speaker)\r\n08-17 18:21:07.941: D/NetlinkSocketObserver(792): NeighborEvent{elapsedMs=1436586, 172.16.0.6, [503DE582D593], RTM_NEWNEIGH, NUD_STALE}\r\n08-17 18:21:15.004: W/ActivityManager(792): Activity destroy timeout for ActivityRecord{1b5900a u0 com.app.testme/.TestmeActivity t17 f}\r\n08-17 18:21:17.766: I/AccountManagerService(792): getTypesVisibleToCaller: isPermitted? true\r\n{code}\r\n\r\n*For alloy app:*\r\n{code}\r\n08-17 18:27:34.819: I/MicrophoneInputStream(1608): mic_close com.google.android.apps.gsa.speech.audio.u@8b6cd2f\r\n08-17 18:27:34.820: E/AudioRecord-JNI(1608): Error -4 during AudioRecord native read\r\n08-17 18:27:34.824: D/audio_hw_primary(198): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2\r\n08-17 18:27:34.842: I/EventLoggerService(1608): #scheduleSendEvents\r\n08-17 18:27:34.864: D/audio_hw_primary(198): disable_audio_route: reset and update mixer path: audio-record\r\n08-17 18:27:34.864: D/audio_hw_primary(198): disable_snd_device: snd_device(61: voice-rec-mic)\r\n08-17 18:27:34.871: I/HotwordRecognitionRnr(1608): Hotword detection finished\r\n08-17 18:27:34.871: I/HotwordRecognitionRnr(1608): Stopping hotword detection.\r\n08-17 18:27:34.872: I/Keyboard.Facilitator(5762): onFinishInput()\r\n08-17 18:27:34.876: D/audio_hw_primary(198): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)\r\n08-17 18:27:34.876: D/msm8974_platform(198): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)\r\n08-17 18:27:34.876: D/audio_hw_primary(198): enable_snd_device: snd_device(2: speaker)\r\n08-17 18:27:34.878: D/audio_hw_primary(198): enable_audio_route: apply and update mixer path: low-latency-playback\r\n08-17 18:27:36.612: D/NetlinkSocketObserver(792): NeighborEvent{elapsedMs=1825256, 172.16.0.6, [503DE582D593], RTM_NEWNEIGH, NUD_PROBE}\r\n08-17 18:27:38.094: D/audio_hw_primary(198): disable_audio_route: reset and update mixer path: low-latency-playback\r\n08-17 18:27:38.095: D/audio_hw_primary(198): disable_snd_device: snd_device(2: speaker)\r\n08-17 18:27:38.629: I/ActivityManager(792): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.app.malloy/.MalloyActivity (has extras)} from uid 10028 on display 0\r\n08-17 18:27:38.630: D/audio_hw_primary(198): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2\r\n08-17 18:27:38.641: D/audio_hw_primary(198): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)\r\n08-17 18:27:38.641: D/msm8974_platform(198): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)\r\n08-17 18:27:38.641: D/audio_hw_primary(198): enable_snd_device: snd_device(2: speaker)\r\n08-17 18:27:38.642: D/audio_hw_primary(198): enable_audio_route: apply and update mixer path: low-latency-playback\r\n08-17 18:27:38.667: D/AudioFlinger(198): mixer(0xb4100000) throttle end: throttle time(10)\r\n08-17 18:27:38.684: I/ActivityManager(792): Start proc 11762:com.app.malloy/u0a88 for activity com.app.malloy/.MalloyActivity\r\n08-17 18:27:38.754: I/TiApplication(11762): (main) [0,0] checkpoint, app created.\r\n08-17 18:27:38.774: E/Surface(5881): getSlotFromBufferLocked: unknown buffer: 0xa974a950\r\n08-17 18:27:38.806: I/TiApplication(11762): (main) [52,52] Titanium 4.2.0 (2015/08/17 00:20 1405c59)\r\n08-17 18:27:38.837: E/linker(11762): readlink('/proc/self/fd/19') failed: Permission denied [fd=19]\r\n08-17 18:27:38.837: E/linker(11762): warning: unable to get realpath for the library \"/data/app/com.app.malloy-1/lib/arm/libstlport_shared.so\". Will use given name.\r\n08-17 18:27:38.841: E/linker(11762): readlink('/proc/self/fd/19') failed: Permission denied [fd=19]\r\n08-17 18:27:38.841: E/linker(11762): warning: unable to get realpath for the library \"/data/app/com.app.malloy-1/lib/arm/libkroll-v8.so\". Will use given name.\r\n08-17 18:27:38.844: I/TiApplication(11762): (main) [38,90] Titanium Javascript runtime: v8\r\n08-17 18:27:38.854: D/CrittercismAndroidModule(11762): (main) [10,100] App context is defined.\r\n08-17 18:27:38.863: I/System.out(11762): ActivityRecorder: before com.app.malloy.MalloyActivity@ce6d2a7_onCreate(), launchUrl = null\r\n08-17 18:27:38.863: I/TiRootActivity(11762): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\n08-17 18:27:38.882: W/TiTempFileHelper(11762): (main) [19,19] The external temp directory doesn't exist, skipping cleanup\r\n08-17 18:27:38.882: I/System.out(11762): ActivityRecorder: before com.app.malloy.MalloyActivity@ce6d2a7_onCreate(), launchUrl = null\r\n08-17 18:27:38.883: I/System.out(11762): ActivityRecorder: before com.app.malloy.MalloyActivity@ce6d2a7_onCreate(), launchUrl = null\r\n08-17 18:27:38.941: W/V8Object(11762): (KrollRuntimeThread) [59,78] Runtime disposed, cannot set property 'userAgent'\r\n08-17 18:27:38.973: E/linker(11762): readlink('/proc/self/fd/19') failed: Permission denied [fd=19]\r\n08-17 18:27:38.973: E/linker(11762): warning: unable to get realpath for the library \"/data/app/com.app.malloy-1/lib/arm/libcom.appcelerator.apm.so\". Will use given name.\r\n08-17 18:27:38.976: E/TiApplication(11762): (KrollRuntimeThread) [35,113] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.app.malloy-1/lib/arm/libcom.appcelerator.apm.so: has text relocations; Titanium 4.2.0,2015/08/17 00:20,1405c59\r\n08-17 18:27:38.976: E/TiApplication(11762): java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.app.malloy-1/lib/arm/libcom.appcelerator.apm.so: has text relocations\r\n08-17 18:27:38.976: E/TiApplication(11762): \tat java.lang.Runtime.loadLibrary(Runtime.java:372)\r\n08-17 18:27:38.976: E/TiApplication(11762): \tat java.lang.System.loadLibrary(System.java:1076)\r\n08-17 18:27:38.976: E/TiApplication(11762): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)\r\n08-17 18:27:38.976: E/TiApplication(11762): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)\r\n08-17 18:27:38.976: E/TiApplication(11762): \tat org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)\r\n08-17 18:27:38.976: E/TiApplication(11762): \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)\r\n08-17 18:27:39.030: E/AndroidRuntime(11762): FATAL EXCEPTION: KrollRuntimeThread\r\n08-17 18:27:39.030: E/AndroidRuntime(11762): Process: com.app.malloy, PID: 11762\r\n08-17 18:27:39.030: E/AndroidRuntime(11762): java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.app.malloy-1/lib/arm/libcom.appcelerator.apm.so: has text relocations\r\n08-17 18:27:39.030: E/AndroidRuntime(11762): \tat java.lang.Runtime.loadLibrary(Runtime.java:372)\r\n08-17 18:27:39.030: E/AndroidRuntime(11762): \tat java.lang.System.loadLibrary(System.java:1076)\r\n08-17 18:27:39.030: E/AndroidRuntime(11762): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)\r\n08-17 18:27:39.030: E/AndroidRuntime(11762): \tat org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)\r\n08-17 18:27:39.030: E/AndroidRuntime(11762): \tat org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)\r\n08-17 18:27:39.030: E/AndroidRuntime(11762): \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)\r\n08-17 18:27:39.032: W/ActivityManager(792): Force finishing activity com.app.malloy/.MalloyActivity\r\n08-17 18:27:39.098: I/Adreno-EGL(792): : QUALCOMM Build: 08/12/15, 70b1c55, I9e0bc0c0ce\r\n08-17 18:27:39.099: I/OpenGLRenderer(792): Initialized EGL, version 1.4\r\n08-17 18:27:39.553: W/ActivityManager(792): Activity pause timeout for ActivityRecord{1dd0a94 u0 com.app.malloy/.MalloyActivity t20 f}\r\n08-17 18:27:39.605: I/AccountSwitcherDrawerPr(5881): Disabling menu items due to client not being connected\r\n08-17 18:27:39.843: I/ActivityManager(792): Killing 9367:com.google.android.deskclock/u0a69 (adj 15): empty #17\r\n08-17 18:27:41.860: D/audio_hw_primary(198): disable_audio_route: reset and update mixer path: low-latency-playback\r\n08-17 18:27:41.861: D/audio_hw_primary(198): disable_snd_device: snd_device(2: speaker)\r\n08-17 18:27:44.852: I/EventLoggerService(1608): Sending 1\r\n08-17 18:27:44.854: W/CronetSyncConnectionRcs(1608): Upload content type not set.\r\n08-17 18:27:47.834: D/ConnectivityService(792): updateNetworkScore for NetworkAgentInfo [WIFI () - 101] to 60\r\n08-17 18:27:47.834: D/ConnectivityService(792): rematching NetworkAgentInfo [WIFI () - 101]\r\n08-17 18:27:49.670: W/ActivityManager(792): Activity destroy timeout for ActivityRecord{1dd0a94 u0 com.app.malloy/.MalloyActivity t20 f}\r\n08-17 18:27:50.870: D/ConnectivityService(792): updateNetworkScore for NetworkAgentInfo [WIFI () - 101] to 56\r\n08-17 18:27:50.870: D/ConnectivityService(792): rematching NetworkAgentInfo [WIFI () - 101]\r\n{code}\r\n\r\nh5. Expected Result:\r\n1. The app should launch fine & not crash.", "attachment": [], "flagged": false, "summary": "Android 6.0 (M) : Default classic & alloy app crashes on android 6.0 preview 3 final when \"android:targetSdkVersion=23\" is set in the tiapp.xml", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 4.2.0.201508062204\r\nTi SDK : 5.0.0.v20150818082827\r\nTi CLI : 4.1.4\r\nAlloy : 1.6.2\r\nMAC Yosemite : 10.10.4\r\nAppc NPM : 4.1.0\r\nAppc CLI : 4.2.0-57\r\nNode: v0.10.37\r\nNexus 5 - Android 6.0 preview 3 final\r\nNode : v0.10.37\r\nEnvironment : preproduction\r\nAndroid build tools : 23\r\nAndroid SDK platform tools : 23\r\nAndroid SDK tools : 24.3.4", "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": "363673", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I believe we might be able to defer this out of 5.0.0, but want to confirm.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-12T15:08:33.000+0000", "updated": "2015-09-12T15:08:33.000+0000" }, { "id": "363679", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Starting with Preview 3, text relocations are no longer a warning, but an error. It looks like libcom.appcelerator.apm.so may need to be modified - could be as easy as updating NDK to latest, which usually solve most text relocations.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-13T00:04:44.000+0000", "updated": "2015-09-13T00:04:44.000+0000" }, { "id": "363706", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Were you going to make an update, or are we deferring this to 5.0.1?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-13T19:07:30.000+0000", "updated": "2015-09-13T19:07:30.000+0000" }, { "id": "364960", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "I'm currently using 5.0.0.GA with Android 6.0 preview 3 final with targetSdkVersion 23 set. Not facing this issue.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-09-25T03:17:54.000+0000", "updated": "2015-09-25T03:17:54.000+0000" }, { "id": "365057", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce with latest master running with apm module. If this is still happening, please provide a sample project along with the apm module that is causing it. Closing this ticket till then.\r\n", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-28T02:16:00.000+0000", "updated": "2015-09-28T02:16:00.000+0000" }, { "id": "369425", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Please test on a real device.. Facing this problem with 5.1.0 SDK on a Nexus 5 with Android 6. The error didn't occur on Emulator. Please test with real device!", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-11-09T17:24:12.000+0000", "updated": "2015-11-09T17:25:09.000+0000" }, { "id": "369656", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~fahad86] Currently, I'm not facing any issues with a real device Nexus 6 with Android 6. \r\n\r\nCould you provide the following information:\r\n-Error logs that you get from the logcat\r\n-Code that you were using and if you were developing for classic or alloy\r\n\r\nAny other info that can help that is related to the error would be much appreciated!\r\n", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-11-11T03:37:42.000+0000", "updated": "2015-11-11T03:42:28.000+0000" }, { "id": "369659", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Errors similar to the one pointed above \"08-17 18:21:04.301: E/TiApplication(10988): java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.app.testme-1/lib/arm/libcom.appcelerator.apm.so: has text relocations\"\r\n\r\n\"unable to get realpath for the library \"/data/app/com.app.malloy-1/lib/arm/libcom.appcelerator.apm.so\". Will use given name.\"\r\n\r\nHappens when certain modules that worked with Ti SDK 4.1.1 on Android 6 devices with Android SDK 22, stopped working on Ti SDK 5.0.2 with Android SDK 23 on Android 6 devices.\r\n\r\nE.g. of the module which when added the problem occurs: https://github.com/gbaldera/TiTouchGallery/tree/develop/dist\r\n\r\nWhat Works:\r\n1)\r\nTi SDK 4.1.1\r\nAndroid SDK 22\r\nAndroid: All (4-6)\r\n\r\n\r\n2)\r\nTi SDK 5.0.2\r\nAndroid SDK 23\r\nAndroid: 4-5\r\n\r\nWhat doesn't work:\r\n1)\r\nTi SDK 5.0.2\r\nAndroid SDK 23\r\nAndroid: 6", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-11-11T03:50:12.000+0000", "updated": "2015-11-11T03:51:35.000+0000" }, { "id": "369662", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~fahad86] Thanks for the detailed fast reply and information!\r\n\r\nIf the errors you are getting has `java.lang.UnsatisfiedLinkError: dlopen` and `has text relocations`, for modules, it means that the modules need to be recompiled with the latest NDK. \r\n\r\nIn this case, for https://github.com/gbaldera/TiTouchGallery , you would need to get the author to recompile the module with the latest NDK. Alternatively, you can recompile it on your own.\r\n\r\nIf it's an Appcelerator Android module, please let me know which ones are causing the problem and I'll create a ticket to handle those modules.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-11-11T03:56:46.000+0000", "updated": "2015-11-11T04:06:24.000+0000" }, { "id": "371487", "author": { "name": "cliff_stander", "key": "cliff_stander", "displayName": "Mike Stancliffe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ashraf Abu, we are having this issue with this as well with ti.imagefactory, ti.barcode and ti.paint", "updateAuthor": { "name": "cliff_stander", "key": "cliff_stander", "displayName": "Mike Stancliffe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-25T22:38:52.000+0000", "updated": "2015-11-25T22:44:00.000+0000" }, { "id": "371508", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-11-26T03:42:36.000+0000", "updated": "2015-11-26T03:42:36.000+0000" }, { "id": "371519", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-11-26T04:36:14.000+0000", "updated": "2015-11-26T04:36:14.000+0000" }, { "id": "373089", "author": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "body": "So basically most old android modules need to be recompiled to work under Ti 5.1.X and API 23?\r\n\r\nI'm having this problem on most of my projects.", "updateAuthor": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2015-12-16T06:25:44.000+0000", "updated": "2015-12-16T06:25:44.000+0000" }, { "id": "373090", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~bearus] If your logs says, {quote} java.lang.UnsatisfiedLinkError: dlopen {quote} and {quote}has text relocations{quote}\r\n\r\nThe answer is yes.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-12-16T06:33:22.000+0000", "updated": "2015-12-16T06:33:34.000+0000" }, { "id": "373149", "author": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "body": "And there is no way to update the SDK to work around this? Obviously something was added in 5.1.X that broke existing android modules. I'm assuming there is a good reason but this is a big breaking change.\r\n\r\nThere is a lot of modules that will break and the error is not very clear about why. I think you need to make some bigger noise about this issue with the AppC dev community as most of us will be scratching our head for days until we find this ticket like I was. At least display a nicer error inside Studio rather than make us hunt through logcat logs looking for some weird error. And notify module developers that they will have to release updates to their modules.", "updateAuthor": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2015-12-16T22:57:19.000+0000", "updated": "2015-12-16T22:59:42.000+0000" }, { "id": "374807", "author": { "name": "sagar patel", "key": "sagar patel", "displayName": "sagar k patel", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am facing this same issue in the Ti SDK 5.1.2.GA sdk for android in Android 6 version.\r\nDid anybody have solution of this issue...?\r\n\r\nIs there is any way to fix this\r\n{quote}\r\n\r\n[ERROR] : linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20]\r\n[ERROR] : linker: warning: unable to get realpath for the library \"/data/app/com-1/lib/arm/libstlport_shared.so\". Will use given name.\r\n[ERROR] : linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20]\r\n[ERROR] : linker: warning: unable to get realpath for the library \"/data/app/com.-1/lib/arm/libkroll-v8.so\". Will use given name.\r\n\r\n[ERROR] : linker: readlink('/proc/self/fd/22') failed: Permission denied [fd=22]\r\n[ERROR] : linker: warning: unable to get realpath for the library \"/data/app/com-1/lib/arm/libti.cloudpush.so\". Will use given name.\r\n[ERROR] : linker: readlink('/proc/self/fd/21') failed: Permission denied [fd=21]\r\n[ERROR] : linker: warning: unable to get realpath for the library \"/data/app/com-1/lib/arm/libti.imagefactory.so\". Will use given name.\r\n[ERROR] : Error: ETIMEDOUT\r\nat [object Object]. (/Users/saggy/.appcelerator/install/5.1.0/package/node_modules/request/request.js:808:15)\r\nat Timer.listOnTimeout (timers.js:92:15)\r\n---------------------------------------------\r\nat Request.init (/Users/saggy/.appcelerator/install/5.1.0/package/node_modules/request/request.js:200:10)\r\nat new Request (/Users/saggy/.appcelerator/install/5.1.0/package/node_modules/request/request.js:140:8)\r\nat request (/Users/saggy/.appcelerator/install/5.1.0/package/node_modules/request/index.js:55:10)\r\nat Function.get (/Users/saggy/.appcelerator/install/5.1.0/package/node_modules/request/index.js:63:12)\r\nat _createRequest (/Users/saggy/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/index.js:382:39)\r\nat Function.AppC.createRequest (/Users/saggy/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/index.js:340:9)\r\nat /Users/saggy/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/appc-platform-sdk/lib/auth.js:234:8\r\nat /Users/saggy/.appcelerator/install/5.1.0/package/node_modules/async/lib/async.js:251:17\r\nat /Users/saggy/.appcelerator/install/5.1.0/package/node_modules/async/lib/async.js:154:25\r\n---------------------------------------------\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:275:35\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:44:16\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:694:17\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:173:37\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/cli/hooks/run.js:387:7\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:689:13\r\nat iterate (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:265:13)\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:277:29\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:44:16\r\n---------------------------------------------\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/cli/hooks/run.js:361:13\r\nat ADB. (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:568:6)\r\nat conn.exec.bufferUntilClose (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:492:5)\r\nat Connection. (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:251:4)\r\nat emitNone (events.js:72:20)\r\nat Socket.emit (events.js:166:7)\r\nat endReadableNT (_stream_readable.js:905:12)\r\n---------------------------------------------\r\nat Socket.Readable.on (_stream_readable.js:665:33)\r\nat Connection.exec (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:248:9)\r\nat ADB. (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:491:9)\r\nat Connection. (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:171:8)\r\nat emitOne (events.js:77:13)\r\nat Socket.emit (events.js:169:7)\r\nat readableAddChunk (_stream_readable.js:146:16)\r\nat Socket.Readable.push (_stream_readable.js:110:10)\r\nat TCP.onread (net.js:523:20)\r\n---------------------------------------------\r\nat Socket.Readable.on (_stream_readable.js:665:33)\r\nat Connection.exec (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:119:9)\r\nat ADB.shell (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:487:7)\r\nat ADB.getPid (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:557:7)\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/cli/hooks/run.js:351:15\r\nat Object.async.whilst (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:763:13)\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/cli/hooks/run.js:348:15\r\nat conn.exec.bufferUntilClose (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:492:5)\r\nat Connection. (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:251:4)\r\n---------------------------------------------\r\nat Socket.Readable.on (_stream_readable.js:665:33)\r\nat Connection.exec (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:248:9)\r\nat ADB. (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:491:9)\r\nat Connection. (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:171:8)\r\nat emitOne (events.js:77:13)\r\nat Socket.emit (events.js:169:7)\r\nat readableAddChunk (_stream_readable.js:146:16)\r\nat Socket.Readable.push (_stream_readable.js:110:10)\r\n---------------------------------------------\r\nat Socket.Readable.on (_stream_readable.js:665:33)\r\nat Connection.exec (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:119:9)\r\nat ADB.shell (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:487:7)\r\nat ADB.startApp (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/titanium-sdk/lib/adb.js:585:7)\r\nat startApp (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/cli/hooks/run.js:342:12)\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/cli/hooks/run.js:373:9\r\nat /Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:187:20\r\nat iterate (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:265:13)\r\nat Object.async.forEachOfSeries.async.eachOfSeries (/Users/saggy/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/node_modules/async/lib/async.js:284:9)\r\n– End application log -------------------------------------------------------\r\n2016-01-19T05:54:52.932Z | TRACE | titanium exited with exit code 0\r\n2016-01-19T05:54:52.988Z | TRACE | Sending exit signal to titanium process: 17068\r\n{quote}", "updateAuthor": { "name": "sagar patel", "key": "sagar patel", "displayName": "sagar k patel", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-19T06:13:35.000+0000", "updated": "2016-01-19T06:13:35.000+0000" }, { "id": "374811", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~sagar patel] I'm unsure of the module version that you are using.\r\n\r\nYou can try replacing the modules with the latest ones and see if it helps:-\r\nti.imagefactory: https://github.com/appcelerator-modules/ti.imagefactory/releases/tag/android-2.2.2\r\nti.cloudpush: https://github.com/appcelerator/titanium_mobile/blob/71915ab92ac196eb4c28472015d7057be93a505c/support/module/packaged/ti.cloudpush-android-3.4.1.zip", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-01-19T06:49:26.000+0000", "updated": "2016-01-19T06:49:26.000+0000" }, { "id": "374849", "author": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We are running into the same issue...here its my stack trace output:\r\n\r\n-- Start application log -----------------------------------------------------\r\n[INFO] : TiApplication: (main) [1,1] checkpoint, app created.\r\n[INFO] : TiApplication: (main) [167,168] Titanium 5.1.2 (2015/12/16 19:00 ca822b2)\r\n[INFO] : Project built successfully in 1m 38s 600ms\r\n[INFO] : TiApplication: (main) [256,424] Titanium Javascript runtime: v8\r\n[ERROR] : linker: readlink('/proc/self/fd/23') failed: Permission denied [fd=23]\r\n[ERROR] : linker: warning: unable to get realpath for the library \"/data/app/com.lilypadsolutions.lilypadappV2-2/lib/arm/libstlport_shared.so\". Will use given name.\r\n[ERROR] : linker: readlink('/proc/self/fd/23') failed: Permission denied [fd=23]\r\n[ERROR] : linker: warning: unable to get realpath for the library \"/data/app/com.lilypadsolutions.lilypadappV2-2/lib/arm/libkroll-v8.so\". Will use given name.\r\n[WARN] : V8Object: (KrollRuntimeThread) [121,545] Runtime disposed, cannot set property 'userAgent'\r\n[ERROR] : linker: readlink('/proc/self/fd/23') failed: Permission denied [fd=23]\r\n[ERROR] : linker: warning: unable to get realpath for the library \"/data/app/com.lilypadsolutions.lilypadappV2-2/lib/arm/libti.paint.so\". Will use given name.\r\n[INFO] : Process: Sending signal. PID: 13685 SIG: 9", "updateAuthor": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-19T18:23:09.000+0000", "updated": "2016-01-19T18:23:09.000+0000" }, { "id": "374899", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~peterladis] could you try replacing your module https://github.com/appcelerator-modules/ti.paint/releases/tag/android-2.0.3", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-01-20T02:59:37.000+0000", "updated": "2016-01-20T02:59:37.000+0000" }, { "id": "374906", "author": { "name": "sagar patel", "key": "sagar patel", "displayName": "sagar k patel", "active": true, "timeZone": "America/Los_Angeles" }, "body": "HI @Ahsraf Abu\r\n\r\nThanx for giving hint.\r\nBut as you mention by replacing the module with new version, is not helping me.\r\n\r\nI had replace my all the current module in app with their newest version available, but same error come forward in android with newest Ti SDK 5.1.2.GA in andriod 6 version.", "updateAuthor": { "name": "sagar patel", "key": "sagar patel", "displayName": "sagar k patel", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-20T04:27:53.000+0000", "updated": "2016-01-20T04:27:53.000+0000" }, { "id": "374909", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~sagar patel] Is it possible for you to run `adb logcat` on terminal and get the logs from the device when it crashes? That would help greatly.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-01-20T04:33:11.000+0000", "updated": "2016-01-20T04:33:11.000+0000" } ], "maxResults": 21, "total": 21, "startAt": 0 } } }