ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.45k stars 1.07k forks source link

Arena Wars 2 (207730) #4329

Open thesnable opened 4 years ago

thesnable commented 4 years ago

Hi!

When starting it crashed. See Error Message below:

Program: Engine Modules: None Start Time: 2020-10-30 09:10:10 Platform: Windows, 6 CPUs, 32 bit (on 64 bit OS), Windows NT 6.2.9200.0 User: marco (MARCO-GA-78LMT-)

01.1633 Warning: No program name found for logging, there should be a program name from a unit test or the application (not Engine)! 06.6469 Warning: CreateInstance failed for 'Delta.InputSystem.Windows.WindowsKeyboard': Exception has been thrown by the target of an invocation. This means the dynamic creation of 'Delta.InputSystem.Windows.WindowsKeyboard' worked, but the class failed internally and the instance could not be created (there should be a previous error, if not, try to debug the constructor of 'Delta.InputSystem.Windows.WindowsKeyboard' !) System.IO.FileNotFoundException: Could not load file or assembly 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. File name: 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 06.6472 Warning: Fatal Error: Unhandled exception occurred (Application is terminated, we cannot recover!): System.NullReferenceException: Unable to initialize Keyboard input device, unable to continue! at Delta.InputSystem.Input.get_Keyboard () [0x00018] in :0 at Delta.InputSystem.Input.KillAllInput () [0x00000] in :0 at Delta.Scenes.Scene.Open () [0x000a3] in <253f3c8d6d754e98af15595cfe26866b>:0 at Delta.Scenes.BaseUI.BaseUIScene.Open () [0x00000] in <253f3c8d6d754e98af15595cfe26866b>:0 at ArenaWars.Menu.MenuManager..ctor (ArenaWars.Menu.AState startState) [0x0002a] in <8038ffdc29a949038d838d08f819db8b>:0 at ArenaWars.Menu.MenuManager.GetInstance () [0x00007] in <8038ffdc29a949038d838d08f819db8b>:0 at ArenaWars.Manager..ctor (System.String setWindowName, System.Single setWidth, System.Single setHeight, System.Int32 setRefreshRate, System.Boolean setFullscreen, System.Boolean setInitSound) [0x0000c] in <8038ffdc29a949038d838d08f819db8b>:0 at ArenaWars.Manager..ctor (System.String setWindowName, Delta.Utilities.Datatypes.Size setScreenSize, System.Int32 setRefreshRate, System.Boolean setFullscreen, System.Boolean setInitSound) [0x00000] in <8038ffdc29a949038d838d08f819db8b>:0 at ArenaWars.ArenaWarsMain.Main (System.String[] args) [0x00142] in <8038ffdc29a949038d838d08f819db8b>:0

thesnable commented 4 years ago

Proton 5.0 and 5.13 tried

kisak-valve commented 4 years ago

Hello @thesnable, please copy the Compatibility Report template to this issue report and fill it out.

madewokherd commented 4 years ago

Tried with Wine Mono from master branch (5.13 is likely the same) and I got this message before a crash: 397708.812:00c8:00cc:err:avifile:IUnknown_fnRelease : someone has still 4294967295 reference to stream 0 (0E244C60)!

Sounds like something released an object while its refcount was 0? So, some sort of refcounting issue.

madewokherd commented 4 years ago

Nopping AVIStreamRelease gets it past the crash, so it's definitely a refcounting issue.

thesnable commented 4 years ago

Compatibility Report

System Information

I confirm:

Symptoms

Crashes

Reproduction

Every time

https://gist.github.com/thesnable/da4f0258d7e8f513f1af9a19c3d8907f

madewokherd commented 4 years ago

Patch sent to winehq: https://www.winehq.org/pipermail/wine-devel/2020-November/176505.html