[Bug 858] Segfault in WineEngInit () ( libgdi32.dll.so )

Wine Bugs wine-bugs at winehq.com
Fri Jun 20 07:05:43 CDT 2003


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





------- Additional Comments From z_god at wanadoo.nl  2003-20-06 07:05 -------
Bug comments restored from Gmane.org: 
 
Hello, 
 
Since I updated my system, wine does not starts any more.  
I'm using debian binary packages from http://gluck.debian.org/ 
 
Here's the latest log messages (this output is not related to the program run, 
it's sol.exe here, but could have been anything) 
 
wine -debugmsg +font sol.exe  
 
trace:font:DumpFontList Family: L"Wingdings 3" 
trace:font:DumpFontList         L"Regular" 
trace:font:WineEngCreateFontInstance L"System", h=16, it=0, weight=400, 
PandF=22, charset=0 orient 0 escapement 0 
trace:font:WineEngCreateFontInstance Choosen L"Arial" L"Regular" 
trace:font:WineEngGetFontData font=0x40388c78, table=584d4456, offset=00000000, 
buf=0x405c6b08, cbData=6 
wine: Unhandled exception, starting debugger... 
err:seh:EXC_DefaultHandling Unhandled exception code c0000005 flags 0 addr 
0x40287057 
 
Running with gdb returns some useful informations: 
 
Program received signal SIGSEGV, Segmentation fault. 
[Switching to Thread 1024 (LWP 27372)] 
0x08458b00 in ?? () 
(gdb) bt 
#0  0x08458b00 in ?? () 
#1  0x407370b9 in WineEngInit () from /usr/lib/libgdi32.dll.so 
#2  0x40736eb0 in WineEngInit () from /usr/lib/libgdi32.dll.so 
#3  0x40737b8b in WineEngCreateFontInstance () from /usr/lib/libgdi32.dll.so 
#4  0x40724eb8 in CreateFontW () from /usr/lib/libgdi32.dll.so 
#5  0x407294f0 in SelectObject () from /usr/lib/libgdi32.dll.so 
#6  0x4071d3d9 in DC_InitDC () from /usr/lib/libgdi32.dll.so 
#7  0x4071e0ca in CreateDCA () from /usr/lib/libgdi32.dll.so 
#8  0x4065160b in SYSMETRICS_Init () from /usr/lib/wine/user32.dll.so 
#9  0x4067ac2c in GetTabbedTextExtentW () from /usr/lib/wine/user32.dll.so 
#10 0x4067ada5 in UserClientDllInitialize () from /usr/lib/wine/user32.dll.so 
#11 0x4007c599 in PE_InitDLL () from /usr/lib/libntdll.dll.so 
#12 0x40078d3b in MODULE_AllocModRef () from /usr/lib/libntdll.dll.so 
#13 0x40078e59 in MODULE_DllProcessAttach () from /usr/lib/libntdll.dll.so 
#14 0x40078e35 in MODULE_DllProcessAttach () from /usr/lib/libntdll.dll.so 
#15 0x400b8cb0 in PROCESS_CallUserSignalProc () from /usr/lib/libntdll.dll.so 
#16 0x400bccbd in SYSDEPS_SetCurThread () from /usr/lib/libntdll.dll.so 
 
 
I think the problem could be related to freetype, from what I've seen in 
WineEngInit(void) 
 
If would have wanted to compile from sources, to get get a more precise 
backtrace, but as the latest tarball is huge for a modem user, I did have not 
tryed yet. 
 
Just tell me if you need more info. 
 
 
------- Additional Comments From apa3a <at> yahoo.com  2002-08-09 13:19 ------- 
Yes, WineEngInit function works with FreeType fonts. 
To get more informative relay trace you can add relay channel, as: 
wine -debugmsg +font,+relay sol.exe &> 1.log 
 
Attach to the bug report 200 lines of the log before crash. 
It is possible some fonts handling logic changes between the launches. I can 
advise you to try to reconfigure Wine (generate new fake Windows directory and 
config files in .wine directory). Backup your old configuration first. If that 
works you can try to add back the applications and configuration from the backup. 
Please report your progress. 
 
 
------- Additional Comments From sylvain_pasche <at> yahoo.fr  2002-08-09 17:35 
------- 
Created an attachment (id=258)
 --> (http://bugs.winehq.com/attachment.cgi?id=258&action=view) 
log file 
 
 
------- Additional Comments From sylvain_pasche <at> yahoo.fr  2002-08-09 17:37 
------- 
I tried to compile from source version 20020709, to have a more readable 
backtrace, but I did not manage to reproduce the bug. 
I would have tried to compile the 20020605, to identify this bug, but source 
tarballs are a little big for my modem :-) 
I've attached however a log file, but I mostly think this bug may be closed soon. 
 
 
------- Additional Comments From julliard <at> winehq.com  2002-08-09 18:04 ------- 
Most likely this is caused by the fact that the recent freetype libraries (2.1.x) 
have broken binary compatibility, so if your Wine was compiled against the 
freetype 2.0.x headers it doesn't work. That's probably why it works when you 
recompile from source. 

-- 
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