./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.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/parallel-misc-2.wvr.c
Converting
Type-checking parallel-misc-2.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 parallel-misc-2.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.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/parallel-misc-2.wvr.c:83:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:83:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(d2,
                                     NoOffset)), AddrOf(Var(d1, NoOffset)), AddrOf(Var(N, NoOffset)), AddrOf(Var(i2, NoOffset)), AddrOf(Var(i1, NoOffset)), AddrOf(Var(pos, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:83:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(pos, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:83:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:84:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:84:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(d2, NoOffset)), AddrOf(Var(d1, NoOffset)), AddrOf(Var(N, NoOffset)), AddrOf(Var(i2, NoOffset)), AddrOf(Var(i1, NoOffset)), AddrOf(Var(pos, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:84:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(i1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:84:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:85:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:85:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(d2, NoOffset)), AddrOf(Var(d1, NoOffset)), AddrOf(Var(N, NoOffset)), AddrOf(Var(i2, NoOffset)), AddrOf(Var(i1, NoOffset)), AddrOf(Var(pos, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:85:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(i2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:85:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:86:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:86:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(d2, NoOffset)), AddrOf(Var(d1, NoOffset)), AddrOf(Var(N, NoOffset)), AddrOf(Var(i2, NoOffset)), AddrOf(Var(i1, NoOffset)), AddrOf(Var(pos, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:86:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(N, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:86:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:87:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:87:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(d2, NoOffset)), AddrOf(Var(d1, NoOffset)), AddrOf(Var(N, NoOffset)), AddrOf(Var(i2, NoOffset)), AddrOf(Var(i1, NoOffset)), AddrOf(Var(pos, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:87:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(d1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:87:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:88:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:88:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(d2, NoOffset)), AddrOf(Var(d1, NoOffset)), AddrOf(Var(N, NoOffset)), AddrOf(Var(i2, NoOffset)), AddrOf(Var(i1, NoOffset)), AddrOf(Var(pos, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:88:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(d2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:88:3)
[Warning][Race] Memory location pos@parallel-misc-2.wvr.c:38:14 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:94:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:45:7)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:94:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:50:7)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:95:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:64:7)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:95:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:69:7)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:98:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:94:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:45:7)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:94:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:50:7)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:95:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:64:7)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:95:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c:69:7)

Summary for all memory locations:
	safe:            5
	vulnerable:      0
	unsafe:          1
	-------------------
	total:           6
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 thread1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c line 42 function thread1 thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c line 42 function thread1 thread 1
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c line 61 function thread2 thread 2
Not unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c line 61 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/parallel-misc-2.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 45 46 50 51 64 65 69 70 83 84 98 99 
The number of races before goblint filter: 104
The number of races after goblint filter: 32
Race categories: 8
	83(1) - 46(1) pos:
		pos#2 pos#5
		pos#2 pos#7
		pos#2 pos#11
		pos#2 pos#13
	83(1) - 51(1) pos:
		pos#2 pos#8
		pos#2 pos#10
		pos#2 pos#14
		pos#2 pos#16
	83(1) - 65(1) pos:
		pos#2 pos#17
		pos#2 pos#19
		pos#2 pos#23
		pos#2 pos#25
	83(1) - 70(1) pos:
		pos#2 pos#20
		pos#2 pos#22
		pos#2 pos#26
		pos#2 pos#28
	98(1) - 46(1) pos:
		pos#3 pos#7
		pos#3 pos#13
		pos#4 pos#7
		pos#4 pos#13
	98(1) - 51(1) pos:
		pos#3 pos#10
		pos#3 pos#16
		pos#4 pos#10
		pos#4 pos#16
	98(1) - 65(1) pos:
		pos#3 pos#19
		pos#3 pos#25
		pos#4 pos#19
		pos#4 pos#25
	98(1) - 70(1) pos:
		pos#3 pos#22
		pos#3 pos#28
		pos#4 pos#22
		pos#4 pos#28
Runtime Symex: 0.408181s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared pos: 10R/10W
Shared i1: 4R/4W
Shared i2: 4R/4W
Shared N: 4R/2W
Shared d1: 4R/4W
Shared d2: 4R/4W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
size of program expression: 564 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00296626s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00460493s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000853693s
Solving with Deagle's Closure solver
6921 variables, 23365 clauses
ClosureSolver finishes with 88 conflicts, 502 decisions, and 10514 propagations. 74 theory propagations and 0 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00254879s
Runtime decision procedure: 0.016808s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-2.wvr.c function main
[nodatarace.assertion.0] line 95 No data races on variable pos between line 83 and line 46: SUCCESS
[nodatarace.assertion.1] line 95 No data races on variable pos between line 83 and line 51: SUCCESS
[nodatarace.assertion.2] line 95 No data races on variable pos between line 83 and line 65: SUCCESS
[nodatarace.assertion.3] line 95 No data races on variable pos between line 83 and line 70: SUCCESS
[nodatarace.assertion.4] line 95 No data races on variable pos between line 98 and line 46: SUCCESS
[nodatarace.assertion.5] line 95 No data races on variable pos between line 98 and line 51: SUCCESS
[nodatarace.assertion.6] line 95 No data races on variable pos between line 98 and line 65: SUCCESS
[nodatarace.assertion.7] line 95 No data races on variable pos between line 98 and line 70: SUCCESS

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