tfork() test hanging in socket_wrapper lock

Ralph Böhme slow at samba.org
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:
>
>LD_PRELOAD=libuid_wrapper.so:/home/asn/workspace/projects/socket_wrapper/obj/
>src/libsocket_wrapper.so UID_WRAPPER=1 SOCKET_WRAPPER_DIR=/tmp/tfork/ valgrind
>-v --trace-children=yes --tool=helgrind --error-exitcode=1 --read-var-info=yes
>--suppressions=/home/asn/workspace/projects/socket_wrapper/tests/helgrind.supp
>./bin/smbtorture ncalrpc:localhost local.tfork
>
>I think tfork should be fixed first.

looking...

-slow

-- 
Ralph Boehme, Samba Team       https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG Key Fingerprint:           FAE2 C608 8A24 2520 51C5
                               59E4 AA1E 9B71 2639 9E46



More information about the samba-technical mailing list