[Webkit-unassigned] [Bug 172533] New: Camera/Canvas file input crash: A Problem Occurred with this Webpage so it was Reloaded

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 23 19:54:41 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=172533

            Bug ID: 172533
           Summary: Camera/Canvas file input crash: A Problem Occurred
                    with this Webpage so it was Reloaded
           Product: WebKit
           Version: Safari 10
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zac.spitzer at gmail.com
                CC: dino at apple.com

When taking a photo using HTML file input with an iPhone, Safari often crashes cryptically 
with the "A Problem Occurred with this Webpage so it was Reloaded". It seems this is due 
to an out of memory error, crash logs include reason:vm-thrashing

It may be related to canvas resizing, as the captured image, especially with 
the iPhone's higher megapixel camera producing much larger files that usually 
need to be resized before uploading

I did some research on github and people have been experiencing similar problems

https://github.com/kobotoolbox/enketo-express/issues/398
https://github.com/scottcheng/cropit/issues/226
https://github.com/Foliotek/Croppie/issues/243

this blog post goes into a lot of detail about this problem
http://digitalservicescompany.com/blog/case-study-image-resize-in-a-browser/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170524/248f36c5/attachment-0001.html>


More information about the webkit-unassigned mailing list