./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c


--------------------------------------------------------------------------------


Deagle version 2.1 64-bit x86_64 linux
which contains:
CBMC version 5.67.0 (SVCOMP2023_221122-2-g2121ef1a2) 64-bit x86_64 linux
Parsing /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c
Converting
Type-checking popl20-three-array-sum.wvr
Generating GOTO Program
Adding CPROVER library (x86_64)
file <builtin-library-pthread_create> line 20: warning: pointer parameter types differ between declaration and definition "pthread_create"
old definition in module popl20-three-array-sum.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 22
signed int (pthread_t *, const pthread_attr_t *, void * (*)(void *), void *)
new definition in module <built-in-library> file <builtin-library-pthread_create> line 20
signed int (pthread_t *thread, const pthread_attr_t *attr, void * (*start_routine)(void *), void *arg)
Removal of function pointers and virtual functions
file <builtin-library-__spawned_thread> line 34 function __spawned_thread: replacing function pointer by 3 possible targets
Generic Property Instrumentation
Running with 8 object bits, 24 offset bits (default)
Starting Bounded Model Checking
[Warning][Unknown] Invalidating expressions: AddrOf(Var(N,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:88:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(p, NoOffset)), AddrOf(Var(N, NoOffset)), AddrOf(Var(csum, NoOffset)), AddrOf(Var(bsum, NoOffset)), AddrOf(Var(asum, NoOffset)), AddrOf(Var(C, NoOffset)), AddrOf(Var(B, NoOffset)), AddrOf(Var(A, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Unknown address in {&C} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Unknown address in {&B} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Unknown address in {&A} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr, NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(p,
                                     NoOffset)), AddrOf(Var(N, NoOffset)), AddrOf(Var(csum, NoOffset)), AddrOf(Var(bsum, NoOffset)), AddrOf(Var(asum, NoOffset)), AddrOf(Var(C, NoOffset)), AddrOf(Var(B, NoOffset)), AddrOf(Var(A, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Unknown address in {&C} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Unknown address in {&B} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Unknown address in {&A} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr, NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(p,
                                     NoOffset)), AddrOf(Var(N, NoOffset)), AddrOf(Var(csum, NoOffset)), AddrOf(Var(bsum, NoOffset)), AddrOf(Var(asum, NoOffset)), AddrOf(Var(C, NoOffset)), AddrOf(Var(B, NoOffset)), AddrOf(Var(A, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Unknown address in {&C} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Unknown address in {&B} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Unknown address in {&A} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr, NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:113:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:50:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:51:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:60:5)
[Warning][Race] Memory location asum@popl20-three-array-sum.wvr.c:43:14 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:95:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:50:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:101:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:95:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:50:5)
[Warning][Race] Memory location (alloc@sid:71)[?]@:-1:-1 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:95:3, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:50:5)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:95:3, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:51:5)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:96:3, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:60:5)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:96:3, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:60:5)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:97:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:76:7)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:96:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:60:5)
[Warning][Race] Memory location bsum@popl20-three-array-sum.wvr.c:43:20 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:95:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:51:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:101:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:95:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:51:5)
[Warning][Race] Memory location csum@popl20-three-array-sum.wvr.c:43:26 (race with conf. 110):
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:97:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:76:7)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:101:3)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:97:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:76:7)
[Warning][Race] Memory location p@popl20-three-array-sum.wvr.c:44:8 (race with conf. 110):
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:97:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:72:5)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:96:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c:61:5)

Summary for all memory locations:
	safe:            4
	vulnerable:      0
	unsafe:          5
	-------------------
	total:           9
