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

[hts-users:00452] Re: HTS 1.1 bug fix


Hi,

Patrick Davin wrote:

I got the same error message in HTS 1.1

I traced it to HHEd.c line 4119, which is a call to
fclose( ) in the middle of ConvertTreesCommand( ).

The fclose( ) was apparently being called twice with
the same FILE*, which causes a crash on some systems.

To fix (without trying to figure out the function logic),
I just make sure the FILE* is NULL when closed, then
check for NULL before closing.  I'm not confident that
this makes the function correct, but at least it stopped
the crash.

This bug has already been fixed in the HTS-2.0 RC releases.
You can find how to download them through hts-users ML archive.

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://kt-lab.ics.nitech.ac.jp/~zen
------------------------------------------------


Follow-Ups
[hts-users:00453] HERest -e option, Patrick Davin
References
[hts-users:00443] Re: hts_engine status in 2.0RC2, Luis Uebel
[hts-users:00451] HTS 1.1 bug fix, Patrick Davin