Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19836 - winex-cvs, possibly winex and wine, cannot cache font metrics when using X 4.3.0
Summary: winex-cvs, possibly winex and wine, cannot cache font metrics when using X 4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-23 09:53 UTC by Zhen Lin
Modified: 2003-06-29 02:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
winex-cvs xfont.c that works (xfont.c,93.47 KB, text/plain)
2003-04-26 02:39 UTC, Zhen Lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zhen Lin 2003-04-23 09:53:47 UTC
Here's the output from winex-cvs

Building font metrics. This may take some time...
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  45 (X_OpenFont)
  Value in failed request:  0xa00131
  Serial number of failed request:  1072
  Current serial number in output stream:  1073


Reproducible: Always
Steps to Reproduce:
1. USEing X 4.3.0, do {
2. winex-cvs <exefile>
3. }

Actual Results:  
Crash and burn, as shown above.

Expected Results:  
Cached font metrics and started windows program.

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 1500MHz
GENTOO_MIRRORS=" http://www.zentek-international.com/mirrors/gentoo/
http://www.zentek-international.com/mirrors/gentoo/ http://gentoo.gnukorea.org/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/portage.local"
USE="x86 oss apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses
nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang
readline tetex svga java guile mysql X sdl gpm tcpd pam libwww ssl python imlib
oggvorbis gnome gtk motif opengl -3dnow alsa -arts bonobo cdr cjk dga esd gb
gphoto2 gtkhtml jikes -kde kerberos ldap mbox mozilla mule odbc perl pic -qt
-qtmt samba sse tcltk tiff usb"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache distcc userpriv usersandbox"

$ xlsfonts -o
*

The above output concerns me... should this normally happen?
Comment 1 Alex Veber 2003-04-24 09:14:54 UTC
did you try xfree-4.3.0-r2 ?? 
Comment 2 Alex Veber 2003-04-24 09:19:22 UTC
eh, the wine ebuild uses a patch to fix this, why isnt the patch used in winex? 
Comment 3 Zhen Lin 2003-04-24 09:25:57 UTC
Yes, I am running X 4.3.0-r2, freetype 2.1.4
Comment 4 Zhen Lin 2003-04-26 02:39:15 UTC
Created attachment 11165 [details]
winex-cvs xfont.c that works

The wine patch works, but the first hunk has to be applied manually.
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-06-07 09:53:55 UTC
alex: which fix you mean in winex ?
Comment 6 Alex Veber 2003-06-07 10:23:13 UTC
this patch is used in the wine ebuild: 
wine-20030411-xopenfont.patch 
but not in the winex ebuild. 
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-06-08 09:44:25 UTC
winex-20030328 should be fixed

can anyone confirm this ?
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-06-08 09:45:09 UTC
wine has already this fix, correct ?
Comment 9 Alex Veber (RETIRED) gentoo-dev 2003-06-24 17:36:12 UTC
doesnt happen here with wine,winex and winex-cvs.  
can you guys please test? 
Comment 10 Sergey Kuleshov (RETIRED) gentoo-dev 2003-06-25 04:54:22 UTC
Could you please specify which version are you talking about? There are currently 2.2.1, 3.0 and 3.1. I need to know which of them caused these troubles.
Comment 11 Alex Veber (RETIRED) gentoo-dev 2003-06-29 02:50:50 UTC
seems to be fixed, bug closed.