http://bugs.winehq.org/show_bug.cgi?id=14848
Summary: PVPGN loader for Warcraft 3 v1.22 Product: WineHQ Apps Database Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: appdb-unknown AssignedTo: wine-bugs@winehq.org ReportedBy: saidin54@gmail.com
Running w3l.exe produces a "Memory protection" error. The line of code which fails has a call to VirtualProtectEx. A copy of the loader can be found at http://war3.co.za/downloads/patches/w3l-1.22.rar. My Linux distribution is Gentoo. I have this bug on all versions of Wine. I have tried updating to 1.1.2 off the wine-9999 ebuild for git - and it worked. But, as soon as I reset the machine, the problem returned. Uninstalling and reinstalling 1.1.2 did not (even temporarily) fix the problem.
http://bugs.winehq.org/show_bug.cgi?id=14848
Marc Bowes saidin54@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|appdb-unknown |-unknown Product|WineHQ Apps Database |Wine Version|unspecified |CVS/GIT
http://bugs.winehq.org/show_bug.cgi?id=14848
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal
--- Comment #1 from Lei Zhang thestig@google.com 2008-08-12 13:37:00 --- not a blocker
http://bugs.winehq.org/show_bug.cgi?id=14848
Marc Bowes saidin54@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement
--- Comment #2 from Marc Bowes saidin54@gmail.com 2008-08-12 13:39:11 --- yeah, was about to change - I hit enter accidentally :)
http://bugs.winehq.org/show_bug.cgi?id=14848
--- Comment #3 from Austin English austinenglish@gmail.com 2008-08-12 13:54:25 --- Please attach terminal output.
http://bugs.winehq.org/show_bug.cgi?id=14848
--- Comment #4 from Marc Bowes saidin54@gmail.com 2008-08-12 13:58:11 --- Very well. See pastebin link: http://saidin.pastebin.com/f7750e68
http://bugs.winehq.org/show_bug.cgi?id=14848
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2008-08-12 17:56:12 --- Please attach logs here don't point to outside links. Also from the log it seems your installation is busted. Please remove / rename ~/.wine directory and reinstall your program. Also please make sure to install wine_gecko (running 'wine iexplore http:/winehq.org' and clicking "install" when asked to).
http://bugs.winehq.org/show_bug.cgi?id=14848
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet
http://bugs.winehq.org/show_bug.cgi?id=14848
--- Comment #6 from Marc Bowes saidin54@gmail.com 2008-08-13 06:29:41 --- (In reply to comment #5)
Please attach logs here don't point to outside links.
Sorry. I haven't logged a bug before.
Also from the log it seems your installation is busted. Please remove / rename ~/.wine directory and reinstall your program.
Removed ~/.wine. Ran "wine war3.exe" (it auto creates some registry entries). It complains about MSVCR80.dll. Ran "sh winetricks vcrun2005sp1 vcrun2005". Ran "wine war3.exe". It loaded perfectly. Ran "wine w3l.exe". This fails with the original error ("Memory protection error") and zero console output.
Also please make sure to install wine_gecko (running 'wine iexplore http:/winehq.org' and clicking "install" when asked to).
http://winehq.org opened fine.
What are the next steps? w3l.exe isn't "crashing". The loader checks if the memory de-protection call worked. If not, it throws a message box with my error.
http://bugs.winehq.org/show_bug.cgi?id=14848
--- Comment #7 from Marc Bowes saidin54@gmail.com 2008-08-19 18:57:52 --- Bump? :/
http://bugs.winehq.org/show_bug.cgi?id=14848
--- Comment #8 from Anonimous superclaudio@gmail.com 2008-08-27 00:18:52 --- This is extremaly weird. I'm having the same problem but, I played warcraft 1.22 in a pvpgn server just a few days ago. I'm using archlinux and wine 1.1.3-1. However, I formatted my hard disk yesterday, installed arclinux, warcraft, the patch and the loader, but now it gives me the same problem as you. So, there is a way to run w3l 1.22 with wine...
http://bugs.winehq.org/show_bug.cgi?id=14848
--- Comment #9 from Marc Bowes saidin54@gmail.com 2008-08-27 03:35:43 --- I know, I've managed to get it to run once as well. But, after rebooting, it resume the error. I'm really out of ideas.
http://bugs.winehq.org/show_bug.cgi?id=14848
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #10 from Austin English austinenglish@gmail.com 2009-01-20 02:39:55 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=14848
Marc Bowes saidin54@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saidin54@gmail.com
--- Comment #11 from Marc Bowes saidin54@gmail.com 2009-02-20 06:46:09 --- I tried now -- fresh install of wine from git. Same error "memory protection error", thrown in a message box by w3l.exe when it makes the call to VirtualProtectEx. Console output: http://saidin.pastebin.com/f7c8e62c1.
I don't know if this truly is a wine bug. For example, w3l.exe works perfectly on all versions of wine, running on my laptop (using Ubuntu). I get the feeling it's a system/environment setting.. but I don't know what/where/why. But, somewhere along the way, something is blocking the call to deprotect the memory that w3l.exe wants to modify.
http://bugs.winehq.org/show_bug.cgi?id=14848
--- Comment #12 from Austin English austinenglish@gmail.com 2009-08-26 13:16:23 --- Is this still present in current (1.1.28 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14848
Mikko Kortelainen kordex@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kordex@gmail.com
--- Comment #13 from Mikko Kortelainen kordex@gmail.com 2010-01-20 17:25:43 --- I have fixed this. Mind adding to Warcraft 3 game entry.
I did hand compile wine-war3 (from someones git repo but this should work for any version of wine). These are following libraries and wine which I have compiled on Gentoo amd64 latest portage on (21.1.2010) and linux32-emulation ebuilds installed:
hecorelia:~/.wine/drive_c/Program Files/Warcraft III% ls /opt/32/ gnupg-1.4.10 gnutls-2.6.6 libgcrypt-1.4.5 libgpg-error-1.7 wine-war3
hecorelia:~/.wine/drive_c/Program Files/Warcraft III% /opt/32/wine-war3/bin/wine euroloader.exe -opengl fixme:system:SetProcessDPIAware stub! fixme:dwmapi:DwmIsCompositionEnabled 0x33cf94 fixme:iphlpapi:NotifyAddrChange (Handle 0x421e8f8, overlapped 0x421e900): stub fixme:iphlpapi:GetAdaptersAddresses no support for IPv6 addresses fixme:shell:DllCanUnloadNow stub wine: configuration in '/home/kordex/.wine' has been updated.
===========Crashed (Could not 'write' memory 0xF00**** ============== -----------+++MAGIC+++------------* hecorelia:~/.wine/drive_c/Program Files/Warcraft III% setenv LD_LIBRARY_PATH /opt/32/gnutls-2.6.6/lib
hecorelia:~/.wine/drive_c/Program Files/Warcraft III% /opt/32/wine-war3/bin/wine euroloader.exe -opengl hecorelia:~/.wine/drive_c/Program Files/Warcraft III% err:ole:CoCreateInstance apartment not initialised fixme:win:EnumDisplayDevicesW ((null),0,0x33f2f4,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33f650,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33f688,0x00000000), stub! fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16 fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1419f8,0x147a30): stub
===========WORKS===========
Victory, Did not crash. It seems that gnutls32 is not provided and wine does not even whine about it so it confuses a lot (yes it took some days to find this out and hours of forum reading). Gentoo's USE=gnutls emerge wine did not help. My binaries are compiled with gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4 as setenv CC "gcc -m32" && setenv CXX "g++ -m32".
* Using LD_LIBRARY_PATH is a dirty fix but, what one can do, i am not going to poison /usr with my hand compiled things. /opt is my friend. Always.
http://bugs.winehq.org/show_bug.cgi?id=14848
--- Comment #14 from Mikko Kortelainen kordex@gmail.com 2010-01-20 17:28:45 --- Euroloader is just yet another war3.exe loader for custom realms (eurobattle.net)
http://bugs.winehq.org/show_bug.cgi?id=14848
--- Comment #15 from Jeff Zaroyko jeffz@jeffz.name 2010-07-18 18:06:54 --- Please retest with mainline wine-1.2 to confirm this is fixed.
http://bugs.winehq.org/show_bug.cgi?id=14848
--- Comment #16 from Marc Bowes saidin54@gmail.com 2010-07-19 04:22:29 --- Unfortunately I no longer have a Gentoo install at hand. I will compile and test on Ubuntu though.
http://bugs.winehq.org/show_bug.cgi?id=14848
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|dotnet | CC| |focht@gmx.net Version|unspecified |1.1.2
--- Comment #17 from Anastasius Focht focht@gmx.net 2010-07-29 14:19:00 --- Hello,
removing 'dotnet' keyword as this bug has nothing to do with .NET Framework. Setting version to earliest reported version. This bug is most likely not a Wine bug anyway ...
Regards
http://bugs.winehq.org/show_bug.cgi?id=14848
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #18 from Anastasius Focht focht@gmx.net 2011-12-16 15:45:38 CST --- Hello,
long time no answer. After reading comments again -> most likely invalid.
Regards
http://bugs.winehq.org/show_bug.cgi?id=14848
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Austin English austinenglish@gmail.com 2012-01-23 18:59:36 CST --- Closing INVALID.