https://bugs.winehq.org/show_bug.cgi?id=49181
Bug ID: 49181 Summary: msvcrt_test.exe: missing entry point _point_get_sbh_threshold Product: Wine Version: 5.8 Hardware: arm OS: Windows Status: NEW Keywords: download, testcase Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Depends on: 49179
Similar to 49180, when running winetest.exe on armv7/surface rt, msvcrt_test.exe throws an error dialog: The procedure entry point _get_sbh_threshold could not be located in the dynamic link library C:\Users\User\AppData\Local\Temp\wct\msvcrt_test.exe
https://bugs.winehq.org/show_bug.cgi?id=49181
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|msvcrt_test.exe: missing |msvcrt_test.exe: missing |entry point |entry point |_point_get_sbh_threshold |_point_get_sbh_threshold on | |Windows RT 8.x devices CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello Austin,
_set_sbh_threshold() is not exported from 'msvcrt.dll' that is shipped with Windows RT 8.x devices as part of OS. Starting from MS Visual C++ 2010 it was removed from VC++ runtime as well.
From WinRT 8.1 'c:\windows\system32':
--- snip --- $ winedump msvcrt.dll
Contents of msvcrt.dll: 486000 bytes
File Header Machine: 01C4 (ARMNT) Number of Sections: 6 TimeDateStamp: 52158212 (Thu Aug 22 05:14:26 2013) offset 240 PointerToSymbolTable: 00000000 NumberOfSymbols: 00000000 SizeOfOptionalHeader: 00E0 Characteristics: 2122 EXECUTABLE_IMAGE LARGE_ADDRESS_AWARE 32BIT_MACHINE DLL
Optional Header (32bit) Magic 0x10B 267 linker version 11.00 size of code 0x67e00 425472 size of initialized data 0xd600 54784 size of uninitialized data 0x0 0 entrypoint RVA 0x10a39 68153 base of code 0x1000 4096 base of data 0x69000 430080 image base 0x10100000 269484032 section align 0x1000 4096 file align 0x200 512 required OS version 6.03 image version 6.03 subsystem version 6.03 Win32 Version 0x0 0 size of image 0x78000 491520 size of headers 0x400 1024 checksum 0x812a6 529062 Subsystem 0x2 (Windows GUI) DLL characteristics: 0x140 DYNAMIC_BASE NX_COMPAT stack reserve size 0x40000 262144 stack commit size 0x1000 4096 heap reserve size 0x100000 1048576 heap commit size 0x1000 4096 loader flags 0x0 0 RVAs & sizes 0x10 16
Data Directory EXPORT rva: 0x624c0 size: 0x68a7 IMPORT rva: 0x73298 size: 0x1a4 RESOURCE rva: 0x75000 size: 0x3f8 EXCEPTION rva: 0x6f000 size: 0x3f88 SECURITY rva: 0x73800 size: 0x3270 BASERELOC rva: 0x76000 size: 0x1784 DEBUG rva: 0x1040 size: 0x1c ARCHITECTURE rva: 0x0 size: 0x0 GLOBALPTR rva: 0x0 size: 0x0 TLS rva: 0x0 size: 0x0 LOAD_CONFIG rva: 0x9e98 size: 0x5c Bound IAT rva: 0x0 size: 0x0 IAT rva: 0x73000 size: 0x298 Delay IAT rva: 0x0 size: 0x0 CLR Header rva: 0x0 size: 0x0 rva: 0x0 size: 0x0
Done dumping msvcrt.dll --- snip ---
--- snip --- $ winedump -j export msvcrt.dll
Contents of msvcrt.dll: 486000 bytes
Exports table:
Name: msvcrt.dll Characteristics: 00000000 TimeDateStamp: 52155242 Thu Aug 22 01:50:26 2013 Version: 0.00 Ordinal base: 1 # of functions: 1273 # of Names: 1273 Addresses of functions: 000624E8 Addresses of name ordinals: 00064CB0 Addresses of names: 000638CC
Entry Pt Ordn Name 00012F99 1 ??0__non_rtti_object@@QAA@ABV0@@Z 00012F79 2 ??0__non_rtti_object@@QAA@PBD@Z 00012E29 3 ??0bad_cast@@AAA@PBQBD@Z 00012DF5 4 ??0bad_cast@@QAA@ABV0@@Z 00012DD1 5 ??0bad_cast@@QAA@PBD@Z 00012E69 6 ??0bad_typeid@@QAA@ABV0@@Z 00012E45 7 ??0bad_typeid@@QAA@PBD@Z ... 0001C261 50 ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z 0001C2D9 51 ?_set_new_mode@@YAHH@Z 00014355 52 ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z 0002A595 137 __set_app_type 00055C25 138 __setusermatherr 00055ED5 665 _set_controlfp 00010AC1 666 _set_doserrno 00010AA5 667 _set_errno 0002A54D 668 _set_error_mode 0001A199 669 _set_fileinfo 000208D1 670 _set_fmode 0003F70D 671 _set_output_format 0000A735 672 _setjmp 0000A735 673 _setjmpex 000242A1 674 _setmbcp 00020959 675 _setmode ... 0000F065 1269 wctomb_s 000420D9 1270 wprintf 0004218D 1271 wprintf_s 0004223D 1272 wscanf 000333FD 1273 wscanf_s
Done dumping msvcrt.dll --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=49181 Bug 49181 depends on bug 49179, which changed state.
Bug 49179 Summary: winetest.exe fails to run on windows arm (surface rt / armv7): procedure entry point NtCurrentTeb could not be located in the dynamic link library C:\Users\User\Desktop\winetest.exe https://bugs.winehq.org/show_bug.cgi?id=49179
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=49181
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |acc7907dc973ce0e2fe615a0726 | |bafdd13eb4754 Status|NEW |RESOLVED CC| |piotr.caban@gmail.com Resolution|--- |FIXED
--- Comment #2 from Piotr Caban piotr.caban@gmail.com --- We're no longer depending on _get_sbh_threshold. Marking as fixed.
https://bugs.winehq.org/show_bug.cgi?id=49181
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.23.