./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i


--------------------------------------------------------------------------------


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/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i
Converting
Type-checking value-barrier-race
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 value-barrier-race file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i line 727
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 *pthread_create$$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 1 possible targets
Generic Property Instrumentation
Running with 8 object bits, 24 offset bits (default)
Starting Bounded Model Checking
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:1021:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(data,
                                     NoOffset)) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:1027:3)
[Warning][Unknown] Invalidating expressions: CastE(TPtr(TVoid(), ), Lval(Var(tids, NoOffset))) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:1032:3)
[Warning][Deadcode] Function "__bswap_16" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:163:1)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:168:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:173:15)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:178:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:183:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:188:1)
[Warning][Race] Memory location ready@value-barrier-race.i:1013:7 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:1016:3)
  write with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:1028:3)
[Warning][Race] Memory location data@value-barrier-race.i:1014:5 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:1017:3)
  write with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i:1027:3)

Summary for all memory locations:
	safe:            2
	vulnerable:      0
	unsafe:          2
	-------------------
	total:           4
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
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i line 1024 function main thread 0
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i line 1024 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i line 1029 function main thread 0
Not unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i line 1029 function main thread 0
pointer handling for concurrency is unsound
replacing self-loop at file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i line 1016 function thread by assume(!TRUE)
aborting path on assume(false) at file <builtin-library-__spawned_thread> line 34 function __spawned_thread thread 2
replacing self-loop at file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i line 1016 function thread by assume(!TRUE)
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/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 1016 1017 1018 1027 1028 1029 
The number of races before goblint filter: 8
The number of races after goblint filter: 4
Race categories: 2
	1027(1) - 1017(1) data:
		data#2 data#3
		data#2 data#4
	1028(1) - 1016(1) ready:
		ready#2 ready#3
		ready#2 ready#4
Runtime Symex: 0.129958s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared __CPROVER_memory_leak: 1R/3W
Shared data: 2R/2W
Shared ready: 2R/2W
Shared symex_dynamic::dynamic_object1: 5R/3W
size of program expression: 351 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00117818s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00194781s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00211058s
Solving with Deagle's Closure solver
5019 variables, 11928 clauses
ClosureSolver finishes with 11 conflicts, 1995 decisions, and 11388 propagations. 9 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.00334806s
Runtime decision procedure: 0.0107448s
Running propositional reduction
Solving with Deagle's Closure solver
5019 variables, 9959 clauses
ClosureSolver finishes with 11 conflicts, 2969 decisions, and 15299 propagations. 9 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000326537s
Runtime decision procedure: 0.000337086s

** Results:
/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main
[nodatarace.assertion.0] line 1024 No data races on variable data between line 1027 and line 1017: FAILURE
[nodatarace.assertion.1] line 1024 No data races on variable ready between line 1028 and line 1016: FAILURE

** 2 of 2 failed (3 iterations)
VERIFICATION FAILED
