tfork() test hanging in socket_wrapper lock

Ralph Böhme slow at
Mon Nov 19 11:23:45 UTC 2018

On Mon, Nov 19, 2018 at 11:54:20AM +0100, Andreas Schneider via samba-technical wrote:
>On Monday, 19 November 2018 03:59:35 CET Andrew Bartlett wrote:
>> Today on sn-devel my autobuild hung running the tfork test:
>> It appears to be waiting forever for a mutex lock.
>Anoop and myself tried to reproduce it, but we couldn't. However helgrind
>reports several errors in tfork itself.
>I see a lot of:
>==2163== Warning: invalid file descriptor 1024 in syscall close()
>and it reports also data races.
>I've run it using:
>src/ UID_WRAPPER=1 SOCKET_WRAPPER_DIR=/tmp/tfork/ valgrind
>-v --trace-children=yes --tool=helgrind --error-exitcode=1 --read-var-info=yes
>./bin/smbtorture ncalrpc:localhost local.tfork
>I think tfork should be fixed first.



Ralph Boehme, Samba Team
Samba Developer, SerNet GmbH
GPG Key Fingerprint:           FAE2 C608 8A24 2520 51C5
                               59E4 AA1E 9B71 2639 9E46

More information about the samba-technical mailing list