https://bugs.kde.org/show_bug.cgi?id=486098
Bug ID: 486098 Summary: Creating and closing sequentially two QMainWindows core-dumps with KDE Classification: Frameworks and Libraries Product: frameworks-kwidgetsaddons Version: 6.1.0 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: cf...@kde.org Reporter: wolf.seif...@web.de CC: kdelibs-b...@kde.org Target Milestone: --- Created attachment 168890 --> https://bugs.kde.org/attachment.cgi?id=168890&action=edit Reproducer: mainwindows.cpp and CMakeLists.txt SUMMARY When creating and closing sequentially two QMainWindows the second one core-dumps when clicking on it. This only happens for the KDE version, the pure Qt version works fine. STEPS TO REPRODUCE 1. Unzip the attached mainwindows.zip 2. $ cmake . 3. $ cmake --build . 4. $ ./mainwindows (close first window and click on second) Segmentation fault (core dumped) 5. $ LD_LIBRARY_PATH=/home/wolfgang/qt/6.7.0/gcc_64/lib ./mainwindows (works fine) OBSERVED RESULT When clicking on the second mainwindows menubar the application crashes. When using pure Qt it works as expected. EXPECTED RESULT The second mainwindows menubar "Close" should close the mainwindow and quit the application. Pure Qt and KDE version should behave the same, only the look & feel may differ. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.