From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: erik quanstrom Message-Id: <20011207190514.53C423FE56@quanstro.net> Subject: [9fans] as long as we're on the subject of Sam. Date: Fri, 7 Dec 2001 14:05:14 -0500 Topicbox-Message-UUID: 313206fa-eaca-11e9-9e20-41e7f4b1d025 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