Bug 238361 - [GTK4] UI process crash in epoxy_get_proc_address: "Couldn't find current GLX or EGL context."
Summary: [GTK4] UI process crash in epoxy_get_proc_address: "Couldn't find current GLX...
Status: RESOLVED WORKSFORME
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 18:18 PDT by Michael Catanzaro
Modified: 2022-12-02 12:36 PST (History)
3 users (show)

See Also:


Attachments
Full backtrace (103.70 KB, text/plain)
2022-03-24 18:20 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 18:18:31 PDT
I think this crash is associated with bug #238323:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007f7aa87c9867 in __GI_abort () at abort.c:79
#2  0x00007f7aa87c9744 in __assert_fail_base
    (fmt=<optimized out>, assertion=<optimized out>, file=<optimized out>, line=<optimized out>, function=<optimized out>) at assert.c:92
#3  0x00007f7aa87d88f7 in __GI___assert_fail
    (assertion=assertion@entry=0x7f7aa2aa5780 "0 && \"Couldn't find current GLX or EGL context.\\n\"", file=file@entry=0x7f7aa2aa56d8 "../src/dispatch_common.c", line=line@entry=868, function=function@entry=0x7f7aa2aa57c0 <__PRETTY_FUNCTION__.0> "epoxy_get_proc_address") at assert.c:101
#4  0x00007f7aa2a84313 in epoxy_get_proc_address (name=0x7f7aa2a944d9 <entrypoint_strings+9849> "glDeleteProgram")
    at ../src/dispatch_common.c:868
#5  0x00007f7aa2a5832a in epoxy_glDeleteProgram_resolver () at src/gl_generated_dispatch.c:81668
#6  epoxy_glDeleteProgram_global_rewrite_ptr (program=147) at src/gl_generated_dispatch.c:49458
#7  0x00007f7aa9003d6b in gsk_gl_program_delete (self=self@entry=0x55c0d9f5cac0 [GskGLProgram])
    at ../gsk/gl/gskglprogram.c:147
#8  0x00007f7aa8ffb9f8 in remove_program (data=0x55c0d9f5cac0) at ../gsk/gl/gskgldriver.c:165
#9  0x00007f7aa95a7a39 in g_hash_table_remove_internal
    (notify=1, key=<optimized out>, hash_table=0x55c0d9688980 = {...}) at ../glib/ghash.c:1772
#10 g_hash_table_remove (hash_table=0x55c0d9688980 = {...}, key=<optimized out>) at ../glib/ghash.c:1800

This is very deep in GTK, so maybe it's not our fault, but... maybe we're doing something wrong with EGL? I will attach a full backtrace.
Comment 1 Michael Catanzaro 2022-03-24 18:20:29 PDT
Created attachment 455716 [details]
Full backtrace
Comment 2 Michael Catanzaro 2022-03-28 06:40:43 PDT
(In reply to Michael Catanzaro from comment #0)
> I think this crash is associated with bug #238323:

Sorry, that's wrong. This crash just happens 100% of the time whenever closing Epiphany.
Comment 3 Michael Catanzaro 2022-12-02 12:36:52 PST
(In reply to Michael Catanzaro from comment #2)
> Sorry, that's wrong. This crash just happens 100% of the time whenever
> closing Epiphany.

Well that's certainly no longer true. Closing.