[Bug 26268] New: we need unimplemented function ntdll.dll.ZwSetLdtEntries
http://bugs.winehq.org/show_bug.cgi?id=26268 Summary: we need unimplemented function ntdll.dll.ZwSetLdtEntries Product: Wine Version: 1.3.14 Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: ntdll AssignedTo: wine-bugs(a)winehq.org ReportedBy: jl2001(a)inbox.ru possible to do this ? wine: Call from 0x7bc3e820 to unimplemented function ntdll.dll.ZwSetLdtEntries, aborting wine: Unimplemented function ntdll.dll.ZwSetLdtEntries called at address 0x7bc3e820 (thread 0026), starting debugger... Unhandled exception: unimplemented function ntdll.dll.ZwSetLdtEntries called in 32-bit code (0x7bc3e820). Backtrace: =>0 0x7bc3e820 __wine_spec_unimplemented_stub+0x50() in ntdll (0x0033f63c) 1 0x7bc21569 in ntdll (+0x11568) (0x0033f63c) 2 0x80000100 (0x0033f6a0) 3 0x00475618 in ruro (+0x75617) (0x0033f6dc) 4 0x00471c52 in ruro (+0x71c51) (0x0033fc5c) 5 0x004727dd in ruro (+0x727dc) (0x0033fc7c) OR ruro-programmers said: "In the last ruro function ZwSetLdtEntries not invoked if it does not exist in the system. If it exists in the system, it will be called. The only option that is now possible to crash it if the emulator provides this feature, but it is called an emulator is completed, due to the fact that it is not implemented. To get around this, you can either put the emulator, do this for you, or you can configure it so that it did not export functions are not implemented." (from Russian language: В последнем ruro функция ZwSetLdtEntries не вызывается, если она не существует в системе. Если она существует в системе, она будет вызвана. Единственный вариант, при котором сейчас возможен вылет, это если эмулятор предоставляет эту функцию, но на ее вызове эмулятор завершается, из-за того, что она не реализована. Чтоб это обойти, нужно либо поставить эмулятор, где эта функция реализована, либо настроить его так, чтоб он не экспортировал не реализованные функции.) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other Summary|we need unimplemented |Unknown application needs |function |function |ntdll.dll.ZwSetLdtEntries |ntdll.dll.ZwSetLdtEntries --- Comment #1 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2011-02-28 23:52:33 CST --- What application does need it? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 --- Comment #2 from J.L. <jl2001(a)inbox.ru> 2011-03-01 02:38:44 CST --- starter and controller (ruro.exe) for game Ragnarok on server Motr (not the Ragexe.exe, it not needed ZwSetLdtEntries), i think ruro used for antiсheat or some -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Unknown application needs |ruro.exe (Ragnarok Online |function |patcher) needs |ntdll.dll.ZwSetLdtEntries |ntdll.ZwSetLdtEntries -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de Severity|enhancement |normal --- Comment #3 from André H. <nerv(a)dawncrow.de> 2011-03-01 06:14:14 CST --- normal bug, no enhancement. are you on x86 or amd64? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 --- Comment #4 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2011-03-01 08:50:18 CST --- It should be enhancement because this is essentially a crack running an original starter and then patching it to make the game able to connect to an unofficial server(s). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 --- Comment #5 from André H. <nerv(a)dawncrow.de> 2011-03-01 08:52:07 CST --- maybe, but also see that it works on windows... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 J.L. <jl2001(a)inbox.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #6 from J.L. <jl2001(a)inbox.ru> 2011-03-01 13:54:14 CST --- my system Ubuntu 10.10 2.6.38-4-generic #31-Ubuntu SMP Fri Feb 18 23:22:01 UTC 2011 x86_64 GNU/Linux 1.3.14-0ubuntu1~maverickppa1 but i know it also on Ubuntu 10.10 x86 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 Richard Korman <winter.blood(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winter.blood(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 --- Comment #7 from Austin English <austinenglish(a)gmail.com> 2013-11-13 16:47:52 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.6 or newer) wine? If so, please attach the terminal output in 1.7.6 (see http://wiki.winehq.org/FAQ#get_log). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 Anastasius Focht <focht(a)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(a)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(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 --- Comment #9 from Austin English <austinenglish(a)gmail.com> --- Created attachment 47334 --> https://bugs.winehq.org/attachment.cgi?id=47334 stubs This lets the application start for me. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47334|0 |1 is obsolete| | --- Comment #10 from Austin English <austinenglish(a)gmail.com> --- Created attachment 47335 --> http://bugs.winehq.org/attachment.cgi?id=47335 stub (try 2) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 --- Comment #11 from André H. <nerv(a)dawncrow.de> --- (In reply to comment #10)
Created attachment 47335 [details] stub (try 2)
looks good, please output the function parameters in the FIXME and send it -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 Saulius K. <saulius2(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26268 hanska2(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2(a)luukku.com --- Comment #12 from hanska2(a)luukku.com --- I want to ping that patch. What happened to it? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 hjensen(a)gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjensen(a)gmx.de --- Comment #13 from hjensen(a)gmx.de --- Confirmed that kwiksupport.me (and the not-for-free version pcvisit) works with the patch https://bugs.winehq.org/attachment.cgi?id=47335 applied to wine 1.7.30 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de --- Comment #14 from Sebastian Lackner <sebastian(a)fds-team.de> --- The patch linked here is not the latest version, and has a wrong number of arguments. A new version was sent to wine-patches some time ago, but without any feedback. I have also added it to the staging tree: https://github.com/wine-compholio/wine-staging/blob/2c0583d0023d60bbea63d457... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 --- Comment #15 from Austin English <austinenglish(a)gmail.com> --- (In reply to Sebastian Lackner from comment #14)
The patch linked here is not the latest version, and has a wrong number of arguments. A new version was sent to wine-patches some time ago, but without any feedback.
I have also added it to the staging tree:
https://github.com/wine-compholio/wine-staging/blob/ 2c0583d0023d60bbea63d457199d0ffdeff51afe/patches/ntdll-NtSetLdtEntries/0001- ntdll-add-NtSetLdtEntries-ZwSetLdtEntries-stub-try-2.patch
Resent: https://source.winehq.org/patches/data/107460 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 Michael Müller <michael(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael(a)fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/ntdll-NtSetLdt | |Entries -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #16 from super_man(a)post.com --- Pure wine still fails wine: Unimplemented function ntdll.dll.ZwSetLdtEntries called at address 0x7bc468f0 (thread 0079), starting debugger... wine-1.7.53-211-g28b916b -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 --- Comment #17 from super_man(a)post.com --- Maybe consider resending the patch since its not that complicated addition. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 --- Comment #18 from Austin English <austinenglish(a)gmail.com> --- Resent again https://source.winehq.org/patches/data/121982, and Sebastian has added a signoff, so perhaps this time it'll go smoother. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|STAGED |RESOLVED --- Comment #19 from Austin English <austinenglish(a)gmail.com> --- The stub was committed here: https://source.winehq.org/git/wine.git/commitdiff/fee017c221d11818b608bc0d6a... and works for the old kwiksupport installer I have: [+] Test 4: STR STR base: 0x40000000 fixme:ntdll:NtSetLdtEntries (15, 0, 12646912, 0, 0, 0): stub [+] Test 7: VMware emulation mode austin(a)aw25 ~/oldbugs/26268 $ sha1sum kwiksupport_setup.exe 7a84fe399417326173edd2d3056b15a8d970d5e8 kwiksupport_setup.exe austin(a)aw25 ~/oldbugs/26268 $ ~/wine-git/wine --version wine-1.9.9-35-gbd2999d The app itself didn't work, either upstream servers are down or it is too old (license request in installer fails as well). But it does get much further now, so marking fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |fee017c221d11818b608bc0d6ab | |c807aa35ee8fe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #20 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.9.10. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x CC| |mstefani(a)redhat.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26268 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |--- --- Comment #21 from Michael Stefaniuc <mstefani(a)redhat.com> --- Removing 1.8.x milestone from bugs included in 1.8.4. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org