[Bug 1527] Crash at startup with font metric building problem

Wine Bugs wine-bugs at winehq.com
Wed Jun 18 09:49:09 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1527





------- Additional Comments From william.gallafent at virgin.net  2003-18-06 09:49 -------
Well, for what it's worth, here's the backtrace after the crash when run Synchronously. I don't 
have libX11 with debug symbols, so I can't see what's happening inside that library. The font 
name still looks OK at this point, but I can't look inside the Display*. 
 
Font metrics: 97.9% done 
Font -misc-esstix eight-medium-r-normal--100-*-100-100-p-0-adobe-fontspecific 
 
Program received signal SIGTRAP, Trace/breakpoint trap. 
[Switching to Thread 16384 (LWP 6922)] 
DebugBreak () at debugger.c:273 
273     } 
(gdb) bt 
#0  DebugBreak () at debugger.c:273 
#1  0x40f068d5 in error_handler (display=0x3c00e400, error_evt=0x408c266c) at 
x11drv_main.c:143 
#2  0x40f8288e in _XError () from /usr/X11R6/lib/libX11.so.6 
#3  0x40f80dad in _XReply () from /usr/X11R6/lib/libX11.so.6 
#4  0x40f63d93 in _XF86BigfontQueryFont () from /usr/X11R6/lib/libX11.so.6 
#5  0x40f6343f in XLoadQueryFont () from /usr/X11R6/lib/libX11.so.6 
#6  0x40efdd13 in TSXLoadQueryFont (a0=0x3c00e400, 
    a1=0x408c2960 "-misc-esstix 
eight-medium-r-normal--100-*-100-100-p-0-adobe-fontspecific") at ts_xlib.c:20 
#7  0x40ef0fcd in XFONT_BuildMetrics (x_pattern=0x3c01b1e0, res=100, 
x_checksum=4208893235, x_count=6291) 
    at ../../graphics/x11drv/xfont.c:2120 
#8  0x40ef2e7e in X11DRV_FONT_InitX11Metrics () at ../../graphics/x11drv/xfont.c:2959 
#9  0x40ef3b80 in X11DRV_SelectFont (physDev=0x40393718, hfont=0xa2) at 
../../graphics/x11drv/xfont.c:3339 
#10 0x40c8f3ba in FONT_SelectObject (handle=0xa2, obj=0x4037312e, hdc=0x4c) at 
../../objects/font.c:435 
#11 0x40c95638 in SelectObject (hdc=0x4c, handle=0xa2) at ../../objects/gdiobj.c:1074 
#12 0x40c87878 in DC_InitDC (dc=0x403949e8) at ../../objects/dc.c:194 
#13 0x40c88607 in CreateDCA (driver=0x40bedc04 "DISPLAY", device=0x0, output=0x0, 
initData=0x0) at ../../objects/dc.c:616 
#14 0x40bab707 in SYSMETRICS_Init () at ../../windows/sysmetrics.c:118 
#15 0x40bd9b75 in process_attach () at user_main.c:233 
#16 0x40bd9d05 in UserClientDllInitialize (inst=0x40b50000, reason=1, reserved=0x1) at 
user_main.c:325 
#17 0x400c5399 in MODULE_InitDLL (wm=0x40372180, reason=1, lpReserved=0x1) at 
loader.c:451 
#18 0x400c5598 in MODULE_DllProcessAttach (wm=0x40372180, lpReserved=0x1) at 
loader.c:528 
#19 0x400c5578 in MODULE_DllProcessAttach (wm=0x40371a08, lpReserved=0x1) at 
loader.c:521 
#20 0x400c5578 in MODULE_DllProcessAttach (wm=0x403709a8, lpReserved=0x1) at 
loader.c:521 
#21 0x400c5578 in MODULE_DllProcessAttach (wm=0x40370670, lpReserved=0x1) at 
loader.c:521 
#22 0x400c5578 in MODULE_DllProcessAttach (wm=0x0, lpReserved=0x1) at loader.c:521 
#23 0x400b1cac in start_process () at ../../scheduler/process.c:546 
#24 0x400b6207 in call_on_thread_stack (func=0x400b1ae0) at 
../../scheduler/sysdeps.c:113 
(gdb) up 6 
#6  0x40efdd13 in TSXLoadQueryFont (a0=0x3c00e400, 
    a1=0x408c2960 "-misc-esstix 
eight-medium-r-normal--100-*-100-100-p-0-adobe-fontspecific") at ts_xlib.c:20 
20        r = XLoadQueryFont(a0, a1); 
(gdb) list 
15 
16      XFontStruct * TSXLoadQueryFont(Display* a0, const  char* a1) 
17      { 
18        XFontStruct * r; 
19        wine_tsx11_lock(); 
20        r = XLoadQueryFont(a0, a1); 
21        wine_tsx11_unlock(); 
22        return r; 
23      } 
24 
(gdb) p a0 
$5 = (Display *) 0x3c00e400 
(gdb) p a1 
$6 = 0x408c2960 "-misc-esstix 
eight-medium-r-normal--100-*-100-100-p-0-adobe-fontspecific" 
 

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list