Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3522] App crashes or freezes when uploading images and videos to amazon via firebase and refreshes the listview

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-04-26T15:53:15.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAppcelerator Modules, Titanium SDK & CLI
Labelsfirebase, ios
ReporterJavier Gonzalez
AssigneeShak Hossain
Created2016-04-18T22:55:44.000+0000
Updated2016-04-26T15:53:15.000+0000

Description

The following warning message shows up on my console when I try to save data on Firebase and the list where the data is located refreshes. Most of the time this happens when I save an image or video url in Firebase and then an imageview calls the url, and after this the app crashes. This is the warning message: [WARN] : 1 0x100401320 std::__1::__tree, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > > >::destroy(std::__1::__tree_node, std::__1::allocator >, void*>) [WARN] : 2 0x100452208 std::__1::__tree, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > > >::destroy(std::__1::__tree_node, std::__1::allocator >, void*>) As a reference I am using: - Titanium SDK 5.1.2.GA. - Amazon S3. - Module com.leftlanelab.firebase 1.1.1 The data lives in a listview that contains images and text. Use this modules ti.imagefactory com.leftlanelab.firebase Steps: 1. Create an account in Amazon and a bucket in S3 2. Get your API keys, secret, and your bucket name to paste it in your code. 3. Start taking photos or videos. 4. App should crash when uploading photos or videos to amazon. 5. If crash does not happen try to do this with a bad internet connection. and link to stackoverflow question http://stackoverflow.com/questions/36584993/appcelerator-ios-sudden-crash?noredirect=1#comment60965364_36584993

Attachments

FileDateSize
entity.js2016-04-18T22:58:51.000+000022886
entity.tss2016-04-18T22:59:18.000+00004588
entity.xml2016-04-18T22:59:30.000+00004359
ic_camera@2x.png2016-04-18T22:55:12.000+0000783
ti.amazon.s3.js2016-04-18T22:43:46.000+000011291

Comments

  1. Sharif AbuDarda 2016-04-20

    Hello, Please provide a sample project with only the necessary code section which causes the issue, for us to test in our environment. Please attach the project to this ticket. It will he helpful to test the issue and provide a solution once we have the full code and steps to regenerate the issue. Regards, Sharif.

JSON Source