Bug 182734 - kttsd crashes when trying to pronounce document in Okular
Summary: kttsd crashes when trying to pronounce document in Okular
Status: RESOLVED FIXED
Alias: None
Product: kttsd
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Unspecified
: NOR crash
Target Milestone: ---
Assignee: Gary Cramblitt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-01 15:49 UTC by Nicolas L.
Modified: 2009-05-24 17:46 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas L. 2009-02-01 15:49:52 UTC
Version:            (using KDE 4.2.0)
Installed from:    Mandriva RPMs

Bug reported by a mdv user and reproduced by me :

Description of problem:
When I try to use the  "Tools->Pronounce the entire document" (may not exactly
correspond due to french version currently running, sorry) in Okular, it seems
to try to launch kttsd which immediatly crashes with SIGNAL 11 error.
My sound card is recognized and plays KDE sounds well.

Version-Release number of selected component (if applicable):
KDE 4.2.0

How reproducible:
Every time I try to use the "Pronounce" tool of Okular

Steps to Reproduce:
1. Open a PDF file with Okular
2. "Tools->Pronounce the entire document"



Application: KTTSMgr (kttsmgr), signal SIGSEGV
[Current thread is 1 (Thread 0xb80a06d0 (LWP 8339))]

Thread 1 (Thread 0xb80a06d0 (LWP 8339)):
[KCrash Handler]
#6  QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block,
method=@0xbfad1e60, args=@0x0) at qdbusabstractinterface.h:121
#7  0x0804ec8b in OrgKdeKSpeechInterface::sayClipboard (this=0x0) at
/usr/src/debug/kdeaccessibility-4.2.0/build/kttsd/kttsmgr/kspeechinterface.h:238
#8  0x0804b5f5 in KttsMgrTray::speakClipboardSelected (this=0xa09be18) at
/usr/src/debug/kdeaccessibility-4.2.0/kttsd/kttsmgr/kttsmgr.cpp:284
#9  0x0804bc48 in KttsMgrTray::qt_metacall (this=0xa09be18,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfad1fd0) at
/usr/src/debug/kdeaccessibility-4.2.0/build/kttsd/kttsmgr/kttsmgr.moc:91
#10 0x45d802ed in QMetaObject::activate (sender=) at kernel/qobject.cpp:3031
#11 0x45d8071b in QMetaObject::activate (sender=<value optimized out>, m=) at
kernel/qobject.cpp:3121
#12 0x4614c0c5 in QAction::triggered (this=) at
.moc/release-shared/moc_qaction.cpp:216
#13 0x4614cab7 in QAction::activate (this=<value optimized out>, event=<value
optimized out>) at kernel/qaction.cpp:1125
#14 0x4654c267 in QMenuPrivate::activateAction (this=0xa09be78,
action=0xa097e50, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1002
#15 0x4654cce4 in QMenu::mouseReleaseEvent (this=<value optimized out>,
e=<value optimized out>) at widgets/qmenu.cpp:2169
#16 0x46e3abaa in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.5
#17 0x461ad0da in QWidget::event (this=0xa09d050, event=0xbfad26d8) at
kernel/qwidget.cpp:7163
#18 0x4654f084 in QMenu::event (this=0xa09d050, e=0xbfad26d8) at
widgets/qmenu.cpp:2265
#19 0x4615266c in QApplicationPrivate::notify_helper (this=<value optimized
out>, receiver=<value optimized out>, e=<value optimized out>) at
kernel/qapplication.cpp:3803
#20 0x4615b27f in QApplication::notify (this=0xbfad2f58, receiver=0xa09d050,
e=0xbfad26d8) at kernel/qapplication.cpp:3528
#21 0x46d625a0 in KApplication::notify () from /usr/lib/libkdeui.so.5
#22 0x45d6aeb3 in QCoreApplication::notifyInternal (this=) at
kernel/qcoreapplication.cpp:587
#23 0x4615a4a1 in QApplicationPrivate::sendMouseEvent (receiver=<value
optimized out>, event=) at ../../src/corelib/kernel/qcoreapplication.h:212
#24 0x461c99ca in QETWidget::translateMouseEvent (this=<value optimized out>,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4047
#25 0x461c8be0 in QApplication::x11ProcessEvent (this=0xbfad2f58,
event=0xbfad2c8c) at kernel/qapplication_x11.cpp:3109
#26 0x461f1cd4 in x11EventSourceDispatch (s=<value optimized out>,
callback=<value optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:142
#27 0x4d9a6dea in IA__g_main_context_dispatch (context=) at gmain.c:1814
#28 0x4d9aa508 in g_main_context_iterate (context=<value optimized out>,
block=<value optimized out>, dispatch=) at gmain.c:2448
#29 0x4d9aa6c8 in IA__g_main_context_iteration (context=<value optimized out>,
may_block=) at gmain.c:2511
#30 0x45d969aa in QEventDispatcherGlib::processEvents (this=) at
kernel/qeventdispatcher_glib.cpp:319
#31 0x461f142a in QGuiEventDispatcherGlib::processEvents (this=) at
kernel/qguieventdispatcher_glib.cpp:198
#32 0x45d69523 in QEventLoop::processEvents (this=) at
kernel/qeventloop.cpp:143
#33 0x45d696e1 in QEventLoop::exec (this=<value optimized out>, flags=) at
kernel/qeventloop.cpp:194
#34 0x45d6be52 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#35 0x461524d4 in QApplication::exec () at kernel/qapplication.cpp:3331
#36 0x0804d98f in main (argc=-1079168748, argv=0x38) at
/usr/src/debug/kdeaccessibility-4.2.0/kttsd/kttsmgr/kttsmgr.cpp:94
Comment 1 Pino Toscano 2009-02-01 16:01:15 UTC
kttsd crashes → kttsd problem
Comment 2 Jonathan 2009-02-16 23:58:15 UTC
Do you have set up any talkers in System Settings -> Accessibility -> Text-to-Speech -> Talkers?
If not, do you have any speech-libs installed, eg. festival?
Comment 3 David W. Hodgins 2009-02-17 06:11:56 UTC
Yes.  I have the following festvox rpm packages installed ...
festvox-kallpc16k
festvox-kallpc-common
festvox-kedlpc16k
festvox-kedlpc-common

