- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    
P1: Critical
 - 
    None
 - 
    6.7.2
 - 
    None
 - 
    Operating System: Arch Linux
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090 Ti/PCIe/SSE2Operating System: Arch Linux KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.7-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3090 Ti/PCIe/SSE2 
I've observed that a PySide6 Qt application crashes with a segmentation fault when the main window is closed while editing a cell in the QTableView component. This issue seems to occur specifically on Linux systems running KDE with Wayland, and I was unable to replicate it on Windows 10. In this case, I used Python 3.11 and PyCharm as the IDE.
Steps to reproduce:
- Install the PySide6 6.7.2 dependency.
 - Run the application.
 - Select any cell and double-click it to begin editing.
 - While in edit mode, close the application window.
 - The app will crash with exit code 139 (segmentation fault).
 
For more detailed instructions, refer to the readme.md file in the attached archive.
Unfortunately, I haven't done any C++ coding for a very long while, so I cannot provide a working C++ example, but I hope that the one written in Python could be enough to reproduce the bug.