Solfege wrote:As of now, I'm also stuck on the "Failed to retrieve process" error. Gonna spend the evening working on this. Will post further updates if I make any progress.
Hey, thanks for the update!
I've been debugging this whole thing as well for past day and I'm stuck at the same problem as well.
Running wine in debug mode revealed that the exception is thrown after call to advapi32:
0009:Ret advapi32.OpenProcessToken() retval=00000001 ret=100022c9
0009:Call advapi32.LookupPrivilegeValueA(00000000,1000bf94,0032f350) ret=100022ef
000d:Call advapi32.RegGetValueW(00000068,6dedb200 L"DefaultIcon",00000000,00000002,00000000,0008e300,0023e420) ret=6de2e9a5
0009:Ret advapi32.LookupPrivilegeValueA() retval=00000001 ret=100022ef
0009:Call advapi32.AdjustTokenPrivileges(0000047c,00000000,0032f358,00000010,00000000,00000000) ret=10002343
0009:Ret advapi32.AdjustTokenPrivileges() retval=00000001 ret=10002343
000d:Ret advapi32.RegGetValueW() retval=00000000 ret=6de2e9a5
...
0009:Call user32.MessageBoxA(00000000,1000bfe4 "Failed to retrieve process",1000bf70 "Median XL",00000010) ret=100022a0
As someone mentioned above this is most likely related to privileges failing to set properly, which is related particularly to
SeDebugPrivilege (I assume).
Seeing how this issue is solved by using "Run as admininstrator" it probably means that some of the User Privileges are not set properly while using wine.
Maybe it's something to do with how a Wine user is created when application is run.
The user should (probably) have all the Administrator privileges, but for some reason they don't.
It may be a bug in Sigma's DLL library as well too.
Potentially it's may be a bug in Wine's implementation of
token_adjust_privileges.
My C knowledge is lacking and I'm not sure I can dig this any further, but best solution we have for now is to report this particular problem to Wine's bug tracker and hope for a solution.
Or hope that this can be solved on MXL side and that team has resources to spend supporting Mac/Linux version. (which, unfortunately, is unlikely to happen, seeing how there are about 3 of us playing
)
Well, Sigma is coming in less than 2 days now, this may have been fixed already in Sigma's DLL.