Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.15.7
Description
Hi,
When I use qtConcurrent to modify QVector<int> it will crash and show errros as blew:
1. ASSERT: "isDetached()" in file
2. ASSERT failure in QVector<T>::operator[]: "index out of range"
I use debug to test, find QVector size is 512 but debug info show vector capacity is 100.
Maybe QVector has't allocate enough capacity when create object.
You can check the attachment. Use Qt 5.15.7 MSVC 2019 64bit compiler to run it. It will show that error