wxGLCanvas regression on wxGTK in v3.2.9 (Issue #26020)

18 views
Skip to first unread message

arch1t3cht

unread,
Dec 7, 2025, 2:25:18 PM (5 days ago) Dec 7
to wx-...@googlegroups.com, Subscribed
arch1t3cht created an issue (wxWidgets/wxWidgets#26020)

Description

Bug description:

Instantiating a wxGLCanvas fails on wxGTK v3.2.9 with "Unable to create EGL surface". For example, this happens when running one of the OpenGL sample programs like cube/cube.

This only happens on v3.2.9, not on master.

Stack trace:

ASSERT INFO:
../src/unix/glegl.cpp(682): assert ""Assert failure"" failed in CreateSurface(): Unable to create EGL surface

BACKTRACE:
[1] wxGLCanvasEGL::CreateSurface()
[2] wxGLCanvas::GTKHandleRealized()
[3] g_closure_invoke
[4] g_signal_emit_valist
[5] g_signal_emit
[6] gtk_widget_realize
[7] gtk_widget_map
[8] g_signal_emit_valist
[9] g_signal_emit
[10] gtk_widget_map
[11] g_signal_emit_valist
[12] g_signal_emit
[13] gtk_widget_map
[14] g_signal_emit_valist
[15] g_signal_emit
[16] gtk_widget_map
[17] g_closure_invoke
[18] g_signal_emit_valist
[19] g_signal_emit
[20] gtk_widget_show
[21] wxWindow::Show(bool)
[22] wxTopLevelWindowGTK::Show(bool)
[23] wxEntry(int&, wchar_t**)
[24] __libc_start_main

To Reproduce:

  1. Compile 3.2.9 on the latest Arch Linux
  2. Run the cube/cube sample program
  3. See the above error on startup

Platform and version information

  • wxWidgets version you use: 3.2.9. Latest master works fine.
  • wxWidgets port you use: wxGTK .
  • OS and its version: latest Arch Linux
    • GTK version: 3.24.51
    • Which GDK backend is used: I use X11, but other downstream users have reported the same issues on wayland and xwayland.
    • Desktop environment : i3 and/or sway


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26020@github.com>

VZ

unread,
Dec 7, 2025, 2:57:13 PM (5 days ago) Dec 7
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26020)

Oops, thanks for testing! Will look/fix a.s.a.p.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26020/3623123585@github.com>

VZ

unread,
Dec 7, 2025, 5:31:16 PM (5 days ago) Dec 7
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26020)

Fixed now, will push soon. Thanks again for noticing this, releasing 3.2.9 with this bug would have been rather embarrassing.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26020/3623607519@github.com>

arch1t3cht

unread,
Dec 7, 2025, 5:32:56 PM (5 days ago) Dec 7
to wx-...@googlegroups.com, Subscribed
arch1t3cht left a comment (wxWidgets/wxWidgets#26020)

Thanks!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26020/3623610163@github.com>

VZ

unread,
Dec 7, 2025, 5:43:50 PM (5 days ago) Dec 7
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26020)

Fixed now, will make v3.2.9.1 including it soon.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26020/3623662366@github.com>

VZ

unread,
Dec 7, 2025, 5:43:50 PM (5 days ago) Dec 7
to wx-...@googlegroups.com, Subscribed

Closed #26020 as completed.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issue/26020/issue_event/21413229015@github.com>

Reply all
Reply to author
Forward
0 new messages