Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19214

iOS: Regression: TiUIImageView.images property crashes app in 4.1.0.GA

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 4.1.1, Release 5.0.0
    • Component/s: iOS
    • Environment:

      TiSDK 4.1.0.GA & CI Build 4.2.0.v20150710092422
      iOS 8

    • Story Points:
      5
    • Sprint:
      2015 Sprint 15 SDK

      Description

      Issue Description

      Crash when using animated ImageView with Titanium Mobile SDK 4.1.0.GA. When setting an array of image paths in the TiImageView.images property, the app gets no crash in 4.0.0.GA (iOS simulator/device).

      Steps to Reproduce

      1. Install attached sample (includes the images)
      2. Launch it - the app should crash since 4.1.0.GA and above exhibiting the following outcomes:

      iOS 8.4 (iPhone 4s simulator) Crash
      iOS 8.2 (iPad) No crash
      iOS 7.1 (iPhone) Crash

      Stack Trace

      Jul 13 18:36:36 lAlO PriebeSandbox[224] <Warning>: [INFO] PriebeSandbox/1.0 (4.1.0.d57aa7d)
      Jul 13 18:36:36 lAlO PriebeSandbox[224] <Warning>: [DEBUG] Loading: /var/mobile/Applications/8695F53F-75E4-4328-8C30-C2AC3BD7CE19/PriebeSandbox.app/app.js, Resource: app_js
      Jul 13 18:36:36 lAlO PriebeSandbox[224] <Warning>: [DEBUG] Loading: /var/mobile/Applications/8695F53F-75E4-4328-8C30-C2AC3BD7CE19/PriebeSandbox.app/_app_props_.json, Resource: _app_props__json
      Jul 13 18:36:37 lAlO PriebeSandbox[224] <Warning>: [ERROR] Script Error {
              column = 478;
              line = 1;
              message = "*** Collection <__NSArrayM: 0x145c0ed0> was mutated while being enumerated.";
              sourceURL = "file:///var/mobile/Applications/8695F53F-75E4-4328-8C30-C2AC3BD7CE19/PriebeSandbox.app/app.js";
              stack = "[native code]\nglobal code@file:///var/mobile/Applications/8695F53F-75E4-4328-8C30-C2AC3BD7CE19/PriebeSandbox.app/app.js:1:478";
          }
      Jul 13 18:36:37 lAlO PriebeSandbox[224] <Warning>: [DEBUG] Application booted in 738.143027 ms
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                penrique Pedro Enrique (Inactive)
                Reporter:
                egomez Eduardo Gomez (Inactive)
                Reviewer:
                Chee Kiat Ng (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-20138
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code