./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.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-threaded-sum-3.wvr.c
Converting
Type-checking popl20-threaded-sum-3.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-threaded-sum-3.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.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 3 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-threaded-sum-3.wvr.c:100:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:100:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(U,
                                     NoOffset)), AddrOf(Var(u, NoOffset)), AddrOf(Var(S, NoOffset)), AddrOf(Var(T, NoOffset)), AddrOf(Var(c, NoOffset)), AddrOf(Var(m, NoOffset)), AddrOf(Var(t, NoOffset)), AddrOf(Var(s, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:100:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(S, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:100:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:101:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:101:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(U, NoOffset)), AddrOf(Var(u, NoOffset)), AddrOf(Var(S, NoOffset)), AddrOf(Var(T, NoOffset)), AddrOf(Var(c, NoOffset)), AddrOf(Var(m, NoOffset)), AddrOf(Var(t, NoOffset)), AddrOf(Var(s, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:101:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(T, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:101:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:102:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:102:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(U, NoOffset)), AddrOf(Var(u, NoOffset)), AddrOf(Var(S, NoOffset)), AddrOf(Var(T, NoOffset)), AddrOf(Var(c, NoOffset)), AddrOf(Var(m, NoOffset)), AddrOf(Var(t, NoOffset)), AddrOf(Var(s, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:102:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(U, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:102:3)
[Warning][Race] Memory location u@popl20-threaded-sum-3.wvr.c:38:32 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:42:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:52:5)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:112:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:61:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:112:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:71:5)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:113:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:80:3)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:113:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:87:5)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:113:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:90:5)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:113:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:87:5)
[Warning][Race] Memory location m@popl20-threaded-sum-3.wvr.c:38:20 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:48:7)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:117:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:48:7)
[Warning][Race] Memory location t@popl20-threaded-sum-3.wvr.c:38:17 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:42:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:52:5)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:112:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:61:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:112:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:65:5)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:112:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:66:7)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:112:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:71:5)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:113:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:84:5)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:112:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:66:7)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:113:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:84:5)
[Warning][Race] Memory location s@popl20-threaded-sum-3.wvr.c:38:14 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:42:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:46:5)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:47:7)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:52:5)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:112:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:67:7)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:47:7)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:112:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c:67:7)

Summary for all memory locations:
	safe:            3
	vulnerable:      0
	unsafe:          4
	-------------------
	total:           7
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/popl20-threaded-sum-3.wvr.c line 44 function thread1 thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c line 44 function thread1 thread 1
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c line 63 function thread2 thread 2
Not unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c line 63 function thread2 thread 2
Unwinding loop thread3.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c line 82 function thread3 thread 3
Not unwinding loop thread3.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-threaded-sum-3.wvr.c line 82 function thread3 thread 3
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-threaded-sum-3.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 100 101 117 118 42 43 46 47 48 49 52 53 61 62 65 66 67 68 71 72 80 81 84 85 87 88 90 91 
The number of races before goblint filter: 84
The number of races after goblint filter: 0
Race categories: 0
Runtime Symex: 0.454643s
Adding SC constraints
Shared __CPROVER_threads_exited: 6R/4W
Shared __CPROVER_next_thread_id: 5R/4W
Shared s: 7R/6W
Shared t: 10R/6W
Shared m: 4R/3W
Shared T: 2R/2W
Shared S: 2R/2W
Shared u: 11R/4W
Shared U: 2R/2W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
Shared main::1::t3!0@1: 2R/2W
size of program expression: 729 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00334269s
VERIFICATION SUCCESSFUL
