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

[hts-users:01450] Re: a error occured at the same place as v2.1rc1


Hi,

Yufeng Hao wrote (2008/06/18 15:34):

(gdb) bt
#0  0x000000000042453b in ZeroDMatrix (m=0x10585d8) at HMath.c:350
#1 0x000000000040a51e in CreateAccStruct (x=0x784a80, xfinfo=Variable "xfinfo" is not available.
) at HAdapt.c:1775
#2 0x00000000004131a0 in GenAdaptXForm (hset=0x7fbfffefe0, xfinfo=0x588100) at HAdapt.c:4598 #3 0x0000000000414a68 in UpdateSemiTiedModels (hset=0x7fbfffefe0, xfinfo=0x588100) at HAdapt.c:5558 #4 0x00000000004057c5 in UpdateModels (hset=0x7fbfffefe0, xfinfo=0x588100, pbuf2=0x0, uFlags=UPSEMIT)
    at HERest.c:1935
#5  0x0000000000406b1d in main (argc=Variable "argc" is not available.
) at HERest.c:805

Can you please apply the following modification and report whether it solves your problem or not.

--- HAdapt.c    2008-06-16 21:13:02.000000000 +0900
+++ HAdapt.c    2008-06-18 15:54:53.000000000 +0900
@@ -4586,6 +4586,7 @@
   }
   classes = CreateIntVec(&gstack,bclass->numClasses);
   for (b=1; b<=bclass->numClasses; b++) {
+      if (GetBaseClassVSize(bclass,b)>0) {
      ZeroIntVec(classes); classes[b] = 1;
      /* Accumulate structure regenerated each time as this will handle
         streams of different sizes simply */
@@ -4623,6 +4624,7 @@
      }
      Dispose(&gstack,accs);
   }
+   }
   return TRUE;
}

Best 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
------------------------------------------------

Follow-Ups
[hts-users:01451] Re: a error occured at the same place as v2.1rc1, Yufeng Hao
References
[hts-users:01444] a error occured at the same place as v2.1rc1, Yufeng Hao
[hts-users:01445] Re: a error occured at the same place as v2.1rc1, Heiga ZEN (Byung Ha CHUN)
[hts-users:01446] Re: a error occured at the same place as v2.1rc1, Yufeng Hao
[hts-users:01447] Re: a error occured at the same place as v2.1rc1, Heiga ZEN (Byung Ha CHUN)
[hts-users:01448] Re: a error occured at the same place as v2.1rc1, Yufeng Hao