./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.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-queue.wvr.c
Converting
Type-checking popl20-simple-queue.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-queue.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.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(n,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:74:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(front, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:75:3)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr, NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:97:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:50:5)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:47:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:47:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n,
                                     NoOffset)), AddrOf(Var(x, NoOffset)), AddrOf(Var(back, NoOffset)), AddrOf(Var(front, NoOffset)), AddrOf(Var(queue, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:47:3)
[Warning][Unknown] Unknown address in {&queue} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:47:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp___0, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:47:3)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:62:5)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:59:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:59:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n,
                                     NoOffset)), AddrOf(Var(x, NoOffset)), AddrOf(Var(back, NoOffset)), AddrOf(Var(front, NoOffset)), AddrOf(Var(queue, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:59:3)
[Warning][Unknown] Unknown address in {&queue} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:59:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp___0, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:59:3)
[Warning][Race] Memory location x@popl20-simple-queue.wvr.c:42:18 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:85:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:82:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:62:5)
[Warning][Race] Memory location back@popl20-simple-queue.wvr.c:42:12 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:81:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:49:5)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:81:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:50:5)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:81:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:51:5)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:82:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:61:5)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:81:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c:51:5)

Summary for all memory locations:
	safe:            4
	vulnerable:      0
	unsafe:          2
	-------------------
	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 create_fresh_int_array.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c line 96 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-simple-queue.wvr.c line 96 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 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-simple-queue.wvr.c line 47 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-simple-queue.wvr.c line 47 function thread1 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-simple-queue.wvr.c line 59 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-simple-queue.wvr.c line 59 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-simple-queue.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 47 48 49 50 51 52 59 60 61 62 63 74 75 85 86 
The number of races before goblint filter: 56
The number of races after goblint filter: 2
Race categories: 1
	74(1) - 52(1) n:
		n#2 n#3
		n#2 n#5
Runtime Symex: 0.276767s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared queue: 4R/2W
Shared front: 2R/4W
Shared back: 4R/4W
Shared x: 2R/4W
Shared n: 4R/2W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
Shared symex_dynamic::dynamic_object1: 4R/3W
size of program expression: 548 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00184509s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00335088s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00639506s
Solving with Deagle's Closure solver
21070 variables, 12054 clauses
SAT checker inconsistent: instance is UNSATISFIABLE
Runtime Solver: 0.00641988s
Runtime decision procedure: 0.0175063s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-simple-queue.wvr.c function main
[nodatarace.assertion.0] line 82 No data races on variable n between line 74 and line 52: SUCCESS

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