./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.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-bluetooth.wvr.c
Converting
Type-checking parallel-bluetooth.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-bluetooth.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.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(count,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:94:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(pos, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:95:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:96:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:96:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(v_assert, NoOffset)), AddrOf(Var(stopped, NoOffset)), AddrOf(Var(sEvent, NoOffset)), AddrOf(Var(sFlag, NoOffset)), AddrOf(Var(pos, NoOffset)), AddrOf(Var(count, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:96:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(sFlag, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:96:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:97:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:97:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(v_assert, NoOffset)), AddrOf(Var(stopped, NoOffset)), AddrOf(Var(sEvent, NoOffset)), AddrOf(Var(sFlag, NoOffset)), AddrOf(Var(pos, NoOffset)), AddrOf(Var(count, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:97:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(sEvent, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:97:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:98:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:98:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(v_assert, NoOffset)), AddrOf(Var(stopped, NoOffset)), AddrOf(Var(sEvent, NoOffset)), AddrOf(Var(sFlag, NoOffset)), AddrOf(Var(pos, NoOffset)), AddrOf(Var(count, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:98:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(stopped, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:98:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:99:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:99:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(v_assert, NoOffset)), AddrOf(Var(stopped, NoOffset)), AddrOf(Var(sEvent, NoOffset)), AddrOf(Var(sFlag, NoOffset)), AddrOf(Var(pos, NoOffset)), AddrOf(Var(count, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:99:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(v_assert, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:99:3)
[Warning][Race] Memory location sFlag@parallel-bluetooth.wvr.c:39:7 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:110:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:43:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:110:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:44:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:64:3)
[Warning][Race] Memory location sEvent@parallel-bluetooth.wvr.c:39:14 (race with conf. 110):
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:81:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:110:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:55:5)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:77:5)
[Warning][Race] Memory location v_assert@parallel-bluetooth.wvr.c:39:31 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:114:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:110:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:44:3)
[Warning][Race] Memory location stopped@parallel-bluetooth.wvr.c:39:22 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:110:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:44:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:84:3)
[Warning][Race] Memory location count@parallel-bluetooth.wvr.c:38:5 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:110:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:43:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:110:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:48:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:110:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:51:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:67:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:70:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:73:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:110:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:43:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:110:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:48:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:67:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:111:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c:70:3)

Summary for all memory locations:
	safe:            0
	vulnerable:      0
	unsafe:          5
	-------------------
	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
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 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 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-bluetooth.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 114 115 43 44 45 48 49 51 52 55 56 64 65 67 68 70 71 73 74 77 78 81 82 84 85 94 95 
The number of races before goblint filter: 38
The number of races after goblint filter: 12
Race categories: 7
	94(1) - 45(1) count:
		count#2 count#3
		count#2 count#5
	94(1) - 49(1) count:
		count#2 count#6
		count#2 count#8
	94(1) - 52(1) count:
		count#2 count#9
	94(1) - 68(1) count:
		count#2 count#11
		count#2 count#13
	94(1) - 71(1) count:
		count#2 count#14
		count#2 count#16
	94(1) - 74(1) count:
		count#2 count#17
	114(1) - 45(1) v_assert:
		v_assert#3 v_assert#5
		v_assert#4 v_assert#5
Runtime Symex: 0.198805s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared count: 6R/6W
Shared sFlag: 1R/3W
Shared sEvent: 1R/4W
Shared stopped: 1R/3W
Shared v_assert: 2R/3W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
size of program expression: 471 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00133911s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0026756s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000927364s
Solving with Deagle's Closure solver
3679 variables, 10298 clauses
ClosureSolver finishes with 5 conflicts, 33 decisions, and 2285 propagations. 37 theory propagations and 4 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.0015143s
Runtime decision procedure: 0.0109393s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bluetooth.wvr.c function main
[nodatarace.assertion.0] line 111 No data races on variable count between line 94 and line 45: SUCCESS
[nodatarace.assertion.1] line 111 No data races on variable count between line 94 and line 49: SUCCESS
[nodatarace.assertion.2] line 111 No data races on variable count between line 94 and line 52: SUCCESS
[nodatarace.assertion.3] line 111 No data races on variable count between line 94 and line 68: SUCCESS
[nodatarace.assertion.4] line 111 No data races on variable count between line 94 and line 71: SUCCESS
[nodatarace.assertion.5] line 111 No data races on variable count between line 94 and line 74: SUCCESS
[nodatarace.assertion.6] line 111 No data races on variable v_assert between line 114 and line 45: SUCCESS

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