Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13690] Android: Debugger: Termination of the process from the console view freezes App with ANR message

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-07-24T00:20:44.000+0000
Affected Version/sRelease 3.1.1
Fix Version/s2013 Sprint 15 API, 2013 Sprint 15
ComponentsAndroid
Labelsqe-3.1.1, triage
ReporterOlga Romero
AssigneeIngo Muschenetz
Created2013-04-26T22:01:06.000+0000
Updated2014-06-17T23:15:59.000+0000

Description

When launching the Debuggeer on device and terminating process from the console view, the app freezes on the "appcelerator splash screen"(red window). In about 1 min "Application Not Responsive" message appears on device. This is *regression*, not occurs in Titanium Studio, build: 3.1.0.201304171607 Test steps: 1. Create a project 2. Debug as Android device 3. Terminate the process after application launches on the device by clicking the red button on the console view. Actual result: 3. The process should be terminated and the app should quit Actual result: The red splash screen (see attached)

Attachments

FileDateSize
ANR.png2013-04-26T22:01:06.000+0000239395

Comments

  1. Olga Romero 2013-05-30

    Tested with: Appcelerator Studio, build: 3.1.1.201305292130 SDK, build: 3.1.1.v20130529114554 Galaxy S4 4.2.2 Nexus7 4.2 I can reproduce the issue, no break points in app.js> debug as Android device.
  2. Sabil Rahim 2013-05-30

    This is what i have found till now. This occurs if try closing the debugger connection while the app is in the middle of booting up. if you close the connection afterwards the app quits as expected. To consistently reproduce the issue, i used KS. and tested all the way back up to 3.0.2.GA and it has the same behavior. So i don't think this should be a regression as this has always been the behavior. I also did testing in TiStudio 3.1.0.GA and still happens. We believe this bug is due to the current window architecture and would be fixed once new the window behavior is implemented.
  3. Eric Merriman 2013-05-30

    Removing the regression tag based on Sabil's comments.
  4. Ping Wang 2013-07-24

    Tested KS with the latest master and 3_1_X branch. This issue does not happen any more. After the debugger is terminated, the app will not freeze and have no ANR error although the splash screen still shows. Probably fixed by TIMOB-12939. Resolve the ticket as Cannot Reproduce.
  5. Olga Romero 2014-06-17

    closing after testing with: Mac osx 10.9.3 Mavericks Appcelerator Studio, build: 3.3.0.201406111952 Titanium SDK, build: 3.3.0.v20140616174113 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-rc npm@1.3.2 titanium@3.3.0-rc titanium-code-processor@1.1.1 Device: GalaxyS4 Android version 4.4.2

JSON Source