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. QTextToSpeech::say exception

QTextToSpeech::say exception

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtexttospeechexception
6 Posts 3 Posters 1.1k Views
  • 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.
  • K Offline
    K Offline
    Kornei4
    wrote on last edited by
    #1

    I have a QTextToSpeech* variable _speaker, after using _speaker->say("text") got 4 similar exceptions:
    Exception at 0x7fefd45b16d, code: 0xe0000001: , flags=0x0 (first chance).
    It doesn't stop app from running but annoys me and trashes problems bar. Anyone knows why it appears and how to fix?

    aha_1980A 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What version of Qt ?
      On what platform ?
      With what compiler ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        What version of Qt ?
        On what platform ?
        With what compiler ?

        K Offline
        K Offline
        Kornei4
        wrote on last edited by
        #3

        @SGaist, qt 5.9.1, creator 4.3.1, win 7 pro, visual c++ compiler 14.0 (amd64)

        1 Reply Last reply
        0
        • K Kornei4

          I have a QTextToSpeech* variable _speaker, after using _speaker->say("text") got 4 similar exceptions:
          Exception at 0x7fefd45b16d, code: 0xe0000001: , flags=0x0 (first chance).
          It doesn't stop app from running but annoys me and trashes problems bar. Anyone knows why it appears and how to fix?

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by aha_1980
          #4

          @Kornei4 use Creators debugger. let the program crash. then inspect the stack trace (You can also post here).

          most likely you use a pointer after delete (or before new?)

          should be very easy to debug. but for us it's hard to tell without more information.

          Edit: and always assuming unmodified Qt libraries. just in case (one of your other threads)

          Qt has to stay free or it will die.

          K 1 Reply Last reply
          0
          • aha_1980A aha_1980

            @Kornei4 use Creators debugger. let the program crash. then inspect the stack trace (You can also post here).

            most likely you use a pointer after delete (or before new?)

            should be very easy to debug. but for us it's hard to tell without more information.

            Edit: and always assuming unmodified Qt libraries. just in case (one of your other threads)

            K Offline
            K Offline
            Kornei4
            wrote on last edited by Kornei4
            #5

            @aha_1980 i used debugger and though exception appers it doesn't crash application (as i've written above). Exception appears after using _speaker->say([text]), which is neither null nor trash/deleted pointer, it's usual QTextToSpeech pointer, created as usual (_speaker =new QTextToSpeech(engine, parent);)

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Can you test whether a more recent version of Qt still has that problem ?

              The Qt 5.9 series is at the 5.9.6 and 5.11.1 being the current version.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

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