9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: [9fans] as long as we're on the subject of Sam.
Date: Fri,  7 Dec 2001 14:05:14 -0500	[thread overview]
Message-ID: <20011207190514.53C423FE56@quanstro.net> (raw)

has anybody else seen this problem with sam on unix:

with an exported display (or just running under Xnest)
sam starts up normally but
when you place the window with whatever window manager
you're using sam commits suicide with this error:

libg error: i/o error:

not terribly informative. wily doesn't have the same
problem. i did a little debugging on it but the error
message is bubbled up to libg from a callback from

(gdb) where
#0  ioerr (d=0x8065530, E=0xbfffefe0) at xtbinit.c:879
#1  0x400f4663 in _XError () from /usr/X11R6/lib/libX11.so.6
#2  0x400f2072 in _XEventsQueued () from /usr/X11R6/lib/libX11.so.6
#3  0x400e572a in XEventsQueued () from /usr/X11R6/lib/libX11.so.6
#4  0x4006ee68 in XtUnmanageChild () from /usr/X11R6/lib/libXt.so.6
#5  0x4006f7e8 in _XtWaitForSomething () from /usr/X11R6/lib/libXt.so.6
#6  0x400706b8 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#7  0x080569c8 in waitevent () at xtbinit.c:912
#8  0x08056445 in eread (keys=4294967295, e=0x805c340) at xtbinit.c:739
#9  0x0804c480 in waitforio () at io.c:74
#10 0x0804a2ef in main (argc=1, argv=0xbffffe54) at main.c:54
#11 0x401d95b0 in __libc_start_main () from /lib/libc.so.6

where E is an XErrorEvent* (my modification). gcc claims that E is:

$2 = {type = 0, display = 0x8065530, resourceid = 32, serial = 49,
  error_code = 2 '\002', request_code = 53 '5', minor_code = 0 '\000'}

according to the X headers, 53 is a pixmap thing. but i'm not quite
sure what to do from here. i am not an x guru.

oh, and:

name of display:    :1.0
version number:    11.0
vendor string:    Mandrake Linux (XFree86 4.1.0, patch level 17mdk)
vendor release number:    40100000
XFree86 version: 4.1.0
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    2
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0xa0000e, revert to PointerRoot
number of extensions:    22
[...]
screen #0:
  dimensions:    1024x768 pixels (346x260 millimeters)
  resolution:    75x75 dots per inch
  depths (2):    1, 24
  root window id:    0x25
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x21
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    32x32
  current input event mask:    0xd8000d
    KeyPressMask             ButtonPressMask          ButtonReleaseMask
    SubstructureNotifyMask   SubstructureRedirectMask PropertyChangeMask
    ColormapChangeMask
  number of visuals:    1
  default visual id:  0x20
  visual:
    visual id:    0x20
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits

erik



             reply	other threads:[~2001-12-07 19:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-07 19:05 erik quanstrom [this message]
2001-12-07 21:39 David Gordon Hogan
2001-12-07 22:17 erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011207190514.53C423FE56@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).