Unable to run Wine; gdi32.dll error
Re: Unable to run Wine; gdi32.dll error
Nope, not SELinux... :-\
-
- Newbie
- Posts: 1
- Joined: Mon Aug 01, 2011 1:08 pm
Re: Unable to run Wine; gdi32.dll error
I think my problem might be related. It's not always a gdi32.dll error with me but I too cannot run Wine.
I also have Ubuntu 13.10 (Kubuntu in fact, but I doubt that KDE is to blame) and also with any WINE packages available (1.4, 1.5, 1.6, etc.)
I purged and reinstalled WINE, I deleted ~/.wine and all that but I cannot get it to work. I even reinstalled the whole system from scratch when I switched from my old PC (Athlon II X4) to a new rig (Intel Core i5-4570) that has little in common with the old one (only stuff like keyboard, mouse and monitor). Still have the same error. I have neither AppArmor nor SELinux running. MemTest86+ ran fine on both machines and everything else works as it is supposed to.
Right now, I'm just hoping that whatever this is, it'll be gone with 14.04. I just wanted to add this so that maybe it'll help.
These are several consecutive attempts to launch notepad.exe (I just kept pressing Arrow Up and Enter) with the Wine 1.6 packages from the Wine PPA:
I also have Ubuntu 13.10 (Kubuntu in fact, but I doubt that KDE is to blame) and also with any WINE packages available (1.4, 1.5, 1.6, etc.)
I purged and reinstalled WINE, I deleted ~/.wine and all that but I cannot get it to work. I even reinstalled the whole system from scratch when I switched from my old PC (Athlon II X4) to a new rig (Intel Core i5-4570) that has little in common with the old one (only stuff like keyboard, mouse and monitor). Still have the same error. I have neither AppArmor nor SELinux running. MemTest86+ ran fine on both machines and everything else works as it is supposed to.
Right now, I'm just hoping that whatever this is, it'll be gone with 14.04. I just wanted to add this so that maybe it'll help.
These are several consecutive attempts to launch notepad.exe (I just kept pressing Arrow Up and Enter) with the Wine 1.6 packages from the Wine PPA:
Code: Select all
$ rm -r ~/.wine
$ wine notepad.exe
wine: created the configuration directory '/home/user/.wine'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x136e248, overlapped 0x136e260): stub
err:module:attach_process_dlls "gdi32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\rundll32.exe" failed, status c0000005
wine: configuration in '/home/user/.wine' has been updated.
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": /usr/bin/../lib/i386-linux-gnu/wine/winex11.drv.so: failed to map segment from shared object: Cannot allocate memory
err:module:load_builtin_dll failed to load .so lib for builtin L"ole32.dll": /usr/bin/../lib/i386-linux-gnu/wine/ole32.dll.so: failed to map segment from shared object: Cannot allocate memory
err:module:DelayLoadFailureHook failed to delay load ole32.dll.CoTaskMemAlloc
wine: Call from 0x7b83aafe to unimplemented function ole32.dll.CoTaskMemAlloc, aborting
err:module:attach_process_dlls "shell32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\notepad.exe" failed, status 80000100
$ wine notepad.exe
*** Error in `notepad.exe': double free or corruption (fasttop): 0x7d688380 ***
err:module:attach_process_dlls "gdi32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\notepad.exe" failed, status 80000101
$ wine notepad.exe
*** Error in `notepad.exe': double free or corruption (fasttop): 0x7cefb1b0 ***
err:module:attach_process_dlls "gdi32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\notepad.exe" failed, status 80000101
$ wine notepad.exe
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": /usr/bin/../lib/i386-linux-gnu/wine/winex11.drv.so: failed to map segment from shared object: Cannot allocate memory
err:module:load_builtin_dll failed to load .so lib for builtin L"uxtheme.dll": /usr/bin/../lib/i386-linux-gnu/wine/uxtheme.dll.so: failed to map segment from shared object: Cannot allocate memory
err:module:DelayLoadFailureHook failed to delay load uxtheme.dll.IsThemeActive
wine: Call from 0x7b83aafe to unimplemented function uxtheme.dll.IsThemeActive, aborting
err:module:attach_process_dlls "comctl32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\notepad.exe" failed, status 80000100
$ wine notepad.exe
err:module:attach_process_dlls "gdi32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\notepad.exe" failed, status c0000005
$ wine notepad.exe
err:module:attach_process_dlls "gdi32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\notepad.exe" failed, status c0000005
Re: Unable to run Wine; gdi32.dll error
Just a stab in the dark: I searched bugzilla for that string, and found a couple of very old bugs that had been closed as INVALID or WONTFIX because the systems in question had restricted the amount of memory users could use.Code: Select all
failed to map segment from shared object: Cannot allocate memory
http://bugs.winehq.org/show_bug.cgi?id=6815
http://bugs.winehq.org/show_bug.cgi?id=16068
In both those bugs it was ntdll.dll.so that couldn't be loaded, and I don't see that in your console output, so your problem could be unrelated. But I figured it's worth asking if your system has any such restrictions on memory. (Other than that, I'm out of ideas.)
Re: Unable to run Wine; gdi32.dll error
Just noticed this comment. FYI, when you do that, make sure there are no processes left running from the previous attempt before trying again. The differences in console output from each attempt could be caused by leftover processes still running.These are several consecutive attempts to launch notepad.exe (I just kept pressing Arrow Up and Enter)