{ "id": "112061", "key": "TIMOB-13306", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15396", "description": "2013 Sprint 07 Core", "name": "2013 Sprint 07 Core", "archived": true, "released": true, "releaseDate": "2013-04-08" }, { "id": "15105", "description": "2013 Sprint 07", "name": "2013 Sprint 07", "archived": true, "released": true, "releaseDate": "2013-04-08" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-04T20:26:56.000+0000", "created": "2013-04-01T23:32:59.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_android", "qe-testadded", "regression" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "27304", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "112142", "key": "TISTUD-4095", "fields": { "summary": "Android: App kills Android Debugger session on Windows when auto launching the app", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "27249", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "112065", "key": "ALOY-597", "fields": { "summary": "Windows: Debug source map reports incorrect line", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-24T22:46:21.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": "h5. Problem description\r\nDebugger it's not working as expected on Windows OS, exiting just after installing the app on device.\r\n\r\nh5. Steps to reproduce\r\n1) Create a new default project (either classic one or alloy)\r\n2) Add a breakpoint and debug the App on device\r\nResult: 'Debug on Android Device' window appears as expected. The App is built, but just after installing and launching the App, the Debugger exit and disconnect. The App is installed on device, but it's then stuck at the splashscreen if trying to manually launch it.\r\n\r\nAttaching Studio error log.\r\n\r\nNot reproducible using Studio GA 3.0.2.201302191606 (regression)", "attachment": [ { "id": "36916", "filename": "debugger_log.txt", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-01T23:36:00.000+0000", "size": 9506, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: App kills Android Debugger session on Windows", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti Studio 3.1.0.201304010847\r\nTiSDK 3.1.0.v20130401102449\r\nCLI version 3.0.25-alpha\r\nAndroid OS (device tested: Nexus Galaxy 4.1.1)", "comment": { "comments": [ { "id": "245147", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Max, can you please take a look?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T06:28:33.000+0000", "updated": "2013-04-02T06:28:33.000+0000" }, { "id": "245251", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After investigation, a simple fix to CLI resolved the issue.\nBasically it adds a small timeout to launching app on device.\nI still do believe there is a bug related to race condition in Titanium Studio.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T20:35:17.000+0000", "updated": "2013-04-02T20:35:17.000+0000" }, { "id": "245256", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/4066", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T20:42:28.000+0000", "updated": "2013-04-02T20:42:28.000+0000" }, { "id": "245367", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "V8 protocol log/exception:\n{code}\n{\"seq\":16,\"type\":\"request\",\"command\":\"continue\"}\n\nContent-Length: 95\n\n\n!ENTRY com.appcelerator.titanium.mobile.ui 1 0 2013-04-02 16:56:34.608\n!MESSAGE (Build 3.1.0.201304011855) [INFO] com.appcelerator.titanium.mobile/debu\ng Android application installation terminated\n\n!ENTRY com.appcelerator.titanium.mobile.ui 1 0 2013-04-02 16:56:34.611\n!MESSAGE (Build 3.1.0.201304011855) [INFO] com.appcelerator.titanium.mobile/debu\ng Android application installation exit value was 0\nApr 2, 2013 4:56:34 PM org.chromium.sdk.internal.transport.SocketConnection$3 sh\nutdown\nINFO: Shutdown requested\norg.chromium.sdk.InvalidContextException: org.chromium.sdk.internal.v8native.Int\nernalContext$ContextDismissedCheckedException\n at org.chromium.sdk.internal.v8native.DebugSession.maybeRethrowContextEx\nception(DebugSession.java:292)\nConnection closed at org.chromium.sdk.internal.v8native.JsEvaluateContextI\nmpl.maybeRethrowContextException(JsEvaluateContextImpl.java:86)\n\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\nc(JsEvaluateContextImpl.java:78)\n at org.chromium.sdk.internal.JsEvaluateContextBase.evaluateSync(JsEvalua\nteContextBase.java:26)\n at com.aptana.js.debug.core.v8.V8DebugHost.evaluateInGlobalContext(V8Deb\nugHost.java:329)\n at com.appcelerator.titanium.mobile.android.launching.AndroidV8DebugHost\n.handleTerminate(AndroidV8DebugHost.java:56)\n at com.aptana.js.debug.core.v8.V8DebugHost.processEvents(V8DebugHost.jav\na:291)\n at com.aptana.js.debug.core.v8.V8DebugHost.access$15(V8DebugHost.java:27\n8)\n at com.aptana.js.debug.core.v8.V8DebugHost$8.run(V8DebugHost.java:1295)\nCaused by: org.chromium.sdk.internal.v8native.InternalContext$ContextDismissedCh\neckedException\n at org.chromium.sdk.internal.v8native.ContextBuilder$PreContext.sendV8Co\nmmandAsync(ContextBuilder.java:224)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\ncImpl(JsEvaluateContextImpl.java:68)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\nc(JsEvaluateContextImpl.java:76)\n ... 6 more\n\n!ENTRY com.aptana.js.debug.core.v8 4 0 2013-04-02 16:56:34.630\n!MESSAGE (Build 3.1.0.201304011855) [ERROR] org.chromium.sdk.internal.v8native.\nInternalContext$ContextDismissedCheckedException\n!STACK 0\norg.chromium.sdk.InvalidContextException: org.chromium.sdk.internal.v8native.Int\nernalContext$ContextDismissedCheckedException\n at org.chromium.sdk.internal.v8native.DebugSession.maybeRethrowContextEx\nception(DebugSession.java:292)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.maybeRethrow\nContextException(JsEvaluateContextImpl.java:86)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\nc(JsEvaluateContextImpl.java:78)\n at org.chromium.sdk.internal.JsEvaluateContextBase.evaluateSync(JsEvalua\nteContextBase.java:26)\n at com.aptana.js.debug.core.v8.V8DebugHost.evaluateInGlobalContext(V8Deb\nugHost.java:329)\n at com.appcelerator.titanium.mobile.android.launching.AndroidV8DebugHost\n.handleTerminate(AndroidV8DebugHost.java:56)\n at com.aptana.js.debug.core.v8.V8DebugHost.processEvents(V8DebugHost.jav\na:291)\n at com.aptana.js.debug.core.v8.V8DebugHost.access$15(V8DebugHost.java:27\n8)\n at com.aptana.js.debug.core.v8.V8DebugHost$8.run(V8DebugHost.java:1295)\nCaused by: org.chromium.sdk.internal.v8native.InternalContext$ContextDismissedCh\neckedException\n at org.chromium.sdk.internal.v8native.ContextBuilder$PreContext.sendV8Co\nmmandAsync(ContextBuilder.java:224)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\ncImpl(JsEvaluateContextImpl.java:68)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\nc(JsEvaluateContextImpl.java:76)\n ... 6 more\n(Build 3.1.0.201304011855) [ERROR] org.chromium.sdk.internal.v8native.InternalC\nontext$ContextDismissedCheckedException\norg.chromium.sdk.InvalidContextException: org.chromium.sdk.internal.v8native.Int\nernalContext$ContextDismissedCheckedException\n at org.chromium.sdk.internal.v8native.DebugSession.maybeRethrowContextEx\nception(DebugSession.java:292)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.maybeRethrow\nContextException(JsEvaluateContextImpl.java:86)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\nc(JsEvaluateContextImpl.java:78)\n at org.chromium.sdk.internal.JsEvaluateContextBase.evaluateSync(JsEvalua\nteContextBase.java:26)\n at com.aptana.js.debug.core.v8.V8DebugHost.evaluateInGlobalContext(V8Deb\nugHost.java:329)\n at com.appcelerator.titanium.mobile.android.launching.AndroidV8DebugHost\n.handleTerminate(AndroidV8DebugHost.java:56)\n at com.aptana.js.debug.core.v8.V8DebugHost.processEvents(V8DebugHost.jav\na:291)\n at com.aptana.js.debug.core.v8.V8DebugHost.access$15(V8DebugHost.java:27\n8)\n at com.aptana.js.debug.core.v8.V8DebugHost$8.run(V8DebugHost.java:1295)\nCaused by: org.chromium.sdk.internal.v8native.InternalContext$ContextDismissedCh\neckedException\n at org.chromium.sdk.internal.v8native.ContextBuilder$PreContext.sendV8Co\nmmandAsync(ContextBuilder.java:224)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\ncImpl(JsEvaluateContextImpl.java:68)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\nc(JsEvaluateContextImpl.java:76)\n ... 6 more\norg.chromium.sdk.InvalidContextException: org.chromium.sdk.internal.v8native.Int\nernalContext$ContextDismissedCheckedException\n at org.chromium.sdk.internal.v8native.DebugSession.maybeRethrowContextEx\nception(DebugSession.java:292)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.maybeRethrow\nContextException(JsEvaluateContextImpl.java:86)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\nc(JsEvaluateContextImpl.java:78)\n at org.chromium.sdk.internal.JsEvaluateContextBase.evaluateSync(JsEvalua\nteContextBase.java:26)\n at com.aptana.js.debug.core.v8.V8DebugHost.evaluateInGlobalContext(V8Deb\nugHost.java:329)\n at com.appcelerator.titanium.mobile.android.launching.AndroidV8DebugHost\n.handleTerminate(AndroidV8DebugHost.java:56)\n at com.aptana.js.debug.core.v8.V8DebugHost.processEvents(V8DebugHost.jav\na:291)\n at com.aptana.js.debug.core.v8.V8DebugHost.access$15(V8DebugHost.java:27\n8)\n at com.aptana.js.debug.core.v8.V8DebugHost$8.run(V8DebugHost.java:1295)\nCaused by: org.chromium.sdk.internal.v8native.InternalContext$ContextDismissedCh\neckedException\n at org.chromium.sdk.internal.v8native.ContextBuilder$PreContext.sendV8Co\nmmandAsync(ContextBuilder.java:224)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\ncImpl(JsEvaluateContextImpl.java:68)\n at org.chromium.sdk.internal.v8native.JsEvaluateContextImpl.evaluateAsyn\nc(JsEvaluateContextImpl.java:76)\n ... 6 more\n{code}", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T23:58:42.000+0000", "updated": "2013-04-02T23:58:42.000+0000" }, { "id": "245560", "author": { "name": "sgibly", "key": "sgibly", "displayName": "Shalom Gibly", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This should be reverted to do the launch.\r\nWe fixed the problem from the Studio side.", "updateAuthor": { "name": "sgibly", "key": "sgibly", "displayName": "Shalom Gibly", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-03T21:41:27.000+0000", "updated": "2013-04-03T21:41:27.000+0000" }, { "id": "245773", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reverting this fix: https://github.com/appcelerator/titanium_mobile/pull/4082\r\n\r\n3_1_X backport: https://github.com/appcelerator/titanium_mobile/pull/4083", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-04T20:04:05.000+0000", "updated": "2013-04-04T20:07:21.000+0000" }, { "id": "246006", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as fixed with:\nTitanium Studio: 3.1.0.201304031528\nTiSDK: 3.1.0.v20130404173046\nAndroid Google Nexus One\nAlloy version 1.1.0-beta\nCLI version 3.1.0-beta\n\nCurrent behavior is reverted to the original one, with the App auto launching once installed.\nStudio still display a misleading message on the 'Debug on Android Device' popup window, telling the user to manually launch the app.\nOpening a separate Jira for this.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-05T18:36:11.000+0000", "updated": "2013-04-05T18:36:11.000+0000" }, { "id": "276620", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as fixed and closing.\n\n+Environment:+\nWindows 8.1\nTitanium Studio, build: 3.2.0.201310240435\nTitanium SDK, build: 3.1.3.GA\nCLI: 3.1.2\nAlloy: 1.2.2\nSamsung Galaxy S4: 4.2.2\n\nApp launches automatically and studio changes to debug perspective.\nStops at breakpoint successfully and never kills session.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T17:09:47.000+0000", "updated": "2013-10-24T17:09:47.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }