Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.0 Alpha
-
None
-
b74268ef3e82f0fb9c1ed5392efd0e19c08ee5d5
Description
Use of a do() while loop crashes
function crash() { var x = -1; do { if (x >= 1) { x = 0; } } while (x != 0); }
5.3 works fine. 5.4 crashes on load.
Naturally the example above would infinite loop and be rubbish, but it's a simplified version of more legitimate code.
Attachments
Issue Links
- duplicates
-
QTBUG-42379 Combination of "do { } while" with nested "if" makes QML JIT compiler crash
- Closed
-
QTBUG-42026 Qmlscene crashes with a simple JavaScript
- Closed
- is duplicated by
-
QTBUG-42811 Assertion fails in qv4ssa.cpp
- Closed
For Gerrit Dashboard: QTBUG-41766 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
98847,3 | qv4: assign split edges to the correct loop group | 5.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
98929,4 | qv4: assign split of edges to loop header to the correct group | 5.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
99294,3 | Add unit test for bug 41766 | 5.4 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |