QML mipmap causes crash with Qt5.6
-
I've been using Qt5.5 for my cross-platform app for a while now without any problems. I decided to upgrade the app to Qt5.6, but the app suddenly crashed on startup. I debugged the segfault, but there was not much useful info from the debugger, most showed as "??". The only useful info is:
QOpenGLContext::swapBuffers(QSurface *) 0x7ffff65a6f09 QCoreApplication::notify(QObject *, QEvent *) 0x7ffff566ed2a QCoreApplication::notifyInternal2(QObject *, QEvent *) 0x7ffff566ee80 QTimerInfoList::activateTimers() 0x7ffff56bd33e
After further investigation I noticed that the crash was caused by mipmap. Hence I disabled all mipmap in my QML and the app did not crash anymore. However, now most of my images are of a horrible quality and every now and then the images do not show up at all with mipmap disabled.
This seems very weird, since everything worked in Qt5.5. Any suggestion on what is going wrong? BTW I'm currently testing on Ubuntu 16
-
Hi,
Looks like a regression, you should check the bug report system to see if it's something known. If not, please consider opening a new report providing a minimal compilable example showing that behavior.