./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.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-hard1.wvr.c
Converting
Type-checking test-hard1.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-hard1.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.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 4 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/test-hard1.wvr.c:121:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:121:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n2,
                                     NoOffset)), AddrOf(Var(n1, NoOffset)), AddrOf(Var(m, NoOffset)), AddrOf(Var(p2, NoOffset)), AddrOf(Var(p1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:121:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(p1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:121:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:122:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:122:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n2, NoOffset)), AddrOf(Var(n1, NoOffset)), AddrOf(Var(m, NoOffset)), AddrOf(Var(p2, NoOffset)), AddrOf(Var(p1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:122:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(p2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:122:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:123:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:124:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:125:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:125:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n2, NoOffset)), AddrOf(Var(n1, NoOffset)), AddrOf(Var(m, NoOffset)), AddrOf(Var(p2, NoOffset)), AddrOf(Var(p1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:125:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(m, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:125:3)
[Warning][Race] Memory location p2@test-hard1.wvr.c:39:18 (race with conf. 110):
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:132:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:87:7)
  read with {thread:([thread4@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:133:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:106:7)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:138:3)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:132:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:87:7)
  write with {thread:([thread4@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:133:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:106:7)
[Warning][Race] Memory location p1@test-hard1.wvr.c:39:14 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:130:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:49:7)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:131:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:68:7)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:138:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:130:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:49:7)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:131:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:68:7)
[Warning][Race] Memory location n1@test-hard1.wvr.c:40:5 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:130:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:44:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:130:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:48:5)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:130:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:50:7)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:130:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:54:5)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:131:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:63:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:131:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:67:5)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:131:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:69:7)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:131:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:73:5)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:130:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:50:7)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:131:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:69:7)
[Warning][Race] Memory location n2@test-hard1.wvr.c:40:9 (race with conf. 110):
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:132:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:82:3)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:132:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:86:5)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:132:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:88:7)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:132:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:92:5)
  read with {thread:([thread4@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:133:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:101:3)
  read with {thread:([thread4@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:133:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:105:5)
  read with {thread:([thread4@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:133:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:107:7)
  read with {thread:([thread4@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:133:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:111:5)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:132:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:88:7)
  write with {thread:([thread4@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:133:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c:107:7)

Summary for all memory locations:
	safe:            1
	vulnerable:      0
	unsafe:          4
	-------------------
	total:           5
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/test-hard1.wvr.c line 46 function thread1 thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c line 46 function thread1 thread 1
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c line 65 function thread2 thread 2
Not unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c line 65 function thread2 thread 2
Unwinding loop thread3.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c line 84 function thread3 thread 3
Not unwinding loop thread3.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c line 84 function thread3 thread 3
Unwinding loop thread4.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c line 103 function thread4 thread 4
Not unwinding loop thread4.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/test-hard1.wvr.c line 103 function thread4 thread 4
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-hard1.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 101 102 105 106 107 108 111 112 121 122 138 139 44 45 48 49 50 51 54 55 63 64 67 68 69 70 73 74 82 83 86 87 88 89 92 93 
The number of races before goblint filter: 120
The number of races after goblint filter: 0
Race categories: 0
Runtime Symex: 0.548471s
Adding SC constraints
Shared __CPROVER_threads_exited: 8R/5W
Shared __CPROVER_next_thread_id: 7R/5W
Shared p1: 6R/6W
Shared p2: 6R/6W
Shared m: 8R/2W
Shared n1: 10R/6W
Shared n2: 10R/6W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
Shared main::1::t3!0@1: 2R/2W
Shared main::1::t4!0@1: 2R/2W
size of program expression: 922 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00759089s
VERIFICATION SUCCESSFUL
