https://bugs.winehq.org/show_bug.cgi?id=26268
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |http://www.kwiksupport.me/f | |ileadmin/kwiksupport/kwiksu | |pport_setup.exe Keywords| |download, obfuscation Hardware|Other |x86 CC| |focht@gmx.net Ever confirmed|0 |1 Summary|ruro.exe (Ragnarok Online |Multiple applications need |patcher) needs |ntdll.ZwSetLdtEntries stub |ntdll.ZwSetLdtEntries |(kwiksupport.me, Ragnarok | |Online patcher) Severity|enhancement |normal
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
Another app which needs this: 'kwiksupport.me' remote support tool (crash reported via appdb)
Download: http://www.kwiksupport.me/fileadmin/kwiksupport/kwiksupport_setup.exe
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/pcvisit Software AG/kwiksupport.me
$ wine ./caloa_app.exe ... Unhandled exception: unimplemented function ntdll.dll.ZwSetLdtEntries called in 32-bit code (0x7bc445c8). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7bc445c8 ESP:01a2f51c EBP:01a2f580 EFLAGS:00200216( - -- I -A-P- ) EAX:01a2f528 EBX:7bcd1000 ECX:7bc9f100 EDX:00000000 ESI:00000001 EDI:00000009 Stack dump: 0x01a2f51c: 7ffd8000 7bc211f8 001105b8 80000100 0x01a2f52c: 00000001 00000000 7bc445c8 00000002 0x01a2f53c: 7bc9f100 7bca0405 01a2f5a8 01a2f598 0x01a2f54c: 7b85a846 7b8ba000 01a2fa78 7b8260a1 0x01a2f55c: 7b85a846 7bc10000 01a2f578 00000000 0x01a2f56c: 01a2f580 00000002 008f95f8 0010000f 000c: sel=0067 base=00000000 limit=00000000 16-bit --x Backtrace: =>0 0x7bc445c8 __wine_spec_unimplemented_stub+0x4e(module="ntdll.dll", function="ZwSetLdtEntries") [/home/focht/projects/wine/wine-git/dlls/ntdll/exception.c:288] in ntdll (0x01a2f580) 1 0x7bc21221 __wine_stub_ZwSetLdtEntries+0x28() in ntdll (0x01a2f5e8) 2 in caloa_app (+0x261095) (0x01a2f5e8) 3 0x00661109 in caloa_app (+0x261108) (0x01a2f6f0) ... Modules: Module Address Debug info Name (123 modules) PE 400000- 1098000 Export caloa_app ... Threads: process tid prio (all id:s are in hex) 00000008 (D) C:\Program Files\pcvisit Software AG\kwiksupport.me\caloa_app.exe 00000024 0 00000023 1 00000009 0 <== --- snip ---
The app doesn't need a real implementation. The call is part of tests for VM environments (VMWare etc).
Source: http://source.winehq.org/git/wine.git/blob/5472b9f9ca1a393c0153e256da67798a3...
--- snip --- 335 @ stub NtSetLdtEntries --- snip ---
For more serious approach:
https://src.chromium.org/native_client/trunk/src/native_client/src/trusted/s... (Google Chromium/NACL code dealing with LDT)
$ sha1sum kwiksupport_setup.exe 7a84fe399417326173edd2d3056b15a8d970d5e8 kwiksupport_setup.exe
$ du -sh kwiksupport_setup.exe 19M kwiksupport_setup.exe
$ wine --version wine-1.7.11-159-gee33839
Regards