You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Yoriko Nakata <na...@cjs.co.jp> on 2001/06/13 02:56:10 UTC
ICU transcoder crash
Hello,
I use ICUTranscoder to support "Shift-JIS" & "EUC-JP" encode.
My program delete target buffer(it is setted local code data) and crash. If
it transcode from UNICODE to local encoding,
It doesn't crash ,if it transcode from UNICODE to UTF-8 or UTF-16 that
Xerces suppoting encode.
I'm using Xerces 1_3_0 & 1_4_0 & ICU 1-8.
Could some one help me?
Thanks, Yoriko Nakata.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: ICU transcoder crash
Posted by Yoriko Nakata <na...@cjs.co.jp>.
Hello,
I changed Xerces version "2001-06-13". So, program didn't crash.
But I found memory leaks. The point is
ICUTransService::makeNewLCPTranscoder()
{
:
UConverter* converter = ucnv_open(NULL, &uerr);
Leaked memory that is ucnv_open() gets. I confilmed that ucnv_close() ran
in XMLPlatformUtils::Terminate().
It isn't enough only ucnv_close()?
Thanks, Yoriko Nakata.
----- Original Message -----
From: "Yoriko Nakata" <na...@cjs.co.jp>
To: <xe...@xml.apache.org>
Sent: Wednesday, June 13, 2001 9:56 AM
Subject: ICU transcoder crash
> Hello,
>
> I use ICUTranscoder to support "Shift-JIS" & "EUC-JP" encode.
> My program delete target buffer(it is setted local code data) and crash.
If
> it transcode from UNICODE to local encoding,
> It doesn't crash ,if it transcode from UNICODE to UTF-8 or UTF-16 that
> Xerces suppoting encode.
>
> I'm using Xerces 1_3_0 & 1_4_0 & ICU 1-8.
> Could some one help me?
>
> Thanks, Yoriko Nakata.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org