Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-85698

REOPEN: ASSERT: "bytes <= bufferSize" in file tools\qringbuffer.cpp, line 113

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • 5.6.1
    • 5.13.2
    • None
    • Windows 10, MSVC2017 64 bit
    • Windows
    • 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/

      Attachments

        Activity

          People

            alex1973tr Alex Trotsenko
            ars.masiuk Ars Masiuk
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: