- 
    Bug 
- 
    Resolution: Done
- 
    P1: Critical 
- 
    5.6.1, 5.7.0 Alpha
- 
    None
- 
    Windows 10, MSVC2015 Update 2 64 bit
- 
        a4d26cf522b966056e47e47a004b7e4d668e3a2d, c09008d27ca1456fb53a3fc9c71d5f88b1081221
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/
- is required for
- 
                    QTCREATORBUG-16056 Qt Quick Designer does not work with QLocalSocket from Qt 5.6.1 -         
- Closed
 
-         
- resulted from
- 
                    QTCREATORBUG-16007 4.0/Windows (Self built Creator): No code completion from Clang -           
- Closed
 
-