[Webkit-unassigned] [Bug 253858] New: [GTK] Crash in webkit_web_view_session_state_new()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 13 17:10:17 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=253858

            Bug ID: 253858
           Summary: [GTK] Crash in webkit_web_view_session_state_new()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: christian at hergert.me
                CC: bugs-noreply at webkitgtk.org

I'm seeing a crash when restoring sessions with WebKit both in Flatpak `org.gnome.Sdk//master` and host RPMs for Fedora 38 (webkitgtk6.0-2.39.91-1.fc38.x86_64).

Not as good of a stacktrace, but from flatpak-coredumpctl.

(gdb) bt
#0  0x00007f8540691184 in __pthread_kill_implementation () at /usr/lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f854063f00e in raise () at /usr/lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f85406287fc in abort () at /usr/lib/x86_64-linux-gnu/libc.so.6
#3  0x00007f85414ee40f in  () at /usr/lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
#4  0x00007f85419ff811 in webkit_web_view_session_state_new () at /usr/lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4
#5  0x000055d18bcdbb7c in gbp_web_browser_workspace_addin_restore_session_item (addin=0x55d195f99580, session=0x55d18d6ebce0, item=0x55d18ef079f0) at ../src/plugins/web-browser/gbp-web-browser-workspace-addin.c:164
#6  0x000055d18baab202 in ide_workspace_addin_real_restore_sesion (addin=0x55d195f99580, session=0x55d18d6ebce0) at ../src/libide/gui/ide-workspace-addin.c:85
#7  0x000055d18baf6153 in ide_extension_set_adapter_foreach (self=0x55d18ec74120, foreach_func=0x55d18babde10 <ide_workspace_addin_restore_session_cb>, user_data=0x55d18d6ebce0)
    at ../src/libide/plugins/ide-extension-set-adapter.c:724
#8  0x000055d18babe53e in _ide_workspace_restore_session (self=0x55d1930bbf20, session=0x55d18d6ebce0) at ../src/libide/gui/ide-workspace-session.c:280
#9  0x000055d18baa0b62 in ide_workbench_foreach_workspace (self=<optimized out>, callback=0x55d18ba9d3d0 <ide_workbench_restore_workspace_session_cb>, user_data=0x55d18d6ebce0) at ../src/libide/gui/ide-workbench.c:708
#10 0x000055d18baa38a3 in ide_workbench_load_project_completed (self=0x55d18d86a290, task=0x55d192ef0d10) at ../src/libide/gui/ide-workbench.c:1070
#11 0x000055d18baa411b in ide_workbench_load_project_cb (object=object at entry=0x55d18d7be380, result=result at entry=0x55d18f4738c0, user_data=user_data at entry=0x55d192ef0d10) at ../src/libide/gui/ide-workbench.c:1117
#12 0x000055d18bb3269a in ide_task_return_cb (user_data=<optimized out>) at ../src/libide/threading/ide-task.c:1004
#13 0x00007f854623dd99 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f854623e2f8 in g_main_context_iterate.constprop () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f854623e393 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f854648272d in g_application_run () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#17 0x000055d18b9ae1ca in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:298

and a better stracktrace when building against host WebKit

(gdb) bt
#0  0x00007ffff22afb94 in __pthread_kill_implementation () from /lib64/libc.so.6
#1  0x00007ffff225eaee in raise () from /lib64/libc.so.6
#2  0x00007ffff224787f in abort () from /lib64/libc.so.6
#3  0x00007ffff2ed810c in webkit_web_view_session_state_new[cold] () from /lib64/libwebkitgtk-6.0.so.4
#4  0x00005555558c03ac in gbp_web_browser_workspace_addin_restore_session_item (addin=0x5555574eb100, session=0x55555719ac90, item=0x5555571d4040) at ../src/plugins/web-browser/gbp-web-browser-workspace-addin.c:164
#5  0x00005555556c4c0a in ide_workspace_addin_real_restore_sesion (addin=0x5555574eb100, session=0x55555719ac90) at ../src/libide/gui/ide-workspace-addin.c:85
#6  0x00005555557096c3 in ide_extension_set_adapter_foreach (self=0x5555574ea770, foreach_func=foreach_func at entry=0x5555556d66b0 <ide_workspace_addin_restore_session_cb>, user_data=user_data at entry=0x55555719ac90)
    at ../src/libide/plugins/ide-extension-set-adapter.c:724
#7  0x00005555556d6dea in _ide_workspace_restore_session (self=0x5555571e89a0, session=0x55555719ac90) at ../src/libide/gui/ide-workspace-session.c:280
#8  0x00005555556baeb2 in ide_workbench_foreach_workspace (self=self at entry=0x555555ef7610, callback=callback at entry=0x5555556b8040 <ide_workbench_restore_workspace_session_cb>, user_data=0x55555719ac90)
    at ../src/libide/gui/ide-workbench.c:708
#9  0x00005555556bd783 in ide_workbench_load_project_completed (self=0x555555ef7610, task=0x55555631f900) at ../src/libide/gui/ide-workbench.c:1070
#10 0x00005555556bdefb in ide_workbench_load_project_cb (object=object at entry=0x555555f11230, result=result at entry=0x55555719bef0, user_data=user_data at entry=0x55555631f900) at ../src/libide/gui/ide-workbench.c:1117
#11 0x00005555557418ab in ide_task_return_cb (user_data=<optimized out>) at ../src/libide/threading/ide-task.c:1004
#12 0x00007ffff7ca5504 in g_main_dispatch (context=0x555555b91d00) at ../../../../Projects/glib/glib/gmain.c:3460
#13 g_main_context_dispatch (context=0x555555b91d00) at ../../../../Projects/glib/glib/gmain.c:4200
#14 0x00007ffff7ca58b8 in g_main_context_iterate (context=context at entry=0x555555b91d00, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../../Projects/glib/glib/gmain.c:4276
#15 0x00007ffff7ca593f in g_main_context_iteration (context=context at entry=0x555555b91d00, may_block=may_block at entry=1) at ../../../../Projects/glib/glib/gmain.c:4343
#16 0x00007ffff7ecc04d in g_application_run (application=application at entry=0x555555cc7690, argc=<optimized out>, argv=<optimized out>) at ../../../../Projects/glib/gio/gapplication.c:2573
#17 0x00005555555d6dc4 in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:298


GNOME Builder related issue: https://gitlab.gnome.org/GNOME/gnome-builder/-/issues/2005

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230314/5d8dc40c/attachment.htm>


More information about the webkit-unassigned mailing list