Overview
| Artifact ID: | 332ba5f59ec83042b7aa9063215746ebb28ec671 |
|---|---|
| Ticket: | 1799273fffffffffffffffffffffffffffffffff
tktest segfaults with Xft |
| User & Date: | kot on 2007-09-20 22:00:32 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Hello! I built tk-8.5a6 on Solaris-10 (with Xft enabled). My DISPLAY is set to the Linux desktop. In addition to a large number of test failures, tktest simply crashes. It happens right after it reports the failure of test font-17.5, so it must be in font-17.6. The crash is in tkUnixRFont.c:186: 184 185 if (XftPatternGetString(ftFont->pattern, XFT_FAMILY, 0, 186 &family) != XftResultMatch) { 187 family = "Unknown"; 188 } The immediate cause of the crash is ftFont being NULL. The stack is: =>[1] InitFont(tkwin = 0x2ed68, pattern = 0xe96da8, fontPtr = 0xbfc930), line 186 in "tkUnixRFont.c" [2] TkpGetFontFromAttributes(tkFontPtr = (nil), tkwin = 0x2ed68, faPtr = 0xffbfa3c0), line 362 in "tkUnixRFont.c" [3] Tk_AllocFontFromObj(interp = 0x30958, tkwin = 0x2ed68, objPtr = 0xb680c0), line 1164 in "tkFont.c" [4] Tk_FontObjCmd(clientData = 0x2ed68, interp = 0x30958, objc = 4, objv = 0xffbfa8d8), line 590 in "tkFont.c" [5] TclEvalObjvInternal(0x30958, 0x4, 0xffbfa8d8, 0xbfad3c, 0x2a, 0xe8a31), at 0xfeeb0264 [6] TclEvalEx(0x30958, 0xc, 0xbfad66, 0xbfad5e, 0x2, 0xd), at 0xfeeb1594 [7] TclSubstTokens(0x30958, 0xffbfaaf8, 0x1, 0x0, 0x2, 0x14000), at 0xfef5819c [8] TclEvalEx(0x30958, 0xbfad3b, 0x3, 0xbfad3a, 0x2, 0x1), at 0xfeeb10e0 [....] Please, advise. - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kot"
- subsystem changed to: "None"
- title changed to: "tktest segfaults with Xft"
- type changed to: "Bug"