Wine 失败,如何查找原因

想 wine 安装 NumentAgentWin.exe 这是华为的一个企业内部上网认证软件,安装不了的话,在单位就没办法上网。

系统是 12.3,一开始用源里面默认的 wine 1.5 版本,安装失败,就装了个 wine 1.7.5 但是还是安装失败,报错如下,如何根据这个错查找缺少 dll

nhandled exception: page fault on read access to 0x00000020 in 32-bit code (0x7e570e23).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7e570e23 ESP:010fe2d0 EBP:010fe318 EFLAGS:00210202(  R- --  I   - - - )
 EAX:00000000 EBX:7e5cf000 ECX:010fe2d0 EDX:010fe340
 ESI:7e5d4600 EDI:00000018
Stack dump:
0x010fe2d0:  7e5d4600 00000000 00000000 00000000
0x010fe2e0:  00000000 00000000 4d430003 4d430003
0x010fe2f0:  00000000 00000000 00000000 00000000
0x010fe300:  00000000 4d430001 010fe330 7eb37000
0x010fe310:  010fe420 010fe618 010fe518 7eb1813a
0x010fe320:  010fe420 010fe618 7eae9c35 7eb1813a
000c: sel=0067 base=00000000 limit=00000000 16-bit r-x
Backtrace:
=>0 0x7e570e23 NDRCContextBinding+0x43() in rpcrt4 (0x010fe318)
  1 0x7eb1813a svcctl_CloseServiceHandle+0xc9() in advapi32 (0x010fe518)
  2 0x7eb1211f CloseServiceHandle+0x6e() in advapi32 (0x010fe610)
  3 0x1000244b in system (+0x244a) (0x010fe628)
  4 0x10001671 in system (+0x1670) (0x010fe658)
  5 0x004022b4 in numenagentwin (+0x22b3) (0x010fe828)
  6 0x004013b5 in numenagentwin (+0x13b4) (0x010fe9f8)
  7 0x004013b5 in numenagentwin (+0x13b4) (0x010fea28)
  8 0x7bc83d4d call_thread_func+0x7c() in ntdll (0x010feaf8)
  9 0x7bc80d6e RtlRaiseException+0x21() in ntdll (0x010feb18)
  10 0x7bc89b19 in ntdll (+0x79b18) (0x010ff368)
  11 0xf7506e52 start_thread+0xe1() in libpthread.so.0 (0x010ff468)
  12 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  13 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  14 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  15 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  16 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  17 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  18 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  19 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  20 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  21 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  22 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  23 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  24 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  25 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  26 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  27 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  28 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  29 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  30 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  31 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  32 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  33 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  34 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  35 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  36 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  37 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  38 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  39 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  40 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  41 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  42 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  43 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  44 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  45 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  46 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  47 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  48 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  49 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  50 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  51 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  52 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  53 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  54 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  55 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  56 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  57 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  58 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  59 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  60 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  61 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  62 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  63 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  64 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  65 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  66 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  67 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  68 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  69 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  70 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  71 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  72 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  73 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  74 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  75 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  76 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  77 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  78 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  79 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  80 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  81 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  82 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  83 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  84 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  85 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  86 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  87 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  88 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  89 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  90 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  91 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  92 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  93 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  94 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  95 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  96 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  97 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  98 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  99 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  100 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  101 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  102 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  103 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  104 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  105 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  106 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  107 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  108 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  109 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  110 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  111 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  112 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  113 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  114 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  115 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  116 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  117 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  118 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  119 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  120 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  121 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  122 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  123 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  124 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  125 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  126 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  127 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  128 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  129 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  130 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  131 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  132 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  133 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  134 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  135 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  136 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  137 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  138 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  139 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  140 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  141 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  142 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  143 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  144 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  145 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  146 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  147 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  148 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  149 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  150 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  151 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  152 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  153 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  154 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  155 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  156 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  157 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  158 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  159 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  160 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  161 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  162 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  163 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  164 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  165 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  166 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  167 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  168 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  169 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  170 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  171 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  172 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  173 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  174 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  175 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  176 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  177 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  178 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  179 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  180 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  181 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  182 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  183 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  184 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  185 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  186 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  187 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  188 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  189 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  190 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  191 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  192 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  193 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  194 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  195 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  196 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  197 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  198 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  199 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
  200 0xf743ebfe __clone+0x5d() in libc.so.6 (0x00000000)
0x7e570e23 NDRCContextBinding+0x43 in rpcrt4: cmpl	$0x4352444e,0x8(%edi)
Modules:
Module	Address			Debug info	Name (78 modules)
PE	  370000-  388000	Deferred        desdll
PE	  400000-  4ce000	Export          numenagentwin
PE	10000000-10006000	Export          system
ELF	7ac00000-7ac61000	Deferred        riched20<elf>
  -PE	7ac10000-7ac61000	               riched20
ELF	7b800000-7ba5c000	Deferred        kernel32<elf>
  -PE	7b810000-7ba5c000	               kernel32
ELF	7bc00000-7bce4000	Dwarf           ntdll<elf>
  -PE	7bc10000-7bce4000	               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7cc58000-7cc66000	Deferred        libnss_files.so.2
ELF	7cc66000-7cc72000	Deferred        libnss_nis.so.2
ELF	7cc72000-7cc8b000	Deferred        libnsl.so.1
ELF	7cc8b000-7ccab000	Deferred        libselinux.so.1
ELF	7ccab000-7ccc3000	Deferred        libresolv.so.2
ELF	7ccc3000-7ccce000	Deferred        libkrb5support.so.0
ELF	7ccce000-7ccd3000	Deferred        libcom_err.so.2
ELF	7ccd3000-7ccfd000	Deferred        libk5crypto.so.3
ELF	7ccfd000-7cdce000	Deferred        libkrb5.so.3
ELF	7cdce000-7cf84000	Deferred        libcrypto.so.1.0.0
ELF	7cf84000-7cfe7000	Deferred        libssl.so.1.0.0
ELF	7cfe7000-7d024000	Deferred        libgssapi_krb5.so.2
ELF	7d024000-7d079000	Deferred        libcups.so.2
ELF	7d2a7000-7d3df000	Deferred        oleaut32<elf>
  -PE	7d2c0000-7d3df000	               oleaut32
ELF	7d3f3000-7d436000	Deferred        usp10<elf>
  -PE	7d400000-7d436000	               usp10
ELF	7d438000-7d441000	Deferred        libnss_compat.so.2
ELF	7d441000-7d446000	Deferred        libkeyutils.so.1
ELF	7d446000-7d46c000	Deferred        imm32<elf>
  -PE	7d450000-7d46c000	               imm32
ELF	7de73000-7deaa000	Deferred        uxtheme<elf>
  -PE	7de80000-7deaa000	               uxtheme
ELF	7e001000-7e007000	Deferred        libxfixes.so.3
ELF	7e007000-7e012000	Deferred        libxcursor.so.1
ELF	7e012000-7e035000	Deferred        libxcb.so.1
ELF	7e035000-7e16f000	Deferred        libx11.so.6
ELF	7e170000-7e180000	Deferred        libxi.so.6
ELF	7e180000-7e18b000	Deferred        libxrandr.so.2
ELF	7e18b000-7e21e000	Deferred        winex11<elf>
  -PE	7e1a0000-7e21e000	               winex11
ELF	7e263000-7e267000	Deferred        libxcomposite.so.1
ELF	7e267000-7e272000	Deferred        libxrender.so.1
ELF	7e272000-7e278000	Deferred        libxxf86vm.so.1
ELF	7e278000-7e27c000	Deferred        libxinerama.so.1
ELF	7e3de000-7e407000	Deferred        libexpat.so.1
ELF	7e407000-7e441000	Deferred        libfontconfig.so.1
ELF	7e441000-7e458000	Deferred        libz.so.1
ELF	7e458000-7e4e3000	Deferred        libfreetype.so.6
ELF	7e4e3000-7e50b000	Deferred        libtinfo.so.5
ELF	7e50b000-7e533000	Deferred        libncurses.so.5
ELF	7e533000-7e546000	Deferred        libxext.so.6
ELF	7e54f000-7e5d5000	Dwarf           rpcrt4<elf>
  -PE	7e560000-7e5d5000	               rpcrt4
ELF	7e5d5000-7e716000	Deferred        ole32<elf>
  -PE	7e5f0000-7e716000	               ole32
ELF	7e716000-7e81d000	Deferred        comctl32<elf>
  -PE	7e720000-7e81d000	               comctl32
ELF	7e81d000-7e898000	Deferred        shlwapi<elf>
  -PE	7e830000-7e898000	               shlwapi
ELF	7e898000-7eacd000	Deferred        shell32<elf>
  -PE	7e8b0000-7eacd000	               shell32
ELF	7eacd000-7eb3d000	Dwarf           advapi32<elf>
  -PE	7eae0000-7eb3d000	               advapi32
ELF	7eb3d000-7ec5c000	Deferred        gdi32<elf>
  -PE	7eb50000-7ec5c000	               gdi32
ELF	7ec5c000-7edb8000	Deferred        user32<elf>
  -PE	7ec70000-7edb8000	               user32
ELF	7efa1000-7efe4000	Deferred        libm.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  -PE	7eff0000-7f000000	               version
ELF	f7340000-f7344000	Deferred        libxau.so.6
ELF	f7346000-f734b000	Deferred        libdl.so.2
ELF	f734b000-f7500000	Dwarf           libc.so.6
ELF	f7500000-f751b000	Dwarf           libpthread.so.0
ELF	f7537000-f76ec000	Dwarf           libwine.so.1
ELF	f76ed000-f7710000	Deferred        ld-linux.so.2
ELF	f7710000-f7711000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:homevincent 下载 NumenAgentWin.exe
	00000027    0 <==
	00000009    0
0000000e services.exe
	0000002b    0
	0000002a    0
	00000029    0
	00000028    0
	0000001f    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000017    0
	00000013    0
0000001d plugplay.exe
	00000022    0
	00000021    0
	0000001e    0
00000025 explorer.exe
	00000026    0
System information:
    Wine build: wine-1.7.5
    Platform: i386 (WOW64)
    Host system: Linux
    Host version: 3.7.10-1.16-desktop

修改了一下格式,代码太长请用 code 块括起来。

另外你这输出即使 wine 作者自己来了也看不出什么。因为它是对出错内存地址的 dump 不是给人类看的。wine 调试要用: winehq.org/docs/winedev-guide/wine-debugger

来自 Galaxy Note 2 上的 Tapatalk 4

楼主想 wine 的这种软件如果只用 WinPcap 就有可能 wine 成功,如果在 Windows 系统创建虚拟网卡那基本不可能成功,因为 wine 是在用户态非 root 运行的。

这个软件应该不是虚拟网卡,用 windebug 了一下,看的不是很懂,好像缺少几个 dll, 但是在 q4wine 里面的 winetricks 里面又找不到这几个 dll

用 Dependency Walker 看下到底需要什麼 dll?

dependencywalker.com

WINEDEBUG=+relay,-debug wine NumenAgenWin.exe
wine debug 了一下,出现下面的问题

000f:Call PE DLL (proc=0x7fd8e44ab9a0,module=0x7fd8e44a0000 L"userenv.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7fd8e44ab9a0,module=0x7fd8e44a0000 L"userenv.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7fd8e499f0f0,module=0x7fd8e4950000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7fd8e499f0f0,module=0x7fd8e4950000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7fd8e4711a60,module=0x7fd8e46c0000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7fd8e4711a60,module=0x7fd8e46c0000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7b89cd20,module=0x7b820000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7b89cd20,module=0x7b820000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7fd8e55913b0,module=0x7fd8e5500000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7fd8e55913b0,module=0x7fd8e5500000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1) retval=1

在 wine 的 systeam32 文件夹里面找了,userenv.dll,rpcrt4.dll,advapi32.dll,KERNEL32.dll,ntdll.dll 这几个 dll 都是存在的,不应该是缺少的错误,麻烦大家指点一下

很好。。。

是这样的,wine 的 system32 文件夹里的 dll 和 windows 下面原生的 dll 是不一样的(它其实是对 Linux 下某些东西的一个 wrapper),你以为名字一样就一定能有 Windows 下同名 dll 的功能就天真了。。。所以你应该从一台与你 winecfg 中配置的型号相同的 windows 去复制这些 dll 过来(比如 winecfg 配置的是 XP 你就要找 XP 的 dll),把 wine 原来的重命名为 dll.bak,然后粘贴,之后在 winecfg 选择 override 这几个 dll 为「原生」。

试试。

首先不太理解主文件下面的drive_c 跟.wine/drive_c有什么区别,一直以为.wine那个是配置的,那drive_c 做什么用的。
首先override的是drive_c下面的dll,按照你的方式把xp里面的userenv.dll,rpcrt4.dll,advapi32.dll,KERNEL32.dll,ntdll.dll 复制到wine的systeam32,老的已备份bak了,同时在winecfg里面设置这几个dll为原生优于内建,报如下的错

000f:Call PE DLL (proc=0x7fd8b1c399a0,module=0x7fd8b1c30000 L"userenv.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7fd8b1c399a0,module=0x7fd8b1c30000 L"userenv.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7fd8b212d0f0,module=0x7fd8b20d0000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7fd8b212d0f0,module=0x7fd8b20d0000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7fd8b1e9fa60,module=0x7fd8b1e50000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7fd8b1e9fa60,module=0x7fd8b1e50000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7b89cd20,module=0x7b820000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7b89cd20,module=0x7b820000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7fd8b2d1f3b0,module=0x7fd8b2c90000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7fd8b2d1f3b0,module=0x7fd8b2c90000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1) retval=1

这个报错跟没改dll之前的区别就是module=0x7fd8b1c30000 这个内存地址变了。

然后是修改.wine/drive_c里面的system32的dll,在winecfg里面设置原生优先内置,报如下错,发现修改这个文件下面的dll后,每次winecfg都挂了。

trace:relay:load_list L"RelayExclude" = L"ntdll.RtlEnterCriticalSection;ntdll.RtlLeaveCriticalSection;kernel32.48;kernel32.49;kernel32.94;kernel32.95;kernel32.96;kernel32.97;kernel32.98;kernel32.TlsGetValue;kernel32.TlsSetValue;kernel32.FlsGetValue;kernel32.FlsSetValue;kernel32.SetLastError"
trace:relay:load_list L"RelayFromExclude" = L"winex11.drv;winemac.drv;user32;gdi32;advapi32;kernel32"
0009:Call KERNEL32.__wine_kernel_init() ret=7bc5be43
trace:relay:load_list L"RelayExclude" = L"ntdll.RtlEnterCriticalSection;ntdll.RtlLeaveCriticalSection;kernel32.48;kernel32.49;kernel32.94;kernel32.95;kernel32.96;kernel32.97;kernel32.98;kernel32.TlsGetValue;kernel32.TlsSetValue;kernel32.FlsGetValue;kernel32.FlsSetValue;kernel32.SetLastError"
trace:relay:load_list L"RelayFromExclude" = L"winex11.drv;winemac.drv;user32;gdi32;advapi32;kernel32"
000b:Call KERNEL32.__wine_kernel_init() ret=7fb306510b64
err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\system32\\wineboot.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\wineboot.exe" failed, status c0000135
wine: cannot find L"C:\\windows\\system32\\NumenAgenWin.exe"

缺少advapi32.dll ,好的,重新配置.wine了,不改advapi32.dll,改剩下四个dll,报缺少KERNEL32.dll,每个都是试了一遍,发现修改这个文件下面的dll后,每次winecfg都挂了。
另外在查询winhq里面发现 Native versions of these DLLs do not work: kernel32.dll, gdi32.dll, user32.dll, and ntdll.dll. These libraries require low-level Windows kernel access that simply doesn’t exist within Wine. 原生态的这几个dll现在不能正常工作,而我一开始报错的就是userenv.dll,rpcrt4.dll,advapi32.dll,KERNEL32.dll,ntdll.dll ,难道这个程序就是wine不成功的?
麻烦女王为我这新手多加指点下。主文件下面的drive_c 跟.wine/drive_c有什么区别?是不是我这个程序不能wine,新人问的问题有点多,这个程序是企业内部网络认证的,搞不定,内外网上不了,想上网只能wlan了,关键不能上内网无法干活。

  1. winehq 说那四个换不了就是换不了。你可以给 wine 报个 bug 让上游 qian hong 他们看是不是 wine 的那几个 dll 的问题,如果不是那就证明你这程序要 Windows 内核才能用,Linux 上哪儿给你找微软内核,再说 wine 本身就是用户应用层的程序它好像连 Linux 内核都访问不了。跟 chromium 是一个类的,root 根本用不了。

  2. 我没太明白你说的“主文件下面的 drive_c”。我们用的都是 .wine 的那个。我觉得你可能指的是 /usr 下面的,那些很显然是初始化新的 .wine 环境时要复制过来的默认内置环境呗。

来自 Galaxy Note 2 上的 Tapatalk 4