./deagle /mnt/goblint-svcomp/goblint-bench/bench/concrat/properties/no-data-race.prp /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i --32


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


./deagle_exe --svcomp --graphml-witness error-witness.graphml --no-assertions --datarace /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i
Deagle version 2.2 64-bit x86_64 linux
which contains:
CBMC version 5.67.0 (svcomp24-11-gfd1b965b5-dirty) 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
Use SV-COMP unwinding strategy: 5
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
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.0 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i line 1024 function main thread 0
Unwinding loop main.0 iteration 4 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 5 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
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
Unwinding loop main.1 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i line 1029 function main thread 0
Unwinding loop main.1 iteration 4 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 5 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)
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)
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)
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 5
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)
Start removing dummy accesses: 550 steps before removal
symex_dynamic::dynamic_object1#11 is dummy and removed
symex_dynamic::dynamic_object1#13 is dummy and removed
symex_dynamic::dynamic_object1#15 is dummy and removed
symex_dynamic::dynamic_object1#17 is dummy and removed
symex_dynamic::dynamic_object1#19 is dummy and removed
545 steps after removal
Handling datarace with no aid
The number of races before filter: 20
The number of races after filter: 20
The number of race categories before filter: 4
The number of race categories after filter: 4
	1014(1) - 1017(1) data
	1027(1) - 1017(1) data
	1013(1) - 1016(1) ready
	1028(1) - 1016(1) ready
Races between line 1014 - line 1017:
	data#1 data#3
	data#1 data#4
	data#1 data#5
	data#1 data#6
	data#1 data#7
Races between line 1027 - line 1017:
	data#2 data#3
	data#2 data#4
	data#2 data#5
	data#2 data#6
	data#2 data#7
Races between line 1013 - line 1016:
	ready#1 ready#3
	ready#1 ready#4
	ready#1 ready#5
	ready#1 ready#6
	ready#1 ready#7
Races between line 1028 - line 1016:
	ready#2 ready#3
	ready#2 ready#4
	ready#2 ready#5
	ready#2 ready#6
	ready#2 ready#7
Runtime Symex: 0.206335s
Adding SC constraints
Shared __CPROVER_threads_exited: 10R/6W
Shared __CPROVER_next_thread_id: 9R/6W
Shared __CPROVER_memory_leak: 1R/3W
Shared data: 5R/2W
Shared ready: 5R/2W
Shared symex_dynamic::dynamic_object1: 9R/6W
size of program expression: 803 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00437847s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00463718s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0168687s
Solving with Deagle's Closure Solver
23926 variables, 78427 clauses
ClosureSolver finishes with 92 conflicts, 27777 decisions, and 199318 propagations. 29 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.0323703s
Runtime decision procedure: 0.0470704s
Building error trace

** Results:
[nodatarace.assertion.0] No data races on variable data between line 1014 and line 1017: UNKNOWN
[nodatarace.assertion.1] No data races on variable data between line 1027 and line 1017: UNKNOWN
[nodatarace.assertion.2] No data races on variable ready between line 1013 and line 1016: UNKNOWN
[nodatarace.assertion.3] No data races on variable ready between line 1028 and line 1016: FAILURE
Counterexample:

State 26 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1021 thread 0
----------------------------------------------------
  threads_total=1 (00000000 00000000 00000000 00000001)

State 29 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1022 thread 0
----------------------------------------------------
  cond=1 (00000000 00000000 00000000 00000001)

State 36 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1023 thread 0
----------------------------------------------------
  malloc_size=4u (00000000 00000000 00000000 00000100)

State 59 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1023 thread 0
----------------------------------------------------
  tids=dynamic_object1 (00000010 00000000 00000000 00000000)

State 61 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1024 thread 0
----------------------------------------------------
  i=0 (00000000 00000000 00000000 00000000)

State 65 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1025 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 (00000010 00000000 00000000 00000000)

State 66 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1025 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 67 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1025 thread 0
----------------------------------------------------
  start_routine=thread (00000011 00000000 00000000 00000000)

State 68 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1025 thread 0
----------------------------------------------------
  arg=NULL (00000000 00000000 00000000 00000000)

State 89 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1024 thread 0
----------------------------------------------------
  i=1 (00000000 00000000 00000000 00000001)

State 92 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1027 thread 0
----------------------------------------------------
  data=0 (00000000 00000000 00000000 00000000)

State 93 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1028 thread 0
----------------------------------------------------
  ready=TRUE (00000001)

State 95 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1029 thread 0
----------------------------------------------------
  i=0 (00000000 00000000 00000000 00000000)

State 99 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1030 thread 0
----------------------------------------------------
  pthread_join$$thread=1u (00000000 00000000 00000000 00000001)

State 100 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1030 thread 0
----------------------------------------------------
  value_ptr=((const void **)NULL) (00000000 00000000 00000000 00000000)

State 106 file <builtin-library-pthread_create> function pthread_create line 49 thread 1
----------------------------------------------------
  this_thread_id=1u (00000000 00000000 00000000 00000001)

State 107 file <builtin-library-pthread_create> function pthread_create line 49 thread 1
----------------------------------------------------
  next_thread_key=0u (00000000 00000000 00000000 00000000)

State 108 file <builtin-library-pthread_create> function pthread_create line 49 thread 1
----------------------------------------------------
  start_routine=thread (00000011 00000000 00000000 00000000)

State 109 file <builtin-library-pthread_create> function pthread_create line 49 thread 1
----------------------------------------------------
  arg=NULL (00000000 00000000 00000000 00000000)

State 115 file <builtin-library-__spawned_thread> function __spawned_thread line 34 thread 1
----------------------------------------------------
  arg=NULL (00000000 00000000 00000000 00000000)

Violated property:
  file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier-race.i function main line 1024 thread 5
  No data races on variable ready between line 1028 and line 1016


VERIFICATION FAILED
