http://bugs.winehq.org/show_bug.cgi?id=32235
Bug #: 32235 Summary: Soldiers heroes of World War II crashes on startup Product: Wine Version: 1.5.16 Platform: x86 OS/Version: Mac OS X Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: paulthetall@gmail.com Classification: Unclassified
Created attachment 42522 --> http://bugs.winehq.org/attachment.cgi?id=42522 Crash log
Soldiers Heroes of World War 2 crash on startup see crash log. It says a out of memory notification, so maybe a memory leak or something? I use the GOG.com version in this test. Hope you guys can ind out what is going on. If you need andy extra debug extensions let me know so I can provide it. Many thanks in advance!
http://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #1 from Paul The Tall paulthetall@gmail.com 2012-11-17 04:35:15 CST --- Created attachment 42523 --> http://bugs.winehq.org/attachment.cgi?id=42523 Screenshot crash
Screenshot crash
http://bugs.winehq.org/show_bug.cgi?id=32235
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #2 from Rosanne DiMesio dimesio@earthlink.net 2012-11-17 06:46:37 CST --- Not major. http://bugs.winehq.org/page.cgi?id=fields.html#importance
http://bugs.winehq.org/show_bug.cgi?id=32235
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #3 from joaopa jeremielapuree@yahoo.fr 2012-11-17 10:25:02 CST --- The usual questions:
What graphic card? What driver? Does there exist a demo of this game? If yes, does it show the problem?
http://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #4 from Paul The Tall paulthetall@gmail.com 2012-11-17 11:17:43 CST --- so sorry not to mention that:
my specs: Osx version 10.8.2 and 10.7.5 Graphics: Nvidia 9400M and AMD radeon 6770M
however this is not only on my system but see also those pages:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=21426 http://appdb.winehq.org/objectManager.php?sClass=version&iId=26780
they ll have the same issue. I will add the bug to the page too.
http://bugs.winehq.org/show_bug.cgi?id=32235
Paul The Tall paulthetall@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer URL| |http://download.cnet.com/So | |ldiers-Heroes-of-World-War- | |II-demo/3000-7483_4-1029150 | |5.html
http://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #5 from Paul The Tall paulthetall@gmail.com 2012-11-17 11:22:36 CST --- added demo link.
http://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #6 from joaopa jeremielapuree@yahoo.fr 2012-11-17 13:27:50 CST --- Does the b ug occur with the demo?
http://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #7 from Paul The Tall paulthetall@gmail.com 2012-11-17 15:33:09 CST --- Nope, that one doesn't even start at all....when I check the logs it looks like DRM (on a demo? wierdos).Check it yourself if you want. this is a faster download link:
http://www.fileplanet.com/141060/140000/fileinfo/Soldiers:-Heroes-of-World-W...
http://bugs.winehq.org/show_bug.cgi?id=32235
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|Installer |
http://bugs.winehq.org/show_bug.cgi?id=32235
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #8 from Christian Costa titan.costa@gmail.com 2012-11-28 12:29:27 CST --- err:d3d_caps:IWineD3DImpl_FillGLCaps Invalid nVidia version string: "2.1 NVIDIA-7.32.12".
It seems your nvidia card or driver is not well regognized.
http://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #9 from Paul The Tall paulthetall@gmail.com 2012-11-28 12:31:53 CST --- (In reply to comment #8)
err:d3d_caps:IWineD3DImpl_FillGLCaps Invalid nVidia version string: "2.1 NVIDIA-7.32.12".
It seems your nvidia card or driver is not well regognized.
Have the same on my AMD Radeon 6770M Imac. But again, more people have the same issues see
http://appdb.winehq.org/objectManager.php?sClass=version&iId=21426 http://appdb.winehq.org/objectManager.php?sClass=version&iId=26780
http://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #10 from Christian Costa titan.costa@gmail.com 2012-11-28 12:48:30 CST --- I've just realized IWineD3DImpl_FillGLCaps does not exist anymore since a long time. Are you sure you're using Wine 1.5.16?
http://bugs.winehq.org/show_bug.cgi?id=32235
Mystic-Mirage mm@m10e.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mm@m10e.net
https://bugs.winehq.org/show_bug.cgi?id=32235
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #11 from Jarkko K jarkko_korpi@hotmail.com --- I used this download link
http://www.fileplanet.com/141060/140000/fileinfo/Soldiers:-Heroes-of-World-W...
As I run it I instantly get message:
err:seh:setup_exception_record stack overflow 944 bytes in thread 0009 eip 7bc45acf esp 00240f80 stack 0x240000-0x241000-0x340000
feels like some protection.
setting windows as 98 gives more lines
fixme:vxd:__wine_vxd_open Unknown/unsupported VxD L"ntice.vxd". Try setting Windows version to 'nt40' or 'win31'. fixme:vxd:__wine_vxd_open Unknown/unsupported VxD L"winice.vxd". Try setting Windows version to 'nt40' or 'win31'. fixme:vxd:__wine_vxd_open Unknown/unsupported VxD L"sice.vxd". Try setting Windows version to 'nt40' or 'win31'. err:module:attach_process_dlls "SOLDIERS32.DLL" failed to initialize, aborting
and some error dialogue
wine 1.7.18
https://bugs.winehq.org/show_bug.cgi?id=32235
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |gyebro69@gmail.com Ever confirmed|0 |1
--- Comment #12 from Béla Gyebrószki gyebro69@gmail.com --- Still present in wine-1.7.47-118-ga90592c, tested with the GOG.com version (no DRM). The game shows an error after starting then it closes: 'Error: Program will be terminated"
For those who are adventurous enough, this patch fixes the problem for me and the game starts and runs fine with it: https://github.com/wine-compholio/wine-staging/blob/master/patches/ntdll-Hea...
The patch is disabled in staging because it likely breaks other apps/games.
Confirming, the bug exists on Fedora 22 32-bit with nouveau/Nvidia blob alike.
https://bugs.winehq.org/show_bug.cgi?id=32235
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #13 from super_man@post.com --- Can still be considered as staged?
https://bugs.winehq.org/show_bug.cgi?id=32235
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|NEW |STAGED CC| |focht@gmx.net Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/ntdll-Heap_Del | |ay_Free
https://bugs.winehq.org/show_bug.cgi?id=32235
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=32235
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch | CC| |sebastian@fds-team.de Status|STAGED |NEW
--- Comment #14 from Sebastian Lackner sebastian@fds-team.de --- (In reply to super_man from comment #13)
Can still be considered as staged?
I would prefer if we use STAGED only for bugs which are really fixed in Wine Staging versions. In this case, the patchset was never actually enabled in a release, and disabled even before it was mentioned here.
Also please note that this is not the application for which the patch was initially written. Its unclear if the use-after-free is also an application bug in this case, or if its a bug in Wine. Removing "patch" keyword to make sure developers don't skip over this bug under the assumption its already analyzed.
https://bugs.winehq.org/show_bug.cgi?id=32235
amigad rams1@iinet.net.au changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rams1@iinet.net.au
--- Comment #15 from amigad rams1@iinet.net.au --- I'm still trying to get past reboot to get to the id-key prompt to complete installation!
https://bugs.winehq.org/show_bug.cgi?id=32235
ruustaar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ruustaar@gmail.com
--- Comment #16 from ruustaar@gmail.com --- (In reply to Béla Gyebrószki from comment #12)
Still present in wine-1.7.47-118-ga90592c, tested with the GOG.com version (no DRM). The game shows an error after starting then it closes: 'Error: Program will be terminated"
For those who are adventurous enough, this patch fixes the problem for me and the game starts and runs fine with it: https://github.com/wine-compholio/wine-staging/blob/master/patches/ntdll- Heap_Delay_Free/0001-ntdll-Mimic-the-Windows-heap-management-and-delay-re. patch
The patch is disabled in staging because it likely breaks other apps/games.
Confirming, the bug exists on Fedora 22 32-bit with nouveau/Nvidia blob alike.
The download link is dead. Where else we can download patch?
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #17 from Sebastian Lackner sebastian@fds-team.de --- (In reply to ruustaar from comment #16)
The download link is dead. Where else we can download patch?
The patch mentioned by Béla is still available here:
https://github.com/wine-compholio/wine-staging/blob/v1.7.47/patches/ntdll-He...
Please note that its not a proper fix though.
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #18 from ruustaar@gmail.com --- (In reply to Sebastian Lackner from comment #17)
(In reply to ruustaar from comment #16)
The download link is dead. Where else we can download patch?
The patch mentioned by Béla is still available here:
https://github.com/wine-compholio/wine-staging/blob/v1.7.47/patches/ntdll- Heap_Delay_Free/0001-ntdll-Mimic-the-Windows-heap-management-and-delay-re. patch
Please note that its not a proper fix though.
Ok, I assume your recommendation is to use latest staging version. I tried and encoutered with some errors listed bellow.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS) fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS) fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS) err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded fixme:win:EnumDisplayDevicesW ((null),0,0x32f754,0x00000000), stub! err:d3d:resource_init Out of adapter memory
Any ideas how to bypass this? Thanks for your previous reply. That was fast! :)
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #19 from Sebastian Lackner sebastian@fds-team.de --- (In reply to ruustaar from comment #18)
Ok, I assume your recommendation is to use latest staging version.
No, Wine Staging currently does not contain any patches targeting this bug report (otherwise it would be marked as STAGED). If the issue is still present you would have to compile Wine yourself with the patch I mentioned.
err:d3d:resource_init Out of adapter memory
Please note that this issue is unrelated to this bug report. You can try to override the amount of reported video memory in the registry. To do that, open a registry editor ("wine regedit"), go to HKEY_CURRENT_USER/Software/Wine/Direct3D (create if it doesn't exist), and add a new string value (REG_SZ) "VideoMemorySize" with a value big enough (for example, 1024). For more information, see https://wiki.winehq.org/Useful_Registry_Keys.
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #20 from ruustaar@gmail.com --- (In reply to Sebastian Lackner from comment #19)
(In reply to ruustaar from comment #18)
Ok, I assume your recommendation is to use latest staging version.
No, Wine Staging currently does not contain any patches targeting this bug report (otherwise it would be marked as STAGED). If the issue is still present you would have to compile Wine yourself with the patch I mentioned.
err:d3d:resource_init Out of adapter memory
Please note that this issue is unrelated to this bug report. You can try to override the amount of reported video memory in the registry. To do that, open a registry editor ("wine regedit"), go to HKEY_CURRENT_USER/Software/Wine/Direct3D (create if it doesn't exist), and add a new string value (REG_SZ) "VideoMemorySize" with a value big enough (for example, 1024). For more information, see https://wiki.winehq.org/Useful_Registry_Keys.
Well, I did what you mentioned. I created a string value with 512 and 1024 and launched the game. Same error: fixme:win:EnumDisplayDevicesW ((null),0,0x33f754,0x00000000), stub! err:d3d:resource_init Out of adapter memory
But when I changed string value to 2048 and above, it showed me a new error. Here is the log: fixme:win:EnumDisplayDevicesW ((null),0,0x33f754,0x00000000), stub! err:d3d:resource_init Failed to allocate system memory.
Well it should run, but no luck.
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #21 from ruustaar@gmail.com --- Has anybody succeeded in running this game in latest Wine? I have tried with no success. I even compiled old version with mentioned patch and added VideoMemorySize (REG_SZ) key in registry, but outputed same errors. Please help!
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #22 from Mystic-Mirage mm@m10e.net --- I try to run it on every new WINE version but no luck yet. It runs, the background music can be heard but no graphics at all -- just solid color on the whole screen.
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #23 from ruustaar@gmail.com ---
I try to run it on every new WINE version but no luck yet. It runs, the background music can be heard but no graphics at all -- just solid color on the whole screen.
I didn't had any background music, just popup message "Program will be terminated" and that's all. What Wine version did you use?
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #24 from Mystic-Mirage mm@m10e.net --- (In reply to ruustaar from comment #23)
I didn't had any background music, just popup message "Program will be terminated" and that's all. What Wine version did you use?
Just tried with WINE 3.5. Still the same.
The only thing I've changed to avoid a popup -- the Windows version is set to Windows 98
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #25 from ruustaar@gmail.com --- (In reply to Mystic-Mirage from comment #24)
(In reply to ruustaar from comment #23)
I didn't had any background music, just popup message "Program will be terminated" and that's all. What Wine version did you use?
Just tried with WINE 3.5. Still the same.
The only thing I've changed to avoid a popup -- the Windows version is set to Windows 98
I did the same as you did, but same message. Strange.. I have succeeded running in virtual machine with win7 as guest, but had issues with mouse movements. In-game camera scrolling was horrible. The games in Wine like "Faces of War" and "Men of War" worked for me as expected. There has to be salvation with this good old game.
https://bugs.winehq.org/show_bug.cgi?id=32235
Zachary J zakarjor@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zakarjor@yahoo.com
--- Comment #26 from Zachary J zakarjor@yahoo.com --- (In reply to ruustaar from comment #25)
(In reply to Mystic-Mirage from comment #24)
(In reply to ruustaar from comment #23)
I didn't had any background music, just popup message "Program will be terminated" and that's all. What Wine version did you use?
Just tried with WINE 3.5. Still the same.
The only thing I've changed to avoid a popup -- the Windows version is set to Windows 98
I did the same as you did, but same message. Strange.. I have succeeded running in virtual machine with win7 as guest, but had issues with mouse movements. In-game camera scrolling was horrible. The games in Wine like "Faces of War" and "Men of War" worked for me as expected. There has to be salvation with this good old game.
I've been running this game without issue up to wine 3.6 (haven't upgraded to 3.7 yet) after applying the patch mentioned for each wine version.
I wonder if it's possible to add a special registry key entry to enable this patch logic whenever running this game, and turn it off for other games.
https://bugs.winehq.org/show_bug.cgi?id=32235
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #27 from ruustaar@gmail.com --- (In reply to Zachary J from comment #26)
(In reply to ruustaar from comment #25)
(In reply to Mystic-Mirage from comment #24)
(In reply to ruustaar from comment #23)
I didn't had any background music, just popup message "Program will be terminated" and that's all. What Wine version did you use?
Just tried with WINE 3.5. Still the same.
The only thing I've changed to avoid a popup -- the Windows version is set to Windows 98
I did the same as you did, but same message. Strange.. I have succeeded running in virtual machine with win7 as guest, but had issues with mouse movements. In-game camera scrolling was horrible. The games in Wine like "Faces of War" and "Men of War" worked for me as expected. There has to be salvation with this good old game.
I've been running this game without issue up to wine 3.6 (haven't upgraded to 3.7 yet) after applying the patch mentioned for each wine version.
I wonder if it's possible to add a special registry key entry to enable this patch logic whenever running this game, and turn it off for other games.
What tools did you use to compile and patch Wine? What GPU and CPU model have you? Mine is nVidia GTX 750 TI and Skylake Intel I3. Can you explain how did you patched Wine and did you use winetricks?
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #28 from ruustaar@gmail.com --- (In reply to Zachary J from comment #26)
(In reply to ruustaar from comment #25)
(In reply to Mystic-Mirage from comment #24)
(In reply to ruustaar from comment #23)
I didn't had any background music, just popup message "Program will be terminated" and that's all. What Wine version did you use?
Just tried with WINE 3.5. Still the same.
The only thing I've changed to avoid a popup -- the Windows version is set to Windows 98
I did the same as you did, but same message. Strange.. I have succeeded running in virtual machine with win7 as guest, but had issues with mouse movements. In-game camera scrolling was horrible. The games in Wine like "Faces of War" and "Men of War" worked for me as expected. There has to be salvation with this good old game.
I've been running this game without issue up to wine 3.6 (haven't upgraded to 3.7 yet) after applying the patch mentioned for each wine version.
I wonder if it's possible to add a special registry key entry to enable this patch logic whenever running this game, and turn it off for other games.
FINALY!!!
I made it work!! I've patched wine 3.9 with heap management patch as mentioned link early and moved my patched wine to my ~/.PlayOnLinux/wine/linux-x86/ directory. I made settings on PlayOnLinux as followed: 1. In 'Wine version' is set to my patched Wine. 2. In winecfg 'Windows version' set to Windows 98. 3. In POL Display section 'Video Memory Size' to 1024.
And that's it!
Now this game is working without issues.
Thanks Zachary J, Sebastian Lackner and all members for helping me out and to all you great developers who created Wine!!
https://bugs.winehq.org/show_bug.cgi?id=32235
Fernando Martins fernando@cmartins.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fernando@cmartins.nl
--- Comment #29 from Fernando Martins fernando@cmartins.nl --- I just tested it with wine 3.10 default config win 7, nvidia gtx 1070. Same issue. Terminal messages:
0009:fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS) 0009:fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS) 0009:fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS) 0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33f7d4,0x00000000), stub! 0009:err:d3d:wined3d_resource_allocate_sysmem Failed to allocate system memory.
https://bugs.winehq.org/show_bug.cgi?id=32235
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/ntdll-Heap_Del |er/patches/ntdll-Heap_Impro |ay_Free |vements Component|-unknown |ntdll
--- Comment #30 from Anastasius Focht focht@gmx.net --- Hello folks,
marking this bug report as 'staged' based on the information provided by last comments.
https://github.com/wine-staging/wine-staging/tree/master/patches/ntdll-Heap_...
Regards
https://bugs.winehq.org/show_bug.cgi?id=32235
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #31 from Zebediah Figura z.figura12@gmail.com --- This seems suspect. That patch is only an optimization; if it really causes a difference in behaviour then it's hiding the real problem.
https://bugs.winehq.org/show_bug.cgi?id=32235
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.goosev@gmail.com
--- Comment #32 from Andrey Gusev andrey.goosev@gmail.com --- Well, patchset is only solves launching for me. Btw, it works with Win98 and ME only and requires running directly from a game folder. Anyway the game stops with 'Program will be terminated' error message after a while when background animation is enabled. Disabling this setting helps a bit until I start a training mission. Then I get this error again at the end of level loading.
https://bugs.winehq.org/show_bug.cgi?id=32235
--- Comment #33 from Zachary J zakarjor@yahoo.com --- Any update on patches/ntdll-Heap_Improvement or older patches/ntdll-Heap_Delay_Free for latest wine 8.1?
I've been using the old patches/ntll-Heap_Delay_Free up until 7.18 (never bothered to upgrade wine after that due to issues with some of my other games) but dlls/ntdll/heap.c seems to have changed quite a bit. I also had used getenv() to check an environment variable to decide whether to mimic heap delay by adding a unix function unix_getenv() in dlls/ntdll/unix/loader.c, but now that is also changed quite a lot.
https://bugs.winehq.org/show_bug.cgi?id=32235
mo78@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mo78@abv.bg
--- Comment #34 from mo78@abv.bg --- The problem is still here in Wine 8.2. I didn't understand something - can we still use the patch with the newest wine?