[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:01028] Re: HMGenS seg fault


Hi,

Z. Inanoglu wrote (2007/11/29 1:58):

I am trying to force model durations from label files when running HMGenS (HTS-2.1alpha). I have tried using the -m switch for this but it results in a segmentation fault. Is that not the right option to use?

Related to this topic, I found a bug in HGen.c:SetStateDurations().

@@ -647,7 +647,7 @@
      if (genInfo->modelAlign) {
         if (label->start<=0 && label->end<=0) {   /* model-level alignment of the i-th label is not specified */
HError(-9999,"SetStateDurations: model duration is not specified in %d-th label",i); - rho = 1.0;
+            rho = 0.0;
         }
         else {  /* model-level alignment of the i-th label is specified */
            modeldur = (int) (label->end - label->start)/genInfo->frameRate;

This bug exists in ver. 2.0, 2.0.1, and 2.1alpha.

Regards,

Heiga ZEN (Byung Ha CHUN)

--
------------------------------------------------
Heiga ZEN     (in Japanese pronunciation)
Byung Ha CHUN (in Korean pronunciation)

Department of Computer Science and Engineering
Nagoya Institute of Technology
Gokiso-cho, Showa-ku, Nagoya 466-8555 Japan

http://www.sp.nitech.ac.jp/~zen
------------------------------------------------

References
[hts-users:01023] HMGenS seg fault, Z. Inanoglu
[hts-users:01024] Re: HMGenS seg fault, Heiga ZEN (Byung Ha CHUN)
[hts-users:01025] Re: HMGenS seg fault, Z. Inanoglu