pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] Check for host endianness at configure level


From: Aleksander Morgado
Subject: Re: [pdf-devel] Check for host endianness at configure level
Date: Fri, 28 Mar 2008 10:48:04 +0100
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)


All tests success except:

base/text/pdf-text-get-unicode.c:929:E:pdf_text_get_unicode:pdf_text_get_unicode_015:0:
 (after this point) Received signal 11 (Segmentation fault)
base/text/pdf-text-get-unicode.c:1002:E:pdf_text_get_unicode:pdf_text_get_unicode_016:0:
 (after this point) Received signal 11 (Segmentation fault)

Traces for that run:

libgnupdf: ***DEBUG BASE***:base/pdf-text-host-encoding.c:328: Invalid data to 
convert from Host Encoding:'Invalid or incomplete multibyte or wide character'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-host-encoding.c:258: Conversion from 
'invalid_host_enc' to UTF-32 not available.

libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:918: Wrong UTF-8 data 
received (UTF-8 length: 0, Remaining length: 30.
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:918: Wrong UTF-8 data 
received (UTF-8 length: 0, Remaining length: 74.
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:918: Wrong UTF-8 data 
received (UTF-8 length: 0, Remaining length: 14.
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:918: Wrong UTF-8 data 
received (UTF-8 length: 0, Remaining length: 10.
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:918: Wrong UTF-8 data 
received (UTF-8 length: 0, Remaining length: 12.
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:918: Wrong UTF-8 data 
received (UTF-8 length: 0, Remaining length: 58.
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:918: Wrong UTF-8 data 
received (UTF-8 length: 0, Remaining length: 146.
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:918: Wrong UTF-8 data 
received (UTF-8 length: 0, Remaining length: 26.
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:918: Wrong UTF-8 data 
received (UTF-8 length: 0, Remaining length: 14.
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:918: Wrong UTF-8
data received (UTF-8 length: 0, Remaining length: 18.

libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:520: Input length must be 
multiple of 2 and greater than 2! Invalid UTF-16 data. (Length: 17).
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:520: Input length must be 
multiple of 2 and greater than 2! Invalid UTF-16 data. (Length: 39).
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:520: Input length must be 
multiple of 2 and greater than 2! Invalid UTF-16 data. (Length: 9).
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:520: Input length must be 
multiple of 2 and greater than 2! Invalid UTF-16 data. (Length: 7).
libgnupdf: ***DEBUG BASE***:base/pdf-text-encoding.c:520: Input length must be 
multiple of 2 and greater than 2! Invalid UTF-16 data. (Length: 13).

Could you modify these two files to run only the tests failing?

- `tsuite-text.c' file should only run `test_pdf_text_get_unicode' test case
- `pdf-text-get-unicode.c file should only run `pdf_text_get_unicode_015' and `pdf_text_get_unicode_016' tests.

Those logs that you sent are not related to the tests failing. In fact, those are expected logs (when giving invalid data to some functions, they should fail, and that's the expected result).

I guess I have the perfect excuse to buy in ebay the old PPC mac-mini that I've always wanted :-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]