https://bugs.winehq.org/show_bug.cgi?id=41253
Bug ID: 41253 Summary: GZDoom Builder : Unable to make a new project Product: Wine Version: 1.9.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: janusczpawlacz@protonmail.ch Distribution: ---
Created attachment 55547 --> https://bugs.winehq.org/attachment.cgi?id=55547 Terminal error outpot of Builder.exe
So every time I try to open a new project or opening a existing map for editing a error appears and it just plain crashes.
Error Message: Fatal Windows Forms error occured: CompilationException While [unreadable] Fatal Windows Forms Error
http://devbuilds.drdteam.org/doombuilder2-gzdb/GZDoom%20Builder%20R2364%20In... sha1sum: aa65a19b1275deb09680f4227f81218d27308422
Distribution: Linux Mint 18 Mate X86_64 (64bit)
https://bugs.winehq.org/show_bug.cgi?id=41253
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- The 1st crash seems to be somehow mono related. Does winetricks -q dotnet20, -q dotnet30, -q dotnet35 or -q dotnet40 help to solve this issue? There could be also other versions I would try dotnet20 or dotnet40, Those seem to fix most of the mono bugs.
https://bugs.winehq.org/show_bug.cgi?id=41253
ax 34noff otaku@rambler.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |otaku@rambler.ru
--- Comment #2 from ax 34noff otaku@rambler.ru --- installing dotnet35 helps, but then seems like it fails to compile some shader
https://bugs.winehq.org/show_bug.cgi?id=41253
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |focht@gmx.net Summary|GZDoom Builder : Unable to |GZDoom Builder 2.3 (.NET |make a new project |3.5 app) crashes with | |Wine-Mono when trying to | |open new project or | |existing map URL| |http://devbuilds.drdteam.or | |g/doombuilder2-gzdb/GZDoom% | |20Builder%20R2364%20Install | |er.7z Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Component|-unknown |mscoree
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary.
This ticket targets Wine-Mono insufficiency.
Any follow-up issue resulting from usage of MS .NET Framework 3.5 should be kept separate. Most likely they would be dupes anyway:
Managed backtrace with MS Framework:
--- snip --- ... IndexOutOfRangeException while loading effect display2d.fx: Index was outside the bounds of the array. Initial message: at CodeImp.DoomBuilder.Rendering.D3DShader.LoadEffect(String fxfile) at CodeImp.DoomBuilder.Rendering.Display2DShader..ctor(ShaderManager manager) at CodeImp.DoomBuilder.Rendering.ShaderManager.ReloadResource() at CodeImp.DoomBuilder.Rendering.D3DDevice.Initialize() at CodeImp.DoomBuilder.MapManager.InitializeNewMap(MapOptions options) at CodeImp.DoomBuilder.General.NewMap() at CodeImp.DoomBuilder.Actions.Action.Begin() at CodeImp.DoomBuilder.Windows.MainForm.InvokeTaggedAction(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) ... --- snip ---
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/GZDoom Builder
$ WINEDEBUG=+tid,+seh,+relay,+d3dx,+d3dcompiler wine ./Builder.exe >>log.txt 2>&1 ... 0035:Call d3dx9_43.D3DXCreateEffectEx(05408488,01446430,00000c26,00000000,00000000,00000000,00000000,00000000,0033e9e0,0033e9e4) ret=0495733d 0035:trace:d3dx:D3DXCreateEffectEx device 0x5408488, srcdata 0x1446430, srcdatalen 3110, defines (nil), include (nil), skip_constants (nil), flags 0, pool (nil), effect 0x33e9e0, compilation_errors 0x33e9e4. ... 0035:trace:d3dx:d3dx9_effect_init effect 0x5411340, device 0x5408488, data 0x1446430, data_size 3110, pool (nil) 0035:trace:d3dx:d3dx9_base_effect_init base 0x5411348, data 0x1446430, data_size 3110, effect 0x5411340, pool (nil). 0035:trace:d3dx:d3dx9_base_effect_init Tag: 32202f2f 0035:trace:d3dx:d3dx9_base_effect_init HLSL ASCII effect, trying to compile it. 0035:Call d3dcompiler_43.D3DCompile(01446430,00000c26,00000000,00000000,00000000,f469f059 "main",f469f052 "fx_2_0",00000000,00000000,0033e764,0033e760) ret=f46535f3 0035:trace:d3dcompiler:D3DCompile data 0x1446430, data_size 3110, filename (null), defines (nil), include (nil), entrypoint "main", target "fx_2_0", sflags 0, eflags 0, shader 0x33e764, error_messages 0x33e760. 0035:trace:d3dcompiler:D3DCompile2 data 0x1446430, data_size 3110, filename (null), defines (nil), include (nil), entrypoint "main", target "fx_2_0", sflags 0, eflags 0, secondary_flags 0, secondary_data (nil), secondary_data_size 0, shader 0x33e764, error_messages 0x33e760. 0035:trace:d3dcompiler:wpp_open_mem Opening include "". ... 0035:trace:d3dcompiler:compile_shader Preprocessed shader source: "# 1 "" 1\n\n\n\r\n\nstruct VertexData\r\n{\r\n\tfloat3 pos\t\t: POSITION;\r\n\tfloat4 color\t: COLOR0;\r\n\tfloat2 uv\t\t: TEXCOORD0;\r\n};\r\n\r\n\nstruct PixelData\r\n{\r\n\tfloat4 pos\t\t: POSITION;\r\n\tfloat4 color\t: COLOR0;\r\n\tfloat2 uv\t\t: TEXCOORD0;\r\n};\r\n\r\n\n\n\n\n\nfloat4 renders"... 0035:trace:d3dcompiler:compile_shader Checking compilation target "fx_2_0" 0035:fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported ... 0035:Ret d3dcompiler_43.D3DCompile() retval=8876086c ret=f46535f3 0035:warn:d3dx:d3dx9_base_effect_init Failed to compile ASCII effect. 0035:fixme:d3dx:d3dx9_effect_init Failed to parse effect, hr 0x8876086c. 0035:trace:d3dx:free_effect Free effect 0x5411340 0035:trace:d3dx:d3dx9_base_effect_cleanup base 0x5411348. 0035:warn:d3dx:D3DXCreateEffectEx Failed to create effect object. ... 0035:Ret d3dx9_43.D3DXCreateEffectEx() retval=8876086c ret=0495733d ... 0035:Call KERNEL32.RaiseException(e0434f4d,00000001,00000001,0033e7ec) ret=79f071ac 0035:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b4461ab ip=7b4461ab tid=0035 0035:trace:seh:raise_exception info[0]=80131500 0035:trace:seh:raise_exception eax=7b434925 ebx=e0434f4d ecx=00000004 edx=0033e724 esi=0033e7cc edi=0033e790 0035:trace:seh:raise_exception ebp=0033e768 esp=0033e704 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000212 0035:trace:seh:call_stack_handlers calling handler at 0x79fc15dc code=e0434f4d flags=1 ... --- snip ---
Use 'winetricks -q d3dcompiler_43' to work around.
Others like:
--- snip --- E_NOTIMPL: The function called is not supported at this time (-2147467263) at SlimDX.Result.Throw[T](Object dataKey, Object dataValue) at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue) at SlimDX.Result.Record[T](Int32 hr, Object dataKey, Object dataValue) at SlimDX.Direct3D9.Mesh.OptimizeInPlace(MeshOptimizeFlags flags) at CodeImp.DoomBuilder.GZBuilder.MD3.ModelReader.CreateMesh(Device device, MD3LoadResult& result, List`1 verts, List`1 indices) in x:\Source\Core\GZBuilder\md3\ModelReader.cs:line 1015 at CodeImp.DoomBuilder.GZBuilder.MD3.ModelReader.ReadMD3Model(BoundingBoxSizes& bbs, Dictionary`2 skins, Stream s, Device device, Int32 frame) in x:\Source\Core\GZBuilder\md3\ModelReader.cs:line 348 at CodeImp.DoomBuilder.Data.DataManager.MakeClassicSkyBox(Bitmap img, Vector2D scale) in x:\Source\Core\Data\DataManager.cs:line 3288 at CodeImp.DoomBuilder.Data.DataManager.MakeClassicSkyBox(Bitmap img) in x:\Source\Core\Data\DataManager.cs:line 3171 at CodeImp.DoomBuilder.Data.DataManager.SetupSkybox() in x:\Source\Core\Data\DataManager.cs:line 3159 at CodeImp.DoomBuilder.Data.DataManager.Load(DataLocationList configlist, DataLocationList maplist) in x:\Source\Core\Data\DataManager.cs:line 585 at CodeImp.DoomBuilder.MapManager.InitializeNewMap(MapOptions options) in x:\Source\Core\General\MapManager.cs:line 320 at CodeImp.DoomBuilder.General.NewMap() in x:\Source\Core\General\General.cs:line 1092 ... --- snip ---
--- snip --- fixme:d3dx:d3dx9_mesh_OptimizeInplace D3DXMESHOPT_ATTRSORT vertex reordering not implemented. --- snip ---
are also covered by existing bug reports and/or Wine-Staging patches.
$ wine --version wine-2.10
Regards
https://bugs.winehq.org/show_bug.cgi?id=41253
--- Comment #4 from Januscz janusczpawlacz@protonmail.ch --- "Does winetricks -q dotnet20, -q dotnet30, -q dotnet35 or -q dotnet40 help to solve this issue?" I have tried installing those but it did not helped much.
"Use 'winetricks -q d3dcompiler_43' to work around." Ah yes that was it, I installed this one and the program starts now but the performance is poor.
https://bugs.winehq.org/show_bug.cgi?id=41253
--- Comment #5 from ax 34noff otaku@rambler.ru --- Hiding "Expanded Info Panel" works around poor performance.
https://bugs.winehq.org/show_bug.cgi?id=41253
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 69724 --> https://bugs.winehq.org/attachment.cgi?id=69724 +mscoree
With wine-6.5-130-g97b420224e7 and wine-mono-6.1.1 I get an exception at startup, attached is a +mscoree trace.
https://bugs.winehq.org/show_bug.cgi?id=41253
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://devbuilds.drdteam.or |https://web.archive.org/web |g/doombuilder2-gzdb/GZDoom% |/20160819010127if_/http://d |20Builder%20R2364%20Install |evbuilds.drdteam.org/doombu |er.7z |ilder2-gzdb/GZDoom%20Builde | |r%20R2364%20Installer.7z
https://bugs.winehq.org/show_bug.cgi?id=41253
--- Comment #7 from Esme Povirk madewokherd@gmail.com --- Odd, I'm not seeing that exception here (Wine 6.9, wine-mono 6.2.0). The archive.org version in the URL starts fine. If I allow it to update, I get a different exception on startup:
[00000024:] EXCEPTION handling: System.Security.Principal.IdentityNotMappedException: Unable to map SID: S-1-5-21-0-0-0-1000 at System.Security.Principal.SecurityIdentifier.Translate (System.Type) [0x0004d] in <db04fe9e4bca4610adf3414d35e3c1a4>:0 at System.Security.AccessControl.ObjectSecurity.InternalAccessRuleFactory (System.Security.AccessControl.QualifiedAce,System.Type,System.Security.AccessControl.AccessControlType) [0x00007] in <db04fe9e4bca4610adf3414d35e3c1a4>:0 at System.Security.AccessControl.ObjectSecurity.InternalGetAccessRules (bool,bool,System.Type) [0x00061] in <db04fe9e4bca4610adf3414d35e3c1a4>:0 at System.Security.AccessControl.CommonObjectSecurity.GetAccessRules (bool,bool,System.Type) [0x00000] in <db04fe9e4bca4610adf3414d35e3c1a4>:0 at CodeImp.DoomBuilder.General.CheckWritePremissions (string) [0x0000e] in <1d2596b690724749a5f28b323fe25637>:0 ...
https://bugs.winehq.org/show_bug.cgi?id=41253
--- Comment #8 from Esme Povirk madewokherd@gmail.com --- I think this bug may be fixed? With the old version, I get a shader compilation error when creating a new project. But it's also possible I need some assets to trigger the bug.
https://bugs.winehq.org/show_bug.cgi?id=41253
--- Comment #9 from Esme Povirk madewokherd@gmail.com --- I filed bug 51213 for the error I'm seeing with the updated version.
https://bugs.winehq.org/show_bug.cgi?id=41253
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Esme Povirk from comment #7)
Odd, I'm not seeing that exception here (Wine 6.9, wine-mono 6.2.0). The archive.org version in the URL starts fine.
I can still confirm the exception with wine-git and wine-mono 6.2.0 on macOS.
However, on Linux I can reproduce your results. To be able to make a new project I had to use native d3dx9_43 and d3dcompiler_43, as mentioned in Comment #3.
I agree we should resolve this bug. The d3d bugs are already covered in other reports and I'm not sure what to do about the macOS-only issue.
https://bugs.winehq.org/show_bug.cgi?id=41253
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.10.