Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newer Box64 Broken on MiceWine #2295

Open
KreitinnSoftware opened this issue Jan 25, 2025 · 8 comments
Open

Newer Box64 Broken on MiceWine #2295

KreitinnSoftware opened this issue Jan 25, 2025 · 8 comments

Comments

@KreitinnSoftware
Copy link
Contributor

Starting from commit 7099774a3c82642ad64bc3a4f1b798e951904f7d

Box64 stopped to work on MiceWine

See logs:

[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on ARM64 CPU with 8 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 19.2 MHz emulating 2.4 GHz
[BOX64] Wine64 detected, WINEPRELOADRESERVE=""
[BOX64] Didn't detect 48bits of address space, considering it's 39bits
[BOX64] Warning, program break not found
[BOX64] WINE prereserve of 0x10000:0x8000 done
[BOX64] WINE prereserve of 0x110000:0x30000000 done
[BOX64] WINE prereserve of 0x7f000000:0x3000000 done
[BOX64] Warning, older then 2.34 pthread_kill not found, using current one
[BOX64] Counted 65 Env var
[BOX64] BOX64 LIB PATH: 
[BOX64] BOX64 BIN PATH: ./:bin/:/product/bin/:/apex/com.android.runtime/bin/:/apex/com.android.art/bin/:/system_ext/bin/:/system/bin/:/system/xbin/:/odm/bin/:/vendor/bin/:/vendor/xbin/:/data/data/com.micewine.emu/files/usr/bin/:/data/data/com.micewine.emu/files/wine/bin/:/data/data/com.micewine.emu/files/packages/Box64-bc454ffd-6d8b-405f-97cf-a77d49f54863/files/usr/bin/
[BOX64] Looking for wine
[BOX64] BOX64ENV: Variables overridden via env and/or RC file:
	BOX64_DYNAREC_ALIGNED_ATOMICS=0
	BOX64_DYNAREC_BIGBLOCK=1
	BOX64_DYNAREC_BLEEDING_EDGE=1
	BOX64_DYNAREC_CALLRET=1
	BOX64_DYNAREC_DIRTY=0
	BOX64_DYNAREC_FASTNAN=0
	BOX64_DYNAREC_FASTROUND=1
	BOX64_DYNAREC_NATIVEFLAGS=1
	BOX64_DYNAREC_PAUSE=0
	BOX64_DYNAREC_SAFEFLAGS=0
	BOX64_DYNAREC_STRONGMEM=1
	BOX64_DYNAREC_WAIT=1
	BOX64_DYNAREC_WEAKBARRIER=1
	BOX64_DYNAREC_X87DOUBLE=0
	BOX64_LOG=1
	BOX64_NOSIGSEGV=0
	BOX64_NOSIGILL=0
	BOX64_RCFILE=/data/data/com.micewine.emu/files/usr/etc/box64.box64rc
	BOX64_SHOWBT=0
	BOX64_SHOWSEGV=0
	BOX64_AVX=0
	BOX64_MMAP32=1
[BOX64] argv[1]="explorer"
[BOX64] argv[2]="/desktop=shell,960x540"
[BOX64] argv[3]="window_handler"
[BOX64] argv[4]="TFM"
[BOX64] Rename process to "wine"
[BOX64] Warning, program break not found
[BOX64] Using native(wrapped) libdl.so
[BOX64] Warning, program break not found
[BOX64] Using native(wrapped) libc.so
[BOX64] Warning, program break not found
[BOX64] Using native(wrapped) libpthread.so
[BOX64] Using native(wrapped) libm.so
[BOX64] Using native(wrapped) libbsd.so
[BOX64] Warning, program break not found
[BOX64] Using emulated /data/data/com.micewine.emu/files/wine/bin/../lib/wine/x86_64-unix/ntdll.so
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on ARM64 CPU with 8 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 19.2 MHz emulating 2.4 GHz
[BOX64] Wine preloader detected, loading "/data/data/com.micewine.emu/files/wine/lib/wine/../../bin/wine" directly
[BOX64] Wine64 detected, WINEPRELOADRESERVE=""
[BOX64] Didn't detect 48bits of address space, considering it's 39bits
[BOX64] Warning, program break not found
[BOX64] WINE prereserve of 0x10000:0x8000 done
[BOX64] WINE prereserve of 0x110000:0x30000000 done
[BOX64] WINE prereserve of 0x7f000000:0x3000000 done
[BOX64] Warning, older then 2.34 pthread_kill not found, using current one
[BOX64] Counted 67 Env var
[BOX64] BOX64 LIB PATH: 
[BOX64] BOX64 BIN PATH: ./:bin/:/product/bin/:/apex/com.android.runtime/bin/:/apex/com.android.art/bin/:/system_ext/bin/:/system/bin/:/system/xbin/:/odm/bin/:/vendor/bin/:/vendor/xbin/:/data/data/com.micewine.emu/files/usr/bin/:/data/data/com.micewine.emu/files/wine/bin/:/data/data/com.micewine.emu/files/packages/Box64-bc454ffd-6d8b-405f-97cf-a77d49f54863/files/usr/bin/
[BOX64] Looking for /data/data/com.micewine.emu/files/wine/lib/wine/../../bin/wine
[BOX64] BOX64ENV: Variables overridden via env and/or RC file:
	BOX64_DYNAREC_ALIGNED_ATOMICS=0
	BOX64_DYNAREC_BIGBLOCK=1
	BOX64_DYNAREC_BLEEDING_EDGE=1
	BOX64_DYNAREC_CALLRET=1
	BOX64_DYNAREC_DIRTY=0
	BOX64_DYNAREC_FASTNAN=0
	BOX64_DYNAREC_FASTROUND=1
	BOX64_DYNAREC_NATIVEFLAGS=1
	BOX64_DYNAREC_PAUSE=0
	BOX64_DYNAREC_SAFEFLAGS=0
	BOX64_DYNAREC_STRONGMEM=1
	BOX64_DYNAREC_WAIT=1
	BOX64_DYNAREC_WEAKBARRIER=1
	BOX64_DYNAREC_X87DOUBLE=0
	BOX64_LOG=1
	BOX64_NOSIGSEGV=0
	BOX64_NOSIGILL=0
	BOX64_RCFILE=/data/data/com.micewine.emu/files/usr/etc/box64.box64rc
	BOX64_SHOWBT=0
	BOX64_SHOWSEGV=0
	BOX64_AVX=0
	BOX64_MMAP32=1
[BOX64] argv[1]="explorer"
[BOX64] argv[2]="/desktop=shell,960x540"
[BOX64] argv[3]="window_handler"
[BOX64] argv[4]="TFM"
[BOX64] Rename process to "wine"
[BOX64] Warning, program break not found
[BOX64] Using native(wrapped) libdl.so
[BOX64] Warning, program break not found
[BOX64] Using native(wrapped) libc.so
[BOX64] Warning, program break not found
[BOX64] Using native(wrapped) libpthread.so
[BOX64] Using native(wrapped) libm.so
[BOX64] Using native(wrapped) libbsd.so
[BOX64] Warning, program break not found
[BOX64] Using emulated /data/data/com.micewine.emu/files/wine/bin/../lib/wine/x86_64-unix/ntdll.so
[BOX64] posix_spawn(0x76f2a58398, "/data/data/com.micewine.emu/files/wine/lib/wine/../../bin/wineserver", 0x0, 0x0, 0x76f2a583a0["/data/data/com.micewine.emu/files/wine/lib/wine/../../bin/wineserver", "", ...], 0x76f2a58730), IsX64=1, IsX86=0 IsScript=0 envp is context->envv
[BOX64]  => posix_spawn(0x76f2a58398, "/data/data/com.micewine.emu/files/packages/Box64-bc454ffd-6d8b-405f-97cf-a77d49f54863/files/usr/bin/box64", 0x0, 0x0, 0x7fd725ce50 ["/data/data/com.micewine.emu/files/packages/Box64-bc454ffd-6d8b-405f-97cf-a77d49f54863/files/usr/bin/box64", "/data/data/com.micewine.emu/files/wine/lib/wine/../../bin/wineserver", ""...:1], 0x7fd725d568)
[BOX64] posix_spawn returned 0
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2
[BOX64] Running on ARM64 CPU with 8 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 19.2 MHz emulating 2.4 GHz
[BOX64] Didn't detect 48bits of address space, considering it's 39bits
[BOX64] Warning, program break not found
[BOX64] Warning, older then 2.34 pthread_kill not found, using current one
[BOX64] Counted 67 Env var
[BOX64] BOX64 LIB PATH: 
[BOX64] BOX64 BIN PATH: ./:bin/:/product/bin/:/apex/com.android.runtime/bin/:/apex/com.android.art/bin/:/system_ext/bin/:/system/bin/:/system/xbin/:/odm/bin/:/vendor/bin/:/vendor/xbin/:/data/data/com.micewine.emu/files/usr/bin/:/data/data/com.micewine.emu/files/wine/bin/:/data/data/com.micewine.emu/files/packages/Box64-bc454ffd-6d8b-405f-97cf-a77d49f54863/files/usr/bin/
[BOX64] Looking for /data/data/com.micewine.emu/files/wine/lib/wine/../../bin/wineserver
[BOX64] BOX64ENV: Variables overridden via env and/or RC file:
	BOX64_DYNAREC_ALIGNED_ATOMICS=0
	BOX64_DYNAREC_BIGBLOCK=1
	BOX64_DYNAREC_BLEEDING_EDGE=1
	BOX64_DYNAREC_CALLRET=1
	BOX64_DYNAREC_DIRTY=0
	BOX64_DYNAREC_FASTNAN=0
	BOX64_DYNAREC_FASTROUND=1
	BOX64_DYNAREC_NATIVEFLAGS=1
	BOX64_DYNAREC_PAUSE=0
	BOX64_DYNAREC_SAFEFLAGS=0
	BOX64_DYNAREC_STRONGMEM=1
	BOX64_DYNAREC_WAIT=1
	BOX64_DYNAREC_WEAKBARRIER=1
	BOX64_DYNAREC_X87DOUBLE=0
	BOX64_LOG=1
	BOX64_NOSIGSEGV=0
	BOX64_NOSIGILL=0
	BOX64_RCFILE=/data/data/com.micewine.emu/files/usr/etc/box64.box64rc
	BOX64_SHOWBT=0
	BOX64_SHOWSEGV=0
	BOX64_AVX=0
	BOX64_MMAP32=1
[BOX64] Rename process to "wineserver"
[BOX64] Warning, program break not found
[BOX64] Using native(wrapped) libdl.so
[BOX64] Warning, program break not found
[BOX64] Using native(wrapped) libc.so
[BOX64] Warning, program break not found
[BOX64] Using native(wrapped) libpthread.so
[BOX64] Using native(wrapped) libm.so
[BOX64] Using native(wrapped) libbsd.so
wine client error:0: recvmsg: Connection reset by peer
@ksco
Copy link
Collaborator

ksco commented Jan 25, 2025

Can you set BOX64_LOG=2 and post the logs again?

@KreitinnSoftware
Copy link
Contributor Author

It's there

log.txt

@ksco
Copy link
Collaborator

ksco commented Jan 25, 2025

Hmm, strange, as per the title, commit 7099774 is for the per-file settings and nothing more. But from the logs, there seem to be no entries like [/xxxx.dll] in your rcfile, so this commit should be a nop.

@KreitinnSoftware
Copy link
Contributor Author

Same results

@ksco
Copy link
Collaborator

ksco commented Jan 26, 2025

Sorry but I still can’t understand why 7099774 would cause any issue from the logs posted, so can you double check if it’s really this commit made the regression?

@KreitinnSoftware
Copy link
Contributor Author

Sorry but I still can’t understand why 7099774 would cause any issue from the logs posted, so can you double check if it’s really this commit made the regression?

Okay I will check again

@KreitinnSoftware
Copy link
Contributor Author

I have checked again here, and 925f6a9 works normally and 7099774 don't works

@KreitinnSoftware
Copy link
Contributor Author

screen-20250126-130945_r9V9WGzg.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants