Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.13
-
None
-
-
74179a209a8ccdc771b0218f430d5a0519bc619a (qt/qtbase/5.13)
Description
This test will fail with Windows 10 X64 and MSVC 2019
http://coin:8080/coin/integration/qt/qt5/tasks/1564466065
QDEBUG : tst_Collections::insert_remove_loop() class QVarLengthArray<int,15> FAIL! : tst_Collections::insert_remove_loop() Compared values are not the same Actual (t[i]) : 2 Expected (T(IntOrString(expect1[i]))): 3 .\tst_collections.cpp(3542) : failure location
That is
QVarLengthArray<int,15> t;
t.append(1);
t << 2;
t += 3;
t.prepend(4);
qDebug() << t;
produces
QVarLengthArray<int,15>(4)[4, 1, 2, 2 ]
(end element is incorrect) if append() is directly followed by prepend() (no qDebug() or similar in between). prepend() calls insert(cbegin()), so, the issue is around src\corelib\tools\qvarlengtharray.h:493 (5.12).
Attachments
Issue Links
- is required for
-
QTQAINFRA-2875 Add MSVC 2019 to CI
- Closed
- relates to
-
QTBUG-77230 GraphicsView is not painting correct in some cases with MSVS 2019
- Closed