Open shenmo7192 opened 8 months ago
Ah, missing some prefix 65 opcode, ok, I'll add it.
Ah, missing some prefix 65 opcode, ok, I'll add it.
Thank you very much :heart_decoration: :
Tried to sponsor you but it's hard to pay via card in China lol. If you have an Alipay or WeChat Pay QR Code i'll very glad to sponsor you! You are so nice!!!
Ok, I have added this opcode (it's only on the interpreter for now, I'll add it in the dynarec later).
And don't worry about the sponsor. I don't have any account to Alipay or WeChat Pay for now, but that's ok.
Ok, I have added this opcode (it's only on the interpreter for now, I'll add it in the dynarec later).
And don't worry about the sponsor. I don't have any account to Alipay or WeChat Pay for now, but that's ok.
Now it can start CLI intersurface but cannot start winecfg
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Kunpeng-920 with 8 Cores
Params database has 25 entries
Box64 with Dynarec v0.2.7 23542bbf built on Dec 19 2023 06:45:50
BOX64: Wine64 detected, WINEPRELOADRESERVE=""
BOX64: Detected 48bits at least of address space
Counted 66 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/shenmo-ikun/.nvm/versions/node/v18.18.1/bin/:/home/shenmo-ikun/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/:/sbin/:/usr/sbin/
Looking for /opt/deepin-wine8-stable/bin/wine
argv[1]="winecfg"
Rename process to "wine"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /opt/deepin-wine8-stable/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libX11.so.6
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Kunpeng-920 with 8 Cores
Params database has 25 entries
Box64 with Dynarec v0.2.7 23542bbf built on Dec 19 2023 06:45:50
BOX64: Wine preloader detected, loading "/opt/deepin-wine8-stable/bin/wine" directly
BOX64: Wine64 detected, WINEPRELOADRESERVE=""
BOX64: Detected 48bits at least of address space
Counted 68 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/shenmo-ikun/.nvm/versions/node/v18.18.1/bin/:/home/shenmo-ikun/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/:/sbin/:/usr/sbin/
Looking for /opt/deepin-wine8-stable/bin/wine
argv[1]="winecfg"
Rename process to "wine"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /opt/deepin-wine8-stable/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libX11.so.6
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Kunpeng-920 with 8 Cores
Params database has 25 entries
Box64 with Dynarec v0.2.7 23542bbf built on Dec 19 2023 06:45:50
BOX64: Detected 48bits at least of address space
Counted 68 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/shenmo-ikun/.nvm/versions/node/v18.18.1/bin/:/home/shenmo-ikun/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/:/sbin/:/usr/sbin/
Looking for /opt/deepin-wine8-stable/bin/wineserver
Rename process to "wineserver"
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine version: 8.16
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Kunpeng-920 with 8 Cores
Params database has 25 entries
Box64 with Dynarec v0.2.7 23542bbf built on Dec 19 2023 06:45:50
BOX64: Wine preloader detected, loading "/opt/deepin-wine8-stable/bin/wine" directly
BOX64: Wine64 detected, WINEPRELOADRESERVE="000400000-0004a6000"
BOX64: Detected 48bits at least of address space
Counted 70 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/shenmo-ikun/.nvm/versions/node/v18.18.1/bin/:/home/shenmo-ikun/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/:/sbin/:/usr/sbin/
Looking for /opt/deepin-wine8-stable/bin/wine
argv[1]="C:\windows\system32\conhost.exe"
argv[2]="--unix"
argv[3]="--width"
argv[4]="111"
argv[5]="--height"
argv[6]="26"
argv[7]="--server"
argv[8]="0x10"
Rename process to "wine"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /opt/deepin-wine8-stable/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libX11.so.6
Using emulated /opt/deepin-wine8-stable/lib/wine/x86_64-unix/win32u.so
Using native(wrapped) libm.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using emulated /opt/deepin-wine8-stable/lib/wine/x86_64-unix/win32u.so
Using native(wrapped) libm.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Kunpeng-920 with 8 Cores
Params database has 25 entries
Box64 with Dynarec v0.2.7 23542bbf built on Dec 19 2023 06:45:50
BOX64: Wine preloader detected, loading "/opt/deepin-wine8-stable/bin/wine" directly
BOX64: Wine64 detected, WINEPRELOADRESERVE="000400000-000588000"
BOX64: Detected 48bits at least of address space
Counted 70 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/shenmo-ikun/.nvm/versions/node/v18.18.1/bin/:/home/shenmo-ikun/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/:/sbin/:/usr/sbin/
Looking for /opt/deepin-wine8-stable/bin/wine
argv[1]="C:\windows\system32\winecfg.exe"
Rename process to "wine"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /opt/deepin-wine8-stable/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libX11.so.6
Using emulated /opt/deepin-wine8-stable/lib/wine/x86_64-unix/win32u.so
Using native(wrapped) libm.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using emulated /opt/deepin-wine8-stable/lib/wine/x86_64-unix/winex11.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXcursor.so.1
Using emulated /opt/deepin-wine8-stable/lib/wine/x86_64-unix/sys_msvcrt.so
Using native(wrapped) libdbus-1.so.3
Error: Symbol dbus_message_iter_get_element_count not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff04007030 (0x2066) in /opt/deepin-wine8-stable/lib/wine/x86_64-unix/sys_msvcrt.so
Error: relocating Plt symbols in elf sys_msvcrt.so
Error initializing needed lib /opt/deepin-wine8-stable/lib/wine/x86_64-unix/sys_msvcrt.so
00d4:err:dbusdlg:DllMain Failed to init unix lib, err: c0000135
00d4:err:module:LdrInitializeThunk "sys_msvcrt.dll" failed to initialize, aborting
00d4:err:module:LdrInitializeThunk Initializing dlls for L"C:\\windows\\system32\\winecfg.exe" failed, status c0000142
Using native(wrapped) libdbus-1.so.3
Error: Symbol dbus_message_iter_get_element_count not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff04007030 (0x2066) in /opt/deepin-wine8-stable/lib/wine/x86_64-unix/sys_msvcrt.so
I tried to use BOX64_LD_PRELOAD to use x86 native libs of libdbus-1.so.3, libsystemd0 and liblz4.1 to avoid this problem, but failed.
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Kunpeng-920 with 8 Cores
Params database has 25 entries
Box64 with Dynarec v0.2.7 23542bbf built on Dec 19 2023 06:45:50
BOX64: Wine64 detected, WINEPRELOADRESERVE=""
BOX64: Detected 48bits at least of address space
Counted 66 Env var
BOX64 trying to Preload /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/liblz4.so.1 /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0 /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libdbus-1.so.3
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/shenmo-ikun/.nvm/versions/node/v18.18.1/bin/:/home/shenmo-ikun/.local/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/:/sbin/:/usr/sbin/
Looking for /opt/deepin-wine8-stable/bin/wine
argv[1]="winecfg"
Rename process to "wine"
Using emulated /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/liblz4.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Using native(wrapped) liblzma.so.5
Using native(wrapped) libgcrypt.so.20
Error: Symbol gcry_md_get_algo_dlen not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0109e438 (0x10176) in /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Error: Symbol gcry_md_close not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0109e4e0 (0x102c6) in /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Error: Symbol gcry_md_read not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0109e580 (0x10406) in /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Error: Symbol gcry_md_open not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0109e5e8 (0x104d6) in /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Error: Symbol gcry_md_write not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0109e628 (0x10556) in /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Error: Symbol gcry_md_setkey not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0109ea58 (0x10db6) in /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Error: Symbol gcry_md_reset not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0109eb70 (0x10fe6) in /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Error: Symbol gcry_md_ctl not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0109ed30 (0x11366) in /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Error: Symbol gcry_md_copy not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0109ed70 (0x113e6) in /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Error: Symbol gcry_control not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0109ee08 (0x11516) in /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Error: relocating Plt symbols in elf libsystemd.so.0
Error initializing needed lib /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Warning, cannot pre-load /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libsystemd.so.0
Using emulated /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libdbus-1.so.3
Error loading needed lib libsystemd.so.0
Error loading one of needed lib
Error initializing needed lib /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libdbus-1.so.3
Warning, cannot pre-load /home/shenmo-ikun/Downloads/libdbus-1-3/lib/x86_64-linux-gnu/libdbus-1.so.3
Using emulated /opt/deepin-wine8-stable/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libX11.so.6
@shenmo7192 src/wrapped/wrappeddbus_private.h GO(dbus_message_iter_get_element_count, iFp)
Looks good @liuli0217 , why not make a PR for it?
Looks good @liuli0217 , why not make a PR for it?
I applied the code by @liuli0217 . Now winecfg is OK. While trying to start WeChat.exe, it complaint about
0418:fixme:wlanapi:WlanEnumInterfaces (0000000000000001, 0000000000000000, 000000000B5FFC60) semi-stub
0418:fixme:wlanapi:WlanGetAvailableNetworkList (0000000000000001, {00000000-0000-0000-0000-000000000000}, 0x1, 0000000000000000, 000000000B5FFC70) stub
0414:err:dbghelp:SymCleanup this process has not had SymInitialize() called for it!
0414:err:dbghelp:SymCleanup this process has not had SymInitialize() called for it!
0414:err:dbghelp:SymCleanup this process has not had SymInitialize() called for it!
0324:fixme:thread:NtSetInformationThread ThreadPowerThrottling stub!
0324:fixme:file:ReplaceFileW Ignoring flags 2
0324:fixme:thread:NtSetInformationThread ThreadPowerThrottling stub!
0324:fixme:thread:NtSetInformationThread ThreadPowerThrottling stub!
0324:fixme:file:ReplaceFileW Ignoring flags 2
0324:fixme:thread:NtSetInformationThread ThreadPowerThrottling stub!
0374:fixme:thread:NtSetInformationThread ThreadPowerThrottling stub!
0424:fixme:thread:NtSetInformationThread ThreadPowerThrottling stub!
shenmo-ikun@shenmo-ikun-PC:~/Desktop$ 0324:fixme:thread:NtSetInformationThread ThreadPowerThrottling stub!
0324:fixme:file:ReplaceFileW Ignoring flags 2
0324:fixme:thread:NtSetInformationThread ThreadPowerThrottling stub!
01d0:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 00000000001EFD70
043c:fixme:thread:NtSetInformationThread ThreadPowerThrottling stub!
043c:fixme:file:ReplaceFileW Ignoring flags 2
043c:fixme:thread:NtSetInformationThread ThreadPowerThrottling stub!
02d0:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00000000000100C0
02d0:fixme:mmdevapi:AEV_UnregisterControlChangeNotify stub
02d0:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 00000000008EFD40
02e4:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 00000000008EFD40
Then the app froze and crashed.
Don't know if this is a box64 issue.... Or just i'm lack of some libs?
After comparing about the output(which is sooooooooo long) on x86 device, i noticed that most fixme: complains are the same so i think they are harmless. The
0414:err:dbghelp:SymCleanup this process has not had SymInitialize() called for it!
0414:err:dbghelp:SymCleanup this process has not had SymInitialize() called for it!
0414:err:dbghelp:SymCleanup this process has not had SymInitialize() called for it!
only show on box64
Can you update box64 and try again? Is it still failling?
Can you update box64 and try again? Is it still failling?
I'm sorry that my winter vocation begun, i went home without my kunpeng pc
I will tell my pal to track this, he is trying to adapt this app to arm pc now
@Mejituu
OK, I'll try the latest box64 tomorrow. My software was tested some time ago and encountered a stuck login, but it did need to call explorer.exe. I saw a recent commit that aligned the stack, maybe it would help with this software.
Yes, this helped some wine process on my side, so its worth a shot.
wine.log I found that part of it was indeed repaired, but the program I adapted is still stuck, and I haven't seen any box64 errors yet. However, wine has some errors:
0124:err:sync:RtlpWaitForCriticalSection section 000000017006E780 "../../dlls/ntdll/loader.c: loader_section" wait timed out in thread 0124, blocked by 00dc, retrying (60 sec)
00dc:err:virtual:map_fixed_area out of memory for 0x185c00000000-0x186000000000
00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x185c00000000 size 400000000
00dc:err:virtual:map_fixed_area out of memory for 0x83400000000-0x83800000000
00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x83400000000 size 400000000
00dc:err:virtual:map_fixed_area out of memory for 0x75b400000000-0x75b800000000
00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x75b400000000 size 400000000
00dc:err:virtual:map_fixed_area out of memory for 0x18bbffff0000-0x18c000000000
00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x18bbffff0000 size 400010000
00dc:err:virtual:map_fixed_area out of memory for 0x2793ffff0000-0x279800000000
00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x2793ffff0000 size 400010000
00dc:err:virtual:map_fixed_area out of memory for 0x363ffff0000-0x36800000000
00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x363ffff0000 size 400010000
wine.log 发现确实修复了一部分,但是我适配的程序还是卡住了,还没看到box64的错误。然而,wine 有一些错误:
0124:err:sync:RtlpWaitForCriticalSection section 000000017006E780 "../../dlls/ntdll/loader.c: loader_section" wait timed out in thread 0124, blocked by 00dc, retrying (60 sec) 00dc:err:virtual:map_fixed_area out of memory for 0x185c00000000-0x186000000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x185c00000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x83400000000-0x83800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x83400000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x75b400000000-0x75b800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x75b400000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x18bbffff0000-0x18c000000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x18bbffff0000 size 400010000 00dc:err:virtual:map_fixed_area out of memory for 0x2793ffff0000-0x279800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x2793ffff0000 size 400010000 00dc:err:virtual:map_fixed_area out of memory for 0x363ffff0000-0x36800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x363ffff0000 size 400010000
Maybe my cross-architecture virtual machine is too stuck? I allocated 16 A76 arm64 vcpu and 16GB memory. But I've never encountered this kind of situation before.
@Mejituu that looks to me like trying to allocate some memory in a 48bits address space on a system that only handle 39bits of address space. At init, box64 should print a message if it detect a 39bits or 48bits address space.
wine.log 发现确实修复了一部分,但是我适配的程序还是卡住了,还没看到box64的错误。然而,wine 有一些错误:
0124:err:sync:RtlpWaitForCriticalSection section 000000017006E780 "../../dlls/ntdll/loader.c: loader_section" wait timed out in thread 0124, blocked by 00dc, retrying (60 sec) 00dc:err:virtual:map_fixed_area out of memory for 0x185c00000000-0x186000000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x185c00000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x83400000000-0x83800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x83400000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x75b400000000-0x75b800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x75b400000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x18bbffff0000-0x18c000000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x18bbffff0000 size 400010000 00dc:err:virtual:map_fixed_area out of memory for 0x2793ffff0000-0x279800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x2793ffff0000 size 400010000 00dc:err:virtual:map_fixed_area out of memory for 0x363ffff0000-0x36800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x363ffff0000 size 400010000
也许我的跨架构虚拟机卡住了?我分配了 16 个 A76 arm64 vcpu 和 16GB 内存。但我以前从未遇到过这种情况。
怎么样了老哥,解决了吗
wine.log 发现确实修复了一部分,但是我适配的程序还是卡住了,还没看到box64的错误。然而,wine 有一些错误:
0124:err:sync:RtlpWaitForCriticalSection section 000000017006E780 "../../dlls/ntdll/loader.c: loader_section" wait timed out in thread 0124, blocked by 00dc, retrying (60 sec) 00dc:err:virtual:map_fixed_area out of memory for 0x185c00000000-0x186000000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x185c00000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x83400000000-0x83800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x83400000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x75b400000000-0x75b800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x75b400000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x18bbffff0000-0x18c000000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x18bbffff0000 size 400010000 00dc:err:virtual:map_fixed_area out of memory for 0x2793ffff0000-0x279800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x2793ffff0000 size 400010000 00dc:err:virtual:map_fixed_area out of memory for 0x363ffff0000-0x36800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x363ffff0000 size 400010000
也许我的跨架构虚拟机卡住了?我分配了 16 个 A76 arm64 vcpu 和 16GB 内存。但我以前从未遇到过这种情况。
怎么样了老哥,解决了吗
目前的解决方法是把deepin-wine8-stable给wrap走,不是deepin/UOS就用普通wine
wine.log 发现确实修复了一部分,但是我适配的程序还是卡住了,还没看到box64的错误。然而,wine 有一些错误:
0124:err:sync:RtlpWaitForCriticalSection section 000000017006E780 "../../dlls/ntdll/loader.c: loader_section" wait timed out in thread 0124, blocked by 00dc, retrying (60 sec) 00dc:err:virtual:map_fixed_area out of memory for 0x185c00000000-0x186000000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x185c00000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x83400000000-0x83800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x83400000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x75b400000000-0x75b800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x75b400000000 size 400000000 00dc:err:virtual:map_fixed_area out of memory for 0x18bbffff0000-0x18c000000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x18bbffff0000 size 400010000 00dc:err:virtual:map_fixed_area out of memory for 0x2793ffff0000-0x279800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x2793ffff0000 size 400010000 00dc:err:virtual:map_fixed_area out of memory for 0x363ffff0000-0x36800000000 00dc:err:virtual:allocate_virtual_memory out of memory for allocation, base 0x363ffff0000 size 400010000
也许我的跨架构虚拟机卡住了?我分配了 16 个 A76 arm64 vcpu 和 16GB 内存。但我以前从未遇到过这种情况。
怎么样了老哥,解决了吗
目前的解决方法是把deepin-wine8-stable给wrap走,不是deepin/UOS就用普通wine
我是用的飞腾D2000的麒麟v10,直接就是报错0024:err:virtual:map_fixed_area out of memory for 无法分配内存,还在找办法
It's a wine version modified by Deepin Ltd. to fit more on Chinese apps. It's a wine with wow64 support build Tried with the latest box64. Crashed and give a output like this
https://cowtransfer.com/s/99bcb1f47a3b45 [ deepin-wine8-stable.tar.xz ]