Public bug reported: In the course of developing an application I have discovered that adding a widget to an MDI area causes a segfault in QWindow::winId() when the widget added is derived from QMainWindow and is created using a compiled .ui file from QtDesigner. Creating a visually-identical UI but hand- coding the widget layout in C++ works as expected.
I have found this bug is reliable with Qt5.9.1 installed from the stock Kubuntu repositories. It occurs consistently on two different machines with this setup. The bug does not occur with Qt5.9.2 (installed directly from the Qt maintenance tool), and I've had it confirmed that it does *not* occur on Qt 5.9.2 64bit MSVC2013 Windows. I have attached a sample stack trace. I have also created a very small example project on github that consistently produces the segfault on the setup I mentioned above. The github repo is here: https://github.com/darrenedale/mdi-window-crash I *think* the issue is in the libqt5widgets5 package but I can't be certain. I guess it's possible that it's an issue in the Breeze KDE theme or upstream in Qt? lsb_release -rd Description: Ubuntu 17.10 Release: 17.10 ** Affects: qt-sdk (Ubuntu) Importance: Undecided Status: New ** Attachment added: "Trace of call stack leading to segfault in QWindow::winId()" https://bugs.launchpad.net/bugs/1728652/+attachment/5000203/+files/stacktrace.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1728652 Title: Qt app crashes when adding a QMainWindow derived widget to a QMdiArea To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qt-sdk/+bug/1728652/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs