Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

strange behavior (Exception)



  • 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?


  • Lifetime Qt Champion

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


  • Moderators

    @addebito said in strange behavior (Exception):

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

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


Log in to reply