{ "id": "142046", "key": "TIMOB-18284", "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": null, "resolutiondate": null, "created": "2014-12-23T13:20:54.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:27.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "When we package android module with a default project, it's crashing on device and emulator. \r\n\r\nh6. It's not a regression since same issue appears in 3.4.1 GA as well.\r\n\r\nh5. Steps To Reproduce\r\n1. Create a default classic project\r\n2. Create an android module\r\n3. Package it into the project\r\n4. Run the project in android device/emulator\r\n\r\nh5. Expected Result\r\nApp should run without any issues.\r\n\r\nh5. Actual Result\r\nApp crashes in runtime. Following error message is observed in console.\r\n{code}\r\n[WARN] : ApplicationPackageManager: getCSCPackageItemText()\r\n[INFO] : PersonaManager: getPersonaService() name persona_policy\r\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\n[WARN] : V8Object: (KrollRuntimeThread) [134,134] Runtime disposed, cannot set property 'userAgent'\r\n[DEBUG] : dalvikvm: Trying to load lib /data/app-lib/df.ler-2/libandr.test.so 0x42af14a0\r\n[ERROR] : dalvikvm: dlopen(\"/data/app-lib/df.ler-2/libandr.test.so\") failed: dlopen failed: cannot locate symbol \"__cxa_end_cleanup\" referenced by \"libandr.test.so\"...\r\n[WARN] : dalvikvm: threadid=10: thread exiting with uncaught exception (group=0x418a4da0)\r\n[ERROR] : TiApplication: (KrollRuntimeThread) [56,190] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol \"__cxa_end_cleanup\" referenced by \"libandr.test.so\"...; Titanium 3.4.1,2014/11/13 13:33,5982e8f\r\n[ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol \"__cxa_end_cleanup\" referenced by \"libandr.test.so\"...\r\n[ERROR] : TiApplication: \tat java.lang.Runtime.loadLibrary(Runtime.java:365)\r\n[ERROR] : TiApplication: \tat java.lang.System.loadLibrary(System.java:526)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:123)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:90)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Mobile app crashes with Android modules", "creator": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Titanium SDK: 3.5.0.v20141222103320\r\nAppc-Studio: 3.4.1 GA\r\nTitanium CLI: 3.4.1 GA\r\nAlloy : 1.5.1 GA\r\nXcode : 6.1\r\nOS: OSX 10.10.1\r\nDevice : Galaxy S4 (v4.4.2)", "comment": { "comments": [ { "id": "337599", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tried to reproduce the issue but could not reproduce. \r\nThe app with packaged module builds & run fine on android device & emulator.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.1.201410281743\r\nTi SDK : 3.5.0.v20141222103320\r\nCLI : 3.4.1\r\nAlloy : 1.5.1 GA\r\nCode Processor : 1.1.1\r\nMAC Yosemite : 10.10\r\nDevice : Samsung Galaxy S4 - 4.4.2, Nexus 5 - 5.0.1\r\nEmulator : android 4.4.2, android 5.0.1\r\nAndroid NDK : 10d", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-29T21:27:44.000+0000", "updated": "2014-12-29T21:27:44.000+0000" }, { "id": "338020", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~kvelummaylum] Can you try this on another system to see if this is a configuration-specific issue?", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-06T19:49:03.000+0000", "updated": "2015-01-06T19:49:03.000+0000" }, { "id": "338145", "author": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "body": "[~emerriman] I couldn't reproduce this in other machines. But still I see this issue in my machine.", "updateAuthor": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-01-07T08:41:32.000+0000", "updated": "2015-01-07T08:41:32.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }