Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
6.0.0 Beta2
-
None
Description
The following test crashes in Qt 6:
void tst_QString::std_mismatch() { const QString s1("blabla"); const QString s2; const auto mismatches = std::mismatch(s1.begin(), s1.end(), s2.begin()); const int commonPrefixCount = mismatches.first - s1.begin(); QCOMPARE(commonPrefixCount, 0); }
The above test works fine in Qt 5.15
Please see https://codereview.qt-project.org/c/qt/qtbase/+/324200
This issue is a result of investigation on: QTCREATORBUG-24970
Attachments
Issue Links
- resulted from
-
QTCREATORBUG-24970 Crash when editing cpp file (built with Qt6)
- Closed
For Gerrit Dashboard: QTBUG-89002 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
324200,2 | WIP: Regression: Add crashing auto-test | dev | qt/qtbase | Status: ABANDONED | -2 | 0 |