./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.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/chl-sre-symm.wvr.c
Converting
Type-checking chl-sre-symm.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 chl-sre-symm.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.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_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:57:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:57:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(sponsored_1,
                                     NoOffset)), AddrOf(Var(sponsored_0, NoOffset)), AddrOf(Var(result_3, NoOffset)), AddrOf(Var(result_2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:57:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(sponsored_0, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:57:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:58:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:58:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(sponsored_1, NoOffset)), AddrOf(Var(sponsored_0, NoOffset)), AddrOf(Var(result_3, NoOffset)), AddrOf(Var(result_2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:58:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(sponsored_1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:58:3)
[Warning][Race] Memory location result_2@chl-sre-symm.wvr.c:38:5 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:66:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:67:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:68:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:62:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:42:3)
[Warning][Race] Memory location result_3@chl-sre-symm.wvr.c:38:15 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:66:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:67:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:68:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:63:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c:48:3)

Summary for all memory locations:
	safe:            2
	vulnerable:      0
	unsafe:          2
	-------------------
	total:           4
result_3's upper bound is -1
result_2's upper bound is -1
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
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/chl-sre-symm.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 42 43 48 49 57 58 66 67 68 69 
The number of races before goblint filter: 26
The number of races after goblint filter: 18
Race categories: 10
	66(1) - 42(1) result_2:
		result_2#2 result_2#8
		result_2#3 result_2#8
	67(1) - 42(1) result_2:
		result_2#4 result_2#8
		result_2#5 result_2#8
	68(1) - 42(1) result_2:
		result_2#6 result_2#8
		result_2#7 result_2#8
	66(1) - 48(1) result_3:
		result_3#2 result_3#8
		result_3#3 result_3#8
	67(1) - 48(1) result_3:
		result_3#4 result_3#8
		result_3#5 result_3#8
	68(1) - 48(1) result_3:
		result_3#6 result_3#8
		result_3#7 result_3#8
	57(1) - 42(1) sponsored_0:
		sponsored_0#2 sponsored_0#3
	57(1) - 48(1) sponsored_0:
		sponsored_0#2 sponsored_0#4
		sponsored_0#2 sponsored_0#5
	58(1) - 42(1) sponsored_1:
		sponsored_1#2 sponsored_1#3
		sponsored_1#2 sponsored_1#4
	58(1) - 48(1) sponsored_1:
		sponsored_1#2 sponsored_1#5
Runtime Symex: 0.131582s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared result_2: 6R/2W
Shared result_3: 6R/2W
Shared sponsored_0: 3R/2W
Shared sponsored_1: 3R/2W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
size of program expression: 365 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00153653s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00197511s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000751251s
Solving with Deagle's Closure solver
3288 variables, 8133 clauses
ClosureSolver finishes with 11 conflicts, 39 decisions, and 2653 propagations. 82 theory propagations and 4 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00165724s
Runtime decision procedure: 0.00982232s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-sre-symm.wvr.c function main
[nodatarace.assertion.0] line 63 No data races on variable result_2 between line 66 and line 42: SUCCESS
[nodatarace.assertion.1] line 63 No data races on variable result_2 between line 67 and line 42: SUCCESS
[nodatarace.assertion.2] line 63 No data races on variable result_2 between line 68 and line 42: SUCCESS
[nodatarace.assertion.3] line 63 No data races on variable result_3 between line 66 and line 48: SUCCESS
[nodatarace.assertion.4] line 63 No data races on variable result_3 between line 67 and line 48: SUCCESS
[nodatarace.assertion.5] line 63 No data races on variable result_3 between line 68 and line 48: SUCCESS
[nodatarace.assertion.6] line 63 No data races on variable sponsored_0 between line 57 and line 42: SUCCESS
[nodatarace.assertion.7] line 63 No data races on variable sponsored_0 between line 57 and line 48: SUCCESS
[nodatarace.assertion.8] line 63 No data races on variable sponsored_1 between line 58 and line 42: SUCCESS
[nodatarace.assertion.9] line 63 No data races on variable sponsored_1 between line 58 and line 48: SUCCESS

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