After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 304449 - Gnopernicus can die if multiple errors from speech during speech recovery
Gnopernicus can die if multiple errors from speech during speech recovery
Status: RESOLVED FIXED
Product: gnopernicus
Classification: Deprecated
Component: speech
0.10.x
Other Linux
: Normal normal
: ---
Assigned To: remus draica
remus draica
AP0
Depends on:
Blocks:
 
 
Reported: 2005-05-17 05:37 UTC by korn
Modified: 2005-05-18 15:25 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
proposed patch (2.49 KB, patch)
2005-05-17 09:01 UTC, remus draica
none Details | Review
improved patch (7.49 KB, patch)
2005-05-17 13:28 UTC, Dragan Sarbut
accepted-commit_now Details | Review

Description korn 2005-05-17 05:37:15 UTC
1. Start Gnopernicus, wait for speech to be fully initialized and working with
FreeTTS.
2. From an xterm (or better still, another system using ssh into this system)
'pkill java' a whole bunch of times, while arrowing through the GUI causing
Gnopernicus to try to speak.
3. Gnopernicus will try to reinitialize speech, but will not only fail to do so
(as expected), srcore will crash as well.  The last messages in stdout/err from
Gnopernicus are:

(srcore:6466): gnopernicus-WARNING **: Message : Unable to unref the speaker

(srcore:6466): gnopernicus-WARNING **: Exception Unknown CORBA exception id: 'ID
L:omg.org/CORBA/COMM_FAILURE:1.0' occured.


(srcore:6466): gnopernicus-WARNING **: Message : Unable to unref the driver

(srcore:6466): gnopernicus-WARNING **: Exception Unknown CORBA exception id: 'ID
L:omg.org/CORBA/COMM_FAILURE:1.0' occured.


(srcore:6466): gnopernicus-WARNING **: Message : Cannot create speaker !

Restarting speech.

gnopernicus-ERROR **: file srs-gs-wrap.c: line 469 (srs_gs_wrap_speaker_set_para
meter): assertion failed: (speaker && name)
aborting...

(gnopernicus:6465): gnopernicus-WARNING **: srcore exited.
Comment 1 remus draica 2005-05-17 09:01:54 UTC
Created attachment 46532 [details] [review]
proposed patch

If an error occurs during creating a gnom-speech speaker, then, the gnopernicus
voice using it is not reported as created.
Comment 2 Dragan Sarbut 2005-05-17 13:28:37 UTC
Created attachment 46543 [details] [review]
improved patch

This patch also fixes bug #304448.
Comment 3 remus draica 2005-05-18 15:23:03 UTC
Comment on attachment 46543 [details] [review]
improved patch


Patch committed.