webkit_web_resource_get_data_finish() sometimes returns NULL without setting the error, causing a NULL dereference. Because of this bug, Epiphany crashes if the user saves some special pages. WebkitGTK+ version: 2.16.6 Error code: https://trac.webkit.org/browser/webkit/trunk/Source/WebKit/UIProcess/API/glib/WebKitWebResource.cpp#L397 Example website that crashes Epiphany when saved: https://archive.org/download/testmp3testfile/mpthreetest.mp3 Downstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=786592
I can reproduce this crash always if I use the Save Page As context menu item. It works fine if I use Save Video As. Thanks for reporting and for finding a reproducer!
Created attachment 319131 [details] Backtrace
Looks like webkit_web_resource_get_data() never sets any error. At the very least we need to return some generic error there. Then the next question is why the resource load is failing in the first place, but that is a separate bug.
*** This bug has been marked as a duplicate of bug 177107 ***