In Talkers, I have Id 1, Language English Usa, Synthesizer Festival interactive, Voice code kal-diphone, Gender male, volume medium, rate medium.

Testing with "saytime" in a konsole works.

There have been a lot of updates since I reported the bug. kttsmgr is no longer crashing, but it is not producing any sound either.

The relevant config files are appended ...
$ cat .kde/share/config/kttsmgrrc
[Notification Messages]
systemtrayquitKTTSMgr=false

$ cat .kde/share/config/kttsdrc 
[ALSAPlayer]                                    
CustomPcmName=                                  
PcmName=default                                 

[FestivalInt]
FestivalExecutablePath=/usr/bin/festival

[Filter_1]
AppID=    
DesktopEntryName=kttsd_sbdplugin
Enabled=true                    
IsSBD=true                      
LanguageCodes=                  
MultiInstance=true              
SentenceBoundary=\\1\\t         
SentenceDelimiterRegExp=([\\.\\?\\!\\:\\;])(\\s|$|(\\n *\\n))
UserFilterName=Standard Sentence Boundary Detector           

[GStreamerPlayer]
SinkName=        

[General]
AudioOutputMethod=0
AudioStretchFactor=100
AutoExitManager=false 
AutoStartManager=true 
EmbedInSysTray=true   
EnableKttsd=true      
ExcludeEventsWithSound=true
FilterIDs=1                
KeepAudio=false            
KeepAudioPath=/home/dave/.kde/share/apps/kttsd/audio/
Notify=false                                         
ShowMainWindowOnStartup=false                        
TalkerIDs=1                                          
TextPostMsg=Resuming text.                           
TextPostMsgEnabled=true                              
TextPostSnd=                                         
TextPostSndEnabled=false                             
TextPreMsg=Text interrupted. Message.                
TextPreMsgEnabled=true                               
TextPreSnd=                                          
TextPreSndEnabled=false                              
XftAntialias[$d]                                     
XftHintStyle[$d]
XftSubPixel[$d]
alternateBackground[$d]
background[$d]
buttonBackground[$d]
buttonForeground[$d]
contrast[$d]
fixed[$d]
font[$d]
foreground[$d]
linkColor[$d]
menuFont[$d]
selectBackground[$d]
selectForeground[$d]
shadeSortColumn[$d]
taskbarFont[$d]
toolBarFont[$d]
visitedLinkColor[$d]
widgetStyle[$d]
windowBackground[$d]
windowForeground[$d]

[Talker_1]
Codec=ISO 8859-1
DesktopEntryName=kttsd_festivalintplugin
FestivalExecutablePath=/usr/bin/festival
LanguageCode=en_US
Preload=false
SupportsSSML=0
TalkerCode=<voice lang="en_US" name="kal_diphone" gender="male" /><prosody volume="medium" rate="medium" /><kttsd synthesizer="Festival Interactive" />
Voice=kal_diphone
pitch=100
time=100
volume=100

[aKodePlayer]
SinkName=auto
Comment 4 Christoph Feck 2009-05-24 17:46:13 UTC
Fixed in trunk: http://websvn.kde.org/?view=rev&revision=945810
Fixed in 4.2.3: http://websvn.kde.org/?view=rev&revision=945812