Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.2
-
arm- cortexa9, Release mode
-
-
3df85008591dffc64427095b022421469cb9a866 (qt/qtdeclarative/5.12)
Description
For QML based applications, when compiled in release mode, Segmentation faults are observed. The same works fine in debug mode.
This has been observed specifically for the following components:
- Slider
- Video
- Label
the backtrace points to the following function:
void QmlUnitGenerator::generate(Document &output, const QV4::CompiledData::DependentTypesHasher &dependencyHasher)
The application specific QML files are interpreted correctly by the Interpreter. However the inbuilt QML components like the slider are not interpreted.
The compiler settings are as below:
For Release mode
App.pro -spec /path/to/toolchain/usr/lib/qt5/mkspecs/linux-oe-g++ CONFIG+=qtquickcompiler && /usr/bin/make qmake_all
For Debug mode
App.pro -spec /path/to/toolchain/usr/lib/qt5/mkspecs/linux-oe-g++ CONFIG+=debug CONFIG+=qml_debug && /usr/bin/make qmake_all
We are using the Yocto build system and release configuration.
Attachments
For Gerrit Dashboard: QTBUG-75392 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
260130,3 | Avoid std::function in qqmlirbuilder.cpp | 5.12 | qt/qtdeclarative | Status: MERGED | -2 | 0 |