Description of problem:
QtQml crashes when loading a complex QML application, like for example the Fedora Media Writer.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Compile FMW with mingw32 toolchain
2. Add all necessary libraries (basically just copy /usr/i686-w64-mingw32/sys-root/mingw/bin/*.dll, /usr/i686-w64-mingw32/sys-root/mingw/lib/qt5/plugins/* and /usr/i686-w64-mingw32/sys-root/mingw/share/qt5/qml/* to the directory of the binary)
3. Try to run it
Crash in QV4
A similar issue is reported on  with a backtrace from an ARM machine. This happens with our MinGW packages too, though.
The patch suggested in the report fixes our problem, too.
Created attachment 1193935 [details]
I'm proposing to patch the problem like this.
I had to add an explicit system zlib link option because a compilation error. This may not be necessary though.
Created attachment 1194280 [details]
Here is an updated patch for the issue.
Scratch builds are here: http://koji.fedoraproject.org/koji/taskinfo?taskID=15383534
mingw-qt5-qtdeclarative-5.6.0-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a7f5a94f50
mingw-qt5-qtdeclarative-5.6.0-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a7f5a94f50
mingw-qt5-qtdeclarative-5.6.0-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.