https://bugs.winehq.org/show_bug.cgi?id=32316
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|Abandoned? |download CC| |focht@gmx.net Status|CLOSED |REOPENED Component|-unknown |mscoree Summary|Autodesk 3ds Max 9 32bit |Autodesk 3ds Max 9 32-bit |exits unexpectedly after |exits silently or crashes |starting |on startup with Wine-Mono Resolution|ABANDONED |--- URL| |https://web.archive.org/web | |/20150724061434/http://file | |s.modacity.net/software/3ds | |max/3dsmax9.zip
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming and reopening.
The silent exit which later became a crash on startup is Wine-Mono related. The app loads a plugin 'mxsdotnet.dlx' on startup which acts as .NET wrapper/host for managed plugins.
Wine 1.6.2 -> Wine-Mono 0.0.8 (part of Wine 1.5.16)
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Autodesk/3ds Max 9
$ WINEDEBUG=+seh,+loaddll WINE_MONO_TRACE=all wine ./3dsmax.exe ... [0000003C: 2.22335 6] LEAVE: <Module>:<CrtImplementationDetails>.ThisModule.ResolveMethod<void const * __clrcall(void)> (*())result=06537848 [0000003C: 2.22344 6] ENTER: <Module>:?A0x720ba6bd.??__E?A0x720ba6bd@kTriObjNormalXTCID@@YMXXZ ()() [0000003C: 2.22354 7] ENTER: (wrapper managed-to-native) <Module>:Class_ID.{ctor} (Class_ID*,uint,uint)(5B9CDA38, 1930048471, 656698453, ) [0000003C: 2.22369 7] LEAVE: (wrapper managed-to-native) <Module>:Class_ID.{ctor} (Class_ID*,uint,uint)result=0032E870 [0000003C: 2.22379 6] LEAVE: <Module>:?A0x720ba6bd.??__E?A0x720ba6bd@kTriObjNormalXTCID@@YMXXZ () [0000003C: 2.22386 6] ENTER: <Module>:<CrtImplementationDetails>.ThisModule.ResolveMethod<void const * __clrcall(void)> (*())(060000A2, ) [0000003C: 2.22397 7] ENTER: <Module>:<CrtImplementationDetails>.ThisModule.Handle ()(VALUERET:0032E934, ) [0000003C: 2.22409 8] ENTER: (wrapper managed-to-native) System.MonoType:get_Module (System.MonoType)([TYPE:<CrtImplementationDetails>.ThisModule], ) [0000003C: 2.22420 8] LEAVE: (wrapper managed-to-native) System.MonoType:get_Module (System.MonoType)[System.Reflection.Module:04759F50] [0000003C: 2.22430 7] LEAVE: <Module>:<CrtImplementationDetails>.ThisModule.Handle ()[f0,f8,e2,05,] [0000003C: 2.22449 7] ENTER: System.ModuleHandle:ResolveMethodHandle (int)(VALUERET:0032E934, value:0032E934, 100663458, ) [0000003C: 2.22465 8] ENTER: System.ModuleHandle:ResolveMethodHandle (int,System.RuntimeTypeHandle[],System.RuntimeTypeHandle[])(VALUERET:0032E934, value:0032E934, 100663458, 00000000, 00000000, ) [0000003C: 2.22486 9] ENTER: System.ModuleHandle:ptrs_from_handles (System.RuntimeTypeHandle[])(value:0032E934, 00000000, ) [0000003C: 2.22499 9] LEAVE: System.ModuleHandle:ptrs_from_handles (System.RuntimeTypeHandle[])result=00000000 [0000003C: 2.22508 9] ENTER: System.ModuleHandle:ptrs_from_handles (System.RuntimeTypeHandle[])(value:0032E934, 00000000, ) [0000003C: 2.22522 9] LEAVE: System.ModuleHandle:ptrs_from_handles (System.RuntimeTypeHandle[])result=00000000 [0000003C: 2.22531 9] ENTER: (wrapper managed-to-native) System.Reflection.Module:ResolveMethodToken (intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&)(05E2F8F0, 100663458, 00000000, 00000000, [BYREF:0032E8C0], ) [0000003C: 2.22551 9] LEAVE: (wrapper managed-to-native) System.Reflection.Module:ResolveMethodToken (intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&)result=99297888 [0000003C: 2.22560 8] LEAVE: System.ModuleHandle:ResolveMethodHandle (int,System.RuntimeTypeHandle[],System.RuntimeTypeHandle[])[f0,f8,e2,05,] [0000003C: 2.22582 7] LEAVE: System.ModuleHandle:ResolveMethodHandle (int)[f0,f8,e2,05,] [0000003C: 2.22602 7] ENTER: System.RuntimeMethodHandle:GetFunctionPointer ()(value:0032E930, ) [0000003C: 2.22613 8] ENTER: (wrapper managed-to-native) System.RuntimeMethodHandle:GetFunctionPointer (intptr)(05EB2A60, ) [0000003C: 2.22632 8] LEAVE: (wrapper managed-to-native) System.RuntimeMethodHandle:GetFunctionPointer (intptr)result=106133648 [0000003C: 2.22642 7] LEAVE: System.RuntimeMethodHandle:GetFunctionPointer ()result=106133648 [0000003C: 2.22651 6] LEAVE: <Module>:<CrtImplementationDetails>.ThisModule.ResolveMethod<void const * __clrcall(void)> (*())result=06537890 [0000003C: 2.22660 6] ENTER: <Module>:?A0xc387e308.??__EtheApp@@YMXXZ ()() [0000003C: 2.22675 7] ENTER: (wrapper managed-to-native) <Module>:CWinApp.{ctor} (CWinApp*,char*)(5B9D02F0, 00000000, ) trace:seh:raise_exception code=c0000005 flags=0 addr=(nil) ip=00000000 tid=003c trace:seh:raise_exception info[0]=00000000 trace:seh:raise_exception info[1]=00000000 trace:seh:raise_exception eax=00000001 ebx=060000a2 ecx=0032e880 edx=0000003b esi=00000001 edi=00000000 trace:seh:raise_exception ebp=0032e8b0 esp=0032e890 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010202 trace:seh:call_stack_handlers calling handler at 0x783a5a4b code=c0000005 flags=0 fixme:dbghelp:elf_search_auxv can't find symbol in module fixme:mscoree:get_runtime_info unsupported runtimeinfo flags 50 trace:loaddll:load_builtin_dll Loaded L"KERNEL32.dll" at 0x7b810000: builtin trace:loaddll:load_native_dll Loaded L"C:\Program Files (x86)\Autodesk\3ds Max 9\SendDmp.exe" at 0x400000: native --- snip ---
Workaround: 'winetricks -q dotnet20'
Now checking all Wine-Mono releases up to most recent...
From my list: https://gist.github.com/rmi1974/a65b875934f87509b536a776347d007a
====
Using Wine-Mono 4.5.2 (part of Wine 1.7.8) gets a bit further and different crash:
--- snip --- ... [00000009: 2.20617 6] ENTER: <Module>:<CrtImplementationDetails>.ThisModule.ResolveMethod<void const * __clrcall(void)> (*())(060000BA, ) [00000009: 2.20632 7] ENTER: <Module>:<CrtImplementationDetails>.ThisModule.Handle ()(VALUERET:0032E8E4, ) [00000009: 2.20648 8] ENTER: (wrapper managed-to-native) System.MonoType:get_Module (System.MonoType)([TYPE:<CrtImplementationDetails>.ThisModule], ) [00000009: 2.20664 8] LEAVE: (wrapper managed-to-native) System.MonoType:get_Module (System.MonoType)[System.Reflection.Module:080018F8] [00000009: 2.20676 7] LEAVE: <Module>:<CrtImplementationDetails>.ThisModule.Handle ()[c8,97,ce,04,] [00000009: 2.20702 7] ENTER: System.ModuleHandle:ResolveMethodHandle (int)(VALUERET:0032E8E4, value:0032E8E4, 100663482, ) [00000009: 2.20723 8] ENTER: System.ModuleHandle:ResolveMethodHandle (int,System.RuntimeTypeHandle[],System.RuntimeTypeHandle[])(VALUERET:0032E8E4, value:0032E8E4, 100663482, 00000000, 00000000, ) [00000009: 2.20751 9] ENTER: System.ModuleHandle:ptrs_from_handles (System.RuntimeTypeHandle[])(value:0032E8E4, 00000000, ) [00000009: 2.20770 9] LEAVE: System.ModuleHandle:ptrs_from_handles (System.RuntimeTypeHandle[])result=00000000 [00000009: 2.20783 9] ENTER: System.ModuleHandle:ptrs_from_handles (System.RuntimeTypeHandle[])(value:0032E8E4, 00000000, ) [00000009: 2.20798 9] LEAVE: System.ModuleHandle:ptrs_from_handles (System.RuntimeTypeHandle[])result=00000000 [00000009: 2.20807 9] ENTER: (wrapper managed-to-native) System.Reflection.Module:ResolveMethodToken (intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&)(04CE97C8, 100663482, 00000000, 00000000, [BYREF:0032E870], ) [00000009: 2.20828 9] LEAVE: (wrapper managed-to-native) System.Reflection.Module:ResolveMethodToken (intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&)result=81110928 [00000009: 2.20839 8] LEAVE: System.ModuleHandle:ResolveMethodHandle (int,System.RuntimeTypeHandle[],System.RuntimeTypeHandle[])[c8,97,ce,04,] [00000009: 2.20859 7] LEAVE: System.ModuleHandle:ResolveMethodHandle (int)[c8,97,ce,04,] [00000009: 2.20880 7] ENTER: System.RuntimeMethodHandle:GetFunctionPointer ()(value:0032E8E0, ) [00000009: 2.20892 8] ENTER: (wrapper managed-to-native) System.RuntimeMethodHandle:GetFunctionPointer (intptr)(04D5A790, ) [00000009: 2.20925 8] LEAVE: (wrapper managed-to-native) System.RuntimeMethodHandle:GetFunctionPointer (intptr)result=152524424 [00000009: 2.20941 7] LEAVE: System.RuntimeMethodHandle:GetFunctionPointer ()result=152524424 [00000009: 2.20955 6] LEAVE: <Module>:<CrtImplementationDetails>.ThisModule.ResolveMethod<void const * __clrcall(void)> (*())result=09175688 [00000009: 2.20968 6] ENTER: <Module>:?A0x1e6a6792.??__E?A0x1e6a6792@postDllMain@@YMXXZ ()() [00000009: 2.21002 7] ENTER: <Module>:PostDllMain.{ctor} (PostDllMain*)(5B9D3398, ) [00000009: 2.21028 8] ENTER: (wrapper managed-to-native) <Module>:AfxIsModuleDll ()() [00000009: 2.21040 8] LEAVE: (wrapper managed-to-native) <Module>:AfxIsModuleDll ()result=1 [00000009: 2.21055 8] ENTER: (wrapper managed-to-native) <Module>:AfxGetInstanceHandleHelper ()() [00000009: 2.21065 8] LEAVE: (wrapper managed-to-native) <Module>:AfxGetInstanceHandleHelper ()result=00000000 [00000009: 2.21080 8] ENTER: (wrapper managed-to-native) <Module>:InternalDllMain (HINSTANCE__*,uint,void*)(00000000, 1, 00000000, ) [00000009: 2.21244 9] ENTER: (wrapper native-to-managed) <Module>:CSkeletonMFCApp.InitInstance (CSkeletonMFCApp*)(A6451B16, ) [00000009: 2.21277 10] ENTER: <Module>:CSkeletonMFCApp.InitInstance (CSkeletonMFCApp*)(A6451B16, ) [00000009: 2.21298 11] ENTER: (wrapper managed-to-native) <Module>:CWinApp.InitInstance (CWinApp*)(A6451B16, ) trace:seh:raise_exception code=c0000005 flags=0 addr=0x78347f73 ip=78347f73 tid=0009 trace:seh:raise_exception info[0]=00000000 trace:seh:raise_exception info[1]=a6451b16 trace:seh:raise_exception eax=00000000 ebx=00000000 ecx=a6451b16 edx=7e3c1130 esi=a6451b16 edi=a6451b16 trace:seh:raise_exception ebp=0032e7e8 esp=0032e7b8 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210206 trace:seh:call_vectored_handlers calling handler at 0x6c421b30 code=c0000005 flags=0 trace:seh:call_vectored_handlers handler at 0x6c421b30 returned 0 trace:seh:call_stack_handlers calling handler at 0x5b97b0b9 code=c0000005 flags=0 trace:seh:call_stack_handlers handler at 0x5b97b0b9 returned 1 trace:seh:call_stack_handlers calling handler at 0x77d87b code=c0000005 flags=0 trace:seh:call_stack_handlers handler at 0x77d87b returned 1 trace:seh:call_stack_handlers calling handler at 0x77d0c9 code=c0000005 flags=0 fixme:dbghelp:elf_search_auxv can't find symbol in module fixme:mscoree:get_runtime_info unsupported runtimeinfo flags 50 trace:loaddll:load_builtin_dll Loaded L"KERNEL32.dll" at 0x7b810000: builtin trace:loaddll:load_native_dll Loaded L"C:\Program Files (x86)\Autodesk\3ds Max 9\SendDmp.exe" at 0x400000: native --- snip ---
Same with:
* Wine-Mono 4.5.4 | wine-1.7.32 * Wine-Mono 4.5.6 | wine-1.7.38 * Wine-Mono 4.6.0 | wine-1.9.5
====
Using Wine-Mono 4.6.2 (part of Wine 1.9.8) results in different crash and managed code backtrace from Wine-Mono as well.
--- snip --- [00000009: 2.29829 8] ENTER: (wrapper managed-to-native) <Module>:AfxIsModuleDll ()() [00000009: 2.29838 8] LEAVE: (wrapper managed-to-native) <Module>:AfxIsModuleDll ()result=1 [00000009: 2.29852 8] ENTER: (wrapper managed-to-native) <Module>:AfxGetInstanceHandleHelper ()() [00000009: 2.29861 8] LEAVE: (wrapper managed-to-native) <Module>:AfxGetInstanceHandleHelper ()result=5B960000 [00000009: 2.29875 8] ENTER: (wrapper managed-to-native) <Module>:InternalDllMain (HINSTANCE__*,uint,void*)(5B960000, 1, 00000000, ) [00000009: 2.30078 9] ENTER: (wrapper native-to-managed) <Module>:CSkeletonMFCApp.InitInstance (CSkeletonMFCApp*)(56F92E52, ) [00000009: 2.30096 10] ENTER: <Module>:CSkeletonMFCApp.InitInstance (CSkeletonMFCApp*)(56F92E52, ) [00000009: 2.30116 11] ENTER: (wrapper managed-to-native) <Module>:CWinApp.InitInstance (CWinApp*)(56F92E52, ) trace:seh:raise_exception code=c0000005 flags=0 addr=0x78347f73 ip=78347f73 tid=0009 trace:seh:raise_exception info[0]=00000000 trace:seh:raise_exception info[1]=56f92e52 trace:seh:raise_exception eax=0032e684 ebx=00000000 ecx=56f92e52 edx=7d940410 esi=56f92e52 edi=56f92e52 trace:seh:raise_exception ebp=0032e6a8 esp=0032e668 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210216 trace:seh:call_vectored_handlers calling handler at 0x6c62d2b0 code=c0000005 flags=0 Stacktrace:
at <unknown> <0xffffffff> at (wrapper managed-to-native) <Module>.CWinApp.InitInstance (CWinApp*) <0xffffffff> at <Module>.CSkeletonMFCApp.InitInstance (CSkeletonMFCApp*) <0x00023> at (wrapper native-to-managed) <Module>.CSkeletonMFCApp.InitInstance (CSkeletonMFCApp*) <0xffffffff> at <unknown> <0xffffffff> at (wrapper managed-to-native) <Module>.InternalDllMain (HINSTANCE__*,uint,void*) <0xffffffff> at <Module>.PostDllMain.{ctor} (PostDllMain*) <0x00057> at <Module>.?A0x1e6a6792.??__E?A0x1e6a6792@postDllMain@@YMXXZ () <0x00023> at <Module>._initterm_m (*()*,*()*) <0x00039> at <Module>.<CrtImplementationDetails>.LanguageSupport.InitializePerProcess (<CrtImplementationDetails>.LanguageSupport*) <0x00073> at <Module>.<CrtImplementationDetails>.LanguageSupport._Initialize (<CrtImplementationDetails>.LanguageSupport*) <0x0027b> at <Module>.<CrtImplementationDetails>.LanguageSupport.Initialize (<CrtImplementationDetails>.LanguageSupport*) <0x0007f> at <Module>..cctor () <0x0003f> at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff> at <unknown> <0xffffffff>
================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= --- snip --
Same with:
* Wine-Mono 4.6.3 | wine-1.9.12 * Wine-Mono 4.6.4 | wine-2.0-rc1 * Wine-Mono 4.7.0 | wine-2.4 * Wine-Mono 4.7.1 | wine-2.14 * Wine-Mono 4.7.3 | wine-3.13 * Wine-Mono 4.7.5 | wine-4.0-rc6
====
Using Wine-Mono 4.8.0 (part of Wine 4.3) results in different crash and managed code backtrace from Wine-Mono as well.
--- snip --- [00000009: 0.04109 9] LEAVE: System.AppDomain:get_CurrentDomain ()[System.AppDomain:091F4120] [00000009: 0.04120 9] ENTER: System.AppDomain:IsDefaultAppDomain ()(this:091F4120[System.AppDomain mscorlib.dll], ) [00000009: 0.04134 10] ENTER: System.AppDomain:get_DefaultDomain ()() [00000009: 0.04144 10] LEAVE: System.AppDomain:get_DefaultDomain ()[System.AppDomain:091F4120] [00000009: 0.04157 9] LEAVE: System.AppDomain:IsDefaultAppDomain ()result=20840449 [00000009: 0.04168 9] ENTER: (wrapper managed-to-native) object:__icall_wrapper_mono_generic_class_init (intptr)(01461728, ) [00000009: 0.04182 9] LEAVE: (wrapper managed-to-native) object:__icall_wrapper_mono_generic_class_init (intptr) [00000009: 0.04201 9] ENTER: <Module>:<CrtImplementationDetails>.DoDllLanguageSupportValidation ()() [00000009: 0.04212 10] ENTER: System.AppDomain:get_CurrentDomain ()() [00000009: 0.04223 11] ENTER: string:memset (byte*,int,int)(0032DD40, 0, 68, ) [00000009: 0.04242 11] LEAVE: string:memset (byte*,int,int) [00000009: 0.04250 11] ENTER: (wrapper managed-to-native) System.AppDomain:getCurDomain ()() [00000009: 0.04262 11] LEAVE: (wrapper managed-to-native) System.AppDomain:getCurDomain ()[System.AppDomain:091F4120] [00000009: 0.04273 10] LEAVE: System.AppDomain:get_CurrentDomain ()[System.AppDomain:091F4120] [00000009: 0.04284 10] ENTER: System.AppDomain:IsDefaultAppDomain ()(this:091F4120[System.AppDomain mscorlib.dll], ) [00000009: 0.04298 11] ENTER: System.AppDomain:get_DefaultDomain ()() [00000009: 0.04309 11] LEAVE: System.AppDomain:get_DefaultDomain ()[System.AppDomain:091F4120] [00000009: 0.04320 10] LEAVE: System.AppDomain:IsDefaultAppDomain ()result=21365505 [00000009: 0.04331 9] LEAVE: <Module>:<CrtImplementationDetails>.DoDllLanguageSupportValidation () [00000009: 0.04350 9] ENTER: (wrapper managed-to-native) <Module>:_getFiberPtrId ()() mono_threads_enter_gc_safe_region_unbalanced Cannot transition thread 00000009 from STATE_BLOCKING with DO_BLOCKING
abnormal program termination 0009:trace:seh:MSVCRT_raise (22) ... 0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x412a3b ip=00412a3b tid=0009 0009:trace:seh:raise_exception info[0]=00000001 0009:trace:seh:raise_exception info[1]=00000008 0009:trace:seh:raise_exception eax=00000011 ebx=00000000 ecx=00861b40 edx=00000011 esi=0000004c edi=044f6750 0009:trace:seh:raise_exception ebp=00000000 esp=0032d924 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010246 0009:trace:seh:call_vectored_handlers calling handler at 0x6c635c50 code=c0000005 flags=0
================================================================= Native Crash Reporting ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. =================================================================
================================================================= Managed Stacktrace: ================================================================= at <unknown> <0xffffffff> at <Module>:_getFiberPtrId <0x00012> at <Module>:<CrtImplementationDetails>.LanguageSupport._Initialize <0x00187> at <Module>:<CrtImplementationDetails>.LanguageSupport.Initialize <0x001a3> at <Module>:.cctor <0x00117> at System.Object:runtime_invoke_void <0x0016e> at <unknown> <0xffffffff> at <Module>:<CrtImplementationDetails>.DoDllLanguageSupportValidation <0x00012> at <Module>:<CrtImplementationDetails>.LanguageSupport._Initialize <0x0017f> at <Module>:<CrtImplementationDetails>.LanguageSupport.Initialize <0x001a3> at <Module>:.cctor <0x00117> at System.Object:runtime_invoke_void <0x0016e> --- snip ---
Same with:
* Wine-Mono 4.8.1 | wine-4.6 * Wine-Mono 4.8.3 | wine-4.7
====
Using Wine-Mono 4.9.0 (part of Wine 4.11) results in different crash and managed code backtrace from Wine-Mono as well.
--- snip --- ... [00000009: 3.25658 5] ENTER: (wrapper alloc) object:AllocSmall (intptr,intptr)(00AB1DF0, 00000040, ) [00000009: 3.25674 5] LEAVE: (wrapper alloc) object:AllocSmall (intptr,intptr)[System.EventHandler:0B002D30] [00000009: 3.25700 5] ENTER: (wrapper managed-to-native) <Module>:<CrtImplementationDetails>.RegisterModuleUninitializer (System.EventHandler)([System.EventHandler:0B002D30], ) [00000009: 3.25722 6] ENTER: (wrapper managed-to-native) object:__icall_wrapper_mono_delegate_to_ftnptr (object)([System.EventHandler:0B002D30], ) [00000009: 3.25751 6] LEAVE: (wrapper managed-to-native) object:__icall_wrapper_mono_delegate_to_ftnptr (object)result=0C478EB8 [00000009: 3.25930 6] ENTER: (wrapper native-to-managed) <Module>:<CrtImplementationDetails>.RegisterModuleUninitializer (System.EventHandler)(0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x6c592930 ip=6c592930 tid=0009 0009:trace:seh:raise_exception info[0]=00000000 0009:trace:seh:raise_exception info[1]=53ec8b55 0009:trace:seh:raise_exception eax=53ec8b55 ebx=00000000 ecx=00000012 edx=0c478eb8 esi=00ab3280 edi=00a98d58 0009:trace:seh:raise_exception ebp=00a04664 esp=0033e600 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206 0009:trace:seh:call_vectored_handlers calling handler at 0x6c6363d0 code=c0000005 flags=0
================================================================= Native Crash Reporting ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. =================================================================
================================================================= Managed Stacktrace: ================================================================= at <unknown> <0xffffffff> at <Module>:<CrtImplementationDetails>.RegisterModuleUninitializer <0x00012> at <Module>:<CrtImplementationDetails>.LanguageSupport.InitializeUninitializer <0x00167> at <Module>:<CrtImplementationDetails>.LanguageSupport._Initialize <0x003c3> at <Module>:<CrtImplementationDetails>.LanguageSupport.Initialize <0x001a3> at <Module>:.cctor <0x00117> at System.Object:runtime_invoke_void <0x0016e> ================================================================= --- snip ---
Same with:
* Wine-Mono 4.9.2 | wine-4.14 * Wine-Mono 4.9.3 | wine-4.17 * Wine-Mono 4.9.4 | wine-4.20
Using Wine-Mono 5.0.0 (part of Wine 5.7) results in different crash and no usable managed code backtrace.
--- snip --- ... 00b1:trace:loaddll:load_native_dll Loaded L"C:\windows\Microsoft.NET\Framework\v2.0.50727\fusion.dll" at 0xa990000: PE builtin 00b1:trace:loaddll:load_native_dll Loaded L"C:\windows\mono\mono-2.0\lib\mono\4.5\mscorlib.dll" at 0xa9c0000: native [000000B1: 0.00000 0] ENTER:c (wrapper runtime-invoke) <Module>:runtime_invoke_void__this___object (object,intptr,intptr,intptr)([System.OutOfMemoryException:09C00038], 0032E808, 0032E74C, 0AE40D48) [000000B1: 0.00023 1] ENTER:c System.OutOfMemoryException:.ctor (string)(this:09C00038[System.OutOfMemoryException mscorlib.dll], [STRING:09C00010:Out of memory]) [000000B1: 0.00046 2] ENTER:c System.SystemException:.ctor (string)(this:09C00038[System.OutOfMemoryException mscorlib.dll], [STRING:09C00010:Out of memory]) [000000B1: 0.00095 3] ENTER:c (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)(00000000, 00000000, 0032E304, 0AE41830) [000000B1: 0.00113 4] ENTER:c System.Exception:.cctor ()() [000000B1: 0.00139 5] ENTER:c (wrapper alloc) object:AllocSmall (intptr,intptr)(032D8250, 00000008) [000000B1: 0.00151 5] LEAVE:c (wrapper alloc) object:AllocSmall (intptr,intptr)([System.Object:09C00098] [000000B1: 0.00165 5] ENTER:c object:.ctor ()(this:09C00098[System.Object mscorlib.dll]) [000000B1: 0.00173 5] LEAVE:c object:.ctor ()( [000000B1: 0.00180 4] LEAVE:c System.Exception:.cctor ()( ... [000000B1: 0.00686 5] ENTER:c System.Runtime.Serialization.SafeSerializationManager:.ctor ()(this:09C00268[System.Runtime.Serialization.SafeSerializationManager mscorlib.dll]) [000000B1: 0.00695 5] LEAVE:c System.Runtime.Serialization.SafeSerializationManager:.ctor ()( [000000B1: 0.00701 4] LEAVE:c System.Exception:Init ()( [000000B1: 0.00707 3] LEAVE:c System.Exception:.ctor (string)( [000000B1: 0.00712 3] ENTER:c System.Exception:set_HResult (int)(this:09C00220[System.StackOverflowException mscorlib.dll], -2146233087) [000000B1: 0.00727 3] LEAVE:c System.Exception:set_HResult (int)( [000000B1: 0.00733 2] LEAVE:c System.SystemException:.ctor (string)( [000000B1: 0.00740 2] ENTER:c System.Exception:set_HResult (int)(this:09C00220[System.StackOverflowException mscorlib.dll], -2147023895) [000000B1: 0.00754 2] LEAVE:c System.Exception:set_HResult (int)( [000000B1: 0.00760 1] LEAVE:c System.StackOverflowException:.ctor (string)( [000000B1: 0.00767 0] LEAVE:c (wrapper runtime-invoke) <Module>:runtime_invoke_void__this___object (object,intptr,intptr,intptr)([OBJECT:00000000] 00b1:err:mscoree:ReallyFixupVTable unable to fixup vtable, hr=0, status=1 Assertion failed: 0, file /home/focht/projects/wine/mainline-src-5.7/dlls/mscoree/corruntimehost.c, line 1307
00b1:trace:seh:MSVCRT_raise (22) ... 0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0xf029de90 ip=f029de90 tid=0009 0009:trace:seh:raise_exception info[0]=00000000 0009:trace:seh:raise_exception info[1]=f029de90 0009:trace:seh:raise_exception eax=0032c36c ebx=00110098 ecx=0032bf14 edx=0032bf58 esi=00000000 edi=f029de90 0009:trace:seh:raise_exception ebp=0032c38c esp=0032c340 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010216 0009:trace:seh:call_vectored_handlers calling handler at 0x6c631be0 code=c0000005 flags=0
================================================================= Native Crash Reporting ================================================================= Got a UNKNOWN while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. =================================================================
================================================================= Managed Stacktrace: ================================================================= =================================================================
... 0009:err:seh:setup_exception_record stack overflow 816 bytes in thread 0009 eip f7c7f9b6 esp 00231000 stack 0x230000-0x231000-0x330000 --- snip ---
Same with:
* Wine-Mono 5.1.0 | wine-5.11 * Wine-Mono 5.1.1 | wine-5.19
Snippet from most recent Wine-Mono 5.1.1 (Wine 5.19) with +mscoree debug channel as well:
--- snip --- $ WINEDEBUG=+seh,+loaddll,+mscoree WINE_MONO_TRACE=all wine ./3dsmax.exe
log.txt 2>&1
... 02e4:trace:loaddll:build_module Loaded L"C:\windows\system32\mscoree.dll" at 0A2C0000: builtin 02e4:trace:loaddll:build_module Loaded L"C:\windows\winsxs\x86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.42_none_deadbeef\mfcm80u.dll" at 0A290000: native 02e4:trace:loaddll:build_module Loaded L"C:\Program Files\Autodesk\3ds Max 9\stdplugs\mxsdotnet.dlx" at 5B960000: native 02e4:trace:mscoree:DllMain (0A2C0000, 1, 00000000) 02e4:trace:mscoree:_CorDllMain (0A290000, 1, 00000000) 02e4:trace:mscoree:FixupVTableEntry vtable_fixup->type=0x9 02e4:trace:mscoree:FixupVTableEntry vtable_fixup->type=0x9 02e4:trace:mscoree:FixupVTableEntry vtable_fixup->type=0x9 02e4:trace:mscoree:FixupVTableEntry vtable_fixup->type=0x9 02e4:trace:mscoree:FixupVTableEntry vtable_fixup->type=0x9 02e4:trace:mscoree:FixupVTableEntry vtable_fixup->type=0x9 ... 02e4:trace:mscoree:FixupVTableEntry vtable_fixup->type=0x9 02e4:trace:mscoree:FixupVTableEntry vtable_fixup->type=0x9 02e4:trace:mscoree:_CorDllMain (5B960000, 1, 00000000) 02e4:trace:mscoree:FixupVTableEntry vtable_fixup->type=0x9 02e4:trace:mscoree:FixupVTableEntry vtable_fixup->type=0x9 ... 02e4:trace:mscoree:FixupVTableEntry vtable_fixup->type=0x9 02e4:trace:mscoree:ReallyFixupVTable 0A5B6460,5B960000,L"C:\Program Files\Autodesk\3ds Max 9\stdplugs\mxsdotnet.dlx" 02e4:trace:mscoree:CreateConfigStream (L"C:\Program Files\Autodesk\3ds Max 9\stdplugs\mxsdotnet.dlx.config", 0031EB24) 02e4:warn:mscoree:get_runtime_info failed to parse config file L"C:\Program Files\Autodesk\3ds Max 9\stdplugs\mxsdotnet.dlx.config", hr=80070002 02e4:trace:mscoree:CLRMetaHost_GetVersionFromFile L"C:\Program Files\Autodesk\3ds Max 9\stdplugs\mxsdotnet.dlx" 0031ED58 0031EF60 02e4:trace:mscoree:CLRRuntimeInfo_QueryInterface 0A2DF0A8 {bd39d1d2-ba2f-486a-89b0-b4b0cb466891} 0031F1D8 ... 02e4:trace:loaddll:build_module Loaded L"C:\windows\mono\mono-2.0\bin\libmono-2.0-x86.dll" at 0DC30000: native 0370:trace:mscoree:_CorDllMain (0A290000, 2, 00000000) 0370:trace:mscoree:_CorDllMain (5B960000, 2, 00000000) 02e4:trace:mscoree:mono_assembly_preload_hook_fn "mscorlib.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" 02e4:trace:mscoree:LoadLibraryShim (0A2D3538 L"fusion", 00000000, 00000000, 0031E53C) 02e4:trace:mscoree:GetCORVersion (0031E300, 260, 0031E50C)! 02e4:trace:mscoree:CLRRuntimeInfo_QueryInterface 0A2DF0A8 {bd39d1d2-ba2f-486a-89b0-b4b0cb466891} 0031E510 02e4:trace:mscoree:CLRRuntimeInfo_GetVersionString 0A2DF0A8 0031E300 0031E50C 02e4:trace:loaddll:build_module Loaded L"C:\windows\Microsoft.NET\Framework\v2.0.50727\fusion.dll" at 0F2D0000: builtin 0370:trace:seh:NtSetInformationThread (0xfffffffe,38,0xeaafde0,8) 02e4:trace:loaddll:build_module Loaded L"C:\windows\mono\mono-2.0\lib\mono\4.5\mscorlib.dll" at 0F2F0000: native 02e4:trace:mscoree:_CorDllMain (0F2F0000, 1, 00000000) [000002E4: 0.00000 0] ENTER:c (wrapper runtime-invoke) <Module>:runtime_invoke_void__this___object (object,intptr,intptr,intptr)([System.OutOfMemoryException:0E400038], 0031E7BC, 0031E73C, 0F770D48) [000002E4: 0.00003 1] ENTER:c System.OutOfMemoryException:.ctor (string)(this:0E400038[System.OutOfMemoryException 3dsmax.exe], [STRING:0E400010:Out of memory]) [000002E4: 0.00009 2] ENTER:c System.SystemException:.ctor (string)(this:0E400038[System.OutOfMemoryException 3dsmax.exe], [STRING:0E400010:Out of memory]) [000002E4: 0.00033 3] ENTER:c (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)(00000000, 00000000, 0031E368, 0F771830) [000002E4: 0.00035 4] ENTER:c System.Exception:.cctor ()() ... [000002E4: 0.00136 1] LEAVE:c System.StackOverflowException:.ctor (string)( [000002E4: 0.00137 0] LEAVE:c (wrapper runtime-invoke) <Module>:runtime_invoke_void__this___object (object,intptr,intptr,intptr)([OBJECT:00000000] 0374:trace:mscoree:_CorDllMain (0A290000, 2, 00000000) 0374:trace:mscoree:_CorDllMain (5B960000, 2, 00000000) 0374:trace:seh:NtSetInformationThread (0x438,3,0xf91fecc,4) 0374:trace:seh:NtSetInformationThread (0x438,38,0xf91fd4c,8) 02e4:trace:mscoree:CLRRuntimeInfo_GetRuntimeDirectory 0A2DF0A8 0031EB84 0031ED8C 02e4:trace:mscoree:CLRRuntimeInfo_GetVersionString 0A2DF0A8 0031E74C 0031EB60 02e4:trace:mscoree:RuntimeHost_GetDefaultDomain setting base_dir: C:\Program Files\Autodesk\3ds Max 9, config_path: C:\windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config 02e4:err:mscoree:ReallyFixupVTable unable to fixup vtable, hr=0, status=1 02e4:trace:seh:MSVCRT_raise (22) 02e4:trace:mscoree:_CorDllMain (0F2F0000, 0, 00000001) 02e4:trace:mscoree:_CorDllMain (5B960000, 0, 00000001) 02e4:fixme:msvcrt:__clean_type_info_names_internal (0x5b9d3068) stub 02e4:trace:mscoree:_CorDllMain (0A290000, 0, 00000001) 02e4:fixme:msvcrt:__clean_type_info_names_internal (0xa29fd2c) stub 02e4:trace:mscoree:DllMain (0A2C0000, 0, 00000001) 02e4:err:mscoree:expect_no_runtimes Process exited with a Mono runtime loaded. ... ================================================================= Native Crash Reporting ================================================================= Got a UNKNOWN while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. =================================================================
================================================================= Managed Stacktrace: ================================================================= ================================================================= ... Assertion failed: 0, file /home/focht/projects/wine/mainline-src-5.19/dlls/mscoree/corruntimehost.c, line 1305 --- snip ---
$ sha1sum 3dsmax9.zip d04eeb0eeabbb7cedaf536170fb6879b2faf1a25 3dsmax9.zip
$ du -sh 3dsmax9.zip 590M 3dsmax9.zip
$ wine --version wine-6.0-rc2
Regards