Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2767] App crashes while loading images on ImageView 'touchmove' event.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2011-12-28T16:50:58.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelscrash, ios, ipad
ReporterJason Dielman
AssigneePaul Dowsett
Created2011-12-28T10:44:34.000+0000
Updated2016-03-08T07:47:40.000+0000

Description

App crashes when setting the image in an ImageView during touchmove in build 1.8.0.1. A series of images are loaded into an array. Looping through the images are to simulate an object rotating. The script tests e.x of 'touchmove' against e.x (startX) set in 'touchstart' to obtain the distance moved. This is used to determine the next index of the image array. The image index changed for every 10 pixels of movement and set to the image property of the ImageView. I've tried this in 1.7.5 and it works fine. I've alerted the availableMemory each time a new series if images are loaded (breakpoint()) and it shows that The availableMemory is allowed to reach extremely low values before it climbs back up in build 1.8.0.1. Build 1.7.5 shows a much larger and more consistant amount of memory.

Attachments

FileDateSize
dni.js2011-12-28T10:44:34.000+00004069

Comments

  1. Paul Dowsett 2011-12-28

    Thanks for raising this ticket. In order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist), and add any missing information. Furthermore, a test case must be included and run without modification, as per the [Creating a Test Case](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase) section. I will mark this resolved for now. Please reopen it once it is complete, and I will move it to the main project. Cheers
  2. Paul Dowsett 2012-02-17

    Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist) to ensure that we can escalate it quickly. Read [How to Submit a Bug Report](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report) if you have not read it before, and always start a ticket using the [JIRA Ticket Template](https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template). Thanks in advance

JSON Source