#894726 libqt5qml5: QQmlEngine segfaults on sparc64

Package:
libqt5qml5
Source:
qtdeclarative-opensource-src
Description:
Qt 5 QML module
Submitter:
Neil Muller
Date:
2021-05-01 20:15:09 UTC
Severity:
important
Tags:
#894726#5
Date:
2018-04-03 14:43:01 UTC
From:
To:
Trying to track down why a QT program was failing, I found that the qt5qml5
package is currently broken on sparc64.

The following simple example segfaults when run on sparc64, before reaching the
"QQmlComponent" line, while working as expected on a x86_64 machine running
unstable.


#include <QtGui/qguiapplication.h>
#include <QtQml/qqmlengine.h>
#include <QtQml/qqmlcomponent.h>

#include <iostream>

int main(int argv, char** argc)
{
    QCoreApplication a(argv, argc);
    std::cout << "Creating QQmlEngine" << std::endl;
    QQmlEngine engine;
    std::cout << "Creating QQmlComponent" << std::endl;
    QQmlComponent component(&engine);
    std::cout << "Done" << std::endl;
    return 0;
}