Text formatting string problem

Duane Clark dclark at akamail.com
Sun May 6 00:39:21 CDT 2001


Howdy,

Running a FPGA design tool (Actel's Designer), I find that it works
pretty good, but that certain printed status strings are being formatted
incorrectly. It does not seem to affect the operation of the
application, except for the status reports.

For example, running

wine --debugmsg +text,+string,+win /d/Actel/bin/designer

and opening an existing design gives this:

trace:string:lstrcpynA (0x40585482, "\\dclark\\actelte", 1022)
trace:string:lstrcpynA (0x40585880, "/e", 1024)
trace:string:lstrcpynA (0x4035687f, "\\DCLARK\\ACTELTE", 65)
trace:string:lstrcpynA (0x40351354, "Opened an existing design %s.\r\n",
36)
fixme:font:GetCharABCWidthsW (0088,000d,007e,0x423d14d8), returns
slightly bogus values.
trace:win:X11DRV_GetDC 	saved VisRgn, clipRgn = 1062
trace:text:X11DRV_ExtTextOut hdc=0088 df=0001 0,0 L""..., 0  flags=2
lpDx=(nil)
trace:text:X11DRV_ExtTextOut 	rect=(0,0 - 885,508)
trace:text:X11DRV_ExtTextOut 	real coord: x=0, y=0, rect=(0,0 - 885,508)
trace:text:X11DRV_ExtTextOut hdc=0088 df=0006 0,0 L""..., 0  flags=2
lpDx=(nil)
trace:text:X11DRV_ExtTextOut 	rect=(0,0 - 885,508)
trace:text:X11DRV_ExtTextOut 	real coord: x=0, y=0, rect=(0,0 - 885,508)
trace:text:X11DRV_ExtTextOut hdc=0088 df=0006 0,9 L"Opened an existing
design s."..., 28  flags=4 lpDx=(nil)
trace:text:X11DRV_ExtTextOut 	rect=(0,0 - 168,12)
trace:text:X11DRV_ExtTextOut 	real coord: x=0, y=9, rect=(0,0 - 168,12)
trace:text:X11DRV_GetTextExtentPoint L"Opened an existing design s."...
28

In the 4th line is the string with a format specification. But then a
few lines later, the "%s" just became "s", instead of being replaced
with the name of the design. Since the design is in fact correctly
opened, it appears to be just a display problem. Many other status
strings show the same symptom, with other format specifications too, not
just %s.

This is with wine from May 3 CVS. Any ideas where else I could look to
track this down further? (I can't seem to run a +relay, unless I can
somehow turn off the ntdll messages. This app generates a truly
gargantuan number of ntdll messages, which rapidly fill my disk).

Duane





More information about the wine-users mailing list