I have tried running tests/test_gui from master branch (on linux, with GTK2) and very often I get undeterministic crash with this error message:
Code: Select all
Test program for wxWidgets GUI features
build: 3.1.6 (wchar_t,compiler with C++ ABI compatible with gcc 4,wx containers,compatible with 3.0)
compiled using gcc 10.2
running under Linux 5.10.0-9-amd64 x86_64 as vid
The program 'test_gui' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 12 error_code 8 request_code 42 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 --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
All samples and wxWidgets apps work OK, so this seems to be something related to the testing framework. Any idea how to go on analyzing and solving this?