{ "id": "169101", "key": "TIMOB-25021", "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": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-08-01T20:35:05.000+0000", "created": "2017-07-25T18:07:48.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-16T01:03:18.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": "- Sometimes an application will crash when attempting to re-launch after closing.\r\n\r\n{code}\r\n07-19 21:13:57.396: I/KeyButtonView(5652): sendEvent(0,0,666070799,false) back\r\n07-19 21:13:57.419: I/KeyButtonView(5652): sendEvent(1,0,666070824,false) back\r\n07-19 21:13:57.424: D/ActivityTrigger(5200): ActivityTrigger activityPauseTrigger \r\n07-19 21:13:57.482: I/Adreno(9584): QUALCOMM build : 6933d31, I73c5708217\r\n07-19 21:13:57.482: I/Adreno(9584): Build Date : 12/28/16\r\n07-19 21:13:57.482: I/Adreno(9584): OpenGL ES Shader Compiler Version: XE031.09.00.04\r\n07-19 21:13:57.482: I/Adreno(9584): Local Branch : \r\n07-19 21:13:57.482: I/Adreno(9584): Remote Branch : quic/LA.BR.1.3.6_rb1.11\r\n07-19 21:13:57.482: I/Adreno(9584): Remote Branch : NONE\r\n07-19 21:13:57.482: I/Adreno(9584): Reconstruct Branch : NOTHING\r\n07-19 21:13:57.504: I/InputMethodManagerService(5200): Disable input method client, cs=ClientState{fd755d6 uid 10628 pid 28593}\r\n07-19 21:13:57.504: D/InputMethodManagerService(5200): Switching to client com.google.android.googlequicksearchbox(9584), IME=com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME\r\n07-19 21:13:57.504: I/InputMethodManagerService(5200): Enable input method client, cs=ClientState{2298a1b uid 10055 pid 9584}\r\n07-19 21:13:57.851: D/Window(28593): Window is closed normally.\r\n07-19 21:13:58.104: W/(526): debuggerd: handling request: pid=28593 uid=10628 gid=10628 tid=28593\r\n07-19 21:13:58.183: A/DEBUG(28675): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\r\n07-19 21:13:58.183: A/DEBUG(28675): Build fingerprint: 'htc/hiaeuhl_00401/htc_hiaeuhl:7.0/NRD90M/876837.2:user/release-keys'\r\n07-19 21:13:58.183: A/DEBUG(28675): Revision: '0'\r\n07-19 21:13:58.183: A/DEBUG(28675): ABI: 'arm'\r\n07-19 21:13:58.183: A/DEBUG(28675): pid: 28593, tid: 28593, name: com.miga.test >>> com.miga.test <<<\r\n07-19 21:13:58.183: A/DEBUG(28675): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------\r\n07-19 21:13:58.190: A/DEBUG(28675): Abort message: 'art/runtime/indirect_reference_table.cc:66] JNI ERROR (app bug): see above.'\r\n07-19 21:13:58.190: A/DEBUG(28675): r0 00000000 r1 00006fb1 r2 00000006 r3 00000008\r\n07-19 21:13:58.190: A/DEBUG(28675): r4 f6f4758c r5 00000006 r6 f6f47534 r7 0000010c\r\n07-19 21:13:58.190: A/DEBUG(28675): r8 f6e83400 r9 f433eb33 sl f433eb12 fp ffffffff\r\n07-19 21:13:58.190: A/DEBUG(28675): ip 00000002 sp ff7f4ed8 lr f5c15077 pc f5c178f8 cpsr 200f0010\r\n07-19 21:13:58.197: A/DEBUG(28675): backtrace:\r\n07-19 21:13:58.197: A/DEBUG(28675): #00 pc 0004a8f8 /system/lib/libc.so (tgkill+12)\r\n07-19 21:13:58.197: A/DEBUG(28675): #01 pc 00048073 /system/lib/libc.so (pthread_kill+34)\r\n07-19 21:13:58.197: A/DEBUG(28675): #02 pc 0001d7f9 /system/lib/libc.so (raise+10)\r\n07-19 21:13:58.197: A/DEBUG(28675): #03 pc 000192f1 /system/lib/libc.so (__libc_android_abort+34)\r\n07-19 21:13:58.197: A/DEBUG(28675): #04 pc 00017358 /system/lib/libc.so (abort+4)\r\n07-19 21:13:58.197: A/DEBUG(28675): #05 pc 0031bec5 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+252)\r\n07-19 21:13:58.197: A/DEBUG(28675): #06 pc 000b4d79 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+864)\r\n07-19 21:13:58.197: A/DEBUG(28675): #07 pc 001be4fb /system/lib/libart.so (_ZNK3art22IndirectReferenceTable10CheckEntryEPKcPvi+346)\r\n07-19 21:13:58.197: A/DEBUG(28675): #08 pc 001be203 /system/lib/libart.so (_ZN3art22IndirectReferenceTable6RemoveEjPv+830)\r\n07-19 21:13:58.197: A/DEBUG(28675): #09 pc 0023b18f /system/lib/libart.so (_ZN3art9JavaVMExt15DeleteGlobalRefEPNS_6ThreadEP8_jobject+46)\r\n07-19 21:13:58.198: A/DEBUG(28675): #10 pc 0038fc63 /data/app/com.miga.test-1/lib/arm/libkroll-v8.so (_ZN8titanium10JavaObject13DeleteJavaRefEv+34)\r\n07-19 21:13:58.198: A/DEBUG(28675): #11 pc 0038fc9d /data/app/com.miga.test-1/lib/arm/libkroll-v8.so (_ZN8titanium10JavaObjectD2Ev+28)\r\n07-19 21:13:58.198: A/DEBUG(28675): #12 pc 0038ce1b /data/app/com.miga.test-1/lib/arm/libkroll-v8.so (_ZN8titanium5ProxyD2Ev+14)\r\n07-19 21:13:58.198: A/DEBUG(28675): #13 pc 0038ce2d /data/app/com.miga.test-1/lib/arm/libkroll-v8.so (_ZN8titanium5ProxyD0Ev+4)\r\n07-19 21:13:58.198: A/DEBUG(28675): #14 pc 0038e507 /data/app/com.miga.test-1/lib/arm/libkroll-v8.so (Java_org_appcelerator_kroll_runtime_v8_V8Object_nativeRelease+74)\r\n07-19 21:13:58.198: A/DEBUG(28675): #15 pc 003cbd65 /data/app/com.miga.test-1/oat/arm/base.odex (offset 0x3a1000)\r\n{code}\r\n\r\n*STEPS*\r\n1. Create a basic application with {{exitOnClose}}\r\n{code:js}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'gray', exitOnClose: true});\r\nwin.open();\r\n{code}\r\n2. Launch application\r\n3. Press back to exit the application\r\n4. Quickly re-launch the application by pressing the application icon (you may want to add a shortcut to your homescreen)\r\n5. This may take a few attempts\r\n\r\n*EXPECTED*\r\n- The application should not crash\r\n\r\n*ACTUAL*\r\n- The application crashes", "attachment": [], "flagged": false, "summary": "Android: Unable to release weak global references", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 933, "state": "closed", "name": "2017 Sprint 16 SDK", "startDate": "2017-07-30T16:17:10.306Z", "endDate": "2017-08-13T16:17:00.000Z", "completeDate": "2017-08-13T23:06:34.398Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "424673", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/9246", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-25T18:15:25.000+0000", "updated": "2017-07-25T18:15:25.000+0000" }, { "id": "430769", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with SDK 7.0.0.v20171115153702.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-16T01:03:13.000+0000", "updated": "2017-11-16T01:03:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }