Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-8154

How to manage exceptions in Qt on Mac

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Affect Type:
      Userdefined

      Description

       

      Sometimes in crashes there is some error message. There were 16 such crashes in total, from version 1.26 to 49.1. All exception happened on Mac OS.

      Error sounds like: 
      Qt has caught an exception thrown from an event handler. Throwing
      exceptions from an event handler is not supported in Qt.
      You must not let any exception whatsoever propagate through Qt code.
      If that is not possible, in Qt 5 you must at least reimplement
      QCoreApplication::notify() and catch all exceptions there.

       http://api.ugene.net/tools/ugenecrashes/index.php?id=26063

      Link to page with useful info about this problem 
      c++ - How to catch exceptions in Qt? - Stack Overflow

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            s.samoilenko Svetlana Samoilenko
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: