./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.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-more-queue-add-2-nl.wvr.c
Converting
Type-checking popl20-more-queue-add-2-nl.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-more-queue-add-2-nl.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.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/popl20-more-queue-add-2-nl.wvr.c:89:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:89:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(C,
                                     NoOffset)), AddrOf(Var(y, NoOffset)), AddrOf(Var(x, NoOffset)), AddrOf(Var(N, NoOffset)), AddrOf(Var(s, NoOffset)), AddrOf(Var(n, NoOffset)), AddrOf(Var(q_back, NoOffset)), AddrOf(Var(q_front, NoOffset)), AddrOf(Var(q, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:89:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(C, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:89:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(N, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:90:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:91:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(q_front, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:92:3)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr, NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:116:5)
[Warning][Race] Memory location x@popl20-more-queue-add-2-nl.wvr.c:44:14 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:55:5)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:62:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:104:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:55:5)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:62:3)
[Warning][Race] Memory location y@popl20-more-queue-add-2-nl.wvr.c:44:17 (race with conf. 110):
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:101:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:77:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:104:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:101:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:77:5)
[Warning][Race] Memory location s@popl20-more-queue-add-2-nl.wvr.c:43:25 (race with conf. 110):
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:101:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:76:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:104:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:101:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:69:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:101:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:76:5)
[Warning][Race] Memory location q_back@popl20-more-queue-add-2-nl.wvr.c:43:14 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:51:5)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:52:5)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:53:5)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:58:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:59:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:60:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:101:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:72:5)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:53:5)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:100:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c:60:3)

Summary for all memory locations:
	safe:            6
	vulnerable:      0
	unsafe:          4
	-------------------
	total:          10
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_int_array.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c line 115 function create_fresh_int_array thread 0
Not unwinding loop create_fresh_int_array.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c line 115 function create_fresh_int_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
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
Unwinding loop thread1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c line 49 function thread1 thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c line 49 function thread1 thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c line 70 function thread2 thread 2
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Not unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c line 70 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/popl20-more-queue-add-2-nl.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 104 105 51 52 53 54 55 56 58 59 60 61 62 63 69 70 72 73 76 77 78 89 90 
The number of races before goblint filter: 104
The number of races after goblint filter: 21
Race categories: 8
	89(1) - 55(1) C:
		C#2 C#3
		C#2 C#4
	89(1) - 62(1) C:
		C#2 C#5
	89(1) - 77(1) C:
		C#2 C#6
		C#2 C#7
	104(1) - 69(1) s:
		s#2 s#4
		s#3 s#4
	104(1) - 76(1) s:
		s#2 s#6
		s#2 s#8
		s#3 s#6
		s#3 s#8
	104(1) - 55(1) x:
		x#2 x#5
		x#2 x#7
		x#3 x#5
		x#3 x#7
	104(1) - 62(1) x:
		x#2 x#9
		x#3 x#9
	104(1) - 77(1) y:
		y#2 y#5
		y#2 y#7
		y#3 y#5
		y#3 y#7
Runtime Symex: 0.581098s
Adding SC constraints
Shared C: 5R/2W
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared q: 5R/2W
Shared q_front: 2R/4W
Shared q_back: 5R/5W
Shared n: 5R/2W
Shared s: 4R/4W
Shared N: 4R/2W
Shared x: 5R/4W
Shared y: 4R/3W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
Shared symex_dynamic::dynamic_object1: 5R/3W
size of program expression: 741 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00344922s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00549443s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0152612s
Solving with Deagle's Closure solver
31555 variables, 117475 clauses
ClosureSolver finishes with 19 conflicts, 78 decisions, and 10524 propagations. 117 theory propagations and 2 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.0182716s
Runtime decision procedure: 0.0356338s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-queue-add-2-nl.wvr.c function main
[nodatarace.assertion.0] line 101 No data races on variable C between line 89 and line 55: SUCCESS
[nodatarace.assertion.1] line 101 No data races on variable C between line 89 and line 62: SUCCESS
[nodatarace.assertion.2] line 101 No data races on variable C between line 89 and line 77: SUCCESS
[nodatarace.assertion.3] line 101 No data races on variable s between line 104 and line 69: SUCCESS
[nodatarace.assertion.4] line 101 No data races on variable s between line 104 and line 76: SUCCESS
[nodatarace.assertion.5] line 101 No data races on variable x between line 104 and line 55: SUCCESS
[nodatarace.assertion.6] line 101 No data races on variable x between line 104 and line 62: SUCCESS
[nodatarace.assertion.7] line 101 No data races on variable y between line 104 and line 77: SUCCESS

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