After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765086 - When saving a PDF opened in a tab with the evince viewer, SIGSEVED at web_resource_get_data_cb
When saving a PDF opened in a tab with the evince viewer, SIGSEVED at web_res...
Status: RESOLVED DUPLICATE of bug 746737
Product: epiphany
Classification: Core
Component: General
3.20.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-15 08:43 UTC by Andres Gomez
Modified: 2018-04-08 19:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
BT from gdb (44.05 KB, text/plain)
2016-04-15 08:43 UTC, Andres Gomez
Details

Description Andres Gomez 2016-04-15 08:43:01 UTC
Created attachment 326071 [details]
BT from gdb

Maybe related to bug 746737 ?

I'm using WebKitGtk+ with my own JHBuild setting:
https://github.com/tanty/jhbuild-epiphany/tree/master

Epiphany 3.20.1 and WebKit 2.12.1

I'm running Epiphany with the dconf key:

"process-model" = "shared-secondary-process"

The compilation was done with CMake args:

'-DPORT=GTK -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-O0 -g1 -DNDEBUG -DG_DISABLE_CAST_CHECKS" -DCMAKE_CXX_FLAGS_RELEASE="-O0 -g1 -DNDEBUG -DG_DISABLE_CAST_CHECKS"'

---

I clicked in a link leading to a PDF. Since I have compiled with support for the evince document viewer, the document was opened in another tab.

I presed Ctrl+s to save. The dialog popped up and I selected the location and pressed "Save".

Epiphany SIGSEVed at web_resource_get_data_cb. The PDF file is "saved" but has 0bytes.
Comment 1 Kai Lüke 2018-04-06 13:05:37 UTC
Can be reproduced with MIDI files as well:
https://upload.wikimedia.org/wikipedia/commons/6/61/Drum_sample.mid
Comment 2 Michael Catanzaro 2018-04-06 17:16:14 UTC
(In reply to Kai Lüke from comment #1)
> Can be reproduced with MIDI files as well:
> https://upload.wikimedia.org/wikipedia/commons/6/61/Drum_sample.mid

Can you post steps you follow for reproducing it?
Comment 3 Michael Catanzaro 2018-04-06 17:17:04 UTC
Downloading it works fine here, in both Tech Preview and system Epiphany -p.
Comment 4 Kai Lüke 2018-04-06 20:43:27 UTC
Clicking on it will play the file in the browser with GStreamer. Ctrl-S and pressing Save directly crashes for me on 3.28.0.1-1 Debian sid.
Comment 5 Michael Catanzaro 2018-04-06 20:51:43 UTC
Can you post a backtrace please? We don't have the required codecs to play that file in our Flatpak runtime, nor in Fedora.
Comment 6 Kai Lüke 2018-04-08 16:11:37 UTC
I thought it would be the same as linked but yes, that's maybe a bit outdated.
I can also reproduce it with OGG Vorbis:
https://upload.wikimedia.org/wikipedia/commons/9/90/Papalotla-sound.ogg

gdb bt:
  • #0 web_resource_get_data_cb
    at ../embed/ephy-web-view.c line 3380
  • #1 g_task_return_now
    at ../../../../gio/gtask.c line 1148
  • #2 g_task_return
    at ../../../../gio/gtask.c line 1206
  • #3 WTF::Function<void
  • #4 WebKit::GenericCallback<API::Data*>::performCallbackWithReturnValue(API::Data*)
    at ./Source/WebKit/UIProcess/GenericCallback.h line 108
  • #5 WebKit::WebPageProxy::dataCallback(IPC::DataReference const&, WebKit::CallbackID)
    at ./Source/WebKit/UIProcess/WebPageProxy.cpp line 5237
  • #6 IPC::callMemberFunctionImpl<WebKit::WebPageProxy, void
  • #7 IPC::callMemberFunction<WebKit::WebPageProxy, void
  • #8 IPC::handleMessage<Messages::WebPageProxy::DataCallback, WebKit::WebPageProxy, void
  • #9 WebKit::WebPageProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
    at ./obj-x86_64-linux-gnu/DerivedSources/WebKit/WebPageProxyMessageReceiver.cpp line 792
  • #10 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
    at ./Source/WebKit/Platform/IPC/MessageReceiverMap.cpp line 123
  • #11 WebKit::ChildProcessProxy::dispatchMessage(IPC::Connection&, IPC::Decoder&)
    at ./Source/WebKit/UIProcess/ChildProcessProxy.cpp line 156
  • #12 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
    at ./Source/WebKit/UIProcess/WebProcessProxy.cpp line 624
  • #13 IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >)
    at ./Source/WebKit/Platform/IPC/Connection.cpp line 934
  • #14 IPC::Connection::dispatchOneMessage()
    at ./Source/WebKit/Platform/IPC/Connection.cpp line 965
  • #15 WTF::RunLoop::performWork()
  • #16 0x00007f10c923e619 in
  • #17 g_main_dispatch
    at ../../../../glib/gmain.c line 3177
  • #18 g_main_context_dispatch
    at ../../../../glib/gmain.c line 3830
  • #19 g_main_context_iterate
    at ../../../../glib/gmain.c line 3903
  • #20 g_main_context_iteration
    at ../../../../glib/gmain.c line 3964
  • #21 g_application_run
    at ../../../../gio/gapplication.c line 2470
  • #22 main
    at ../src/ephy-main.c line 437
  • #23 __libc_start_main
    at ../csu/libc-start.c line 310
  • #24 _start

Comment 7 Kai Lüke 2018-04-08 16:12:15 UTC
bt full:
bt full
  • #0 web_resource_get_data_cb
    at ../embed/ephy-web-view.c line 3380
  • #1 g_task_return_now
    at ../../../../gio/gtask.c line 1148
  • #2 g_task_return
    at ../../../../gio/gtask.c line 1206
  • #3 WTF::Function<void
  • #4 WebKit::GenericCallback<API::Data*>::performCallbackWithReturnValue(API::Data*)
    at ./Source/WebKit/UIProcess/GenericCallback.h line 108
  • #5 WebKit::WebPageProxy::dataCallback(IPC::DataReference const&, WebKit::CallbackID)
    at ./Source/WebKit/UIProcess/WebPageProxy.cpp line 5237
  • #6 IPC::callMemberFunctionImpl<WebKit::WebPageProxy, void
  • #7 IPC::callMemberFunction<WebKit::WebPageProxy, void
  • #8 IPC::handleMessage<Messages::WebPageProxy::DataCallback, WebKit::WebPageProxy, void
  • #9 WebKit::WebPageProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
    at ./obj-x86_64-linux-gnu/DerivedSources/WebKit/WebPageProxyMessageReceiver.cpp line 792
  • #10 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
    at ./Source/WebKit/Platform/IPC/MessageReceiverMap.cpp line 123
  • #11 WebKit::ChildProcessProxy::dispatchMessage(IPC::Connection&, IPC::Decoder&)
    at ./Source/WebKit/UIProcess/ChildProcessProxy.cpp line 156
  • #12 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
    at ./Source/WebKit/UIProcess/WebProcessProxy.cpp line 624
  • #13 IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >)
    at ./Source/WebKit/Platform/IPC/Connection.cpp line 934
  • #14 IPC::Connection::dispatchOneMessage()
    at ./Source/WebKit/Platform/IPC/Connection.cpp line 965
  • #15 WTF::RunLoop::performWork()
  • #16 0x00007f10c923e619 in
  • #17 g_main_dispatch
    at ../../../../glib/gmain.c line 3177
  • #18 g_main_context_dispatch
    at ../../../../glib/gmain.c line 3830
  • #19 g_main_context_iterate
    at ../../../../glib/gmain.c line 3903
  • #20 g_main_context_iteration
    at ../../../../glib/gmain.c line 3964
  • #21 g_application_run
    at ../../../../gio/gapplication.c line 2470
  • #22 main
    at ../src/ephy-main.c line 437
  • #23 __libc_start_main
    at ../csu/libc-start.c line 310
  • #24 _start

Comment 8 Michael Catanzaro 2018-04-08 18:37:50 UTC
(In reply to Kai Lüke from comment #6)
> I thought it would be the same as linked but yes, that's maybe a bit
> outdated.
> I can also reproduce it with OGG Vorbis:
> https://upload.wikimedia.org/wikipedia/commons/9/90/Papalotla-sound.ogg

OK, I can reproduce with that. And that last backtrace is superior to the others that were posted here: thanks.
Comment 9 Michael Catanzaro 2018-04-08 19:02:35 UTC

*** This bug has been marked as a duplicate of bug 746737 ***