MantisBT - VCMI
View Issue Details
0003146VCMIOtherpublic2020-10-05 17:202023-10-28 20:43
xtouqh 
Nordsoft 
normalblockalways
resolvedfixed 
FreeBSD13.0-CURRENT
0.99 
1.4.0 
0003146: client hang after connecting to server
VCMI 0095db4a3 running on FreeBSD 13.0-CURRENT, boost-libs 1.72.0.

Client starts successfully, starting server. I can select new game, pressing single scenario gets the following message in the console:

Establishing connection...
Found endpoints:
        0:127.0.0.1:3030
Trying connection to 127.0.0.1:3030(0)
Established connection with VCMI 0.99 0095db4a305415031fe9f1485c09685443cb74c0 (server). UUID: 708bc587-5f1d-42d1-af2e-f586a276c672

I can press on anything yet again, and then it hangs.

Workaround from 0003027 is applied, increasing kern.ipc.maxsockbuf to 8388608 (as it wouldn't even connect otherwise).
trussing client:
---
_umtx_op(0x8006d2008,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffdfffdd78) ERR#60 'Operation timed out'
write(19,"\M-I\M-|\a\^A\M-d\M-|;\^A\M-$"...,4096) = 4096 (0x1000)
write(19,"1\M-|?\M-y\M^D\M-{M\M-zW\M-{\^?"...,4096) = 4096 (0x1000)
write(19,"\^F\^E\M-2\M^?c\^F*\0\M-?\a|\0"...,4096) = 4096 (0x1000)
write(19,"q\au\^D\^[\a\M^@\^C\M-#\^F}\^B"...,4096) = 4096 (0x1000)
---
trussing server:
---
kevent(5,0x0,0,{ },128,{ 0.000000000 }) = 0 (0x0)
_umtx_op(0x800f00528,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffffffe0e8) ERR#60 'Operation timed out'
_umtx_op(0x8003d6008,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffdfffdd28) ERR#60 'Operation timed out'
---

This goes in a loop (data sent changes, but ERR#60 is always there).
No tags attached.
Issue History
2020-10-05 17:20xtouqhNew Issue
2022-03-22 18:05PovelitelNote Added: 0008193
2023-10-28 20:43NordsoftStatusnew => resolved
2023-10-28 20:43NordsoftFixed in Version => 1.4.0
2023-10-28 20:43NordsoftResolutionopen => fixed
2023-10-28 20:43NordsoftAssigned To => Nordsoft

Notes
(0008193)
Povelitel   
2022-03-22 18:05   
boost 1.64 didn't help?