-
Notifications
You must be signed in to change notification settings - Fork 9
media info makes phone freeze or crashes camera app [vegetahd] #118
Comments
@Danfro Thanks for reporting! 👍 I`ll try and recreate it do you have a type of images it happen the most on? |
I am only running ubuntu touch on my phone. |
Stupid me ;-). Thinking of system images, not of photo=images. I tried several resolutions today. So it might be a memory thing depending on the size of the image. |
Hmm yeah that sound like either a memory issue or some race condition issue , btw did the unity UI freeze or just the camera app ? |
Btw. is there a specific reason why the option image info is not available at the gallery as well? Most of the time the camera app crashes = the app closes down. Everything else keeps working. |
Hmm I`ll try an replicate it on my Meizu PRO |
Has this become any better with RC 2018-W50? Ref: ubports/ubuntu-touch#965 At some point being out of memory is a hard limit (especially when we only have 1GB), but we can try to make things better. |
Hi Dalton, thanks for reminding me on those issues. ;-) Test one [see mem1.txt]: Test 2 As you can see image info is using a lot of memory. |
Since this is specific to the camera app (the operation which takes a lot of memory), I've moved this issue there. |
@Danfro Thanks for the great info it really helps! BTW how did you do the zram trick i want it too :) |
@dark-eye it would be great if you could do some further testing with your device. |
Hmm it seems thatthe camera app just doesn't wok on my meizu now :/ I`ll have to investigate the reason for it.... |
@dark-eye Thanks for your efforts to solve that issue. |
Steps to reproduce
Image info is shown. Great so far! :-)
But height and width are given with the value 0.
then either
I tried it several times now.
It seems to me that extracting the image size does take a few seconds.
At that point when the values are taken sometimes it actually extracts/shows height and width correctly :-) or crashes. :-(
Expected behavior
Logfiles and additional information
screenshot showing the zero values


photo for testing
The text was updated successfully, but these errors were encountered: