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

Using QUdpSocket prevents other DLL DLL_PROCESS_DETACH being called

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.6
    • Network: Sockets
    • None
    • Platform : Windows 10 64 bits , QT 5.12.6 , MSVC2017 , QTCreator 4.10.2
    • 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

            cnn Qt Core & Network
            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