The new rfork semantics require that the RFTHREAD flag given with RFPROC and RFMEM. This syscall fails otherwise, which causes several timeout and "thread" creation problems in wine during runtime. This may not be a problem on 4.x but definitely is on 5.x. How-To-Repeat: I tried to install and run Microsoft VSS 6.0, and that didn't work. Then I started debugging....
Responsible Changed From-To: freebsd-ports-bugs->gerald Over to maintainer.
State Changed From-To: open->closed I also tested this patch on 4-STABLE and committed it. Thanks for the clear analysis and the fix! Would you mind submitting the fix upstream to wine-patches@winehq.com mentioning that I tested and approvied it and Cc:ing me under my gerald@pfeifer.com address?