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: Thu, 03 Apr 2008 19:52:07 +0200
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)

Hi Jose,

Sorry for the delay. I just moved to Frankfurt and I have been quite
busy with bureucracy :)

Good luck with your new job :-)


   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).

The traces output is:

libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:84: TextContext: Host 
Endianness is 'Big Endian'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:156: TextContext: Locale 
name is 'en_GB.utf8'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:158: TextContext: Language 
ID is 'en'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:160: TextContext: Country 
ID is 'GB'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:119: TextContext: Host 
Encoding is 'UTF-8'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:84: TextContext: Host 
Endianness is 'Big Endian'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:156: TextContext: Locale 
name is 'en_GB.utf8'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:158: TextContext: Language 
ID is 'en'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:160: TextContext: Country 
ID is 'GB'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:119: TextContext: Host 
Encoding is 'UTF-8'.

These are the expected logs...


And the corresponding part of the ut.log file:

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)

Humm... not really useful. Could you run it with gdb and send me the backtrace? :-) I have problems looking for a PPC system...





reply via email to

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