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