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

random crash by using threaded QSslSocket

    XMLWordPrintable

Details

    Description

      I edited FortuneServer example to QSslSocket. For this I created an open ssl certifiacte with the following shell command:

      openssl req -new -x509 -days 365 -nodes -out certificate.pem -keyout certificate.pem -config ssl_config.cfg
      

      ss_config.cfg file:

      [ req ]
      default_bits       = 1024
      distinguished_name = req_DN
      string_mask        = nombstr
      
      [ req_DN ]
      countryName                     = DE
      countryName_default             = DE
      countryName_min                 = 2
      countryName_max                 = 2
      stateOrProvinceName             = "Germany"
      stateOrProvinceName_default     = "Germany"
      localityName                    = "Berlin"
      localityName_default            = "Berlin"
      0.organizationName              = "MyCompany"
      0.organizationName_default      = "MyCompany"
      organizationalUnitName          = "All"
      organizationalUnitName_default  = "All"
      commonName                      = "Hans"
      commonName_max                  = 64
      commonName_default              = "Hans"
      emailAddress                    = "my_name@google.com"
      emailAddress_max                = 40
      emailAddress_default            = "my_name@google.com"
      

      I also attached my fortune server project. The problem is by using threaded fortune server with browser firefox that the server crashs after a random number of requests from browser.

      port: 51600

      Attachments

        1. curl.php
          0.7 kB
        2. threadedfortuneserver.zip
          14 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            anno Hans Müller
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes