[tex-live] xdvi problems on IRIX
Olaf Weber
olaf at infovore.xs4all.nl
Tue Jun 22 22:24:17 CEST 2004
Stefan Ulrich writes:
> Olaf Weber <olaf at infovore.xs4all.nl> writes:
>> Staszek Wawrykiewicz writes:
>>> On Tue, 22 Jun 2004, Olaf Weber wrote:
>>>> On IRIX, xdvi compiles to use Motif, but fails when being run: it
>>>> opens the window and displays the pagelist, but at about the point
>>>> where it is drawing the toolbar it puts the following message on the
>>>> terminal and exits:
>> X Error of failed request: BadMatch (invalid parameter attributes)
>> Major opcode of failed request: 62 (X_CopyArea)
> If you run with `-sync', does it abort and does the core show the
> call that's causing the problem?
Here's the stack trace I get. I think DrawPushButtonLabel is the
giveaway here...
(dbx) where
> 0 _kill(0x1f594, 0x6, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/signal/kill.s":15, 0xfa54258]
1 _raise(0x1f594, 0x6, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/signal/raise.c":27, 0xfad16dc]
2 abort(0x1f594, 0x6, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/gen/abort.c":52, 0xfa6ef60]
3 do_abort() ["/usr/people/olaf/web2c/texlive/Build/source.development/TeX/texk/xdvik/util.c":398, 0x1006dd68]
4 x_error_handler(display = 0x10162c50, error = 0x7fff1fd0) ["/usr/people/olaf/web2c/texlive/Build/source.development/TeX/texk/xdvik/xdvi.c":2009, 0x10074fd8]
5 _XError(0x1f594, 0xf71e210, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/x/xc/lib/X11/ListExt.c":3112, 0xf68022c]
6 _XReply(0x10162c50, 0x7fff28d0, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/x/xc/lib/X11/ChClMode.c":1987, 0xf60a990]
7 XSync(0x10162c50, 0x6, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/x/xc/lib/X11/SetDashes.c":43, 0xf61e2cc]
8 _XSyncFunction(0x1f594, 0x6, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/x/xc/lib/X11/SetDashes.c":34, 0xf66254c]
9 XCopyArea(0x10162c50, 0x6, 0x5400097, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/x/xc/lib/X11/ChClMode.c":56, 0xf6038e4]
10 Redisplay(0x1040eaa0, 0x6, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/motif/src/buildN32/lib/XmRoxy/Label.c":1582, 0xb05fa64]
11 DrawPushButtonLabel(0x1f594, 0x6, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/motif/src/buildN32/lib/XmRoxy/PushB.c":2877, 0xb0707e8]
12 Redisplay(0x1040eaa0, 0x7fff2d40, 0x101640c0, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/motif/src/buildN32/lib/XmRoxy/PushB.c":2730, 0xb06ef58]
13 SendExposureEvent(0x7fff2d40, 0x1040eaa0, 0x101650cc, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/x/xc/lib/Xt/Intrinsic.c":1255, 0x4086f98]
14 CompressExposures(0x0, 0x408f870, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/x/xc/lib/Xt/Intrinsic.c":1155, 0x407f2b0]
15 XtDispatchEventToWidget(0x1040eaa0, 0x7fff2d40, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/x/xc/lib/Xt/Create.c":927, 0x4026308]
16 _XtDefaultDispatcher(0x7fff2d40, 0x6, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/x/xc/lib/Xt/Create.c":1475, 0x407a224]
17 XtDispatchEvent(0x0, 0x6, 0x86bf8, 0x0, 0x3, 0x2c, 0xb4000018, 0x0) ["/xlv46/6.5.25m/work/x/xc/lib/Xt/Create.c":1570, 0x4025cd0]
18 read_events(ret_mask = 32766) ["/usr/people/olaf/web2c/texlive/Build/source.development/TeX/texk/xdvik/events.c":4941, 0x100446c8]
19 do_pages() ["/usr/people/olaf/web2c/texlive/Build/source.development/TeX/texk/xdvik/events.c":5183, 0x10045410]
20 main(argc = 2, argv = 0x7fff2f04) ["/usr/people/olaf/web2c/texlive/Build/source.development/TeX/texk/xdvik/xdvi.c":4055, 0x1007a78c]
21 __start() ["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177, 0x10014318]
> What's the output of xdpyinfo?
name of display: :0.0
version number: 11.0
vendor string: Silicon Graphics
vendor release number: 6600
maximum request size: 262140 bytes
motion buffer size: 0
bitmap unit, bit order, padding: 32, MSBFirst, 32
image byte order: MSBFirst
number of supported pixmap formats: 5
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 12, bits_per_pixel 16, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 15, maximum 149
focus: window 0x5800006, revert to PointerRoot
number of extensions: 31
DCShare
DEC-XTRAP
DOUBLE-BUFFER
DPMS
ESA
Extended-Visual-Information
GLX
LBX
MIT-SHM
MIT-SUNDRY-NONSTANDARD
Multi-Buffering
READDISPLAY
RECORD
ReadDisplay
SCREEN-SAVER
SGI-CONTROLPASSING
SGI-NewMultibuffering
SGI-SCREEN-CAPTURE
SGI-SUNDRY-NONSTANDARD
SGI-VIDEO-CONTROL
SGIFullScreenStereo
SHAPE
SYNC
TOG-CUP
X3D-PEX
XC-APPGROUP
XC-MISC
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1280x1024 pixels (293x234 millimeters)
resolution: 111x111 dots per inch
depths (5): 1, 8, 12, 15, 24
root window id: 0x40
depth of root window: 8 planes
number of colormaps: minimum 1, maximum 11
default colormap: 0x3d
default number of colormap cells: 256
preallocated pixels: black 0, white 7
options: backing-store NO, save-unders NO
largest cursor: 32x32
current input event mask: 0x72003c
ButtonPressMask ButtonReleaseMask EnterWindowMask
LeaveWindowMask StructureNotifyMask SubstructureRedirectMask
FocusChangeMask PropertyChangeMask
number of visuals: 26
default visual id: 0x20
visual:
visual id: 0x20
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x21
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x22
class: StaticColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0xe0, 0x1c, 0x3
significant bits in color specification: 8 bits
visual:
visual id: 0x23
class: TrueColor
depth: 8 planes
available colormap entries: 8 per subfield
red, green, blue masks: 0xe0, 0x1c, 0x3
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: TrueColor
depth: 8 planes
available colormap entries: 8 per subfield
red, green, blue masks: 0xe0, 0x1c, 0x3
significant bits in color specification: 8 bits
visual:
visual id: 0x25
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x26
class: PseudoColor
depth: 12 planes
available colormap entries: 4096
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x27
class: PseudoColor
depth: 12 planes
available colormap entries: 4096
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x28
class: PseudoColor
depth: 12 planes
available colormap entries: 4096
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x29
class: PseudoColor
depth: 12 planes
available colormap entries: 4096
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x2a
class: PseudoColor
depth: 12 planes
available colormap entries: 4096
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x2b
class: PseudoColor
depth: 12 planes
available colormap entries: 4096
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x2c
class: TrueColor
depth: 15 planes
available colormap entries: 32 per subfield
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x2d
class: TrueColor
depth: 15 planes
available colormap entries: 32 per subfield
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x2e
class: TrueColor
depth: 15 planes
available colormap entries: 32 per subfield
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x2f
class: TrueColor
depth: 15 planes
available colormap entries: 32 per subfield
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x30
class: TrueColor
depth: 15 planes
available colormap entries: 32 per subfield
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x31
class: TrueColor
depth: 15 planes
available colormap entries: 32 per subfield
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x32
class: TrueColor
depth: 15 planes
available colormap entries: 32 per subfield
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x33
class: TrueColor
depth: 15 planes
available colormap entries: 32 per subfield
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x34
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff, 0xff00, 0xff0000
significant bits in color specification: 8 bits
visual:
visual id: 0x35
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
visual:
visual id: 0x36
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
visual:
visual id: 0x37
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
visual:
visual id: 0x38
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
visual:
visual id: 0x39
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
> Does running with `-expertmode 20' cause the error too?
With -expertmode 20 xdvi-motif appears to run fine.
> Otherwise, what's the output of xwininfo for the xdvi window?
Follows the output when -expertmode 20 is in use (most convenient).
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x5400067 "xdvik: sample2e (3 pages)"
Absolute upper-left X: 51
Absolute upper-left Y: 91
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 627
Height: 895
Depth: 24
Visual id: 0x34
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x5400006 (installed)
Bit Gravity State: ForgetGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +51+91 -602+91 -602-38 +51-38
-geometry 627x895+43-30
>>> For Linux I make: ./configure --with-x-toolkit=xaw
>>> even having Motif installed.
>> I've done the same now.
>> Is there _any_ platform on which xdvi/motif works?
> I had a bug report about this before on Solaris but the user
> wasn't able to track it down. It works for me on XFree/Linux.
--
Olaf Weber
(This space left blank for technical reasons.)
More information about the tex-live
mailing list