Bug 238343 - [GTK4] UI process crash in webkitWebViewBaseSnapshot when opening link from external application when browser is closed
Summary: [GTK4] UI process crash in webkitWebViewBaseSnapshot when opening link from e...
Status: RESOLVED DUPLICATE of bug 247463
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: GTK4
  Show dependency treegraph
 
Reported: 2022-03-24 12:40 PDT by Michael Catanzaro
Modified: 2022-12-01 14:18 PST (History)
2 users (show)

See Also:


Attachments
Full backtrace (35.77 KB, text/plain)
2022-03-24 12:52 PDT, Michael Catanzaro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2022-03-24 12:40:04 PDT
Twice this morning, my web process crashed due to bug #235224. Each time this happened, the UI process also crashed:

(gdb) bt
#0  0x00007f888d10108a in webkitWebViewBaseSnapshot
    (snapshot=0x55d8daf41800 [GtkSnapshot], widget=0x55d8da5b8f30 [EphyWebView])
    at /usr/lib/debug/source/sdk/webkit2gtk-5.0.bst/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:732
#1  webkitWebViewBaseSnapshot(GtkWidget*, GtkSnapshot*)
    (widget=0x55d8da5b8f30 [EphyWebView], snapshot=0x55d8daf41800 [GtkSnapshot])
    at /usr/lib/debug/source/sdk/webkit2gtk-5.0.bst/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:716
#2  0x00007f8890c7acc1 in gtk_widget_create_render_node
    (widget=widget@entry=0x55d8da5b8f30 [EphyWebView], snapshot=snapshot@entry=0x55d8daf41800 [GtkSnapshot])
    at ../gtk/gtkwidget.c:11582
#3  0x00007f8890c7da0c in gtk_widget_do_snapshot
    (widget=widget@entry=0x55d8da5b8f30 [EphyWebView], snapshot=snapshot@entry=0x55d8daf41800 [GtkSnapshot])
    at ../gtk/gtkwidget.c:11622
#4  0x00007f8890c8b2c3 in gtk_widget_snapshot_child
    (widget=<optimized out>, child=0x55d8da5b8f30 [EphyWebView], snapshot=0x55d8daf41800 [GtkSnapshot])
    at ../gtk/gtkwidget.c:12043
#5  0x00007f8890b6f3bd in gtk_overlay_snapshot_child
    (snapshot=0x55d8daf41800 [GtkSnapshot], child=0x55d8da5b8f30 [EphyWebView], overlay=0x55d8da10b370 [GtkOverlay])
    at ../gtk/gtkoverlay.c:202
#6  gtk_overlay_snapshot (widget=0x55d8da10b370 [GtkOverlay], snapshot=0x55d8daf41800 [GtkSnapshot])
    at ../gtk/gtkoverlay.c:225
#7  0x00007f8890c7a8c0 in gtk_widget_create_render_node
    (widget=widget@entry=0x55d8da10b370 [GtkOverlay], snapshot=snapshot@entry=0x55d8daf41800 [GtkSnapshot])
    at ../gtk/gtkwidget.c:11587
#8  0x00007f8890c7da0c in gtk_widget_do_snapshot
    (widget=widget@entry=0x55d8da10b370 [GtkOverlay], snapshot=snapshot@entry=0x55d8daf41800 [GtkSnapshot])
    at ../gtk/gtkwidget.c:11622
#9  0x00007f8890c8b2c3 in gtk_widget_snapshot_child
    (widget=<optimized out>, child=0x55d8da10b370 [GtkOverlay], snapshot=0x55d8daf41800 [GtkSnapshot])
    at ../gtk/gtkwidget.c:12043
#10 0x00007f8890c8b36e in gtk_widget_real_snapshot
    (widget=0x55d8d96aabd0 [EphyEmbed], snapshot=0x55d8daf41800 [GtkSnapshot]) at ../gtk/gtkwidget.c:734
#11 0x00007f8890c7a8c0 in gtk_widget_create_render_node
    (widget=widget@entry=0x55d8d96aabd0 [EphyEmbed], snapshot=snapshot@entry=0x55d8daf41800 [GtkSnapshot])
    at ../gtk/gtkwidget.c:11587
...

I'll provide the full backtrace in an attachment. The web process crash must have occurred due to this UI process crash.
Comment 1 Michael Catanzaro 2022-03-24 12:52:33 PDT
Created attachment 455669 [details]
Full backtrace
Comment 2 Michael Catanzaro 2022-03-24 15:51:32 PDT
Reproducer: with Epiphany Tech Preview closed, click a link in some other application to activate Epiphany.
Comment 3 Michael Catanzaro 2022-10-25 14:10:24 PDT
*** Bug 246459 has been marked as a duplicate of this bug. ***
Comment 4 Michael Catanzaro 2022-10-25 14:10:47 PDT
Better backtrace in bug #246459
Comment 5 Michael Catanzaro 2022-12-01 14:18:14 PST

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