soccket_wrapper and a threading race conditions on FreeBSD

Andreas Schneider asn at samba.org
Tue Oct 2 19:07:20 UTC 2018


Hello samba-technical,

AnoopCS, Michael and myself worked on threading support for socket_wrapper. 
The patches for that are already upstream. However we were still in the 
process of fixing bugs (thanks to helgrind).

In the meantime I have a branch with fixes, which also enables CI runners on 
gitlab:

https://gitlab.com/cwrap/socket_wrapper/merge_requests/2

I would appreciate if someone could review that.

I have also a runner for FreeBSD but it doesn't work. The nightly build on 
test.cmocka.org reported this already for a while. Anoop and myself found out 
that it isn't related to socket_wrapper. We can run the test without 
socket_wrapper using TCP socket and the test fails on FreeBSD too. If we slow 
it down with debug messages, it sometimes works.

I've opened:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231848


It would be great if someone could review the patches.


Thanks,


	Andreas


-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list