Wine 不会启动任何应用程序返回错误 0009:err:module:__wine_process_init failed to load L"Z:\\path\to\executable",错误 c000012f

Gri*_*ics 8 wine 19.10

我试过清除,删除文件夹并重新安装。总是同样的错误。Ubuntu 19.10 AMD R7 360 Intel Core i7 Wine Staging 5.3

我没有对 wine 使用任何 sudo 命令。文件夹不会以任何方式被用户锁定。

uli*_*tko 2

该错误代码将在至少一种情况下返回:无效/损坏的可执行文件

\n\n

这里,我用EICAR \xe2\x80\x94重现它,这是无效的Win32 PE;相反,它是一个 DOS COM 文件:

\n\n
$ echo \'X5O!P%@AP[4\\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*\' > eicar-standard-antivirus-test-file\n$\n$ file eicar-standard-antivirus-test-file\neicar-standard-antivirus-test-file: EICAR virus test files\n$ \n$ wine ./eicar-standard-antivirus-test-file\n0034:err:module:__wine_process_init L"C:\\\\windows\\\\system32\\\\winemenubuilder.exe" not found\n002c:err:wineboot:process_run_key Error running cmd L"C:\\\\windows\\\\system32\\\\winemenubuilder.exe -a -r" (126).\n00a4:fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)\n00ac:fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)\n00ac:fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)\n00ac:fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)\n0024:err:module:__wine_process_init failed to load L"Z:\\\\home\\\\ulidtko\\\\eicar-standard-antivirus-test-file", error c000012f\n
Run Code Online (Sandbox Code Playgroud)\n\n

您可以告诉 Wine 更详细地记录 \xe2\x80\x94 read man 1 wine

\n\n

以 EICAR 为例,env WINEDEBUG=warn+all wine ./eicar-standard-antivirus-test-file会输出大量关于头字节不匹配和无效大小的抱怨,以invalid ELF header(我猜是想说的invalid PE header)结尾。

\n\n

当然可能(并且可能是)其他情况会发出错误 c000012f...但这绝对是其中之一。希望能帮助到你。

\n