FS#67420 - [festival] text2wave segmentation fault (core dumped)

Attached to Project: Arch Linux
Opened by I Said Socks (socks) - Tuesday, 28 July 2020, 02:22 GMT
Last edited by Toolybird (Toolybird) - Monday, 09 October 2023, 20:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



While `festival --tts <<< test` works (i.e.  FS#58872  is fixed), `text2wave` fails with SEGV:

$ text2wave -o t.wav <<< test
[1] 307267 segmentation fault (core dumped) text2wave -o t.wav <<< test

(BTW, I first discovered this issue on Feb. 11, 2020. But since I rarely run text2wave, I'm guessing it's probably stopped working since festival 2.5.0.)

Additional info:
* package version: festival 2.5.0-3
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 09 October 2023, 20:28 GMT
Reason for closing:  Upstream
Additional comments about closing:  This doesn't appear to be an Arch packaging issue. We provide debug symbols these days via debuginfod. If still reproducible, please provide a backtrace that includes debugging info and report upstream.
Comment by I Said Socks (socks) - Tuesday, 28 July 2020, 03:02 GMT
I did a bit of search and found a post from 2005(!) on Gentoo Forums: https://forums.gentoo.org/viewtopic-t-195579-postdays-0-postorder-asc-start-50.html

The workaround/solution provided by telegenetic (post id 2606684, idk how to link to it.) did work for me, surprisingly. Patch text2wave thus:

- (let ((wholeutt (utt.synth (Utterance Text ""))))
+ (let ((wholeutt (Utterance Text "")))

However, this smells weird. Because text2wave worked for me early last year, when festival was at version 2.4.x.
I have checked the file festival/examples/text2wave.sh in the source tarball has not changed a bit between 2.4 and 2.5.0.
And that Gentoo Forums post was from 2005, when festival was at 1.x!

Reported upstream: https://github.com/festvox/festival/issues/33
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.