{ "id": "169962", "key": "MOD-2366", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-10-06T21:23:11.000+0000", "created": "2017-10-04T21:29:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "18411", "name": "appcelerator.encrypteddatabase 2.0.2", "archived": false, "released": true } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-04-24T16:54:46.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": "13609", "name": "Encrypted SQLite DB" } ], "description": "h5. When running Encrypted database module with sdk 6.2.x the module errors out with the following error: \r\n[ERROR] : TiExceptionHandler: (main) [0,291] - Message: Uncaught dlopen failed: library \"libutils.so\" not found \r\n\r\nfull log attached below. \r\n\r\nh5. steps to reproduce\r\nCreate a new project using Encrypted Database Module 2.0.2 \r\nBuild with SDK 6.2.+\r\n\r\nh5. Additional information \r\nWorks fine with anything before SDK 6.2.0", "attachment": [ { "id": "63392", "filename": "ModuleLog.rtf", "author": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-04T21:28:58.000+0000", "size": 8661, "mimeType": "text/rtf" } ], "flagged": false, "summary": "Android: appcelerator.encrypteddatabase module fails with SDK 6.2.0+", "creator": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Node Version: 6.0.0 \r\nNPM Version: 3.10.10 \r\nMac OS: 10.11.6 \r\nAppc CLI: 6.2.4 \r\nAppc CLI NPM: 4.2.9 \r\nAppcelerator Studio vers 4.10.0 \r\nTitanium SDK version: 6.2.2 \r\nEncrypted Database Module 2.0.2", "closedSprints": [ { "id": 951, "state": "closed", "name": "2017 Sprint 20 SDK", "startDate": "2017-09-24T17:50:18.277Z", "endDate": "2017-10-08T17:50:00.000Z", "completeDate": "2017-10-09T20:38:07.840Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "428746", "author": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~amukherjee]I was able to reproduce the issue using the example app like you. I went ahead and added environment details to the ticket", "updateAuthor": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-05T17:28:10.000+0000", "updated": "2017-10-05T17:28:10.000+0000" }, { "id": "428747", "author": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here is a link to the sample app I used https://axwaysoftware-my.sharepoint.com/personal/vvazquezmontero_axway_com/_layouts/15/guestaccess.aspx?guestaccesstoken=icc5kQKMZuXVhv4zBNuNTV%2fcoNKXu%2fcC4FRdGLtZEmQ%3d&docid=2_1861d9138acec4092b86904d848027efa&rev=1", "updateAuthor": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-05T17:58:18.000+0000", "updated": "2017-10-05T17:58:18.000+0000" }, { "id": "428748", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~amukherjee], [~vvazquezmontero], I was able to reproduce the issue. Its seen only on Android 7.0 & above device. 6.0.1 & below is fine.\r\n{code}\r\n[WARN] : [Pixel] W/System.err: java.lang.UnsatisfiedLinkError: dlopen failed: library \"libutils.so\" not found\r\n[WARN] : [Pixel] W/System.err: \tat java.lang.Runtime.loadLibrary0(Runtime.java:989)\r\n[WARN] : [Pixel] W/System.err: \tat java.lang.System.loadLibrary(System.java:1530)\r\n[WARN] : [Pixel] W/System.err: \tat net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:174)\r\n[WARN] : [Pixel] W/System.err: \tat net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:169)\r\n[WARN] : [Pixel] W/System.err: \tat appcelerator.encrypteddatabase.EncrypteddatabaseModule.open(EncrypteddatabaseModule.java:64)\r\n[WARN] : [Pixel] W/System.err: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)\r\n[WARN] : [Pixel] W/System.err: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:196)\r\n[WARN] : [Pixel] W/System.err: \tat org.appcelerator.kroll.KrollRuntime.runModule(KrollRuntime.java:243)\r\n[WARN] : [Pixel] W/System.err: \tat org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:128)\r\n[WARN] : [Pixel] W/System.err: \tat org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:183)\r\n[WARN] : [Pixel] W/System.err: \tat org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:172)\r\n[WARN] : [Pixel] W/System.err: \tat org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:684)\r\n[WARN] : [Pixel] W/System.err: \tat org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:169)\r\n[WARN] : [Pixel] W/System.err: \tat org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:161)\r\n[WARN] : [Pixel] W/System.err: \tat android.app.Activity.performCreate(Activity.java:6679)\r\n[WARN] : [Pixel] W/System.err: \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)\r\n[WARN] : [Pixel] W/System.err: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)\r\n[WARN] : [Pixel] W/System.err: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)\r\n[WARN] : [Pixel] W/System.err: \tat android.app.ActivityThread.-wrap12(ActivityThread.java)\r\n[WARN] : [Pixel] W/System.err: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)\r\n[WARN] : [Pixel] W/System.err: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n[WARN] : [Pixel] W/System.err: \tat android.os.Looper.loop(Looper.java:154)\r\n[WARN] : [Pixel] W/System.err: \tat android.app.ActivityThread.main(ActivityThread.java:6119)\r\n[WARN] : [Pixel] W/System.err: \tat java.lang.reflect.Method.invoke(Native Method)\r\n[WARN] : [Pixel] W/System.err: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)\r\n[WARN] : [Pixel] W/System.err: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)\r\n[ERROR] : [Pixel] TiExceptionHandler: (main) [208,208] ----- Titanium Javascript Runtime Error -----\r\n[ERROR] : [Pixel] TiExceptionHandler: (main) [0,208] - In /alloy/sync/enc.db.js:198,24\r\n[ERROR] : [Pixel] TiExceptionHandler: (main) [0,208] - Message: Uncaught dlopen failed: library \"libutils.so\" not found\r\n[ERROR] : [Pixel] TiExceptionHandler: (main) [0,208] - Source: var db = _database.open(dbname);\r\n[ERROR] : [Pixel] V8Exception: Exception occurred at /alloy/sync/enc.db.js:198: Uncaught dlopen failed: library \"libutils.so\" not found\r\n[ERROR] : [Pixel] V8Exception: dlopen failed: library \"libutils.so\" not found\r\n{code}\r\n\r\nStudio Ver: 4.10.0.201709271713\r\nSDK Ver: 6.2.2.GA\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.9\r\nAppc CLI: 6.3.0-master.6\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.10.5\r\nNode Ver: 7.10.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Nexus 5 --- Android 6.0.1\r\n ⇨ google Pixel --- Android 7.1.1 \r\nEmulator: Android 8.0, Android 5.1.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-05T18:15:30.000+0000", "updated": "2017-10-05T18:16:01.000+0000" }, { "id": "428761", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "2.0.3: https://github.com/appcelerator-modules/appcelerator.encrypteddatabase/pull/22\r\n\r\n[Release 2.0.3|https://github.com/appcelerator-modules/appcelerator.encrypteddatabase/releases/tag/2.0.3]\r\n\r\ncc [~amukherjee] [~lchoudhary]", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-05T22:17:29.000+0000", "updated": "2017-10-06T00:53:59.000+0000" }, { "id": "428796", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. PR Merged.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-06T21:22:58.000+0000", "updated": "2017-10-06T21:22:58.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }