Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.12.2
-
Fix Version/s: 5.12.4, 5.13.1, 5.14.0 Alpha
-
Component/s: QML: Declarative and Javascript Engine
-
Environment:arm- cortexa9, Release mode
-
Platform/s:
-
Commits: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.