./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-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-simple-array-sum.wvr.c
Converting
Type-checking popl20-simple-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-simple-array-sum.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-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-simple-array-sum.wvr.c:90:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(N, NoOffset)), AddrOf(Var(p, NoOffset)), AddrOf(Var(csum, NoOffset)), AddrOf(Var(asum, NoOffset)), AddrOf(Var(C, NoOffset)), AddrOf(Var(A, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] Unknown address in {&C} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] Unknown address in {&A} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr, NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(N,
                                     NoOffset)), AddrOf(Var(p, NoOffset)), AddrOf(Var(csum, NoOffset)), AddrOf(Var(asum, NoOffset)), AddrOf(Var(C, NoOffset)), AddrOf(Var(A, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] Unknown address in {&C} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] Unknown address in {&A} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr, NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:114:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:51:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:60:5)
[Warning][Race] Memory location csum@popl20-simple-array-sum.wvr.c:44:20 (race with conf. 110):
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:98:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:78:7)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:102:3)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:98:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:78:7)
[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-simple-array-sum.wvr.c:96:3, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:51:5)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:97:3, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:60:5)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:98:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:78:7)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:97:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:60:5)
[Warning][Race] Memory location asum@popl20-simple-array-sum.wvr.c:44:14 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:96:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:51:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:102:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:96:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:51:5)
[Warning][Race] Memory location p@popl20-simple-array-sum.wvr.c:45:5 (race with conf. 110):
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:98:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:74:5)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:97:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c:63:5)

Summary for all memory locations:
	safe:            3
	vulnerable:      0
	unsafe:          4
	-------------------
	total:           7
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-simple-array-sum.wvr.c line 113 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-simple-array-sum.wvr.c line 113 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-simple-array-sum.wvr.c line 113 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-simple-array-sum.wvr.c line 113 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-simple-array-sum.wvr.c line 50 function thread1 thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c line 50 function thread1 thread 1
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-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-simple-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-simple-array-sum.wvr.c line 72 function thread3 thread 3
Not unwinding loop thread3.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c line 72 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-simple-array-sum.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 102 103 114 115 51 52 60 61 63 64 74 75 78 79 90 91 
The number of races before goblint filter: 78
The number of races after goblint filter: 32
Race categories: 8
	91(1) - 51(1) A:
		A#2 A#3
		A#2 A#4
	91(1) - 61(1) A:
		A#2 A#5
		A#2 A#7
	102(1) - 51(1) asum:
		asum#2 asum#5
		asum#2 asum#7
		asum#3 asum#5
		asum#3 asum#7
	102(1) - 79(1) csum:
		csum#2 csum#6
		csum#2 csum#9
		csum#3 csum#6
		csum#3 csum#9
	114(1) - 51(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
	114(1) - 61(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
	114(1) - 61(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#5
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#7
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#8
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#10
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#5
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#7
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#8
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#10
	114(1) - 79(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#11
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#13
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#11
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#13
Runtime Symex: 0.483765s
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 asum: 4R/3W
Shared csum: 4R/3W
Shared p: 2R/3W
Shared N: 8R/2W
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/5W
size of program expression: 794 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00268017s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0043751s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00752796s
Solving with Deagle's Closure solver
17236 variables, 50746 clauses
ClosureSolver finishes with 55 conflicts, 412 decisions, and 43201 propagations. 108 theory propagations and 16 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.0130639s
Runtime decision procedure: 0.0287318s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-array-sum.wvr.c function main
[nodatarace.assertion.0] line 98 No data races on variable A between line 91 and line 51: SUCCESS
[nodatarace.assertion.1] line 98 No data races on variable A between line 91 and line 61: SUCCESS
[nodatarace.assertion.2] line 98 No data races on variable asum between line 102 and line 51: SUCCESS
[nodatarace.assertion.3] line 98 No data races on variable csum between line 102 and line 79: SUCCESS
[nodatarace.assertion.4] line 98 No data races on variable symex_dynamic::dynamic_object1 between line 114 and line 51: SUCCESS
[nodatarace.assertion.5] line 98 No data races on variable symex_dynamic::dynamic_object1 between line 114 and line 61: SUCCESS
[nodatarace.assertion.6] line 98 No data races on variable symex_dynamic::dynamic_object2 between line 114 and line 61: SUCCESS
[nodatarace.assertion.7] line 98 No data races on variable symex_dynamic::dynamic_object2 between line 114 and line 79: SUCCESS

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