GNOME Bugzilla – Bug 783455
Assertion downloading image
Last modified: 2017-07-02 18:45:00 UTC
epiphany-3.24.2-1.fc26.x86_64 1. Go to https://www.discogs.com/Various-The-Music-Of-Grand-Theft-Auto-IV/release/1321004 2. Click on the cover image 3. Select "Save image as..." 4. Select the Downloads folder 5. Click Save 6. Crash I see no error messages from ephy_downloads_manager_acquire_session_inhibitor() (""Failed to acquire session inhibitor for active download. Is gnome-session running?").
+ Trace 237548
Awesome, thanks for reporting this. Was confused how this could ever happen....
You managed to reproduce it? I could probably find a way to shorten the reproducer if you haven't done so already.
Yes, I can reproduce it in master. It's a regression from 3.22. There is some misunderstanding between the Epiphany code that tracks the inhibitors and WebKit's download error handling. Note that it's happening because the download fails, so there is another bug here too. :)
*** This bug has been marked as a duplicate of bug 778653 ***
After fixing bug #778653, this now results in "Error downloading: service unavailable". Guess: the server really doesn't want us to download the image and is sending an HTTP 503. That's odd because it raises the question of how the image wound up displayed in the page in the first place.
My guess is lack of "referer". But epiphany downloads it to disk anyway, probably from the cache. As long as it doesn't crash...
(In reply to Bastien Nocera from comment #6) > My guess is lack of "referer". That's a pretty decent guess, actually. Would not be surprised if that's right.