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

SslCppClient crashes if sslserver is not run first

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 5.12.0 Beta 4
    • Remote Objects

    Description

      Even though this happened because of a user error, the SslCppClient example shouldn't crash (but exit/quit instead) if the SslServer is not already running.

      You get:

       Program received signal SIGABRT, Aborted.
      0x00007ffff66e6428 in __GI_raise (sig=sig@entry=6)
          at ../sysdeps/unix/sysv/linux/raise.c:54
      54        ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
      (gdb) bt
      #0  0x00007ffff66e6428 in __GI_raise (sig=sig@entry=6)
          at ../sysdeps/unix/sysv/linux/raise.c:54
      #1  0x00007ffff66e802a in __GI_abort () at abort.c:89
      #2  0x00007ffff7098d2c in QMessageLogger::fatal(char const*, ...) const ()
         from /home/milla2/RTA/qt5_beta4/5.12.0/gcc_64/lib/libQt5Core.so.5
      #3  0x0000000000403f67 in tester::tester() ()
      #4  0x0000000000402fca in main ()

      Instead it should just show a warning or instruct to run the SslServer example first.

      Attachments

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

        Activity

          People

            bstottle Brett Stottlemyer
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes