Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-55890

Crash on exit if speech-dispatcher cannot be contacted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.8.0 Alpha
    • Speech
    • None
    • openSUSE 13.1 has libspeechd2-0.8.3

    Description

      When only libspeechd-devel and libspeechd is installed, QtSpeech successfully builds. Running an application causes a crash on exit when the speech-dispatcher daemon could not be contacted.

      Console message is: Connection to speech-dispatcher failed

      Backtrace:

      Program received signal SIGSEGV, Segmentation fault.
      0xae1c1144 in spd_close () from /usr/lib/libspeechd.so.2

      (gdb) bt
      #0 0xae1c1144 in spd_close () from /usr/lib/libspeechd.so.2
      #1 0xafd38e54 in QTextToSpeechEngineSpeechd::~QTextToSpeechEngineSpeechd (this=0x8231c28, __in_chrg=<optimized out>)
      at /local/git/Qt/frameworks/qt5/qtspeech/src/plugins/tts/speechdispatcher/qtexttospeech_speechd.cpp:77
      #2 0xafd3998a in QTextToSpeechEngineSpeechd::~QTextToSpeechEngineSpeechd (this=0x8231c28, __in_chrg=<optimized out>)
      at /local/git/Qt/frameworks/qt5/qtspeech/src/plugins/tts/speechdispatcher/qtexttospeech_speechd.cpp:79
      #3 0xb5919e27 in QTextToSpeechPrivate::~QTextToSpeechPrivate (this=0x83c13b0, __in_chrg=<optimized out>)
      at /local/git/Qt/frameworks/qt5/qtspeech/src/tts/qtexttospeech.cpp:90
      #4 0xb5919eaa in QTextToSpeechPrivate::~QTextToSpeechPrivate (this=0x83c13b0, __in_chrg=<optimized out>)
      at /local/git/Qt/frameworks/qt5/qtspeech/src/tts/qtexttospeech.cpp:91
      #5 0xb623216c in cleanup (pointer=<optimized out>)
      at ../../include/QtCore/../../../../../git/Qt/frameworks/qt5/qtbase/src/corelib/tools/qscopedpointer.h:60
      #6 ~QScopedPointer (this=0x819055c, __in_chrg=<optimized out>)
      at ../../include/QtCore/../../../../../git/Qt/frameworks/qt5/qtbase/src/corelib/tools/qscopedpointer.h:107
      #7 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>)
      at /local/git/Qt/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:900
      #8 0xb591e375 in ~QTextToSpeech (this=0x8190558, __in_chrg=<optimized out>)
      at .moc/../../../../../../git/Qt/frameworks/qt5/qtspeech/src/tts/qtexttospeech.h:54
      #9 QTextToSpeech::~QTextToSpeech (this=0x8190558, __in_chrg=<optimized out>)
      at .moc/../../../../../../git/Qt/frameworks/qt5/qtspeech/src/tts/qtexttospeech.h:54

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            frederik Frederik Gladhorn
            cfeck Christoph Feck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes