QTextToSpeech::say exception
-
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? -
Hi,
What version of Qt ?
On what platform ?
With what compiler ? -
@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)
-
@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);)
-
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.