I have a really weird issue which started when I installed some truetype fonts on my system.
So far I've been able to verify this with Wine 1.1.3 and am about to test with Wine 1.1.13.
doneill@mandy /World of Warcraft $ winecfg
doneill@mandy /World of Warcraft $ winecfg
err:module:attach_process_dlls "gdi32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winecfg.exe" failed, status c0000005
What you're seeing on the first line is my running winecfg with my truetype fonts directory temporarily moved to my home folder.
The second line is what I get when I move it back. Somehow my TTF font collection is causing wine to die on gdi32 initialisation.
I've checked out WINEDEBUG=+all and found something very interesting in the output; that I can't make heads or tails of any of it. Aside from that, there's an awful lot of it which I'd rather not burn my bandwidth posting here, even if only on the sections which mention gdi32.
What I CAN say is that with the fonts in place it takes 2-3 seconds to throw the error, which by my hardware is roughly how long it takes for me to compile Xorg. Seems to me it's thinking really hard.
In an unrelated note, GDM stopped firing up around the same time, so I updated the responsible library (libfreetype2, ooh, coming together now?) and now it works just fine. After that, I recompiled Wine since, as said, I have a new Freetype2 library, but still no love.
Gimp, Blender, etc. seems to work, but it seems to me that in my collection is a 'broken' truetype font which has managed to munch any hopes I have of running any Wine applications while there.
If it were simply a matter of weeding out the sour grape I would, but:
$ ls /usr/share/fonts/TTF/ | wc
10131
... I'm wondering if sheer volume is to blame, are we storing font counts in 8-bit integers? :p
---
Yep, same result with 1.1.13. It looks like I just have too many fonts. Again, moving the fonts out seems to fix it, and the problem began when I put them there. Do I simply have to live without my fonts; or rather, make a bash script to reference them when I fire up Gimp or Blender, then move them out when I want to run anything in Wine?
"gdi32.dll" failed to initialize, aborting
"gdi32.dll" failed to initialize, aborting
ver wrote:
Mac version, including a 'home brew' build of 1.1.13. This may point
out a problem with the use of True Type fonts with this build.
James McKenzie
What operating system are you using? This problem has existed on theI have a really weird issue which started when I installed some truetype fonts on my system.
So far I've been able to verify this with Wine 1.1.3 and am about to test with Wine 1.1.13.
doneill@mandy /World of Warcraft $ winecfg
doneill@mandy /World of Warcraft $ winecfg
err:module:attach_process_dlls "gdi32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winecfg.exe" failed, status c0000005
Mac version, including a 'home brew' build of 1.1.13. This may point
out a problem with the use of True Type fonts with this build.
James McKenzie
Sabayon (Gentoo) Linux 64-bit
Linux mandy 2.6.25-sabayon-r1 #1 SMP Mon Jun 30 17:58:45 UTC 2008 x86_64 AMD Phenom(tm) 9850 Quad-Core Processor AuthenticAMD GNU/Linux
since wine links 32-bit, here are my 32-bit libs:
GNU Libc 2.6.1
GNU Libdl 2.6.1
GNU Pthread 2.6.1
libfreetype 6.3.16
I should point out I haven't yet upgraded the Freetype 32-bit library. When I did my upgrade, it was the 64-bit version, so this may yet be to blame.
Let's see what happens when I build it for 32-bit...
... alright, thanks to my 'speedy' connection, I'll have to get back to this one. I'll edit this post with my results when it's all sorted out.
--
Yep, that was the issue, a sour freetype2 so in my lib32 directory.
In other news, I'm back on Ubuntu... if only I had the patience for Gentoo...
Linux mandy 2.6.25-sabayon-r1 #1 SMP Mon Jun 30 17:58:45 UTC 2008 x86_64 AMD Phenom(tm) 9850 Quad-Core Processor AuthenticAMD GNU/Linux
since wine links 32-bit, here are my 32-bit libs:
GNU Libc 2.6.1
GNU Libdl 2.6.1
GNU Pthread 2.6.1
libfreetype 6.3.16
I should point out I haven't yet upgraded the Freetype 32-bit library. When I did my upgrade, it was the 64-bit version, so this may yet be to blame.
Let's see what happens when I build it for 32-bit...
... alright, thanks to my 'speedy' connection, I'll have to get back to this one. I'll edit this post with my results when it's all sorted out.
--
Yep, that was the issue, a sour freetype2 so in my lib32 directory.
In other news, I'm back on Ubuntu... if only I had the patience for Gentoo...
"gdi32.dll" failed to initialize, aborting
ver wrote:
Library variable set to point first to your 32 bit libraries. On a Mac
the variable is LD_LIBRARY_PATH.
James McKenzie
You might want to think about adding a line to your environment with theSabayon (Gentoo) Linux 64-bit
Linux mandy 2.6.25-sabayon-r1 #1 SMP Mon Jun 30 17:58:45 UTC 2008 x86_64 AMD Phenom(tm) 9850 Quad-Core Processor AuthenticAMD GNU/Linux
since wine links 32-bit, here are my 32-bit libs:
GNU Libc 2.6.1
GNU Libdl 2.6.1
GNU Pthread 2.6.1
libfreetype 6.3.16
I should point out I haven't yet upgraded the Freetype 32-bit library. When I did my upgrade, it was the 64-bit version, so this may yet be to blame.
Let's see what happens when I build it for 32-bit...
... alright, thanks to my 'speedy' connection, I'll have to get back to this one. I'll edit this post with my results when it's all sorted out.
Library variable set to point first to your 32 bit libraries. On a Mac
the variable is LD_LIBRARY_PATH.
James McKenzie
"gdi32.dll" failed to initialize, aborting
vsPiotr wrote:
include your Operating System and version as well as the version of Wine
that you are using.
James McKenzie
This is not related to this problem. Please start a new topic andI have a similar problem.
I had wine running perfectly but after configuring an IPP printer and rebooting wine reports that gdi32.dll failed to initialize.
I downloaded an alternate gdi32 and no luck.
I also found that there's files like
gdi3232.dll,
crypt32.dll
crypt3232.dll
crypt323232.dll
etc.
include your Operating System and version as well as the version of Wine
that you are using.
James McKenzie