GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-03-28T16:56:43.000+0000 |
Affected Version/s | Release 1.8.2 |
Fix Version/s | Sprint 2012-05, Release 2.0.0, Release 1.8.3 |
Components | Android |
Labels | qe-and021312, regression, release-note-2.0.0 |
Reporter | Natalie Huynh |
Assignee | Josh Roesslein |
Created | 2012-02-22T13:50:23.000+0000 |
Updated | 2012-04-02T20:02:34.000+0000 |
Steps to Reproduce:
1. KS > Base UI > Views > Table Views > Table View (Layout 2)
2. Dismiss the keyboard
3. Scroll up and down and randomly click on different areas of the row
Actual:
The application eventually crashes
Expected:
Should not crash
Note: Does not crash on Nexus S (2.3.6)
Unable to reproduce on emulator, HTC Desire (2.2), Xoom (4.0.3), and HTC EVO 4g (2.3.3). This may only occur on the Galaxy Nexus (4.0.2).
I got a similar crash on: SDK build: 1.8.2.v20120223174636 Runtime: V8 Device: LG Slate (3.1) Steps to reproduce: 1. Go to KS > Base UI > Vertical Layout > Table View 2. Quickly tap on a block of text See CrashStack2.txt
The fix for TIMOB-7676 appears to be causing this regression.
So you could re-create? I've been pounding away on my G-Slate like crazy in this KS test, up and down, up and down, really fast, and clicking all over the place until there aren't any rows left to click on. Never crashes. 1_8_X, specifically 59b3a9006 (last commit = Feb 23rd).
I'm also able to reproduce it with "1.8.2.v20120221114636" on a Galaxy Nexus.
Can you guess how long it approx. takes to fix this issue?
We will have this fix available in next few days.
[Pull request #1549](https://github.com/appcelerator/titanium_mobile/pull/1549) up for review.
I saw another instance of this when testing Ping's fix for TIMOB-7008 (the first test case in this issue). It only happened to me a handful of times, so it doesn't seem as easy to replicate, but long-pressing the red row in this test will sometimes cause this ConcurrentModificationException:
The culprit seems to be that we're not copying the KrollDict for bubbled events, which rarely causes two threads to iterate the KrollDict at the same time: https://github.com/pingwang2011/titanium_mobile/blob/af9d729e167b8ee223ad021bcd7510947c551e79/android/titanium/src/java/org/appcelerator/titanium/proxy/TiViewProxy.java#L735