Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
6.4.0
-
None
Description
In order to reproduce run the following test: https://codereview.qt-project.org/c/qt/qtbase/+/463358.
Example output:
69: PASS : tst_QFile::initTestCase() 69: QDEBUG : tst_QFile::sequentialWriteAndReadInThreads() Doesn't exists, iteration: 52 69: FAIL! : tst_QFile::sequentialWriteAndReadInThreads() Compared values are not the same 69: Actual (w->result()): "" 69: Expected (data) : "Line with spaces" 69: Loc: [/home/jarek/dev/qt-dev/qtbase/tests/auto/corelib/io/qfile/tst_qfile.cpp(4050)] 69: QDEBUG : tst_QFile::sequentialWriteAndReadInThreads() Can't open, iteration: 54 exists: false 69: FAIL! : tst_QFile::sequentialWriteAndReadInThreads() Compared values are not the same 69: Actual (w->result()): "" 69: Expected (data) : "Line with spaces" 69: Loc: [/home/jarek/dev/qt-dev/qtbase/tests/auto/corelib/io/qfile/tst_qfile.cpp(4050)]
or:
69: PASS : tst_QFile::initTestCase() 69: QDEBUG : tst_QFile::sequentialWriteAndReadInThreads() Doesn't exists, iteration: 0 69: FAIL! : tst_QFile::sequentialWriteAndReadInThreads() Compared values are not the same 69: Actual (w->result()): "" 69: Expected (data) : "Line with spaces" 69: Loc: [/home/jarek/dev/qt-dev/qtbase/tests/auto/corelib/io/qfile/tst_qfile.cpp(4050)] 69: QDEBUG : tst_QFile::sequentialWriteAndReadInThreads() Doesn't exists, iteration: 6 69: FAIL! : tst_QFile::sequentialWriteAndReadInThreads() Compared values are not the same 69: Actual (w->result()): "" 69: Expected (data) : "Line with spaces" 69: Loc: [/home/jarek/dev/qt-dev/qtbase/tests/auto/corelib/io/qfile/tst_qfile.cpp(4050)]
Attachments
For Gerrit Dashboard: QTBUG-111601 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
463358,3 | QFile: Add a failing test for race condition in QFile I/O | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |
463420,13 | Possible nice test for parallel write/read of files | master | qt-creator/qt-creator | Status: ABANDONED | +1 | 0 |