Bug : Tkinter filedialog.askopenfilename() crashes on Linux
#819 opened on Oct 9, 2025
Repository metrics
- Stars
- (10 stars)
- PR merge metrics
- (PR metrics pending)
Description
Bug Report: Tkinter filedialog.askopenfilename() crashes on Linux with [xcb] Unknown sequence number while appending request Summary
On Linux systems using X11, calling tkinter.filedialog.askopenfilename() causes an immediate process abort with the following XCB error: [xcb] Unknown sequence number while appending request [xcb] You called XInitThreads, this is not your fault [xcb] Aborting, sorry about that. python3: ../../src/xcb_io.c:157: append_pending_request: Assertion `!xcb_xlib_unknown_seq_number' failed. Aborted (core dumped)
Start app, create a class, enter a name....prompt to enter an image does not appear