Ticket #325 (assigned usability)

Opened 4 months ago

Last modified 2 weeks ago

Bad-value failure on OpenFont request in Snow Leopard servers

Reported by: tgl@… Owned by: jeremyhu@…
Priority: major Milestone: 2.5.1
Component: xserver Version: 2.4.0 (xserver-1.5)
Keywords: Cc:

Description

Attached is an xscope trace of the following session:

$ /opt/tcl8.5/bin/wish

% font actual [list zapfdingbats 12 roman normal] -family

run from an HPUX client machine. It fails at the very end with a "bad value" response to an OpenFont request. As far as I can see the requested font number 0xC00005 is within the resource range specified by the server in the startup response, so it should not fail.

I get this type of behavior in both the X server released with Snow Leopard, and xquartz 2.4.1_alpha3. I have never seen it in previous Apple X servers, and the client-side software didn't change when I went to Snow Leopard. Not all OpenFont requests fail --- in fact, it seems that only a few specific fonts may be affected, but I'm not certain about the triggering conditions. The example given here is 100% reproducible though.

I suspect that the fact that HPPA is a big-endian architecture might have something to do with it, since I'm unable to reproduce the problem when running tcl from a little-endian client. Maybe something is forgetting a byte-swap operation somewhere?

Attachments

xscope.out Download (35.1 KB) - added by tgl@… 4 months ago.
xscope trace

Change History

Changed 4 months ago by tgl@…

xscope trace

follow-up: ↓ 2   Changed 4 months ago by jeremyhu@…

  • status changed from new to assigned
  • version set to 2.4.0 (xserver-1.5)
  • milestone set to 2.4.1

Did you have this problem with 2.4.0 on Leopard?

in reply to: ↑ 1   Changed 4 months ago by tgl@…

Replying to jeremyhu@…:

Did you have this problem with 2.4.0 on Leopard?

[ sorry for slow response ... if Trac sent me mail about this, I missed it ]

I did not see the problem on Leopard, so far as I can recall. But I am not sure that I spent much time with 2.4.0. I was using 2.3.3.2 for day-to-day use. I see that I had downloaded 2.4.0_rc2, but I think that I had gone back to 2.3.3.2 because of some other issue (possibly the missing-border bug, which I found quite annoying). I could boot into Leopard and try it if you want --- which Xquartz version should I try exactly?

FWIW, I do still see the problem with 2.4.1_beta1, even when adding the 1.7.1.901 server.

  Changed 2 months ago by jeremyhu@…

  • milestone changed from 2.5.0 to 2.5.1
Note: See TracTickets for help on using tickets.