[TIMOB-17131] iOS: APSHTTPOperation crashes app randomly
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-06-29T15:15:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.3.0 |
Components | iOS |
Labels | module_acs, qe-testadded |
Reporter | Jon Alter |
Assignee | Jon Alter |
Created | 2014-06-10T17:19:05.000+0000 |
Updated | 2014-07-08T00:05:30.000+0000 |
Description
APSHTTPOperation crashes app randomly
*Note:* This issue is very intermittent and can be difficult to reproduce.
Repro Steps
1: Open APSCloudExample app
2. Add key to AppDelegate.m
3. Run the app
4. Create a Review
5. Query Reviews
6. Open a Review and update it
7. Back out on screen
8. Open the Review again (at this point the app should crash, if it does not, back out and open the review several times until the app does crash).
See attached screen shot for typical crash stack trace
Attachments
[~vduggal] to attempt to fix the issue in APSHttpClient. [~penrique] to write unit tests (ideally we can reuse the ti.cloud unit tests, or write new ones ones using https://github.com/appcelerator/tio2) to prove that this issue does not (or does) affect Titanium Mobile.
[~mlangston] what PR resolved this?
[~jalter] I believe it's NATIVESDK-169, but [~mlangston] needs to confirm. Matt, we always need to reference the ticket or PR that resolves this issue.
Reopening ticket. I am able to reproduce a similar crash i.e. the app crashes, but not with the exact crash logs as shown in the above screen shot attachment; see my attachments bug17131.png and bug17131.crash. Also, I can consistently reproduce the crash on step 6; when I open a review. Tested on: APS SDK: 0.8.6 Xcode: 5.1.1 Device: iphone 5s (7.1.1)
Verified fixed on: Mac OSX 10.9.4 Appcelerator Studio, build: 3.3.0.201407031747 Titanium SDK, build: 3.3.0.v20140707105712 Titanium CLI, build: 3.3.0-rc4 Alloy: 1.4.0-rc4 iOS Device: iPhone 5 (7.0.6) Ti.Cloud: 3.2.3 App does not crash after following test steps from the description. Closing.