./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.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/mult-comm.wvr.c
Converting
Type-checking mult-comm.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 mult-comm.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.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 2 possible targets
Generic Property Instrumentation
Running with 8 object bits, 24 offset bits (default)
Starting Bounded Model Checking
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:61:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:61:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(b,
                                     NoOffset)), AddrOf(Var(a, NoOffset)), AddrOf(Var(x_2, NoOffset)), AddrOf(Var(x_1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:61:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(a, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:61:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:62:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:62:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(b, NoOffset)), AddrOf(Var(a, NoOffset)), AddrOf(Var(x_2, NoOffset)), AddrOf(Var(x_1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:62:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(b, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:62:3)
[Warning][Race] Memory location x_1@mult-comm.wvr.c:38:14 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:65:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:43:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:69:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:65:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:43:5)
[Warning][Race] Memory location x_2@mult-comm.wvr.c:38:19 (race with conf. 110):
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:66:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:51:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:69:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:66:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c:51:5)

Summary for all memory locations:
	safe:            2
	vulnerable:      0
	unsafe:          2
	-------------------
	total:           4
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
Unwinding loop thread1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c line 42 function thread1 thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c line 42 function thread1 thread 1
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c line 50 function thread2 thread 2
Not unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c line 50 function thread2 thread 2
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/mult-comm.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 43 44 51 52 61 62 69 70 
The number of races before goblint filter: 32
The number of races after goblint filter: 12
Race categories: 4
	61(1) - 43(1) a:
		a#2 a#3
		a#2 a#4
	62(1) - 51(1) b:
		b#2 b#5
		b#2 b#6
	69(1) - 43(1) x_1:
		x_1#2 x_1#5
		x_1#2 x_1#7
		x_1#3 x_1#5
		x_1#3 x_1#7
	69(1) - 51(1) x_2:
		x_2#2 x_2#5
		x_2#2 x_2#7
		x_2#3 x_2#5
		x_2#3 x_2#7
Runtime Symex: 0.161592s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared x_1: 4R/3W
Shared x_2: 4R/3W
Shared a: 4R/2W
Shared b: 4R/2W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
size of program expression: 353 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00130745s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00226355s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000824883s
Solving with Deagle's Closure solver
3710 variables, 10439 clauses
ClosureSolver finishes with 7 conflicts, 35 decisions, and 2669 propagations. 41 theory propagations and 0 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00180563s
Runtime decision procedure: 0.0108374s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/mult-comm.wvr.c function main
[nodatarace.assertion.0] line 66 No data races on variable a between line 61 and line 43: SUCCESS
[nodatarace.assertion.1] line 66 No data races on variable b between line 62 and line 51: SUCCESS
[nodatarace.assertion.2] line 66 No data races on variable x_1 between line 69 and line 43: SUCCESS
[nodatarace.assertion.3] line 66 No data races on variable x_2 between line 69 and line 51: SUCCESS

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