|
Post by Alex Epifanov on Aug 19, 2019 18:14:49 GMT
Do you have the crash log? Also, is taking few hundreds of photos is a real use case for your app or you just stress testing?
|
|
|
Post by newuser on Aug 20, 2019 10:06:25 GMT
I don't get the option to output any crash logs when the app closes itself (it doesn't say it's crashed it just takes you out of the app).
I can look at exporting the app log if that's useful for you?
And yes this is a real use case as on iOS devices (or at least the iPad's we have tested on) it's a much smaller number to get this behaviour (~120 photos).
|
|
|
Post by Alex Epifanov on Aug 20, 2019 10:29:55 GMT
How about you capture the logcat with ADB?
|
|
|
Post by newuser on Aug 21, 2019 11:26:47 GMT
|
|
|
Post by Alex Epifanov on Aug 21, 2019 21:50:40 GMT
I don't see much from Rhodes app in the log ( check minseverity ), but there are some exception traces from automator, maybe you need to modify appium script to run on your device.
|
|
|
Post by newuser on Aug 22, 2019 8:56:16 GMT
I just edited the appium script you gave me, making the clicks work for the camera app on my devices.
Do you get any of these exceptions? Have you tried running appium for taking larger numbers of photos?
|
|
|
Post by newuser on Sept 18, 2019 9:35:33 GMT
Has anyone been able to test this on higher numbers of photos?
|
|
|
Post by Alex Epifanov on Sept 18, 2019 16:14:34 GMT
I have this one in my list though we got a full backlog from paid customers. I will try to get to it as me or someone from the team has a chance.
|
|
|
Post by newuser on Nov 20, 2019 14:55:15 GMT
That's fine, thank you. Will you update here when you're going to be looking at it or when it's already been looked into?
|
|
|
Post by Alex Epifanov on Nov 20, 2019 19:15:02 GMT
That's fine, thank you. Will you update here when you're going to be looking at it or when it's already been looked into? yes, we have made some progress on this on, yet we doesn't have final solution.
|
|
|
Post by newuser on Nov 22, 2019 11:54:35 GMT
Oh thank you for letting me know, so you were able to replicate?
|
|
|
Post by Alex Epifanov on Nov 26, 2019 0:37:02 GMT
Oh thank you for letting me know, so you were able to replicate? Yes, we were. So far it seems is is not related to camera directly.
|
|
|
Post by georgy on Nov 26, 2019 6:35:29 GMT
newuser The problem is in file descriptor leakage. On my machine application crushes when descriptor quantities are about 512. (about 380 iterations on appium). But it could be easier to find out the source of the problem if file descriptors were exactly and only for files, but ruby is using them also with some streams. Soon we'll solve this problem, I hope.
|
|
|
Post by georgy on Dec 6, 2019 11:04:57 GMT
newuser We finally solve the problem. The branch with solving is here: github.com/rhomobile/rhodes/tree/android_fd_leak_fix . You can try to build your application from this branch, or just simply add the code from the last commit to your gem. Please, test it and tell me if the problem is solved. It this fix helps - we will add it to the master branch.
|
|
|
Post by newuser on Jan 21, 2020 13:42:53 GMT
Apologies for the delay.
I have added this code to the gem I am using currently (7.1.4) but I'm still getting crashes after a number of photos taken. I've even been able to crash just by opening and exiting the camera app many times.
|
|