http://bugs.winehq.org/show_bug.cgi?id=44817
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Dmitry Timoshkov dmitry@baikal.ru --- The test from the staged patchset was committed and it works properly under current winehq.git: $ wine --version wine-10.15-125-gfc70990d579
Looks like the limitation to modify reserved LDT entries was removed at some point. Attached test app also works: ... 0024:Call KERNEL32.GetProcAddress(7bdc0000,0040602c "ZwSetLdtEntries") ret=00401491 0024:Ret KERNEL32.GetProcAddress() retval=7bdcb274 ret=00401491 0024:Call ntdll.ZwSetLdtEntries(0000000f,c7fa000000ffef,00000000,000000000) ret=004014d2 0024:Ret ntdll.ZwSetLdtEntries() retval=00000000 ret=004014d2 0024:trace:seh:dispatch_exception code=c0000005 (EXCEPTION_ACCESS_VIOLATION) flags=0 addr=00401502 0024:trace:seh:dispatch_exception info[0]=00000000 0024:trace:seh:dispatch_exception info[1]=FFFFFFFF 0024:trace:seh:dispatch_exception eip=00401502 esp=0031fe98 ebp=0031fed0 eflags=00010286 0024:trace:seh:dispatch_exception eax=ffffffff ebx=7ffd1000 ecx=00000004 edx=00000000 0024:trace:seh:dispatch_exception esi=0034ef30 edi=004d4ff0 cs=000f ds=002b es=002b fs=0063 gs=006b ss=002b 0024:trace:seh:call_seh_handlers calling handler at 00401649 code=c0000005 flags=0 ... 0024:Call KERNEL32.GetModuleHandleW(00000000) ret=00402159 0024:Ret KERNEL32.GetModuleHandleW() retval=00400000 ret=00402159 0024:Call ucrtbase.exit(00000000) ret=004018fd ...