box86 icon indicating copy to clipboard operation
box86 copied to clipboard

wine client error:0: recvmsg

Open olevenets2 opened this issue 3 years ago • 11 comments

Hello, I'm trying to start one game and I'm getting a prefix building error. Creating a test prefix fails wineboot, I created a log file, maybe you can help me figure out why I'm getting this problem

https://paste.ee/p/zzreR

olevenets2 avatar Dec 07 '22 13:12 olevenets2

what wine version and box86 versio are you using?

Also, can you copy/paste the log with BOX86_LOG=0 to see what wine the messages are?

ptitSeb avatar Dec 07 '22 13:12 ptitSeb

algierd@raspberrypi:~/Games/FalloutFE/wine/bin $ ./wine --version
Box86 with Dynarec v0.2.7 b0ac567e built on Nov  6 2022 00:07:40
wine-5.12-14732-gfb6e6af8928

Command BOX86_LOG=0 creates an empty log file

olevenets2 avatar Dec 07 '22 14:12 olevenets2

I know, I wanted to see wine logs. Anyway, your box86 version seems quite old (1 month is old :P), can you update it?

ptitSeb avatar Dec 07 '22 14:12 ptitSeb

I updated box86 but it didn't help.

Do you know how to get more debug information from wine?

olevenets2 avatar Dec 07 '22 15:12 olevenets2

Just copy what's on the console. Isn't there anything on the console?

ptitSeb avatar Dec 07 '22 15:12 ptitSeb

nothing

algierd@raspberrypi:~/Games/FalloutFE $ BOX86_LOG=0 WINEPREFIX=~/testpref /home/algierd/Games/FalloutFE/wine/bin/wine wineboot
Box86 with Dynarec v0.2.9 cb09b097 built on Dec  4 2022 01:18:35
Box86 with Dynarec v0.2.9 cb09b097 built on Dec  4 2022 01:18:35
Box86 with Dynarec v0.2.9 cb09b097 built on Dec  4 2022 01:18:35
wineserver: using server-side synchronization.
wine client error:0: recvmsg: Connection reset by peer

olevenets2 avatar Dec 07 '22 16:12 olevenets2

I just tried on my side winecfg with wine-5.3 and it worked fine. It created the prefix with no issue and started the winecfg dialog box.

The full log shows no error or signal. It just exit. Can you run with BOX86_LOG=1 BOX86_SHOWSEGV=1 WINEPREFIX=~/testpref /home/algierd/Games/FalloutFE/wine/bin/wine winecfg to see what happens? I assume you are on termux, on a debian proot?

ptitSeb avatar Dec 07 '22 16:12 ptitSeb

No, this is a regular RpiOS, without root

algierd@raspberrypi:~/Games/FalloutFE $ BOX86_LOG=1 BOX86_SHOWSEGV=1 WINEPREFIX=~/testpref /home/algierd/Games/FalloutFE/wine/bin/wine winecfg
Debug level is 1
Show Segfault signal even if a signal handler is present
Dynarec for ARMv8, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Cores:4
Warning, unsupported BOX86_LD_PRELOAD=libX11.so.6 for [sof-bin] in /etc/box86.box86rcParams database has 20 entries
Box86 with Dynarec v0.2.9 cb09b097 built on Dec  4 2022 01:18:35
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/:i686/
Using default BOX86_PATH: ./:bin/
Counted 50 Env var
Looking for /home/algierd/Games/FalloutFE/wine/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.so.2
Using native(wrapped) librt.so.1
Using emulated /home/algierd/Games/FalloutFE/wine/bin/../lib/wine/i386-unix/ntdll.so
Debug level is 1
Show Segfault signal even if a signal handler is present
Dynarec for ARMv8, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Cores:4
Warning, unsupported BOX86_LD_PRELOAD=libX11.so.6 for [sof-bin] in /etc/box86.box86rcParams database has 20 entries
Box86 with Dynarec v0.2.9 cb09b097 built on Dec  4 2022 01:18:35
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/:i686/
Using default BOX86_PATH: ./:bin/
Counted 51 Env var
Looking for /home/algierd/Games/FalloutFE/wine/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.so.2
Using native(wrapped) librt.so.1
Using emulated /home/algierd/Games/FalloutFE/wine/bin/../lib/wine/i386-unix/ntdll.so
wine: created the configuration directory '/home/algierd/testpref'
Debug level is 1
Show Segfault signal even if a signal handler is present
Dynarec for ARMv8, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Cores:4
Warning, unsupported BOX86_LD_PRELOAD=libX11.so.6 for [sof-bin] in /etc/box86.box86rcParams database has 20 entries
Box86 with Dynarec v0.2.9 cb09b097 built on Dec  4 2022 01:18:35
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/:i686/
Using default BOX86_PATH: ./:bin/
Counted 51 Env var
Looking for /home/algierd/Games/FalloutFE/wine/bin/wineserver
Rename process to "wineserver"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Warning: Unsupported libc Syscall 0x1C1 (449)
wineserver: using server-side synchronization.
wine client error:0: recvmsg: Connection reset by peer

olevenets2 avatar Dec 07 '22 16:12 olevenets2

Mmmm, yeah, nothing there.

Can you try this version of Wine https://twisteros.com/wine.tgz (wich is 5.3 32bits) instead? Or, if you need a more update to version, youc an find some there: https://github.com/Kron4ek/Wine-Builds/releases (I tried 7.5 64bits, and 7.1 & 7.22 64bits and they worked, but you need box64 and a 64bits OS, I haven't tried any 32bits version there, but they should work)

ptitSeb avatar Dec 07 '22 16:12 ptitSeb

I checked your version of wine and it works without any problems.

I have packaged my version of wine with which I have a problem creating a prefix

https://www.sendspace.com/file/27lsf7

but it definitely works at least on x86 and operating system for that platform

olevenets2 avatar Dec 07 '22 18:12 olevenets2

BOX64 Trace redirected to "/sdcard/moboxtrace/trace-23238-1.txt" wine: created the configuration directory '/data/data/com.termux/files/usr/glibc/wine-9.3-vanilla-wow64/.wine' BOX64 Trace redirected to "/sdcard/moboxtrace/trace-23244.txt" wine client error:0: recvmsg: Connection reset by peer Uploading S40419-18502234_com.termux.png…

1852723973 avatar Apr 20 '24 05:04 1852723973