GNOME Bugzilla – Bug 746737
Crash when saving particular downloads
Last modified: 2018-06-04 19:52:51 UTC
WKGTK 2.8.0 and Epiphany 3.16.0 In a private bugzilla, I have an audio file as an attachment. If I try to download by right clicking in its link, and selecting "Save Link As ...", the "Save as ..." dialog doesn't open. If I middle click and open in a new tab, the audio file starts playing. Type Ctrl+S to save the current file and the "Save as ..." dialog opens. Select destination and click on "Save", Epiphany crashes ...
Stack trace from the same steps run into a GDB session: Program received signal SIGSEGV, Segmentation fault. 0x0000000000464d24 in web_resource_get_data_cb (resource=0x493017, result=0x0, output_stream=0x7fff300023e0) at ephy-web-view.c:2898 2898 g_printerr ("Failed to save page: %s", error->message); (gdb) bt
+ Trace 234889
Forgot to mention, I'm running Epiphany with the dconf key: "process-model" = "shared-secondary-process"
Hi! The backtrace is not very good, but from the line numbers I guess webkit_web_resource_get_data_finish returned NULL but without setting the GError.
I'm more worried about result being NULL in web_resource_get_data_cb (resource=0x493017, result=0x0, output_stream=0x7fff300023e0) which is probably the reason why webkit_web_resource_get_data_finish returns NULL without filling the GError (returned from the g_return macro)
Another reproducer from Jacobo: """ Description of problem: 1. Open any PDF document with the default document viewer plugin provided by Evince. 2. Press Ctrl+S or click on Epiphany menu button -> Save as... 3. Select some destination directory for the file. Additional info: * Problem seems to be in Epiphany and not in the plugin. The "download" button in the plugin works properly. * A 0-byte file is created at the destination directory. """
(In reply to Michael Catanzaro from comment #5) > Another reproducer from Jacobo: > > """ > Description of problem: > 1. Open any PDF document with the default document viewer plugin provided by > Evince. > 2. Press Ctrl+S or click on Epiphany menu button -> Save as... > 3. Select some destination directory for the file. > > Additional info: > * Problem seems to be in Epiphany and not in the plugin. The "download" > button in the plugin works properly. > * A 0-byte file is created at the destination directory. > """ I've also experienced this use case.
I can confirm that problem (at least when it comes to the PDF case) for Epiphany / GNOME Web 3.18 (on Fedora 23).
*** Bug 765086 has been marked as a duplicate of this bug. ***
Another reproducer with a good backtrace in bug #765086.
(In reply to Michael Catanzaro from comment #9) > Another reproducer with a good backtrace in bug #765086. That's https://upload.wikimedia.org/wikipedia/commons/9/90/Papalotla-sound.ogg, just right click and save as. Warning: will crash the UI process
(In reply to Michael Catanzaro from comment #10) > (In reply to Michael Catanzaro from comment #9) > > Another reproducer with a good backtrace in bug #765086. > > That's > https://upload.wikimedia.org/wikipedia/commons/9/90/Papalotla-sound.ogg, > just right click and save as. Warning: will crash the UI process https://bugzilla.gnome.org/page.cgi?id=traceparser/trace.html&trace_id=238544
Two bugs here: https://bugs.webkit.org/show_bug.cgi?id=186276 https://bugs.webkit.org/show_bug.cgi?id=186278 Nothing is wrong in epiphany. Closing.