Snapchat crashes on Iphone 7 with portal lens.
Hi!
I created and published a portal lens but later I found out that it crashes only on iphone 7 and I can't figure out why.
The lens crashes as soon as I look around or try to swap the camera, standing perfectly still seems to do the trick but sooner or later you move a bit and it crashes. I can't even see the performance info, when pushing the lens to device, with the latest snapchat version (the cog icon is gone).
I tried in several other phones, iphone 6, iphone 10, Huawei p20 lite, Samsung S8+ and it works fine in all of them.
I tried updating snapchat to the latest version, freeing up some RAM, rebooting the phone and checking if the ios version was up to date also but nothing has worked so far.
can snapchat log the crash and dump it to file somehow because in lens studio it runs fine and the logger doesn't show any errors or warnings.
best regards.
follow-up:
I found the crash logs on ios12, run by this 2 specific phones that crash. It's a long JSON file
This is the dump for Snapchat,
I don't know enough to know if something else might be affecting but the apple documentation for crashes say the following:
When a low-memory condition is detected, the virtual memory system in iOS relies on the cooperation of applications to release memory. [...]. If memory pressure still exists, the system may terminate background processes to ease memory pressure. If enough memory can be freed up, your application will continue to run. If not, your application will be terminated by iOS because there isn't enough memory to satisfy the application's demands, [...].
search for "vm-pageshortage" in this page for more info.
https://developer.apple.com/library/archive/technotes/tn2151/_index.html
Hi there,
Thank you for reaching out!
I'll follow up with you via Email.
Cheers,
Karolina
Hi,
I have not received any Email yet other than the notification for your reply.
Let me know if you need a copy of the lens (published with the company account, not mine) or anything.
Best regards and thank you.
Hi Aitor,
Please let me know if you have received an email from me now.
Cheers,
Karolina
Yes, I have received an email from you, with the report case number, earlier today.
Cheers.