Use SV-COMP unwinding strategy: 2
Deagle's solver is set!!!!!!
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
Unwinding loop create_fresh_uint_array.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 112 function create_fresh_uint_array thread 0
Not unwinding loop create_fresh_uint_array.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 112 function create_fresh_uint_array thread 0
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
Unwinding loop create_fresh_uint_array.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 112 function create_fresh_uint_array thread 0
Not unwinding loop create_fresh_uint_array.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 112 function create_fresh_uint_array thread 0
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
Unwinding loop create_fresh_uint_array.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 112 function create_fresh_uint_array thread 0
Not unwinding loop create_fresh_uint_array.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 112 function create_fresh_uint_array thread 0
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
Unwinding loop thread1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 49 function thread1 thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 49 function thread1 thread 1
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 58 function thread2 thread 2
Not unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 58 function thread2 thread 2
Unwinding loop thread3.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 70 function thread3 thread 3
Not unwinding loop thread3.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c line 70 function thread3 thread 3
Handling datarace, passing the problem to goblint first
getcwd: /mnt/goblint-svcomp/benchexec/tools-pldi/deagle
/mnt/goblint-svcomp/benchexec/tools-pldi/deagle/goblint/goblint /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 101 102 113 114 50 51 52 60 61 62 72 73 76 77 88 89 
The number of races before goblint filter: 106
The number of races after goblint filter: 44
Race categories: 11
	89(1) - 50(1) A:
		A#2 A#3
		A#2 A#4
	89(1) - 62(1) A:
		A#2 A#5
		A#2 A#7
	101(1) - 50(1) asum:
		asum#2 asum#5
		asum#2 asum#7
		asum#3 asum#5
		asum#3 asum#7
	101(1) - 51(1) bsum:
		bsum#2 bsum#5
		bsum#2 bsum#7
		bsum#3 bsum#5
		bsum#3 bsum#7
	101(1) - 77(1) csum:
		csum#2 csum#6
		csum#2 csum#9
		csum#3 csum#6
		csum#3 csum#9
	113(1) - 50(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#5
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#6
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#5
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#6
	113(1) - 62(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#7
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#9
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#7
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#9
	113(1) - 51(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#5
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#6
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#5
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#6
	113(1) - 62(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#7
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#9
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#7
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#9
	113(1) - 62(1) symex_dynamic::dynamic_object3:
		symex_dynamic::dynamic_object3#2 symex_dynamic::dynamic_object3#5
		symex_dynamic::dynamic_object3#2 symex_dynamic::dynamic_object3#7
		symex_dynamic::dynamic_object3#2 symex_dynamic::dynamic_object3#8
		symex_dynamic::dynamic_object3#2 symex_dynamic::dynamic_object3#10
		symex_dynamic::dynamic_object3#3 symex_dynamic::dynamic_object3#5
		symex_dynamic::dynamic_object3#3 symex_dynamic::dynamic_object3#7
		symex_dynamic::dynamic_object3#3 symex_dynamic::dynamic_object3#8
		symex_dynamic::dynamic_object3#3 symex_dynamic::dynamic_object3#10
	113(1) - 77(1) symex_dynamic::dynamic_object3:
		symex_dynamic::dynamic_object3#2 symex_dynamic::dynamic_object3#11
		symex_dynamic::dynamic_object3#2 symex_dynamic::dynamic_object3#13
		symex_dynamic::dynamic_object3#3 symex_dynamic::dynamic_object3#11
		symex_dynamic::dynamic_object3#3 symex_dynamic::dynamic_object3#13
Runtime Symex: 0.717107s
Adding SC constraints
Shared C: 4R/2W
Shared __CPROVER_threads_exited: 6R/4W
Shared __CPROVER_next_thread_id: 5R/4W
Shared A: 4R/2W
Shared B: 4R/2W
Shared asum: 4R/3W
Shared bsum: 4R/3W
Shared csum: 4R/3W
Shared N: 6R/2W
Shared p: 2R/3W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
Shared main::1::t3!0@1: 2R/2W
Shared symex_dynamic::dynamic_object1: 4R/3W
Shared symex_dynamic::dynamic_object2: 4R/3W
Shared symex_dynamic::dynamic_object3: 4R/5W
size of program expression: 944 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00294835s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00541378s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00876116s
Solving with Deagle's Closure solver
20922 variables, 61325 clauses
ClosureSolver finishes with 118 conflicts, 53301 decisions, and 221339 propagations. 165 theory propagations and 13 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.0276666s
Runtime decision procedure: 0.0470159s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-three-array-sum.wvr.c function main
[nodatarace.assertion.0] line 97 No data races on variable A between line 89 and line 50: SUCCESS
[nodatarace.assertion.1] line 97 No data races on variable A between line 89 and line 62: SUCCESS
[nodatarace.assertion.2] line 97 No data races on variable asum between line 101 and line 50: SUCCESS
[nodatarace.assertion.3] line 97 No data races on variable bsum between line 101 and line 51: SUCCESS
[nodatarace.assertion.4] line 97 No data races on variable csum between line 101 and line 77: SUCCESS
[nodatarace.assertion.5] line 97 No data races on variable symex_dynamic::dynamic_object1 between line 113 and line 50: SUCCESS
[nodatarace.assertion.6] line 97 No data races on variable symex_dynamic::dynamic_object1 between line 113 and line 62: SUCCESS
[nodatarace.assertion.7] line 97 No data races on variable symex_dynamic::dynamic_object2 between line 113 and line 51: SUCCESS
[nodatarace.assertion.8] line 97 No data races on variable symex_dynamic::dynamic_object2 between line 113 and line 62: SUCCESS
[nodatarace.assertion.9] line 97 No data races on variable symex_dynamic::dynamic_object3 between line 113 and line 62: SUCCESS
[nodatarace.assertion.10] line 97 No data races on variable symex_dynamic::dynamic_object3 between line 113 and line 77: SUCCESS

** 0 of 11 failed (1 iterations)
VERIFICATION SUCCESSFUL
