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 782402 - Crash using notifications API from local page
Crash using notifications API from local page
Status: RESOLVED INVALID
Product: epiphany
Classification: Core
Component: General
git master
Other Linux
: Normal critical
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-09 19:33 UTC by Michael Catanzaro
Modified: 2017-05-09 19:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Catanzaro 2017-05-09 19:33:15 UTC
The HTML file "<script>Notification.requestPermission(); new Notification('This is my notification!');</script>" causes Epiphany to crash when loaded as a local page.

  • #0 __GI_raise
    at ../sysdeps/unix/sysv/linux/raise.c line 58
  • #1 __GI_abort
    at abort.c line 89
  • #2 g_assertion_message
  • #3 g_assertion_message_expr
    at gtestutils.c line 2455
  • #4 ephy_hosts_manager_get_settings_for_address
    at ephy-hosts-manager.c line 103
  • #5 ephy_hosts_manager_get_notifications_permission_for_address
    at ephy-hosts-manager.c line 141
  • #6 permission_request_cb
    at ephy-web-view.c line 1358
  • #11 <emit signal ??? on instance 0x562f33db3990 [EphyWebView]>
    at gsignal.c line 3447
  • #12 webkitWebViewMakePermissionRequest(_WebKitWebView*, _WebKitPermissionRequest*)
    at /usr/src/debug/webkitgtk-2.16.1/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp line 1974
  • #13 UIClient::decidePolicyForNotificationPermissionRequest(WebKit::WebPageProxy*, API::SecurityOrigin*, WebKit::NotificationPermissionRequest*)
    at /usr/src/debug/webkitgtk-2.16.1/Source/WebKit2/UIProcess/API/gtk/WebKitUIClient.cpp line 187
  • #14 WebKit::WebPageProxy::requestNotificationPermission(unsigned long, WTF::String const&)
    at /usr/src/debug/webkitgtk-2.16.1/Source/WebKit2/UIProcess/WebPageProxy.cpp line 5772
  • #15 IPC::callMemberFunctionImpl<WebKit::WebPageProxy, void
  • #16 IPC::callMemberFunction<WebKit::WebPageProxy, void
  • #17 IPC::handleMessage<Messages::WebPageProxy::RequestNotificationPermission, WebKit::WebPageProxy, void
  • #18 WebKit::WebPageProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
    at /usr/src/debug/webkitgtk-2.16.1/x86_64-redhat-linux-gnu/DerivedSources/WebKit2/WebPageProxyMessageReceiver.cpp line 879
  • #19 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
    at /usr/src/debug/webkitgtk-2.16.1/Source/WebKit2/Platform/IPC/MessageReceiverMap.cpp line 123
  • #20 WebKit::ChildProcessProxy::dispatchMessage(IPC::Connection&, IPC::Decoder&)
    at /usr/src/debug/webkitgtk-2.16.1/Source/WebKit2/UIProcess/ChildProcessProxy.cpp line 156
  • #21 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
    at /usr/src/debug/webkitgtk-2.16.1/Source/WebKit2/UIProcess/WebProcessProxy.cpp line 541
  • #22 IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >)
    at /usr/src/debug/webkitgtk-2.16.1/Source/WebKit2/Platform/IPC/Connection.cpp line 928
  • #23 IPC::Connection::dispatchOneMessage()
    at /usr/src/debug/webkitgtk-2.16.1/Source/WebKit2/Platform/IPC/Connection.cpp line 959
  • #24 WTF::Function<void
  • #25 WTF::RunLoop::performWork()
    at /usr/src/debug/webkitgtk-2.16.1/Source/WTF/wtf/RunLoop.cpp line 106
  • #26 WTF::RunLoop::<lambda(gpointer)>::operator()
    at /usr/src/debug/webkitgtk-2.16.1/Source/WTF/wtf/glib/RunLoopGLib.cpp line 66
  • #27 WTF::RunLoop::<lambda(gpointer)>::_FUN(gpointer)
    at /usr/src/debug/webkitgtk-2.16.1/Source/WTF/wtf/glib/RunLoopGLib.cpp line 68
  • #28 g_main_dispatch
    at gmain.c line 3203
  • #29 g_main_context_dispatch
    at gmain.c line 3856
  • #30 g_main_context_iterate
    at gmain.c line 3929
  • #31 g_main_context_iteration
    at gmain.c line 3990
  • #32 g_application_run
    at gapplication.c line 2381
  • #33 main
    at ephy-main.c line 495

Comment 1 Michael Catanzaro 2017-05-09 19:35:00 UTC
Sorry, this is invalid. The crash only occurs in 3.22. My bad.