Hello,

could you try what the error message suggest you to do:

On Monday, 27 April 2020 at 12:03:18 UTC, mark wrote:
(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.)
Program exited with code -5

With that you should be able to run your program in gdb and get a backtrace. However, BadAlloc sounds to me as if your program is running out of RAM and as such can't allocate more memory.

Reply via email to