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

QUdpSocket: read access violation.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.0 Alpha
    • 5.11.0
    • Network: Sockets
    • None
    • Windows
    • b78342f553ee13944c19bfdf77cdf68b0de87e50

    Description

      Offending code in QAbstractSocketPrivate::bind

      • The socket engine gets set-up
      • emits stateChanged(...) signal
      • user code calls close() on the socket, enters QAbstractSocket::disconnectFromHost()
      • following call to void QAbstractSocketPrivate::resetSocketLayer() deletes and NULL's the socketEngine
      • bind function moves on in the code and uses socketEngine
      emit q->stateChanged(state);
      if (socketType == QAbstractSocket::UdpSocket)
              socketEngine->setReadNotificationEnabled(true);
      

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            heimrich Karsten Heimrich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes