http://bugs.winehq.org/show_bug.cgi?id=9987
Summary: Missing function GDI32.dll.RemoveFontMemResourceEx Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gdi-(printing) AssignedTo: wine-bugs@winehq.org ReportedBy: frans.kool@gmail.com
Created an attachment (id=8507) --> (http://bugs.winehq.org/attachment.cgi?id=8507) Adds the missing function, composed of different patches
When running Titan Quest (see AppDb), the game crashes with the message: wine: Call from 0x3e6193 to unimplemented function GDI32.dll.RemoveFontMemResourceEx, aborting
Searching in the archives I found several implementations, which I compared. I removed the AddFontMemResourceEx function, since this is already present in current CVS. However I never submitted a patch before. Please find attached the diff which, once applied to CVS (wine-0.9.46-261-ga76d10d) fixes this issue.
Please let me know if I need to provide traces and/or logs
Frans
http://bugs.winehq.org/show_bug.cgi?id=9987
Juergen Wieczorek juergenw_@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juergenw_@web.de
--- Comment #1 from Juergen Wieczorek juergenw_@web.de 2007-10-11 12:14:17 --- TitanQuest v1.3 runs for me, but as soons as I try to use an ingame teleport the game crashes anytime the below error: wine: Call from 0x3e6193 to unimplemented function GDI32.dll.RemoveFontMemResourceEx, aborting
Juergen
http://bugs.winehq.org/show_bug.cgi?id=9987
--- Comment #2 from Juergen Wieczorek juergenw_@web.de 2007-10-11 12:16:24 --- P.S.: I am using wine version-0.9.46
Juergen
http://bugs.winehq.org/show_bug.cgi?id=9987
Frans Kool frans.kool@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #8507|Adds the missing function, |RemoveFontMemResourceEx.diff description|composed of different | |patches |
http://bugs.winehq.org/show_bug.cgi?id=9987
--- Comment #3 from Frans Kool frans.kool@gmail.com 2007-10-12 01:24:27 --- Hi Juergen,
Can you please try the attached patch and see if this solves your crashes? Simply get the sources, run this patch by performing: cat RemoveFontMemResourceEx.diff | patch -p1 and build wine throught './configure', 'make depend && make'? Thanks,
Frans
http://bugs.winehq.org/show_bug.cgi?id=9987
--- Comment #4 from Juergen Wieczorek juergenw_@web.de 2007-10-12 10:41:21 --- Hi Frans,
I've applied your patch to the sources, but the teleport crash still happens. Only now I do not get the unimplemented function error output in the log. Seems this crash is unrelated.
Thx anyway.
Juergen
http://bugs.winehq.org/show_bug.cgi?id=9987
--- Comment #5 from Juergen Wieczorek juergenw_@web.de 2007-10-13 05:35:11 --- Hello Frans,
I have applied your patch to the 0.9.47 sources, but still get the teleport/portal crashes. Additionally, I have a page fault presumably due to your patch, see below backtrace:
Unhandled exception: page fault on read access to 0x8c094309 in 32-bit code (0x601b6eea). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:601b6eea ESP:0034fcfc EBP:0034fd28 EFLAGS:00210246( - 00 -RIZP1) EAX:00111e2f EBX:604bed00 ECX:00111e10 EDX:8c094309 ESI:00000000 EDI:00111d88 Stack dump: 0x0034fcfc: 6048f568 00111e10 8c094309 0161b3e6 0x0034fd0c: 130a5048 604c6a8c 00111d5c 00111d50 0x0034fd1c: 604bed00 0afb90f0 05572b10 0034fd38 0x0034fd2c: 6048040d 8c094309 06ed6501 06ed6624 0x0034fd3c: 003e6193 8c094309 0afb90f0 00000000 0x0034fd4c: 003e6b58 05572b64 003e3c51 00000001 Backtrace: =>1 0x601b6eea (0x0034fd28) 2 0x6048040d RemoveFontMemResourceEx+0x1d(fh=0x8c094309) [/home/juergenw/wine-0.9.47/dlls/gdi32/font.c:3300] in gdi32 (0x0034fd38) 3 0x003e6193 in direct3d (+0x6193) (0x06ed6624) 4 0x06ed6668 (0x00007661) 5 0x00000000 (0x00000000) 0x601b6eea: cmpb 0x0(%edx),%al
Juergen
http://bugs.winehq.org/show_bug.cgi?id=9987
scguy318 nodisgod@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nodisgod@yahoo.com
http://bugs.winehq.org/show_bug.cgi?id=9987
Jaime Rave jaimerave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaimerave@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=9987
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marc@mwiriadi.id.au
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2007-11-18 14:43:01 --- *** Bug 10252 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9987
Spider spider@alternating.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spider@alternating.net
--- Comment #7 from Spider spider@alternating.net 2007-11-26 08:38:19 --- Haven't tested the patch, however there is a second case for reproducing the same bug.
Start the game, Create a new character, move a bit. Save game Close /Exit Start game Load character
--> Crash
http://bugs.winehq.org/show_bug.cgi?id=9987
--- Comment #8 from Spider spider@alternating.net 2007-11-26 08:39:10 --- Created an attachment (id=9352) --> (http://bugs.winehq.org/attachment.cgi?id=9352) Crashlog for Titan Quest
The log for the crash, if this helps-.
http://bugs.winehq.org/show_bug.cgi?id=9987
Mirek Slugen thunder.m@email.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunder.m@email.cz
--- Comment #9 from Mirek Slugen thunder.m@email.cz 2007-12-22 06:44:21 --- Bug is still there in wine 0.9.51, missing function GDI32.dll.RemoveFontMemResourceEx
http://bugs.winehq.org/show_bug.cgi?id=9987
--- Comment #10 from Hans Leidekker hans@it.vu.nl 2007-12-22 08:04:35 --- Created an attachment (id=9750) --> (http://bugs.winehq.org/attachment.cgi?id=9750) gdi32: Add a stub implementation for RemoveFontMemResourceEx.
Try this simple stub.
http://bugs.winehq.org/show_bug.cgi?id=9987
--- Comment #11 from Mirek Slugen thunder.m@email.cz 2007-12-22 09:31:03 --- (In reply to comment #10)
Created an attachment (id=9750)
--> (http://bugs.winehq.org/attachment.cgi?id=9750) [details]
gdi32: Add a stub implementation for RemoveFontMemResourceEx.
Try this simple stub.
Thanks, that works!
http://bugs.winehq.org/show_bug.cgi?id=9987
--- Comment #12 from Spider spider@alternating.net 2007-12-30 15:21:06 --- Verified the patch to work for me as well, Yey and Cheer and Stuff. Can this go into .53 perchance?
http://bugs.winehq.org/show_bug.cgi?id=9987
--- Comment #13 from Mirek Slugen thunder.m@email.cz 2008-01-02 12:36:07 --- This bug is fixed in current CVS, so it can be closed.
http://bugs.winehq.org/show_bug.cgi?id=9987
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #14 from Lei Zhang thestig@google.com 2008-01-02 12:41:12 --- Stub committed:
http://www.winehq.org/pipermail/wine-cvs/2008-January/039222.html
http://bugs.winehq.org/show_bug.cgi?id=9987
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zegenie@zegeniestudios.net
--- Comment #15 from Lei Zhang thestig@google.com 2008-01-04 13:04:43 --- *** Bug 11035 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9987
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Dan Kegel dank@kegel.com 2008-01-28 06:12:01 --- Closing all RESOLVED FIXED bugs older than 0.9.54.
http://bugs.winehq.org/show_bug.cgi?id=9987
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified