{ "id": "170695", "key": "AC-5481", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2018-01-01T08:31:25.000+0000", "created": "2018-01-01T06:01:08.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-03-27T12:15:24.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": [], "description": "The app successfully built on the android but failed to run the database create table sql statements and the error is: disk I/O error. The same code works fine on the iOS.\r\nI use Genymotion for the android emulator.\r\nHere is the log:\r\n[ERROR] : SQLiteLog: (1802) os_unix.c:32281: (2) stat(/data/user/0/com.capps.tradies/databases/tradies_db) -\r\n[ERROR] : SQLiteLog: (1802) statement aborts at 1: [BEGIN EXCLUSIVE;] disk I/O error\r\n[ERROR] : TiDB: (KrollRuntimeThread) [196,196] Error executing sql: disk I/O error (code 1802)\r\n[ERROR] : TiDB: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 1802)\r\n[ERROR] : TiDB: \tat android.database.sqlite.SQLiteConnection.nativeExecute(Native Method)\r\n[ERROR] : TiDB: \tat android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:555)\r\n[ERROR] : TiDB: \tat android.database.sqlite.SQLiteSession.beginTransactionUnchecked(SQLiteSession.java:323)\r\n[ERROR] : TiDB: \tat android.database.sqlite.SQLiteSession.beginTransaction(SQLiteSession.java:298)\r\n[ERROR] : TiDB: \tat android.database.sqlite.SQLiteSession.executeSpecial(SQLiteSession.java:874)\r\n[ERROR] : TiDB: \tat android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:748)\r\n[ERROR] : TiDB: \tat android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)\r\n[ERROR] : TiDB: \tat android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1677)\r\n[ERROR] : TiDB: \tat android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1656)\r\n[ERROR] : TiDB: \tat ti.modules.titanium.database.TiDatabaseProxy.execute(TiDatabaseProxy.java:141)\r\n[ERROR] : TiDB: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)\r\n[ERROR] : TiDB: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:196)\r\n[ERROR] : TiDB: \tat org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:321)\r\n[ERROR] : TiDB: \tat android.os.Handler.dispatchMessage(Handler.java:98)\r\n[ERROR] : TiDB: \tat android.os.Looper.loop(Looper.java:154)\r\n[ERROR] : TiDB: \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:118)\r\n[WARN] : W/System.err: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 1802)\r\n[WARN] : W/System.err: \tat android.database.sqlite.SQLiteConnection.nativeExecute(Native Method)\r\n[WARN] : W/System.err: \tat android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:555)\r\n[WARN] : W/System.err: \tat android.database.sqlite.SQLiteSession.beginTransactionUnchecked(SQLiteSession.java:323)\r\n[WARN] : W/System.err: \tat android.database.sqlite.SQLiteSession.beginTransaction(SQLiteSession.java:298)\r\n[WARN] : W/System.err: \tat android.database.sqlite.SQLiteSession.executeSpecial(SQLiteSession.java:874)\r\n[WARN] : W/System.err: \tat android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:748)\r\n[WARN] : W/System.err: \tat android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)\r\n[WARN] : W/System.err: \tat android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1677)\r\n[WARN] : W/System.err: \tat android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1656)\r\n[WARN] : W/System.err: \tat ti.modules.titanium.database.TiDatabaseProxy.execute(TiDatabaseProxy.java:141)\r\n[WARN] : W/System.err: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)\r\n[WARN] : W/System.err: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:196)\r\n[WARN] : W/System.err: \tat org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:321)\r\n[WARN] : W/System.err: \tat android.os.Handler.dispatchMessage(Handler.java:98)\r\n[WARN] : W/System.err: \tat android.os.Looper.loop(Looper.java:154)\r\n[WARN] : W/System.err: \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:118)\r\n[INFO] : [1 Jan 2018, 12:53:03 am -05:00] db -> execute error: disk I/O error (code 1802)", "attachment": [], "flagged": false, "summary": "[Android] Titanium Database disk I/O error on the latest SDK (7.0.1GA)", "creator": { "name": "kenjorai", "key": "kenjorai", "displayName": "Kai Lu", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kenjorai", "key": "kenjorai", "displayName": "Kai Lu", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS X 10.13.2\r\nTitanium 7.0.1GA 6.3.0GA", "comment": { "comments": [ { "id": "432608", "author": { "name": "kenjorai", "key": "kenjorai", "displayName": "Kai Lu", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It turns out to be a bug in my code. Please ignore this ticket and close it.", "updateAuthor": { "name": "kenjorai", "key": "kenjorai", "displayName": "Kai Lu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-01T07:09:34.000+0000", "updated": "2018-01-01T07:09:34.000+0000" }, { "id": "435967", "author": { "name": "chmiiller", "key": "chmiiller", "displayName": "Carlos Henrique Zinato", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi @Kai Lu, I'm also having this problem, can you tell me what did you fix to make it work again?\r\nThanks!", "updateAuthor": { "name": "chmiiller", "key": "chmiiller", "displayName": "Carlos Henrique Zinato", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-27T12:15:24.000+0000", "updated": "2018-03-27T12:15:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }