Bug 210150 - kttsd not working [spd_execute_command, spd_resume, Speaker::resume]
Summary: kttsd not working [spd_execute_command, spd_resume, Speaker::resume]
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kttsd
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
: 261854 263781 264661 270332 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-11 07:06 UTC by Shantanu Tushar
Modified: 2018-09-04 14:25 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.75 KB, text/plain)
2010-05-25 03:53 UTC, Eed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shantanu Tushar 2009-10-11 07:06:05 UTC
Application: kttsd (0.5.0)
KDE Version: 4.3.71 (KDE 4.3.71 (KDE 4.4 >= 20091007)) (Compiled from sources)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Built kdeaccessibility from trunk
Started kttsd, output is-
Link points to "/tmp/kde4-kde-devel/kde-kde-devel"
kttsd(4456)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "kttsd" 
kttsd(4456)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "kttsd" 
kttsd(4456)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "kttsd" 
kttsd(4456)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "kttsd" 
kttsd(4456)/kttsd (daemon) main: main: Creating KTTSD Service               
kttsd(4456)/kttsd (daemon) KSpeech::KSpeech: KSpeech::KSpeech Running       
kttsd(4456)/kttsd (daemon) KSpeech::ready: KSpeech::ready: Starting KTTSD service
kttsd(4456)/kttsd (daemon) KSpeech::initializeSpeaker: KSpeech::initializeSpeaker: Instantiating Speaker
kttsd(4456)/kttsd (daemon): could not get a connection to speech-dispatcher                             

kttsd(4456)/kttsd (daemon) FilterMgr::init: FilterMgr::init: FilterIDs =  ()
kttsd(4456)/kttsd (daemon) FilterMgr::init: FilterMgr::init: FilterIDs =  ()
kttsd(4456)/kttsd (daemon) KSpeech::announceEvent: KSpeech:: "ready" : emitting DBUS signal  "kttsdStarted"

Started kttsmgr and clicked "speak clipboard contents", output-
kttsd(4456)/kttsd (daemon) KSpeech::setApplicationName: setting application name to :  "KttsMgr"
KCrash: crashing... crashRecursionCounter = 2                                                                             
KCrash: Application Name = kttsd path = <unknown> pid = 4456                                                              
sock_file=/home/kde-devel/.kde4/socket-hunny-laptop/kdeinit4__0                                                           
Warning: connect() failed: : No such file or directory                                                                    
KCrash cannot reach kdeinit, launching directly

