https://bugs.winehq.org/show_bug.cgi?id=18745
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win64 Status|REOPENED |NEW CC| |focht@gmx.net Summary|Mortal Kombat X needs |64-bit Mortal Kombat X |KERNEL32.dll.GetLargePageMi |crashes on unimplemented |nimum |function | |KERNEL32.dll.GetLargePageMi | |nimum
--- Comment #16 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
--- snip --- ... Unhandled exception: unimplemented function KERNEL32.dll.GetLargePageMinimum called in 64-bit code (0x00007fa7dd6bca89). Register dump: rip:00007fa7dd6bca89 rsp:00000000005ff9d0 rbp:00000000005ffab0 eflags:00000202 ( - -- I - - - ) rax:00007fa7dd707dbc rbx:0000000000000000 rcx:00000000005ffa10 rdx:0000000140b88afa rsi:0000000142d4ba4c rdi:0000000142d4bf9a r8:0000000000000000 r9:0000000000000000 r10:0000000000000008 r11:0000000000000246 r12:000000007bf00d10 r13:00007ffce41dbb00 r14:0000000000000000 r15:0000000000000000 ... Backtrace: =>0 0x00007fa7dd6bca89 stub_entry_point+0x83(dll="KERNEL32.dll", name="GetLargePageMinimum", ret_addr=0x140b88afa) [/home/focht/projects/wine/wine.repo/src/dlls/ntdll/loader.c:207] in ntdll (0x00000000005ffab0) 1 0x0000000140b88afa in mk10 (+0xb88af9) (0x00000000005ffca0) 2 0x0000000140b7f800 in mk10 (+0xb7f7ff) (0x00000000005ffca0) 3 0x0000000140392d56 in mk10 (+0x392d55) (0x00000000005ffca0) 4 0x00000001422b45be in mk10 (+0x22b45bd) (0x00000000005ffca0) 5 0x00007fa7d1a3b8f3 _initterm+0x169(start=0x142337708, end=0x1423471b8) [/home/focht/projects/wine/wine.repo/src/dlls/msvcr110/../msvcrt/data.c:604] in msvcr110 (0x00000000005ffca0) 6 0x0000000141f233e9 in mk10 (+0x1f233e8) (0x00000000005ffd20) 7 0x000000007b8c609c call_process_entry+0x1c(peb=0x7fffff7ef000, entry=0x141f2331c) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:1073] in kernel32 (0x00000000005ffd20) ... Modules: Module Address Debug info Name (128 modules) PE 600000- 67e000 Deferred fmod_event64 PE 680000- 7ed000 Deferred fmodex64 PE 7f0000- 83d000 Deferred steam_api64 ELF 7a800000- 7ac51000 Deferred opengl32<elf> -PE 7a8a0000- 7ac51000 \ opengl32 ELF 7b800000- 7bcdb000 Dwarf kernel32<elf> -PE 7b860000- 7bcdb000 \ kernel32 ELF 7be00000- 7c103000 Dwarf <wine-loader> PE 140000000- 143769000 Export mk10 PE 180000000- 18008d000 Deferred bink2w64 ELF 3691200000- 3691424000 Deferred libselinux.so.1 ... Threads: process tid prio (all id:s are in hex) ... 00000022 (D) C:\Program Files (x86)\Mortal Kombat X\Binaries\Retail\MK10.exe 00000023 0 <== --- snip ---
Disassembly of call site:
--- snip --- 0000000140B88AF0 | 48 83 EC 28 | sub rsp,28
; 142336308: KERNEL32.dll.GetLargePageMinimum
0000000140B88AF4 | FF 15 0E D8 7A 01 | call qword ptr ds:[142336308] 0000000140B88AFA | 4C 8B C0 | mov r8,rax 0000000140B88AFD | 48 89 05 64 CB 4C 02 | mov qword ptr ds:[143055668],rax 0000000140B88B04 | 48 85 C0 | test rax,rax 0000000140B88B07 | 0F 84 88 00 00 00 | je 140B88B95
; 143055660: ullTotalPhys from KERNEL32.dll.GlobalMemoryStatusEx
0000000140B88B0D | 48 8B 0D 4C CB 4C 02 | mov rcx,qword ptr ds:[143055660] 0000000140B88B14 | 48 B8 00 00 00 80 03 00 .| mov rax,380000000 0000000140B88B1E | 48 81 E1 00 00 F0 FF | and rcx,FFFFFFFFFFF00000 0000000140B88B25 | 48 3B C8 | cmp rcx,rax 0000000140B88B28 | 72 6B | jb 140B88B95 0000000140B88B2A | 4A 8D 0C 85 00 00 00 00 | lea rcx,qword ptr ds:[r8*4] 0000000140B88B32 | 48 B8 15 AE 47 E1 7A 14 .| mov rax,47AE147AE147AE15 0000000140B88B3C | C7 05 4A 22 29 02 02 00 .| mov dword ptr ds:[142E1AD90],2 0000000140B88B46 | 48 89 0D 93 22 29 02 | mov qword ptr ds:[142E1ADE0],rcx 0000000140B88B4D | 49 8B C8 | mov rcx,r8 0000000140B88B50 | 4C 89 05 71 22 29 02 | mov qword ptr ds:[142E1ADC8],r8 0000000140B88B57 | C6 05 73 C7 4C 02 01 | mov byte ptr ds:[1430552D1],1 0000000140B88B5E | 48 6B C9 19 | imul rcx,rcx,19 0000000140B88B62 | 48 F7 E1 | mul rcx 0000000140B88B65 | 48 2B CA | sub rcx,rdx 0000000140B88B68 | 48 D1 E9 | shr rcx,1 0000000140B88B6B | 48 03 CA | add rcx,rdx 0000000140B88B6E | 48 C1 E9 06 | shr rcx,6 0000000140B88B72 | 48 89 0D 57 22 29 02 | mov qword ptr ds:[142E1ADD0],rcx 0000000140B88B79 | 49 81 F8 00 00 40 00 | cmp r8,400000 0000000140B88B80 | 76 13 | jbe 140B88B95
; 1424CB350: "Please increase NRSMEMORY_LARGE_PAGE_SIZE to be larger than: %d"
0000000140B88B82 | 48 8D 0D C7 27 94 01 | lea rcx,qword ptr ds:[1424CB350] 0000000140B88B89 | 49 8B D0 | mov rdx,r8 0000000140B88B8C | 48 83 C4 28 | add rsp,28 0000000140B88B90 | E9 3B 28 8B 00 | jmp 14143B3D0 0000000140B88B95 | 48 83 C4 28 | add rsp,28 0000000140B88B99 | C3 | ret --- snip ---
$ wine --version wine-1.7.46-193-g8b566b1
Regards