Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. strange behavior (Exception)
Forum Updated to NodeBB v4.3 + New Features

strange behavior (Exception)

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 306 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    addebito
    wrote on last edited by
    #1

    Hi at all,
    I'm going crazy to understand the real cause.

    d7ff410e-81d0-4e19-98b7-a96b28b8b260-immagine.png

    This message appear when I step over the code

    qDebug() << "--- show ---";   // <-- Exception here !!
    show();
    

    but sometimes appear at the follow line;

    qDebug() << "--- show ---";
    show();                      // <-- Exception here !!
    

    I wrote a program that send an email.
    On standalone program works correctly, when I put these classes on my primary project I got strange behavior like this, and the email it is not sent. On debug output I read this log message.

    qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

    to isolate the problem what approach do you adopt in these cases?

    jsulmJ JKSHJ 2 Replies Last reply
    0
    • A addebito

      Hi at all,
      I'm going crazy to understand the real cause.

      d7ff410e-81d0-4e19-98b7-a96b28b8b260-immagine.png

      This message appear when I step over the code

      qDebug() << "--- show ---";   // <-- Exception here !!
      show();
      

      but sometimes appear at the follow line;

      qDebug() << "--- show ---";
      show();                      // <-- Exception here !!
      

      I wrote a program that send an email.
      On standalone program works correctly, when I put these classes on my primary project I got strange behavior like this, and the email it is not sent. On debug output I read this log message.

      qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

      to isolate the problem what approach do you adopt in these cases?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @addebito Did you try to debug?
      Please provide stack trace after crash.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      4
      • A addebito

        Hi at all,
        I'm going crazy to understand the real cause.

        d7ff410e-81d0-4e19-98b7-a96b28b8b260-immagine.png

        This message appear when I step over the code

        qDebug() << "--- show ---";   // <-- Exception here !!
        show();
        

        but sometimes appear at the follow line;

        qDebug() << "--- show ---";
        show();                      // <-- Exception here !!
        

        I wrote a program that send an email.
        On standalone program works correctly, when I put these classes on my primary project I got strange behavior like this, and the email it is not sent. On debug output I read this log message.

        qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

        to isolate the problem what approach do you adopt in these cases?

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        @addebito said in strange behavior (Exception):

        qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

        This means your program can't find the OpenSSL DLLs.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        2

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved