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
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.