Skip to content

Commit 7d06f1b

Browse files
committed
Suppress drd and helgrind error in the umf_test-ipc_max_opened_limit
1 parent 028677c commit 7d06f1b

8 files changed

+143
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
Conditional variable destruction false-positive
3+
drd:CondErr
4+
...
5+
fun:pthread_cond_destroy@*
6+
...
7+
}
8+
9+
{
10+
[false-positive] Double check locking pattern in trackingOpenIpcHandle
11+
drd:ConflictingAccess
12+
fun:utils_atomic_load_acquire_ptr
13+
fun:trackingOpenIpcHandle
14+
fun:umfMemoryProviderOpenIPCHandle
15+
fun:umfOpenIPCHandle
16+
...
17+
}
18+
19+
{
20+
[false-positive] trackingGetIpcHandle
21+
drd:ConflictingAccess
22+
fun:trackingGetIpcHandle
23+
fun:umfMemoryProviderGetIPCHandle
24+
fun:umfGetIPCHandle
25+
}
26+
27+
{
28+
[false-positive] trackingGetIpcHandle
29+
drd:ConflictingAccess
30+
fun:memmove
31+
fun:trackingGetIpcHandle
32+
fun:umfMemoryProviderGetIPCHandle
33+
fun:umfGetIPCHandle
34+
}

test/supp/drd-test_provider_devdax_memory_ipc.supp

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
[false-positive] Double check locking pattern in trackingOpenIpcHandle
33
drd:ConflictingAccess
44
fun:utils_atomic_store_release_ptr
5+
fun:upstreamOpenIPCHandle
6+
fun:trackingOpenIpcHandle
7+
fun:umfMemoryProviderOpenIPCHandle
8+
fun:umfOpenIPCHandle
9+
...
10+
}
11+
12+
{
13+
[false-positive] Double check locking pattern in trackingOpenIpcHandle
14+
drd:ConflictingAccess
15+
fun:utils_atomic_load_acquire_ptr
516
fun:trackingOpenIpcHandle
617
fun:umfMemoryProviderOpenIPCHandle
718
fun:umfOpenIPCHandle

test/supp/drd-test_provider_file_memory_ipc.supp

+11
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@
1010
[false-positive] Double check locking pattern in trackingOpenIpcHandle
1111
drd:ConflictingAccess
1212
fun:utils_atomic_store_release_ptr
13+
fun:upstreamOpenIPCHandle
14+
fun:trackingOpenIpcHandle
15+
fun:umfMemoryProviderOpenIPCHandle
16+
fun:umfOpenIPCHandle
17+
...
18+
}
19+
20+
{
21+
[false-positive] Double check locking pattern in trackingOpenIpcHandle
22+
drd:ConflictingAccess
23+
fun:utils_atomic_load_acquire_ptr
1324
fun:trackingOpenIpcHandle
1425
fun:umfMemoryProviderOpenIPCHandle
1526
fun:umfOpenIPCHandle

test/supp/drd-test_provider_os_memory.supp

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
[false-positive] Double check locking pattern in trackingOpenIpcHandle
33
drd:ConflictingAccess
44
fun:utils_atomic_store_release_ptr
5+
fun:upstreamOpenIPCHandle
6+
fun:trackingOpenIpcHandle
7+
fun:umfMemoryProviderOpenIPCHandle
8+
fun:umfOpenIPCHandle
9+
...
10+
}
11+
12+
{
13+
[false-positive] Double check locking pattern in trackingOpenIpcHandle
14+
drd:ConflictingAccess
15+
fun:utils_atomic_load_acquire_ptr
516
fun:trackingOpenIpcHandle
617
fun:umfMemoryProviderOpenIPCHandle
718
fun:umfOpenIPCHandle
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
False-positive race in critnib_insert (lack of instrumentation)
3+
Helgrind:Race
4+
fun:utils_atomic_store_release_ptr
5+
fun:critnib_insert
6+
...
7+
}
8+
9+
{
10+
False-positive race in critnib_find (lack of instrumentation)
11+
Helgrind:Race
12+
fun:find_predecessor
13+
fun:find_le
14+
fun:critnib_find
15+
...
16+
}
17+
18+
{
19+
[false-positive] Double check locking pattern in trackingOpenIpcHandle
20+
Helgrind:Race
21+
fun:utils_atomic_store_release_ptr
22+
fun:trackingOpenIpcHandle
23+
fun:umfMemoryProviderOpenIPCHandle
24+
fun:umfOpenIPCHandle
25+
...
26+
}
27+
28+
{
29+
[false-positive] Double check locking pattern in trackingOpenIpcHandle
30+
Helgrind:Race
31+
fun:utils_atomic_load_acquire_ptr
32+
fun:trackingOpenIpcHandle
33+
fun:umfMemoryProviderOpenIPCHandle
34+
fun:umfOpenIPCHandle
35+
...
36+
}
37+
38+
{
39+
[false-positive] umfMemoryProviderGetIPCHandle
40+
Helgrind:Race
41+
fun:trackingGetIpcHandle
42+
fun:umfMemoryProviderGetIPCHandle
43+
fun:umfGetIPCHandle
44+
}
45+
46+
{
47+
[false-positive] umfMemoryProviderGetIPCHandle
48+
Helgrind:Race
49+
fun:memmove
50+
fun:trackingGetIpcHandle
51+
fun:umfMemoryProviderGetIPCHandle
52+
fun:umfGetIPCHandle
53+
}

test/supp/helgrind-test_provider_devdax_memory_ipc.supp

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
[false-positive] Double check locking pattern in trackingOpenIpcHandle
33
Helgrind:Race
44
fun:utils_atomic_store_release_ptr
5+
fun:upstreamOpenIPCHandle
6+
fun:trackingOpenIpcHandle
7+
fun:umfMemoryProviderOpenIPCHandle
8+
fun:umfOpenIPCHandle
9+
...
10+
}
11+
12+
{
13+
[false-positive] Double check locking pattern in trackingOpenIpcHandle
14+
Helgrind:Race
15+
fun:utils_atomic_load_acquire_ptr
516
fun:trackingOpenIpcHandle
617
fun:umfMemoryProviderOpenIPCHandle
718
fun:umfOpenIPCHandle

test/supp/helgrind-test_provider_file_memory_ipc.supp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
[false-positive] Double check locking pattern in trackingOpenIpcHandle
33
Helgrind:Race
44
fun:utils_atomic_store_release_ptr
5+
fun:upstreamOpenIPCHandle
56
fun:trackingOpenIpcHandle
67
fun:umfMemoryProviderOpenIPCHandle
78
fun:umfOpenIPCHandle

test/supp/helgrind-test_provider_os_memory.supp

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
[false-positive] Double check locking pattern in trackingOpenIpcHandle
33
Helgrind:Race
44
fun:utils_atomic_store_release_ptr
5+
fun:upstreamOpenIPCHandle
6+
fun:trackingOpenIpcHandle
7+
fun:umfMemoryProviderOpenIPCHandle
8+
fun:umfOpenIPCHandle
9+
...
10+
}
11+
12+
{
13+
[false-positive] Double check locking pattern in trackingOpenIpcHandle
14+
Helgrind:Race
15+
fun:utils_atomic_load_acquire_ptr
516
fun:trackingOpenIpcHandle
617
fun:umfMemoryProviderOpenIPCHandle
718
fun:umfOpenIPCHandle

0 commit comments

Comments
 (0)