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

QHttp2ProtocolHandler::sendRST_STREAM() attempts to write to closed QIODevice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2
    • Network, Network: SSL
    • None
    • Windows

    Description

      Have no idea what a preconditions are, just found it in our automated tracking system, since we are handling almost all Qt warnings on user side:

      QIODevice::write (QSslSocket): device not open
      

      This happens with the following call stack:

      ...
       	Qt6Core.dll!qt_message_print(QtMsgType msgType, const QMessageLogContext & context, const QString & message) Line 2018	C++
      >	Qt6Core.dll!qt_message_output(QtMsgType msgType, const QMessageLogContext & context, const QString & message) Line 2061	C++
       	Qt6Core.dll!QDebug::~QDebug() Line 164	C++
       	Qt6Core.dll!checkWarnMessage(const QIODevice * device, const char * function, const char * what) Line 72	C++
       	Qt6Core.dll!QIODevice::write(const char * data, __int64 maxSize) Line 1643	C++
       	Qt6Network.dll!Http2::FrameWriter::write(QIODevice & socket) Line 408	C++
       	[Inline Frame] Qt6Network.dll!QHttp2ProtocolHandler::sendRST_STREAM(unsigned int) Line 520	C++
       	Qt6Network.dll!QHttp2ProtocolHandler::_q_replyDestroyed(QObject * reply) Line 189	C++
       	Qt6Core.dll!doActivate<0>(QObject * sender, int signal_index, void * * argv) Line 4103	C++
       	[Inline Frame] Qt6Core.dll!QMetaObject::activate(QObject *) Line 4146	C++
       	[Inline Frame] Qt6Core.dll!QObject::destroyed(QObject * _t1) Line 229	C++
       	Qt6Core.dll!QObject::~QObject() Line 1077	C++
       	[External Code]	
       	[Inline Frame] Qt6Network.dll!QHttpThreadDelegate::abortRequest() Line 395	C++
       	Qt6Network.dll!QHttpThreadDelegate::qt_static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 348	C++
       	Qt6Core.dll!QMetaCallEvent::placeMetaCall(QObject * object) Line 656	C++
       	Qt6Core.dll!QObject::event(QEvent * e) Line 1452	C++
       	[Inline Frame] Qt6Core.dll!QCoreApplicationPrivate::notify_helper(QObject *) Line 1316	C++
       	[Inline Frame] Qt6Core.dll!doNotify(QObject *) Line 1243	C++
       	Qt6Core.dll!QCoreApplication::notify(QObject * receiver, QEvent * event) Line 1227	C++
       	Qt6Core.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1142	C++
       	[Inline Frame] Qt6Core.dll!QCoreApplication::sendEvent(QObject *) Line 1583	C++
       	Qt6Core.dll!QCoreApplicationPrivate::sendPostedEvents(QObject * receiver, int event_type, QThreadData * data) Line 1940	C++
       	Qt6Core.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 470	C++
       	[Inline Frame] Qt6Core.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag>) Line 100	C++
       	Qt6Core.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 181	C++
       	Qt6Core.dll!QThread::exec() Line 586	C++
       	Qt6Core.dll!QThreadPrivate::start(void * arg) Line 290	C++
       	[External Code]	
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              manordheim MÃ¥rten Nordheim
              studiosus Vladimir Belyavsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes