[Bug 47309] New: WinML tool 'mlgen.exe' from Windows 10 SDK ( 10.0.17763.x ) crashes on startup, requires several api-ms-win-crt-private-l1-1-0.dll._o__* API functions

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 1 05:40:19 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47309

            Bug ID: 47309
           Summary: WinML tool 'mlgen.exe' from Windows 10 SDK (
                    10.0.17763.x) crashes on startup, requires several
                    api-ms-win-crt-private-l1-1-0.dll._o__* API functions
           Product: Wine
           Version: 4.9
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: api-ms-win-*
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

as it says.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Windows
Kits/10/bin/10.0.17763.0/x64

$ wine ./mlgen.exe 
...
wine: Call from 0x7b45330c to unimplemented function
api-ms-win-crt-private-l1-1-0.dll._o__get_stream_buffer_pointers, aborting
0035:err:module:LdrInitializeThunk "mlgenlib.dll" failed to initialize,
aborting
0035:err:module:LdrInitializeThunk Initializing dlls for L"C:\\Program Files
(x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\mlgen.exe" failed, status
80000100
--- snip ---

--- snip ---
$ winedump -j import ./mlgen.exe | sed -n '/api-ms-win-crt-private/,/^$/p'
  offset 00032db0 api-ms-win-crt-private-l1-1-0.dll
  Hint/Name Table: 00034798
  TimeDateStamp:   00000000 (Thu Jan  1 01:00:00 1970)
  ForwarderChain:  00000000
  First thunk RVA: 000298D0
   Thunk    Ordn  Name
  000298d0   101  _o___stdio_common_vfwprintf
  000298d8   109  _o___stdio_common_vsprintf_s
  000298e0   144  _o__callnewh
  000298e8   145  _o__calloc_base
  000298f0   146  _o__cexit
  000298f8   158  _o__configthreadlocale
  00029900   160  _o__configure_wide_argv
  00029908   166  _o__crt_atexit
  00029910   191  _o__errno
  00029918   198  _o__exit
  00029920   240  _o__free_base
  00029928   243  _o__fseeki64
  00029930   245  _o__fsopen
  00029938   270  _o__get_initial_wide_environment
  00029940    54  _o__Getdays
  00029948    55  _o__Getmonths
  00029950    56  _o__Gettnames
  00029958   316  _o__initialize_onexit_table
  00029960   317  _o__initialize_wide_environment
  00029968   318  _o__invalid_parameter_noinfo
  00029970   319  _o__invalid_parameter_noinfo_noreturn
  00029978   340  _o__ismbblead
  00029980   413  _o__lock_file
  00029988   427  _o__malloc_base
  00029990   578  _o__purecall
  00029998   590  _o__realloc_base
  000299a0   592  _o__register_onexit_function
  000299a8   601  _o__seh_filter_exe
  000299b0   603  _o__set_app_type
  000299b8   606  _o__set_fmode
  000299c0   609  _o__set_new_mode
  000299c8    57  _o__Strftime
  000299d0   700  _o__unlock_file
  000299d8    58  _o__W_Getdays
  000299e0    59  _o__W_Getmonths
  000299e8    60  _o__W_Gettnames
  000299f0   712  _o__wcsdup
  000299f8    61  _o__Wcsftime
  00029a00   832  _o_abort
  00029a08   859  _o_calloc
  00029a10   876  _o_exit
  00029a18   883  _o_fclose
  00029a20   886  _o_fflush
  00029a28   887  _o_fgetc
  00029a30   888  _o_fgetpos
  00029a38   890  _o_fgetwc
  00029a40   903  _o_fputwc
  00029a48   907  _o_free
  00029a50   910  _o_frexp
  00029a58   912  _o_fsetpos
  00029a60   914  _o_fwrite
  00029a68   932  _o_islower
  00029a70   935  _o_isspace
  00029a78   936  _o_isupper
  00029a80   952  _o_ldexp
  00029a88   962  _o_localeconv
  00029a90   982  _o_malloc
  00029a98  1009  _o_pow
  00029aa0  1010  _o_powf
  00029aa8  1045  _o_setlocale
  00029ab0  1046  _o_setvbuf
  00029ab8  1062  _o_strtod
  00029ac0  1063  _o_strtof
  00029ac8  1076  _o_terminate
  00029ad0  1082  _o_tolower
  00029ad8  1086  _o_ungetc
  00029ae0  1087  _o_ungetwc
  00029ae8    48  __uncaught_exception
  00029af0  1119  memchr
  00029af8    12  __C_specific_handler
  00029b00     1  _CxxThrowException
  00029b08    97  _o___stdio_common_vfprintf
  00029b10    94  _o___std_exception_destroy
  00029b18    93  _o___std_exception_copy
  00029b20    91  _o___pctype_func
  00029b28    82  _o___p__commode
  00029b30    80  _o___p___wargv
  00029b38    78  _o___p___argc
  00029b40    66  _o___acrt_iob_func
  00029b48    65  _o____mb_cur_max_func
  00029b50    64  _o____lc_locale_name_func
  00029b58    63  _o____lc_collate_cp_func
  00029b60    62  _o____lc_codepage_func
  00029b68    18  __CxxFrameHandler3
  00029b70  1120  memcmp
  00029b78  1121  memcpy
  00029b80  1122  memmove
--- snip ---

Actually most of the imports are just auto-stubs hence I made the summary line
more wildcardish.

Wine source:

https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/api-ms-win-crt-private-l1-1-0/api-ms-win-crt-private-l1-1-0.spec

$ sha1sum 17763.1.180914-1434.rs5_release_WindowsSDK.iso 
e702b5e5f2597d01eaee1eb1be7a34b0da0b6211 
17763.1.180914-1434.rs5_release_WindowsSDK.iso

$ du -sh 17763.1.180914-1434.rs5_release_WindowsSDK.iso 
815M    17763.1.180914-1434.rs5_release_WindowsSDK.iso

$ wine --version
wine-4.9-216-g381c4e7b66

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.



More information about the wine-bugs mailing list