When debug log level enabled, app might crash with
(__main__.py:33463): Gdk-ERROR **: 11:48:20.462: The program '__main__.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 124054 error_code 11 request_code 130 (MIT-SHM) minor_code 5)
(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.)
Trace/breakpoint trap (core dumped)
Not sure whether that happens with debug output disabled, observe.
When debug log level enabled, app might crash with
Not sure whether that happens with debug output disabled, observe.