[cairo-bugs] [Bug 18077] Large numbers of test failures in cairo 1.8.0 on Solaris 10 ( Sparc)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 16 07:51:23 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18077





--- Comment #2 from Michael <mjbauer at eecs.tufts.edu>  2008-10-16 07:51:18 PST ---
Stack traces for all three crashes.  They appear to all die in the same place. 
fcpat.c is likely part of the fontconfig library.  I recently built fontconfig
2.6.0 and installed it; so far as I know that's the newest stable version. 
There's also the stock Solaris fontconfig (implausibly tagged as version
6.6.2.7400,REV=0.2004.12.15, but the obvious datestamp makes the real version
number no higher than 2.2.97 and likely lower) on this host, but libcairo and
all the test binaries appear to be using the newer one.

I will note (possibly tangentially) that thread functionality -- including
pthreads -- in Solaris 10 has been folded into libc.  Using libpthread may not
be needed, and may improve things.  I've had one other package attempt to use
libpthread and fail to build, which then succeeded when I altered the build
sequence to get rid of libpthread.  I'll see if I can persuade Cairo to build
without libpthread to see if that makes a difference.


> setenv LD_LIBRARY_PATH /tmp/cairo-1.8.0/src/.libs:/usr/local/lib
> gdb ./.libs/ft-text-vertical-layout-type1
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.10"...
(gdb) run
Starting program: /tmp/cairo-1.8.0/test/.libs/ft-text-vertical-layout-type1
warning: Temporarily disabling breakpoints for unloaded shared library
"/usr/lib/ld.so.1"
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074

TESTING ft-text-vertical-layout-type1
Tests text rendering for vertical layout with Type1 fonts
Can fail if an incorrect font is loaded---need to bundle the desired font
ft-text-vertical-layout-type1-image-argb32 [0]:
Program received signal SIGSEGV, Segmentation fault.
FcPatternObjectFindElt (p=0x0, object=18) at fcpat.c:312
312     fcpat.c: No such file or directory.
        in fcpat.c
(gdb) backtrace
#0  FcPatternObjectFindElt (p=0x0, object=18) at fcpat.c:312
#1  0xff26af28 in FcPatternObjectDel (p=0x0, object=18) at fcpat.c:568
#2  0x000127c0 in draw (cr=0x3f450, width=80, height=240)
    at ft-text-vertical-layout-type1.c:73
#3  0x00013b78 in cairo_test_for_target (ctx=0xffbffb70, target=0x29c14,
    dev_offset=<value optimized out>, similar=0) at cairo-test.c:663
#4  0x00014788 in cairo_test_run (ctx=0xffbffb70) at cairo-test.c:988
#5  0x00014f18 in cairo_test (test=0x18180) at cairo-test.c:1167
#6  0x00012524 in _start () at ../.././gcc/config/sparc/sol2-c1.asm:106


> gdb ./.libs/ft-text-vertical-layout-type3
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.10"...
(gdb) run
Starting program: /tmp/cairo-1.8.0/test/.libs/ft-text-vertical-layout-type3
warning: Temporarily disabling breakpoints for unloaded shared library
"/usr/lib/ld.so.1"
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074

TESTING ft-text-vertical-layout-type3
Tests text rendering for vertical layout with TrueType fonts
ft-text-vertical-layout-type3-image-argb32 [0]:
Program received signal SIGSEGV, Segmentation fault.
FcPatternObjectFindElt (p=0x0, object=18) at fcpat.c:312
312     fcpat.c: No such file or directory.
        in fcpat.c
(gdb) backtrace
#0  FcPatternObjectFindElt (p=0x0, object=18) at fcpat.c:312
#1  0xff26af28 in FcPatternObjectDel (p=0x0, object=18) at fcpat.c:568
#2  0x000127c0 in draw (cr=0x3c210, width=80, height=200)
    at ft-text-vertical-layout-type3.c:72
#3  0x00013b78 in cairo_test_for_target (ctx=0xffbffb70, target=0x29bd4,
    dev_offset=<value optimized out>, similar=0) at cairo-test.c:663
#4  0x00014788 in cairo_test_run (ctx=0xffbffb70) at cairo-test.c:988
#5  0x00014f18 in cairo_test (test=0x18140) at cairo-test.c:1167
#6  0x00012524 in _start () at ../.././gcc/config/sparc/sol2-c1.asm:106


> gdb ./.libs/ft-text-antialias-none
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.10"...
(gdb) run
Starting program: /tmp/cairo-1.8.0/test/.libs/ft-text-antialias-none
warning: Temporarily disabling breakpoints for unloaded shared library
"/usr/lib/ld.so.1"
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074

TESTING ft-text-antialias-none
Tests text rendering with no antialiasing
ft-text-antialias-none-image-argb32 [0]:
Program received signal SIGSEGV, Segmentation fault.
FcPatternObjectFindElt (p=0x0, object=15) at fcpat.c:312
312     fcpat.c: No such file or directory.
        in fcpat.c
(gdb) backtrace
#0  FcPatternObjectFindElt (p=0x0, object=15) at fcpat.c:312
#1  0xff26af28 in FcPatternObjectDel (p=0x0, object=15) at fcpat.c:568
#2  0x000126fc in draw (cr=0x2e1f0, width=40, height=30)
    at ft-text-antialias-none.c:72
#3  0x00013920 in cairo_test_for_target (ctx=0xffbffb80, target=0x2990c,
    dev_offset=<value optimized out>, similar=0) at cairo-test.c:663
#4  0x00014530 in cairo_test_run (ctx=0xffbffb80) at cairo-test.c:988
#5  0x00014cc0 in cairo_test (test=0x17ec0) at cairo-test.c:1167
#6  0x00012450 in _start () at ../.././gcc/config/sparc/sol2-c1.asm:106


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list