[MacPorts] #71678: gpredict: Crash with GDK error when closing a window when the render extension is disabled in Xquartz.
MacPorts
noreply at macports.org
Mon Dec 30 05:12:17 UTC 2024
#71678: gpredict: Crash with GDK error when closing a window when the render
extension is disabled in Xquartz.
--------------------+----------------------
Reporter: vk1kcm | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: gpredict
--------------------+----------------------
gpredict suffers from the same render transparency issue with xquartz that
many other programs have. Setting `defaults write org.xquartz.X11
enable_render_extension 0` fixes that, but when you do it now crashes with
a GDK-Error whenever you close a window with the program.
The error message is;
{{{
(gpredict:86166): Gdk-ERROR **: 15:46:59.951: The program 'gpredict'
received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length
erro'.
(Details: serial 1635 error_code 16 request_code 72 (core protocol)
minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error()
function.)
zsh: trace trap gpredict
}}}
Setting `enable_render_extension 1` (the original default) stops the
crash, but it then has the black screen/transparency issue again. This
makes gpredict functionally useless.
Interestingly, if I manually compile gpredict and run it from the src/
directory, with `enable_render-extension 0` it works, however if I install
it into `/usr/local/` and run it, it crashes in exactly the same way.
I have removed all configs and ran it as new, and it crashes as well.
This is on a M1 Max MacBook Pro under Sequoia, 15.2, MacPorts 2.10.5.
--
Ticket URL: <https://trac.macports.org/ticket/71678>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list