Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.2, 5.8
-
Ubuntu 16.04 LTS 64 bit
Windows 10 64 bit
Description
Run qtqtuickcompiler on the attached file:
./qtquickcompiler -s /tmp/000000.qml /dev/null
It will crash:
1 (anonymous namespace)::optimizeSSA qv4ssa.cpp 4030 0x59e49c 2 QV4::IR::Optimizer::run qv4ssa.cpp 5410 0x5e34a6 3 QmlC::InstructionSelection::run isel.cpp 190 0x40fafb 4 QV4::EvalInstructionSelection::compile qv4isel_p.cpp 82 0x4e2350 5 compileQmlFile qtquickcompiler.cpp 119 0x43a8f8 6 main main.cpp 462 0x40c04c
qtquickcompiler might not be able to generate valid C++ from this file, but it should never crash.
Attachments
Issue Links
- duplicates
-
QTBUG-57985 Unused JS conditional var in unused function crashes QQmlEngine
- Closed