Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.2.0 Beta2
-
None
Description
If the example application is built with MSVC2019 64bit, the QProcess can't be stopped.
To reproduce
1) build the example in debug with MSVC2019.
2) run the example.
The process is started and when "m_loaderProcess.close()" is called an assertion is shown:
ProcessTest::processFinished 30 ASSERT: "readBuffers.size() > int(channelIdx)" in file \Users\qt\work\qt\qtbase\src\corelib\io\qprocess.cpp, line 947 ASSERT failure in QList::operator[]: "index out of range", file C:\Users\qt\work\qt\qtbase\include\QtCore\../../src/corelib/tools/qlist.h, line 391 QProcess: Destroyed while process ("cmd") is still running.
Not reproducible with MinGW.