Bug 7714

Summary: Cairo doesn't support certain image formats ?
Product: cairo Reporter: Ken Mays <maybird1776>
Component: image backendAssignee: Carl Worth <cworth>
Status: RESOLVED DUPLICATE QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: critical    
Priority: high    
Version: 1.2.0   
Hardware: x86 (IA32)   
OS: Solaris   
URL: http://www.blastwave.org/packages.php/libcairo
Whiteboard:
i915 platform: i915 features:

Description Ken Mays 2006-07-31 15:45:02 UTC
We got an error from cairo 1.2.0 in which during configure shows it
support SVG, PS, PDF, PNG formats.

Error: Cairo does not yet support the requested image format:
Depth: 32
Alpha mask: 0x00000000
Red mask: 0x000000ff
Blue mask: 0x0000ff00
Green mask: 0x00ff0000
Please file an enhacement request (quoting the above) at:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo

Details from issues with GIMP 2.2.12 and cairo 1.2.0:

truss gimp
stat64("/opt/csw/lib/pango/1.4.0/modules/pango-basic-fc.so", 0xFFBFDD58) = 0
stat("/opt/csw/lib/pango/1.4.0/modules/pango-basic-fc.so", 0xFFBFD9C8) = 0
resolvepath("/opt/csw/lib/pango/1.4.0/modules/pango-basic-
fc.so", "/opt/csw/lib/pango/1.4.0/modules/pango-basic-fc.so", 1023) = 50
open("/opt/csw/lib/pango/1.4.0/modules/pango-basic-fc.so", O_RDONLY) = 5
mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 5, 0) = 
0xFE050000
mmap(0x00010000, 81920, PROT_NONE, 
MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFDF50000
mmap(0xFDF50000, 6976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 5, 0) = 
0xFDF50000
mmap(0xFDF60000, 8221, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 
5, 0) = 0xFDF60000
munmap(0xFDF52000, 57344) = 0
memcntl(0xFDF50000, 3720, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(5) = 0
stat("/opt/csw/lib/libm.so.1", 0xFFBFD888) Err#2 ENOENT
stat("/usr/openwin/lib/libm.so.1", 0xFFBFD888) Err#2 ENOENT
stat("/opt/csw/lib/libdl.so.1", 0xFFBFD888) Err#2 ENOENT
stat("/usr/openwin/lib/libdl.so.1", 0xFFBFD888) Err#2 ENOENT
stat("/opt/csw/lib/libc.so.1", 0xFFBFD888) Err#2 ENOENT
stat("/usr/openwin/lib/libc.so.1", 0xFFBFD888) Err#2 ENOENT
munmap(0xFE050000, 8192) = 0
ioctl(4, FIONREAD, 0xFFBFE4DC) = 0
read(4, "1C\0\0B8\0B8\003\0\0\0 c".., 512) = 512
poll(0x00441448, 1, 0) = 0
poll(0x00441448, 1, 0) = 0
write(4, "14\0\006\0B8\003\0\001 4".., 24) = 24
read(4, 0xFFBFE0D0, 32) Err#11 EAGAIN
poll(0xFFBFDE30, 1, -1) = 1
read(4, "01 \0B9\0\0\0\0\0\0\004".., 32) = 32
write(4, "14\0\006\0B8\003\0\001 8".., 24) = 24
read(4, 0xFFBFE0D0, 32) Err#11 EAGAIN
poll(0xFFBFDE30, 1, -1) = 1
read(4, "01 \0BA\0\0\001\0\0\006".., 32) = 32
read(4, "\0\0\003", 4) = 4
write(4, "14\0\006\0B8\003\0\001 8".., 24) = 24
read(4, "01 \0BB\0\0\001\0\0\006".., 32) = 32
read(4, "\0\0\003", 4) = 4
write(4, " (\0\004\0B8\003\0\0\0 .".., 16) = 16
read(4, "0101\0BC\0\0\0\0\0 T :FB".., 32) = 32
poll(0x00441448, 1, 0) = 0
poll(0x00441448, 1, 0) = 0
poll(0x00441448, 1, 0) = 0
poll(0x00441448, 1, 0) = 0
write(4, "14\0\006\0B8\003\0\001 4".., 24) = 24
read(4, 0xFFBFE0D0, 32) Err#11 EAGAIN
poll(0xFFBFDE30, 1, -1) = 1
read(4, "01 \0BD\0\0\0\0\0\0\004".., 32) = 32
ioctl(4, FIONREAD, 0xFFBFE3B4) = 0
ioctl(4, FIONREAD, 0xFFBFE4DC) = 0
poll(0x00441448, 1, 0) = 0
ioctl(4, FIONREAD, 0xFFBFE4DC) = 0
poll(0x00441448, 1, 0) = 0
write(4, " 518\004\0B8\0 +\0B8\0 (".., 36) = 36
read(4, 0xFFBFDB58, 32) Err#11 EAGAIN
poll(0xFFBFD8A8, 1, -1) = 1
read(4, "0118\0BF\0\01F @\0\0\0\0".., 32) = 32
readv(4, 0xFFBFDAD8, 2) = 10208
readv(4, 0xFFBFDAD8, 2) = 10240
readv(4, 0xFFBFDAD8, 2) = 10240
readv(4, 0xFFBFDAD8, 2) = 1312
fstat64(2, 0xFFBFCBB0) = 0
Error: Cairo does not yet support the requested image format:
Depth: write(2, " E r r o r : C a i r o".., 70) = 70
32write(2, " 3 2", 2) = 2

Alpha mask: 0xwrite(2, "\n\t A l p h a m a s k".., 16) = 16
00000000write(2, " 0 0 0 0 0 0 0 0", 8) = 8

Red mask: 0xwrite(2, "\n\t R e d m a s k".., 16) = 16
000000write(2, " 0 0 0 0 0 0", 6) = 6
ffwrite(2, " f f", 2) = 2

Blue mask: 0xwrite(2, "\n\t B l u e m a s k".., 16) = 16
0000write(2, " 0 0 0 0", 4) = 4
ff00write(2, " f f 0 0", 4) = 4

Green mask: 0xwrite(2, "\n\t G r e e n m a s k".., 16) = 16
00write(2, " 0 0", 2) = 2
ff0000write(2, " f f 0 0 0 0", 6) = 6

Please file an enhacement request (quoting the above) at:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
write(2, "\n P l e a s e f i l e".., 115) = 115
Bestätigung fehlgeschlagen: NOT_REACHED, file cairo-image-surface.c, line 144
write(2, " B e s tE4 t i g u n g ".., 79) = 79
sigaction(SIGABRT, 0x00000000, 0xFFBFD820) = 0
lwp_kill(1, SIGABRT) = 0
Received signal #6, SIGABRT [caught]
siginfo: SIGABRT pid=27635 uid=904 code=-1
sigprocmask(SIG_SETMASK, 0xFFBFD3B4, 0x00000000) = 0
gimp: terminated: Abbrechen
write(2, " g i m p : t e r m i n".., 28) = 28
_exit(1)
Comment 1 Carl Worth 2006-07-31 15:52:38 UTC

*** This bug has been marked as a duplicate of 7294 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.