http://bugs.winehq.org/show_bug.cgi?id=21403
Summary: Shiva editor refuse to run. Product: Wine Version: 1.1.36 Platform: x86 URL: http://stonetrip.com/start-download/shiva/1-shiva-ple. html OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: andreas.livet@gmail.com
Created an attachment (id=25775) --> (http://bugs.winehq.org/attachment.cgi?id=25775) Here is the trace I have when I launch Shiva from the terminal.
Shiva is a indie game editor. I was never be able to launch it (older version to). There are some fixme in win and xrender (see log.txt), I assume the problem come frome things unimplemented.
Test with lastest shiva PLE 1.8.1
http://bugs.winehq.org/show_bug.cgi?id=21403
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=21403
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |xerox_xerox2000@yahoo.co.uk Component|-unknown |directx-dinput Ever Confirmed|0 |1
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-01-21 13:02:09 --- confirming. It gets further for me using native dinput.dll. Changing component to dinput
http://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #2 from Andréas Livet andreas.livet@gmail.com 2010-01-21 14:11:59 --- In deed, I can go further with nativ dinput dll. How did you see that it was a dinput problem in the log?
http://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #3 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-01-10 19:59:34 CST --- Can you attach +dinput log with latest git?
http://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #4 from Andréas Livet andreas.livet@gmail.com 2011-01-11 05:29:57 CST --- I had problem compiling wine on last Ubuntu (10.10)... but i'll try again and post logs if I manage to compile it.
http://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #5 from Andréas Livet andreas.livet@gmail.com 2011-01-23 03:25:09 CST --- Created an attachment (id=32956) --> (http://bugs.winehq.org/attachment.cgi?id=32956) Log with +dinput
http://bugs.winehq.org/show_bug.cgi?id=21403
Andréas Livet andreas.livet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #32956|Log with +dinput |Log with +dinput and wine description| |1.3.12
--- Comment #6 from Andréas Livet andreas.livet@gmail.com 2011-01-23 03:26:15 CST --- (From update of attachment 32956) Hope this help.
http://bugs.winehq.org/show_bug.cgi?id=21403
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #7 from GyB gyebro69@gmail.com 2011-11-01 00:59:30 CDT --- Still present as of wine-1.3.31-213-g996b451: the application hangs with the splash screen. Native dinput.dll acts as a workaround and the app gets a bit further (native devenum.dll is also needed to get the app fully loaded, but that's another issue).
http://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #8 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-11-11 11:44:04 CST --- The program is brain damaged. It runs full initialization from "localization.dll" ProcessAttach handler.
The only reason it works with native dinput because it re-creates worker thread every time, instead of reusing the same one for efficiency as Wine does.
http://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #9 from Dan Kegel dank@kegel.com 2012-07-18 22:13:55 CDT --- *** Bug 30857 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=21403
Benjamin Hodgetts ben@xnode.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ben@xnode.org
--- Comment #10 from Benjamin Hodgetts ben@xnode.org 2013-05-23 06:07:04 CDT --- Still an issue with 1.5.30.
https://bugs.winehq.org/show_bug.cgi?id=21403
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Shiva editor refuse to run. |Shiva Editor/Evochron: | |Mercenary refuse to run | |with built-in | |dinput/dinput8.dll
--- Comment #11 from Béla Gyebrószki gyebro69@gmail.com --- Still present in 1.7.35
Shiva Editor needs native dinput.dll, Evochron: Mercenary needs native dinput8.dll to start.
https://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #12 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 52456 --> https://bugs.winehq.org/attachment.cgi?id=52456 winedbg backtrace (Arvoch Alliance demo)
Still present in wine-1.7.51-225-g3966aff.
The game Arvoch Alliance (based on the same game engine as Evochron: Mercenary) also hits this bug. The game hangs after start: fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030 fixme:wbemprox:enum_class_object_Next timeout not supported fixme:win:EnumDisplayDevicesW ((null),0,0xe2d228,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0xe2d058,0x00000000), stub! fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}. fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a761-90c8-11d0-bd43-00a0c911ce86} not found fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found err:ntdll:RtlpWaitForCriticalSection section 0x7bcd72c0 "loader.c: loader_section" wait timed out in thread 0029, blocked by 0009, retrying (60 sec)
Native dinput8.dll works around the problem and the game gets further (just to hit another bug).
Arvoch Alliance demo: http://www.fileplanet.com/223983/220000/fileinfo/Arvoch-Alliance-Demo-v1.088
https://bugs.winehq.org/show_bug.cgi?id=21403
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/dinput-Initial | |ize
https://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #13 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Béla Gyebrószki from comment #12)
Arvoch Alliance demo: http://www.fileplanet.com/223983/220000/fileinfo/Arvoch-Alliance-Demo-v1.088
Thanks for providing the demo, could you try the staged patch? The problem is that IDirectInput8::Initialize is called while holding the loader lock, so the hook thread can never start up properly.
https://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #14 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Sebastian Lackner from comment #13)
Thanks for providing the demo, could you try the staged patch? The problem is that IDirectInput8::Initialize is called while holding the loader lock, so the hook thread can never start up properly.
The patch works so that Shiva Editor and the 2 games start OK, thanks Sebastian. Now the problem is that they don't exit properly (freeze on exit) unless native dinput or dinput8.dll is installed: err:ntdll:RtlpWaitForCriticalSection section 0x7bce13e0 "loader.c: loader_section" wait timed out in thread 003b, blocked by 0032, retrying (60 sec)
Could you check if this is due to the patch or a different issue that needs a separate bug report, please?
Easy to test with Shiva Editor v1.9.x, because the app doesn't need other native component to start up. After installation launch the editor with ShiVa.exe and wait until the main user interface is fully loaded, then close the app (either by closing the main window or via the main menu). It hangs on exit. Native dinput.dll works around it. Shiva Editor 1.9.2 download: ftp://www.shiva-engine.com/ShiVa_1.9.2.0.WEB.exe
ShiVa_1.9.2.0.WEB.exe (820M) sha1: 59dc9d189871a10de1c6b4e1e3999996e60e4af5
If you want to test with that Arvoch demo, the game needs native msvcr71, WMP10 plus native devenum and quartz installed to get to the main menu. Select <Exit> in the main menu, click <Exit> again on the splash screen, then close the reminder message. The game hangs up at this point and native dinput8.dll works around that.
wine-1.7.51-268-g781b88b (Staging) Fedora 22 32-bit
https://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #15 from Sebastian Lackner sebastian@fds-team.de --- Unfortunately it seems like I can't really reproduce the other issue.
* Without the dinput patch, Shiva hangs with the typical "wait timed out" message. With the patch applied, the provided application crashes with an access violation. Do you test with a different version?
* For Arvoch, even after installing all the overrides and native dlls, it still crashes with a message box when trying to go into the game. The initial screen doesn't seem to contain any button to quit.
Is there any special trick to get one of these apps started? ;)
BTW: Unrelated, but I noticed that the winepulse.drv driver also breaks Shiva with an issue very similar to the loader_section timeout.
https://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #16 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Sebastian Lackner from comment #15)
Unfortunately it seems like I can't really reproduce the other issue.
- Without the dinput patch, Shiva hangs with the typical "wait timed out"
message. With the patch applied, the provided application crashes with an access violation. Do you test with a different version?
I tested Shiva Editor 1.9.2, download link and sha1 checksum is in comment #14. With your patch applied, the application starts for me. Selecting quit from the main menu freezes the application (quits properly with native dinput.dll).
- For Arvoch, even after installing all the overrides and native dlls, it
still crashes with a message box when trying to go into the game. The initial screen doesn't seem to contain any button to quit.
In Wine 1.7.52 and with the dinput patch applied the demo needs "only" the 'wmp10 devenum quartz' trio to get it started. On the first screen select <Start demo>, skip the intro video, enter a name and you're already in the main menu :)
Is there any special trick to get one of these apps started? ;)
Nothing special except the above mentioned overrides for Arvoch demo.
BTW: Unrelated, but I noticed that the winepulse.drv driver also breaks Shiva with an issue very similar to the loader_section timeout.
I'm using pure Alsa (Pulseaudio is not running).
https://bugs.winehq.org/show_bug.cgi?id=21403
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=21403
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/dinput-Initial |er/patches/dinput-Initializ |ize |e CC| |nerv@dawncrow.de
https://bugs.winehq.org/show_bug.cgi?id=21403
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED CC| |zzhang@codeweavers.com Fixed by SHA1| |890d1b812a9477b434486ab503c | |15dd3fce3e964
https://bugs.winehq.org/show_bug.cgi?id=21403
--- Comment #17 from Zhiyi Zhang zzhang@codeweavers.com --- Patch upsteam in wine 890d1b812a9477b434486ab503c15dd3fce3e964
https://bugs.winehq.org/show_bug.cgi?id=21403
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.6.
https://bugs.winehq.org/show_bug.cgi?id=21403
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=21403
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #19 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.2.