1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/util/tests
Ralph Boehme 0a0daebaab tfork: add a suppresssions file for drd
drd reports:

 initialized twice: cond 0x514f188
    at 0x4C3A399: pthread_cond_init_intercept (drd_pthread_intercepts.c:1022)
    by 0x4C3A399: pthread_cond_init@* (drd_pthread_intercepts.c:1030)
    by 0x50F3FF3: tfork_atfork_child (tfork.c:250)
    by 0x9A4B95D: fork (fork.c:204)
    by 0x50F4834: tfork_start_waiter_and_worker (tfork.c:581)
    by 0x50F4CDB: tfork_create (tfork.c:780)
    by 0x2F7469: tfork_thread (tfork.c:431)
    by 0x4C358F8: vgDrd_thread_wrapper (drd_pthread_intercepts.c:444)
    by 0x8D46593: start_thread (pthread_create.c:463)
    by 0x9A7EE6E: clone (clone.S:95)
 cond 0x514f188 was first observed at:
    at 0x4C3A399: pthread_cond_init_intercept (drd_pthread_intercepts.c:1022)
    by 0x4C3A399: pthread_cond_init@* (drd_pthread_intercepts.c:1030)
    by 0x50F413A: tfork_global_initialize (tfork.c:287)
    by 0x8D4DEA6: __pthread_once_slow (pthread_once.c:116)
    by 0x4C377FD: pthread_once_intercept (drd_pthread_intercepts.c:800)
    by 0x4C377FD: pthread_once (drd_pthread_intercepts.c:806)
    by 0x50F4C0E: tfork_create (tfork.c:743)
    by 0x2F7469: tfork_thread (tfork.c:431)
    by 0x4C358F8: vgDrd_thread_wrapper (drd_pthread_intercepts.c:444)
    by 0x8D46593: start_thread (pthread_create.c:463)
    by 0x9A7EE6E: clone (clone.S:95)

This is intentional, the reinit is in a child process. Cf the comment in
tfork.c.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2018-11-28 12:59:28 +01:00
..
anonymous_shared.c
asn1_tests.c asn1: Remove a reference to asn1_data internals 2016-01-06 00:54:18 +01:00
binsearch.c binsearch: make BINARY_ARRAY_SEARCH_GTE compare against a pointer 2017-02-09 03:17:15 +01:00
data_blob.c lib/util/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
dlinklist.c dlist: remove unneeded type argument from DLIST_CONCATENATE() 2016-02-06 21:48:18 +01:00
file.c lib: Fix a few CIDs for Resource Leak 2015-04-21 19:37:16 +02:00
genrand.c Rely on /dev/urandom 2015-10-13 04:25:38 +02:00
genrandperf.c lib: Add a little tool to perftest generate_random_buffer() 2015-10-13 01:23:07 +02:00
idtree.c lib/util/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
rfc1738.c util/tests: add rfc1738 cmocka tests 2018-02-22 01:04:18 +01:00
str.c lib/util/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
strlist.c lib/util/tests: avoid some compiler warnings 2014-11-14 23:27:04 +01:00
strv_util.c lib/util: Add strv_util.[ch] containing new function strv_split() 2016-03-01 05:43:19 +01:00
strv.c lib/util: Add tests for strv_addn() 2016-02-29 15:18:17 +01:00
test_ms_fnmatch.c tests: Add basic ms_fnmatch unit test 2018-03-02 14:07:14 +01:00
tfork-drd.supp tfork: add a suppresssions file for drd 2018-11-28 12:59:28 +01:00
tfork-helgrind.supp tfork: add a suppresssions file for helgrind 2018-11-28 12:59:28 +01:00
tfork.c tfork/test: ensure all threads start with SIGCHLD unblocked 2018-11-28 12:59:27 +01:00
time.c lib/util/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
util_str_escape.c lib/util: Add functions to escape log lines but not break all non-ascii 2017-03-29 02:37:26 +02:00
util.c torture: Remove unnecesssary #include <fcntl.h> 2018-09-15 15:18:25 +02:00