./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.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/test-semi1.wvr.c
Converting
Type-checking test-semi1.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 test-semi1.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.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] Invalidating expressions: AddrOf(Var(x,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:60:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(y, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:61:3)
[Warning][Race] Memory location x@test-semi1.wvr.c:38:5 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:67:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:42:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:68:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:50:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:68:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:51:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:71:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:67:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:42:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:68:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c:51:3)

Summary for all memory locations:
	safe:            1
	vulnerable:      0
	unsafe:          1
	-------------------
	total:           2
x's upper bound is 2147483646
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
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 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/test-semi1.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 42 43 50 51 52 60 61 71 72 
The number of races before goblint filter: 12
The number of races after goblint filter: 8
Race categories: 4
	60(1) - 43(1) x:
		x#2 x#5
		x#2 x#7
	60(1) - 52(1) x:
		x#2 x#8
		x#2 x#10
	71(1) - 43(1) x:
		x#3 x#7
		x#4 x#7
	71(1) - 52(1) x:
		x#3 x#10
		x#4 x#10
Runtime Symex: 0.077467s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared x: 4R/4W
Shared y: 2R/2W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
size of program expression: 319 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.000990395s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00183235s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000661581s
Solving with Deagle's Closure solver
3021 variables, 7831 clauses
ClosureSolver finishes with 6 conflicts, 34 decisions, and 2179 propagations. 30 theory propagations and 3 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00117955s
Runtime decision procedure: 0.00752555s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-semi1.wvr.c function main
[nodatarace.assertion.0] line 68 No data races on variable x between line 60 and line 43: SUCCESS
[nodatarace.assertion.1] line 68 No data races on variable x between line 60 and line 52: SUCCESS
[nodatarace.assertion.2] line 68 No data races on variable x between line 71 and line 43: SUCCESS
[nodatarace.assertion.3] line 68 No data races on variable x between line 71 and line 52: SUCCESS

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