Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
5.13.2
-
None
-
Windows 10, MSVC2017 64 bit
-
-
a4d26cf522b966056e47e47a004b7e4d668e3a2d, c09008d27ca1456fb53a3fc9c71d5f88b1081221
Description
When running Qt Creator 4.0 at b7d8d9ba3a4705d845aac86400e2538f93c94b39 against Qt 5.7 qtbase at f68c62c 216f57e , the (notoriously flaky) communication between the Code model and its clang backends frequently triggers:
ASSERT: "bytes <= bufferSize" in file tools\qringbuffer.cpp, line 74 Debug Error! Program: D:\dev\5-vs15-57\qt-creator40\bin\Qt5Cored.dll Module: 5.7.0 File: global\qglobal.cpp Line: 3059 ASSERT: "bytes <= bufferSize" in file tools\qringbuffer.cpp, line 74
QRingBuffer::free(qint64 bytes): bytes 701 int64 this 0x2fec5f773c0 QRingBuffer * basicBlockSize 4096 int bufferSize 252 int64 buffers <1 items> QList<QByteArray> head 699 int tail 951 int tailBuffer 0 int
Assert was introduced by "QRingBuffer: avoid allocation in c'tor" c3d8ab78b8bc63cc15b56719fc7bf2ec42c800de https://codereview.qt-project.org/#/c/115719/