Bug 13020 (rosarion)

Summary: Wireshark from Linux Host failing remotely in Window-XP; wireshark: /build/buildd/libcairo-1.2.4/src/cairo-image-surface.c:155: _cairo_format_from_pixman_format: Assertion `NOT_REACHED' failed. Aborted
Product: cairo Reporter: noel <noel.delrosario>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: blocker    
Priority: high CC: bernie_wong, noel.delrosario
Version: 1.2.4   
Hardware: x86 (IA32)   
OS: Windows (All)   
URL: http://www.esolia.co.jp
Whiteboard:
i915 platform: i915 features:

Description noel 2007-10-31 01:18:59 UTC
I downloaded/configure Wireshark (former Ethereal) in Linux host.
Then from my other PC with Windows-XP running putty, I could access
my linux host and run applications from Linux like xclock.
But the Wireshark is failing due to some error from cairo.

Below are the Linux commands run in putty (x-window) from Window-XP host.
===================================================================
rosarion@Kulinx:~$ export DISPLAY=10.0.0.59:0.0
rosarion@Kulinx:~$ xhost +
access control disabled, clients can connect from any host
rosarion@Kulinx:~$ xclock -d -bg black -fg green &
[7] 19548
rosarion@Kulinx:~$ Warning: Missing charsets in String to FontSet conversion
rosarion@Kulinx:~$ xosview &
[8] 19549

rosarion@Kulinx:~$ sudo wireshark
Password:
Error: Cairo does not yet support the requested image format:
        Depth: 8
        Alpha mask: 0x00000000
        Red   mask: 0x00000000
        Green mask: 0x00000000
        Blue  mask: 0x00000000
Please file an enhacement request (quoting the above) at:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
wireshark: /build/buildd/libcairo-1.2.4/src/cairo-image-surface.c:155: _cairo_format_from_pixman_format: Assertion `NOT_REACHED' failed.
Aborted
=========================================================================

additional infos
rosarion@Kulinx:~$ wireshark -v
wireshark 0.99.4

Copyright 1998-2006 Gerald Combs <gerald@wireshark.org> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.10.6, with GLib 2.12.4, with libpcap 0.9.4, with libz
1.2.3, with libpcre 6.4, without UCD-SNMP or Net-SNMP, with ADNS, without Lua,
with GnuTLS 1.4.0, with Gcrypt 1.2.2, without Kerberos, with PortAudio <= V18,
without AirPcap.

Running on Linux 2.6.17-11-generic, with libpcap version 0.9.4.

Built using gcc 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5).


rosarion@Kulinx:~$ uname -a
Linux Kulinx 2.6.17-11-generic #2 SMP Fri May 18 23:39:08 UTC 2007 i686 GNU/Linux


rosarion@Kulinx:~$ dpkg -l | grep cairo
ii  libcairo2                                  1.2.4-1ubuntu2                       The Cairo 2D vector graphics library
rosarion@Kulinx:~$ dpkg -L libcairo2
/.
/usr
/usr/lib
/usr/lib/libcairo.so.2.9.2
/usr/share
/usr/share/doc
/usr/share/doc/libcairo2
/usr/share/doc/libcairo2/NEWS.gz
/usr/share/doc/libcairo2/changelog.gz
/usr/share/doc/libcairo2/AUTHORS
/usr/share/doc/libcairo2/copyright
/usr/share/doc/libcairo2/TODO.gz
/usr/share/doc/libcairo2/README.gz
/usr/share/doc/libcairo2/changelog.Debian.gz
/usr/lib/libcairo.so.2

rosarion@Kulinx:~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:B0:D0:D2:84:5F
          inet addr:10.0.0.77  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2b0:d0ff:fed2:845f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:48841801 errors:0 dropped:0 overruns:46 frame:0
          TX packets:13501114 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3242090653 (3.0 GiB)  TX bytes:1345523447 (1.2 GiB)
          Interrupt:11 Base address:0xec00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:60773 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60773 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:15179520 (14.4 MiB)  TX bytes:15179520 (14.4 MiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

rosarion@Kulinx:~$ dpkg -l | grep  gcc
ii  gcc                                        4.1.1-6ubuntu3                       The GNU C compiler
ii  gcc-3.3-base                               3.3.6-13ubuntu2                      The GNU Compiler Collection (base package)
ii  gcc-4.1                                    4.1.1-13ubuntu5                      The GNU C compiler
ii  gcc-4.1-base                               4.1.1-13ubuntu5                      The GNU Compiler Collection (base package)
ii  libgcc1                                    4.1.1-13ubuntu5                      GCC support library


rosarion@Kulinx:~$ dpkg -l | grep  cairo
ii  libcairo2                                  1.2.4-1ubuntu2                       The Cairo 2D vector graphics library
Comment 1 Bernie Wong 2008-01-23 13:38:03 UTC
I have the same problem displaying to another linux. 

uname -a Linux xxxx 2.6.18-8.el5PAE #1 SMP Fri Jan 26 14:28:43 EST 2007 i686 i686 i386 GNU/Linux

xclock -d -bg black -fg green 
works - no warning

# wireshark
Error: Cairo does not yet support the requested image format:
        Depth: 8
        Alpha mask: 0x00000000
        Red   mask: 0x00000000
        Green mask: 0x00000000
        Blue  mask: 0x00000000
Please file an enhacement request (quoting the above) at:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
wireshark: /build/buildd/libcairo-1.2.4/src/cairo-image-surface.c:155:
_cairo_format_from_pixman_format: Assertion `NOT_REACHED' failed.
Aborted

wireshark -v
wireshark 0.99.7

Copyright 1998-2007 Gerald Combs <gerald@wireshark.org> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.10.4, with GLib 2.12.3, with libpcap 0.9.4, with libz
1.2.3, with libpcre 6.6, without SMI, without ADNS, without Lua, with GnuTLS
1.4.1, with Gcrypt 1.2.3, with MIT Kerberos, without PortAudio, without AirPcap.

Running on Linux 2.6.18-8.el5PAE, with libpcap version 0.9.4.

Built using gcc 4.1.1 20070105 (Red Hat 4.1.1-52).

# rpm -q cairo
cairo-1.2.4-1.fc6



Comment 2 Chris Wilson 2008-04-11 07:26:12 UTC
Mass closing of 8-/15-/16-/32-bit unsupported image formats as these should now all work in 1.6.0. Please test and reopen if you have any issues.

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.