Crash :(

 -- Backtrace:
Application: kttsd (kttsd), signal: Segmentation fault
[KCrash Handler]
#5  0xb804b66d in spd_execute_command () from /usr/lib/libspeechd.so.2
#6  0xb804b9e7 in spd_resume () from /usr/lib/libspeechd.so.2
#7  0x08051a4b in Speaker::resume (this=0x8f99438) at /home/kde-devel/kde/src/KDE/kdeaccessibility/kttsd/kttsd/speaker.cpp:1562
#8  0x08050399 in KSpeech::resume (this=0x8f98f50) at /home/kde-devel/kde/src/KDE/kdeaccessibility/kttsd/kttsd/kspeech.cpp:316
#9  0x0805cc13 in KSpeechAdaptor::resume (this=0x8f25498) at /home/kde-devel/kde/build/KDE/kdeaccessibility/kttsd/kttsd/kspeechadaptor.cpp:231
#10 0x0805d8d8 in KSpeechAdaptor::qt_metacall (this=0x8f25498, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbf990cc8)
    at /home/kde-devel/kde/build/KDE/kdeaccessibility/kttsd/kttsd/kspeechadaptor.moc:373
#11 0xb72ea046 in QDBusConnectionPrivate::deliverCall (this=0x8e98f58, object=0x8f25498, msg=@0x8f146f8, metaTypes=@0xbf990d64, slotIdx=39) at qdbusintegrator.cpp:891
#12 0xb72eaffe in QDBusConnectionPrivate::activateCall (this=0x8e98f58, object=0x8f25498, flags=273, msg=@0x8f146f8) at qdbusintegrator.cpp:796
#13 0xb72ebf61 in QDBusConnectionPrivate::activateObject (this=0x8e98f58, node=@0x8f146e4, msg=@0x8f146f8, pathStartPos=8) at qdbusintegrator.cpp:1347
#14 0xb72ec231 in QDBusActivateObjectEvent::placeMetaCall (this=0x8f146b8) at qdbusintegrator.cpp:1464
#15 0xb71c30ef in QObject::event (this=0x8f98f50, e=0x8f146b8) at kernel/qobject.cpp:1110
#16 0xb63ee513 in QApplicationPrivate::notify_helper (this=0x8e96778, receiver=0x8f98f50, e=0x8f146b8) at kernel/qapplication.cpp:4056
#17 0xb63ee888 in QApplication::notify (this=0xbf9916e4, receiver=0x8f98f50, e=0x8f146b8) at kernel/qapplication.cpp:3603
#18 0xb752e1a1 in KApplication::notify (this=0xbf9916e4, receiver=0x8f98f50, event=0x8f146b8) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#19 0xb71ab296 in QCoreApplication::notifyInternal (this=0xbf9916e4, receiver=0x8f98f50, event=0x8f146b8) at kernel/qcoreapplication.cpp:610
#20 0xb7a6abc3 in QCoreApplication::sendEvent () from /home/kde-devel/kde-qt/lib/libQt3Support.so.4
#21 0xb71ab820 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8e7bec0) at kernel/qcoreapplication.cpp:1247
#22 0xb71abab5 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#23 0xb7b08fa8 in QCoreApplication::sendPostedEvents () from /home/kde-devel/kde-qt/lib/libQt3Support.so.4
#24 0xb71e347f in postEventSourceDispatch (s=0x8e988c8) at kernel/qeventdispatcher_glib.cpp:210
#25 0xb5f7db88 in IA__g_main_context_dispatch (context=0x8e98840) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#26 0xb5f810eb in g_main_context_iterate (context=0x8e98840, block=1, dispatch=1, self=0x8e958b8) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#27 0xb5f81268 in IA__g_main_context_iteration (context=0x8e98840, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#28 0xb71e25b6 in QEventDispatcherGlib::processEvents (this=0x8e7b950, flags={i = -1080486540}) at kernel/qeventdispatcher_glib.cpp:327
#29 0xb64bafb4 in QGuiEventDispatcherGlib::processEvents (this=0x8e7b950, flags={i = -1080486492}) at kernel/qguieventdispatcher_glib.cpp:202
#30 0xb71a7950 in QEventLoop::processEvents (this=0xbf991648, flags={i = -1080486408}) at kernel/qeventloop.cpp:149
#31 0xb71a7bc2 in QEventLoop::exec (this=0xbf991648, flags={i = -1080486320}) at kernel/qeventloop.cpp:201
#32 0xb71abbeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#33 0xb63ee22c in QApplication::exec () at kernel/qapplication.cpp:3525
#34 0x0804ef24 in main (argc=134606472, argv=0x8f98da8) at /home/kde-devel/kde/src/KDE/kdeaccessibility/kttsd/kttsd/main.cpp:75

Reported using DrKonqi
Comment 1 RafGon 2010-05-01 07:52:21 UTC
I cannot get this speech recognition to work, since I was upgraded, I had two languages and they were working fine.
Comment 2 Eed 2010-05-25 03:53:32 UTC
Created attachment 43863 [details]
New crash information added by DrKonqi

Well, I was trying the TTS, I wanted it to read the contents of the clipboard but it crashed. I thought it would be helpful to report this bug to make Linux better. Good Luck
Eed Ali
Comment 3 Christoph Feck 2010-10-31 17:53:03 UTC
This is probably fixed by http://websvn.kde.org/?revision=1174303&view=revision

This commit still has to be backported.

Additionally, the code just silently fails if it does not have a connection. Shouldn't there be a message dialog if jovie cannot connect to speech-dispatcher? Or optionally, a some Speaker::hasConnection() or Speaker::isValid() function that returns false when it cannot speak anything?
Comment 4 Shantanu Tushar 2010-10-31 18:01:07 UTC
if jovie is what used to be kttsd, then its working fine in latest trunk :)
Comment 5 Christoph Feck 2011-01-03 02:03:32 UTC
*** Bug 261854 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2011-01-22 13:31:19 UTC
*** Bug 263781 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2011-01-28 19:13:27 UTC
*** Bug 264661 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2011-04-08 03:49:07 UTC
*** Bug 270332 has been marked as a duplicate of this bug. ***
Comment 9 Andrew Crouthamel 2018-09-04 14:25:43 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug.