Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10234] iOS: Platform > XHR > File Download: 'Large File Download' after downloading file leads to crash.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-07-19T09:44:53.000+0000
Affected Version/sRelease 2.1.1
Fix Version/sRelease 3.0.0, Sprint 2012-18 Core, 2012 Sprint 18
ComponentsiOS
Labelscore, qe-ios070112, qe-newKS, qe-testadded, regression
ReporterEvgenii Tcarev
AssigneeMax Stepanov
Created2012-07-30T11:25:46.000+0000
Updated2013-07-19T09:44:53.000+0000

Description

Description: After completing the large file download, KitchenSink crashes. Device logs are attached. This is a regression it doesn't occur on SDK 2.0.1.GA2 Steps to reproduce: 1) Launch refactored Kitchen Sink (Kevin Winnerey/Developer relations version) > Platform > XHR > File Download 2) 
Tap on 'Large File Download. Actual results: Afte complete downloading the application crashes. Expected results: Large File should be successfully downloaded. Note: According to recent investigations, this also affects Android

Attachments

FileDateSize
Crash_Log_1.rtf2012-07-30T11:40:21.000+000026099
Screenshot 2012.07.30 10.11.28.png2012-07-30T15:48:53.000+0000172879
XHR_File_Download_crash.rtf2012-07-30T11:25:46.000+00001472

Comments

  1. Evgenii Tcarev 2012-07-30

    When device goes sleep during downloading see an error: "Error Domain=ASIHTTPRequestErrorDo main Code=2 "The request timed out" UserInfo=0x18a13e0 {NSLocalisedDescription=The request time out}. Screenshot is attached. Tested on: iPhone 4 (5.1), iPad2 (5.1) Titanium Studio, build: 2.1.1.201207171343 SDK version: 2.1.1.v20120727140110
  2. Max Stepanov 2012-07-30

    Regression caused by https://github.com/appcelerator/titanium_mobile/commit/ef06d63806e036de0b1cc647e1fe079048a99845
  3. Max Stepanov 2012-07-30

    Decoding random binary data with NSISOLatin1StringEncoding causes application crash.
  4. Evgenii Tcarev 2012-07-31

    Can't Reproduce with build of refactored Kitchen Sink (Kevin Winnerey/Developer relations version) at 07-31-12 Tested on: iPhone4 (5.1), iPad2 (4.3.5) Titanium Studio, build: 2.1.1.201207271312 SDK version: 2.1.1.v20120727140110
  5. Max Stepanov 2012-09-06

    Test file has been updated from binary to test, so decoding could handle it.
  6. Olga Romero 2012-11-29

    Reopened due to the same issue on iPhone5 iOS6.0 Tested on: Titanium Studio, build: 3.0.0.201211271925 Titanium SDK, build: 3.0.0.v20121121161553 Device: iPhone5 iOS 6.0
  7. Max Stepanov 2012-11-29

    Any crash logs ?
  8. Olga Romero 2012-11-29

    Looks like I have to close it, reloaded, relaunched, refreshed. Cannot reproduce it:) My apology for the fals alarm:)
  9. Anshu Mittal 2013-07-19

    Reopening to update labels

JSON Source