Segfault in Wayland session when wxWidgets is built without EGL support #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mia/Aegisub#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
aegisub version 20221104.mia.g0376255
Are you running Aegisub in a Wayland session? Sadly, that is unsupported, and wxWidgets is making it very difficult to do that. On Tumbleweed, wxWidgets also isn’t built with EGL support in wxGLCanvas (because of an earlier problem with glew headers), and that’s why it crashes. But even if you build it with EGL support, some Aegisub features are just broken on Wayland (e.g. color picker).
So for now, you need to set this environment variable when running Aegisub to run it in XWayland instead:
GDK_BACKEND=x11
.If you’re not running a Wayland session, I’m going to need more info on the crash. In that case, install these packages:
gdb aegisub-debuginfo
And then run:
gdb aegisub
.At the
(gdb)
prompt, type:run
and wait for it to crash. Once you’re back at the prompt, type:bt
I’m going to need the first 10 or so lines of that output.
yes i am using wayland in gnome. here gdb result link
Can you try running
GDK_BACKEND=x11 aegisub
?yes i can run aegisub with
GDK_BACKEND=x11
As a workaround, you can run this:
That creates a wrapper script for Aegisub that will run it with the
GDK_BACKEND
environment variable set. You should then be able to run Aegisub normally.i cant open aegisub because Segmentation fault (core dumped) on Tumbleweedto Segfault in Wayland session when wxWidgets is built without EGL support