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

QLocalSocket crash reading pipe

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 5.11.2
    • Fix Version/s: None
    • Component/s: Core: I/O, Core: Other
    • Labels:
      None
    • Environment:
      Windows 8.1 Enterprise 64Bit
    • Platform/s:
      Windows

      Description

      In a configuration where the Readbuffer is set bigger than the actual Readsize and the Socket get highly stressed with messages, The Ringbuffer is crashing at Line 210. 

      ASSERT: "pos >= 0 && pos <= size()" in file c:\users\qt\work\qt\qtbase\include\qtcore\5.11.2\qtcore\private\../../../../../src/corelib/tools/qringbuffer_p.h, line 210
      Debug Error!

      Program: C:\Qt\Qt5.11.2\5.11.2\msvc2015\bin\Qt5Cored.dll
      Module: 5.11.2
      File: c:\users\qt\work\qt\qtbase\include\qtcore\5.11.2\qtcore\private\../../../../../src/corelib/tools/qringbuffer_p.h
      Line: 210

       

        Attachments

        1. QtPipeThread.cpp
          7 kB
          Stefan Latsch
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              thiago Thiago Macieira
              Reporter:
              stefanl68 Stefan Latsch
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes