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

Using QUdpSocket prevents other DLL DLL_PROCESS_DETACH being called

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.6
    • Fix Version/s: None
    • Component/s: Network: Sockets
    • Labels:
      None
    • Environment:
      Platform : Windows 10 64 bits , QT 5.12.6 , MSVC2017 , QTCreator 4.10.2
    • Platform/s:
      Windows

      Description

      Strange bug : When using QUdpSocket bind() , it prevents other third-party DLL  dllMain DLL_PROCESS_DETACH  entry point to be called when process exit.

      NO problem if  QUdpSocket ::bind() line is commented.

      Note that using native Windows UDP API bind() do not show the problem.

      Test case joined ( .zip ) with a simple (void) DLL   and a simple QT app using this DLL .

        Attachments

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

          Activity

            People

            • Assignee:
              cnn Qt Core & Network
              Reporter:
              chal christophe Allart
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes