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

[issues] Help , test iconvdata/tst-iconv7 failed on mips simulator



Amker.Cheng wrote:
Hi :
   Don't know if it's ok to send this mail to this list, But I can not
find other lists more appropriate than this one.
Please inform me if it should not be post here.

The correct list would be issues@xxxxxxxxxx, forwarding it there.

I have set up the cross test environment for mips on qemu simulator
and now can run test suite normally.
But test process breaks when running iconvdata/tst-iconv7.
the dump file tst-iconv7.out says that "wrong first conversion".
I debugged tst-iconv7.c and found the function call
"size_t r = iconv (cd, &inptr, &inlen, &outptr, &outlen);"  (around line 26)
failed with errno string as "Invalid or incomplete multibyte or wide character"

I am not sure what's going wrong, Please help me out, any tips will be
highly appreciated.

following is dump result, hope it will be help.
<--------------------start
before iconv call
	inptr len = 7
	outptr =
	outptr len = 32
after iconv call
	return value = -1
	inptr len = 7
	outptr =
	outptr len = 32
	errno : Invalid or incomplete multibyte or wide character

wrong first conversion
-------------------->end