When on Earth is Corona going to fix the bug of loading image from gallery in Android?

While our apps get more and more bad reviews. Are you going to fix the memory leak?

Bug id?

Last reported

32369

If you look at the forum has months, probably reported by others too. Engineer admited to know the bug long time…but is not solved. Users cant use our apps.

I think a bug that doesn’t allow to use an app is a urgent bug to fix. I think…

 

http://forums.coronalabs.com/topic/27207-resolved-problems-savingloading-photos-from-album-on-android/page-2

“Okay, so, we were able to reproduce this issue.  We are definitely detecting a slight memory leak everytime you suspend/resume an app and after doing this enough times, the app exceeds the max heap limit on Android.  We think we’ve isolated this issue in our core C++ code, which unfortunately means we can only fix this in a daily build.  Also, theoretically, this issue should only happen on Android and Windows.  Mac and iOS may not have this issue.  This also looks like a graphics 2.0 issue as well.  We’ll investigate this further and let you know once we have it resolved.  Thanks for bringing up this issue.”

Joshua Quick 20 March 2014 - 01:53 AM

Can you fix it. Please. And please dont tell me more is because “keed activities” checked. I discovered that rebooted my app and I am not talking about that.

Can you fix it please. Every day is not solved I lose sellings.

Just tested here using latest build (#2296) and the bug still happens.

Using a Galaxy S1, I got the following results:

  • Using the Camera sample App, If I take a picture 8 times in a row, the app crashes
  • Using the PhotoPicker Sample App, If it load a picture 13 times in a row, the app crashes

When I say crashes, it is actually being closed by the system due to the use of too much memory.

It was already identified that there is a memory leak when an Android app gets suspended. (more info here)

So, each time that it goes suspended for any reason (to go the Album, to go the Camera, to go to Facebook for authorization,…), more are chances that the app will crash next time it goes suspended.

If the app already uses some amount of memory (like, several images being displayed), the app can crash even in the first time it goes suspended.

In my Samsung galaxy s3 happens all time. Even the first time. Some of my users say the same. Other say it works ok. Must deppends of the devices. It happens to me with big photos. Today the devices take photos in high resolution, and in the future every time they will be bigger. Make something to avoid the reboot.

You Galaxy S3 is the model “m0” ? I noticed that all my users with Galaxy S3 m0 faces that problem in the first time that the app goes suspended…

Gt-I9300 android 4.1.2
I have users reporting the problem even with tablets. It happens in lot of devices.

We have a fix coming for the Photo Picker when opening large photos multiple times. The memory leak is caused by a bug in one of the Google libraries. We tried replacing the library with their updated version but it causes other bugs so we are sorting out the issues now.

One week more without fixing the bug

Engineering has had two days to try and sort out the problems they mentioned above.  Please be patient.  Not all bugs can be fixed at the speed of light, especially problems in libraries out of our control.

Thanks

Rob

Another week without fixing the identified bug.

Bug id?

Last reported

32369

If you look at the forum has months, probably reported by others too. Engineer admited to know the bug long time…but is not solved. Users cant use our apps.

I think a bug that doesn’t allow to use an app is a urgent bug to fix. I think…

 

http://forums.coronalabs.com/topic/27207-resolved-problems-savingloading-photos-from-album-on-android/page-2

“Okay, so, we were able to reproduce this issue.  We are definitely detecting a slight memory leak everytime you suspend/resume an app and after doing this enough times, the app exceeds the max heap limit on Android.  We think we’ve isolated this issue in our core C++ code, which unfortunately means we can only fix this in a daily build.  Also, theoretically, this issue should only happen on Android and Windows.  Mac and iOS may not have this issue.  This also looks like a graphics 2.0 issue as well.  We’ll investigate this further and let you know once we have it resolved.  Thanks for bringing up this issue.”

Joshua Quick 20 March 2014 - 01:53 AM

Can you fix it. Please. And please dont tell me more is because “keed activities” checked. I discovered that rebooted my app and I am not talking about that.

Can you fix it please. Every day is not solved I lose sellings.

Just tested here using latest build (#2296) and the bug still happens.

Using a Galaxy S1, I got the following results:

  • Using the Camera sample App, If I take a picture 8 times in a row, the app crashes
  • Using the PhotoPicker Sample App, If it load a picture 13 times in a row, the app crashes

When I say crashes, it is actually being closed by the system due to the use of too much memory.

It was already identified that there is a memory leak when an Android app gets suspended. (more info here)

So, each time that it goes suspended for any reason (to go the Album, to go the Camera, to go to Facebook for authorization,…), more are chances that the app will crash next time it goes suspended.

If the app already uses some amount of memory (like, several images being displayed), the app can crash even in the first time it goes suspended.

In my Samsung galaxy s3 happens all time. Even the first time. Some of my users say the same. Other say it works ok. Must deppends of the devices. It happens to me with big photos. Today the devices take photos in high resolution, and in the future every time they will be bigger. Make something to avoid the reboot.

You Galaxy S3 is the model “m0” ? I noticed that all my users with Galaxy S3 m0 faces that problem in the first time that the app goes suspended…