Help debugging a message box error

Questions about Wine on Linux
Post Reply
tasty213
Newbie
Newbie
Posts: 1
Joined: Thu Nov 12, 2020 2:01 pm

Help debugging a message box error

Post by tasty213 » Thu Nov 12, 2020 2:16 pm

Hi,
I'm trying to get the application Microsoft Mathematics to work in Wine (currently rated garbage https://appdb.winehq.org/objectManager. ... &iId=22946). So far I've managed to install dotnet35sp1, directx9 and common fonts all as standard on a fresh prefix. When I run the program the initial window displays followed by a message box saying "something has gone wrong please reinstall Microsoft Mathematics". Using ```WINEPREFIX=$HOME/microsoftMathematics WINEARCH=win32 WINEDEBUG=+msgbox,-debug wine MathApp.exe```, to obtain all logs relating to said message box i get:

```
0028:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
002e:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
0009:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0009:fixme:ntdll:EtwRegisterTraceGuidsW (0x7a03261a, 0x9221f0, {e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 14, 0x7a3bee40, (null), (null), 0x7a3bdc70): stub
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {044973cd-251f-4dff-a3e9-9d6307286b05}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {3044f61a-99b0-4c21-b203-d39423c73b00}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {d00792da-07b7-40f5-97eb-5d974e054740}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {cfc4ba53-fb42-4757-8b70-5f5d51fee2f4}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {efdf1eac-1d5d-4e84-893a-19b80f692176}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {c71408de-42cc-4f81-9c93-b8912abf2a0f}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {840c8456-6457-4eb7-9cd0-d28f01c64f5e}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {c424b3e3-2ae0-416e-a039-410c5d8e5f14}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {300ce105-86d1-41f8-b9d2-83fcbff32d99}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {561410f5-a138-4ab3-945e-516483cddfbc}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {15447a14-b523-46ae-b75b-023f900b4393}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {b17304d9-5afa-4da6-9f7b-5a4fa73129b6}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {02d08a4f-fd01-4538-989b-03e437b950f4}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {861f5339-19d6-4873-b350-7b03228bda7c}
0009:fixme:ntdll:EtwRegisterTraceGuidsW (0x7a030638, 0x9221f0, {cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 1, 0x7a3bee38, (null), (null), 0x7a3bdc78): stub
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {ea40c74d-4f65-4561-bb26-656231c8967f}
0031:err:ole:CoGetContextToken apartment not initialised
0009:fixme:path:parse_url failed to parse L"PresentationFramework"
0009:fixme:path:parse_url failed to parse L"WindowsBase"
0009:fixme:path:parse_url failed to parse L"System"
0009:fixme:path:parse_url failed to parse L"PresentationCore"
0009:fixme:ntdll:EtwRegisterTraceGuidsW (0x540e6616, (nil), {a42c77db-874f-422e-9b44-6d89fe2bd3e5}, 26, 0x32e45c, (null), (null), 0x54188798): stub
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {b7c7f692-f2b4-447a-b5df-fa6c314889ae}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {de51ae60-46ad-4cc0-9a29-426a87e88e9f}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {92ca500c-67b1-447f-9497-cfd6d52a5b0e}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {4c48d6ef-ac14-4d84-ba37-49a94ba8d2af}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {4c253b24-7230-4fa1-9748-ac4c59cf288c}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {76601d6d-c6d4-4e8d-ac6e-3f9b4f1745e0}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {c914ee5b-07cd-422d-a2eb-7a44a550616c}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {56144d38-0beb-436b-8db0-3030992bdaf7}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {a8295f90-7937-491d-85d2-7b84c1d18b22}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {650d5bac-0b0b-4c66-9ecc-c27b08ecaefb}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {2e62c3bf-7c51-43fb-8cdc-915d4abc09dd}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {7d2c8338-c13c-4c5c-867a-c56c980354e4}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {189bf19a-b3ca-44b1-9315-838211a81e36}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {07c9179d-40a4-4cee-a847-d29c7cb7b49c}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {9cec574c-5b6a-4ced-a6c3-8a475b3b0cdf}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {ead9a51b-d3d3-4b0b-8d25-e4914ed4c1ed}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {c1c66e1d-dce0-4d1d-8b05-f7619c77ea65}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {a4c821c3-f456-4da6-9b1c-06c7dcb8993c}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {c4e8f367-3ba1-4c75-b985-facbb4274dd7}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {c2f63e38-bfd3-4142-89b2-3595d38f73f3}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {5c02c62f-aec1-4f0c-b4a7-511d280184fd}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {a1ca426a-c4b8-45f2-8867-f1fc89fbb21d}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {56725954-bb8f-40eb-ba42-4aba0e0b6563}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {c348704b-348a-4dff-9df1-b716a7716d55}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {671f95d5-b389-4878-9692-54e5100a2143}
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {9ddfeedc-05bb-45cb-b09d-dc77def67197}
0009:fixme:ntdll:EtwRegisterTraceGuidsW (0x6505da, (nil), {a42c77db-874f-422e-9b44-6d89fe2bd3e5}, 1, 0x32eb60, (null), (null), 0x32eb68): stub
0009:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {b4955bf0-3af1-4740-b475-99055d3fe9aa}
0009:fixme:path:parse_url failed to parse L"MathControls"
0009:fixme:path:parse_url failed to parse L"System.Windows.Forms"
0009:fixme:path:parse_url failed to parse L"System.Drawing"
0009:fixme:path:parse_url failed to parse L""
0009:fixme:path:parse_url failed to parse L"MathApp.resources"
0009:fixme:path:parse_url failed to parse L"MathApp.resources"
0009:fixme:path:parse_url failed to parse L"MathApp.resources"
0009:fixme:path:parse_url failed to parse L"MathResources.resources"
0009:fixme:path:parse_url failed to parse L"MathResources.resources"
0009:fixme:path:parse_url failed to parse L"Microsoft.Office.Interop.Word"
0009:fixme:path:parse_url failed to parse L"MathApp.resources"
0009:fixme:path:parse_url failed to parse L"MathApp.resources"
0009:fixme:path:parse_url failed to parse L"RibbonControlsLibrary"
0009:fixme:path:parse_url failed to parse L"Microsoft.Windows.Shell"
0009:fixme:path:parse_url failed to parse L"MathApp.resources"
0009:fixme:path:parse_url failed to parse L"MathApp.resources"
0009:fixme:path:parse_url failed to parse L"MathApp.resources"
0009:fixme:path:parse_url failed to parse L"MathResources.resources"
0009:fixme:path:parse_url failed to parse L"MathResources.resources"
0009:fixme:path:parse_url failed to parse L"WindowsFormsIntegration"
0009:fixme:path:parse_url failed to parse L"System.Core"
0009:fixme:dwmapi:DwmGetTransportAttributes (0032DCB8, 0032DCC0, 0032DCBC) stub
0009:fixme:wer:WerRegisterMemoryBlock (0x5418ebf0 6144) stub
0009:fixme:wer:WerRegisterMemoryBlock (0x5418ebe8 4) stub
0032:fixme:driver:GdiEntry13 stub
0032:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x2edb0b8, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:fixme:path:parse_url failed to parse L"RibbonControlsLibrary.classic"
0009:fixme:dwmapi:DwmIsCompositionEnabled 0032D238
0009:fixme:path:parse_url failed to parse L"PresentationFramework.Classic"
0009:fixme:path:parse_url failed to parse L"MathEngine"
0009:fixme:process:FlushProcessWriteBuffers : stub
0009:fixme:heap:RtlSetHeapInformation 0x110000 1 (nil) 0 stub
0033:fixme:gdiplus:GdipCreateHalftonePalette stub
0009:trace:msgbox:MSGBOX_OnInit L"Microsoft Mathematics has encountered a problem. Please install Microsoft Mathematics again."
```
ntdll seems to be cropping up alot of fixme's, but when i run without debug the only error shown is the CoGetContextToken error which makes me think its that. Does anyone know how i should proceed in debugging this?

Post Reply