Bug#293796: marked as done (libgtk2.0-0: tries to use shared memory on remote display)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 07 Feb 2005 15:48:25 -0800


Your message dated Mon, 07 Feb 2005 15:33:37 -0800
with message-id <4207FAD1.4030203@pensfa.org>
and subject line no problem found after upgrading
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Feb 2005 20:01:00 +0000
>From rfm@pensfa.org Sat Feb 05 12:01:00 2005
Return-path: <rfm@pensfa.org>
Received: from yarth.pensfa.org (tellus.pensfa.org) [66.92.4.110] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CxW72-0005Vi-00; Sat, 05 Feb 2005 12:01:00 -0800
Received: from arda.pensfa.org ([192.168.0.4] ident=mail)
	by tellus.pensfa.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CxW6H-0008VZ-00; Sat, 05 Feb 2005 12:00:13 -0800
Received: from rfm by arda.pensfa.org with local (Exim 3.36 #1 (Debian))
	id 1CxW6G-0000y2-00; Sat, 05 Feb 2005 12:00:12 -0800
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Rich McAllister <rfm@pensfa.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libgtk2.0-0: tries to use shared memory on remote display
X-Mailer: reportbug 3.7.1
Date: Sat, 05 Feb 2005 12:00:12 -0800
Message-Id: <E1CxW6G-0000y2-00@arda.pensfa.org>
Sender: Rich McAllister <rfm@arda.pensfa.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: libgtk2.0-0
Version: 2.6.1-2
Severity: important



To reproduce, set DISPLAY to a remote X display (naturally make sure
that display is listening on TCP, and make sure xauth permissions
are ok.)  The remote display I was using was XFree86 4.2.1
(running on a woody system, using the backports debs) but
I doubt it's X release dependent.  Have GNOME installed and try
to run /usr/games/sol (lots of other apps fail, but this one
is easy.)  The initial display comes up and then sol crashes with

The program 'sol' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadImplementation (server does not implement operation)'.
  (Details: serial 1094 error_code 17 request_code 155 minor_code 10)

using the gtk2.0-0-dbg libs, running under gdb, and using --sync gets
a stack trace starting like this:

(gdb) where
#0  gdk_x_error (display=0xbffff0d0, error=0xbffff0d0) at gdkmain-x11.c:505
#1  0x401c5614 in _XError () from /usr/X11R6/lib/libX11.so.6
#2  0x401c3b73 in _XReply () from /usr/X11R6/lib/libX11.so.6
#3  0x401beda4 in XSync () from /usr/X11R6/lib/libX11.so.6
#4  0x401bee65 in _XSyncFunction () from /usr/X11R6/lib/libX11.so.6
#5  0x40f56ac7 in XShmAttach () from /usr/X11R6/lib/libXext.so.6
#6  0x40974b42 in _gdk_image_new_for_depth (screen=0x806f0c8, 
    type=GDK_IMAGE_SHARED, visual=0x806d2b0, width=1536, height=64, depth=32)
    at gdkimage-x11.c:337
#7  0x4094a812 in allocate_scratch_images (info=0x812f6a8, n_images=1, 
    shared=1) at gdkimage.c:208
#8  0x4094a8cf in scratch_image_info_for_depth (screen=0x806f0c8, depth=0)
    at gdkimage.c:255
#9  0x4094aa0d in _gdk_image_get_scratch (screen=0x806f0c8, width=48, 
    height=48, depth=-1073745712, x=0xbffff364, y=0xbffff368) at gdkimage.c:347
#10 0x4096b595 in draw_with_pixmaps (drawable=0x812eba8, gc=0x812ebd8, 
    format_type=GDK_X11_FORMAT_EXACT_MASK, format=0x812ef40, 
    mask_format=0x812edc0, src_rgb=0x80bf208 "", src_rowstride=192, dest_x=0, 
    dest_y=0, width=48, height=48) at gdkdrawable-x11.c:1406
#11 0x4096b831 in gdk_x11_draw_pixbuf (drawable=0x812eba8, gc=0x812ebd8, 
    pixbuf=0x80b8ba0, src_x=0, src_y=0, dest_x=0, dest_y=0, width=48, 
    height=48, dither=GDK_RGB_DITHER_NORMAL, x_dither=-1073745712, 
    y_dither=-1073745712) at gdkdrawable-x11.c:1471
#12 0x40945779 in IA__gdk_draw_pixbuf (drawable=0x812eba8, gc=0x812ebd8, 
    pixbuf=0x80b8ba0, src_x=-1073745712, src_y=-1073745712, 
    dest_x=-1073745712, dest_y=-1073745712, width=48, height=48, 
    dither=3221221584, x_dither=-1073745712, y_dither=-1073745712)
    at gdkdraw.c:785

Seems like it shouldn't be trying to use shared memory on a remote
display.  I thought there was an option or environment variable to
tell gtk not to use shared memory, but I can't find it right now.

BTW, this seemed to start with the recent upload of version 2.6.1-2 to
sarge.  Things were working fine last week...
-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-arda-acpi
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libfontconfig1           2.2.3-4         generic font configuration library
ii  libfreetype6             2.1.7-2.3       FreeType 2 font engine, shared lib
ii  libglib2.0-0             2.6.1-3         The GLib library of C routines
ii  libgtk2.0-0              2.6.1-2         The GTK+ graphical user interface 
ii  libgtk2.0-bin            2.6.1-2         The programs for the GTK+ graphica
ii  libgtk2.0-common         2.6.1-2         Common files for the GTK+ graphica
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG 
ii  libpango1.0-0            1.8.0-3         Layout and rendering of internatio
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libtiff4                 3.7.1-3         Tag Image File Format (TIFF) libra
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxcursor1              1.1.3-1         X cursor management library
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxft2                  2.1.2-6         FreeType-based font drawing librar
ii  libxi6                   4.3.0.dfsg.1-10 X Window System Input extension li
ii  libxrandr2               4.3.0.dfsg.1-10 X Window System Resize, Rotate and
ii  libxrender1              0.8.3-7         X Rendering Extension client libra
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 293796-done) by bugs.debian.org; 7 Feb 2005 23:34:11 +0000
>From rfm@pensfa.org Mon Feb 07 15:34:11 2005
Return-path: <rfm@pensfa.org>
Received: from yarth.pensfa.org (tellus.pensfa.org) [66.92.4.110] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CyIOQ-00048R-00; Mon, 07 Feb 2005 15:34:10 -0800
Received: from arda.pensfa.org ([192.168.0.4] ident=rfm)
	by tellus.pensfa.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CyINv-0000zd-00
	for <293796-done@bugs.debian.org>; Mon, 07 Feb 2005 15:33:39 -0800
Message-ID: <4207FAD1.4030203@pensfa.org>
Date: Mon, 07 Feb 2005 15:33:37 -0800
From: Rich McAllister <rfm@pensfa.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1
X-Accept-Language: en
MIME-Version: 1.0
To: 293796-done@bugs.debian.org
Subject: no problem found after upgrading
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: 293796-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

After upgrading to version 2.6.2-1 (from 2.6.1-3) this problem is no
longer seen.

Rich