Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19249] iOS: ListView randomly crashes the App

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-07-25T00:05:23.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.1.1, Release 5.0.0
ComponentsiOS
Labelsregression
ReporterDavid He
AssigneePedro Enrique
Created2015-07-21T11:55:57.000+0000
Updated2015-08-04T20:51:46.000+0000

Description

Attachments

FileDateSize
app.zip2015-07-21T11:52:34.000+0000118277
list_view_crash.mov2015-07-21T11:53:07.000+0000639242

Comments

  1. David He 2015-07-21

    I cannot release my App due to this issue and have to go one version back to 4.0 to eliminate the crash. Really need this to be fixed ASAP
  2. Radamantis Torres-Lechuga 2015-07-21

    [~jialhe85@gmail.com] can you please attach a test case and steps to reproduce the issue?Also, add info of your environment Thanks
  3. David He 2015-07-21

    @Radamantis Test case is alloy-powered one - that is why I did not put it in description section. Please see *app.zip* as shown in attachment for detail. The video I took shows the steps to recreate the issue Thanks
  4. David He 2015-07-21

    Env information is described in environment in the header
  5. Radamantis Torres-Lechuga 2015-07-21

    [~jialhe85@gmail.com] What's your operating system? Version? Nodejs version? Java version? npm version? appcelerator CLI version?
  6. David He 2015-07-21

    @Radamantis Software/version number as below operating system/Yosemite 10.10.3 node/0.10.13 npm/2.12.0 appc/4.1.0 Java/1.7.0
  7. Matthias Benkort 2015-07-22

    @Radamantis Same issue, here are mine: OS: OSX Yosemite 10.10.2 NodeJS: 0.12.2 npm: 2.7.4 appc: 4.0.2 java: 1.7.0_45 Thanks.
  8. Pedro Enrique 2015-07-24

    PR: https://github.com/appcelerator/titanium_mobile/pull/6983
  9. Pedro Enrique 2015-07-24

    PR for 4.1.X https://github.com/appcelerator/titanium_mobile/pull/6984
  10. Chee Kiat Ng 2015-07-25

    CR and FT Passed. PRs merged!
  11. Eric Merriman 2015-08-04

    Using sample app attached and 4.1.0 GA, I was unable to reproduce the mutated array issue. I was however able to reproduce that problem with a sample I have. With my sample, it's a 100% failure with runtime error on device and simulator. My error on device or simulator:
    [ERROR] :  Script Error {
        [ERROR] :      column = 9;
        [ERROR] :      line = 236;
        [ERROR] :      message = "*** Collection <__NSArrayM: 0x7f9fdbe9e510> was mutated while being enumerated.";
        [ERROR] :      sourceURL = "file:///Users/eric/Library/Developer/CoreSimulator/Devices/864678AD-462A-458C-BE14-B7C5BEBBB051/data/Containers/Bundle/Application/9D5DF214-4562-4986-91EA-11D334E1C52A/animatorClassic.app/app.js";
        [ERROR] :      stack = "[native code]\nglobal code@file:///Users/eric/Library/Developer/CoreSimulator/Devices/864678AD-462A-458C-BE14-B7C5BEBBB051/data/Containers/Bundle/Application/9D5DF214-4562-4986-91EA-11D334E1C52A/animatorClassic.app/app.js:236:9";
        [ERROR] :  }
    With the attached sample, I was able to get the list view "failure to add" 3 times out of 20 attempts to open the window. Using SDK 4.1.1.v20150802200935, both my sample "mutated array" and the attached sample failure to display list view are fixed. Closing.

JSON Source