I faced with problem while running tkinter program on manjaro. Here the minimal reproducable example:
#test.py from tkinter import * win=Tk() lbl=Label(win) win.mainloop()
After running the next error occurs:
$ python3 test.py X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 139 (RENDER) Minor opcode of failed request: 20 (RenderAddGlyphs) Serial number of failed request: 38 Current serial number in output stream: 47
Running the same code without label creation works fine and shows tkinter window. The same error occurs with creating Button, Entry ets.
While googling I found several similar issues, but I still dont understand, how to fix that.
Any ideas, what can be cause this error?