[AC-2767] App crashes while loading images on ImageView 'touchmove' event.
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-12-28T16:50:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | crash, ios, ipad |
Reporter | Jason Dielman |
Assignee | Paul Dowsett |
Created | 2011-12-28T10:44:34.000+0000 |
Updated | 2016-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
File | Date | Size |
dni.js | 2011-12-28T10:44:34.000+0000 | 4069 |
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
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