./deagle /mnt/goblint-svcomp/goblint-bench/bench/concrat/properties/no-data-race.prp /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i --32


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


./deagle_exe --svcomp --graphml-witness error-witness.graphml --no-assertions --datarace /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i
Deagle version 2.2 64-bit x86_64 linux
which contains:
CBMC version 5.67.0 (5fa82e0) 64-bit x86_64 linux
Parsing /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i
Converting
Type-checking per-thread-array-init-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 per-thread-array-init-race file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-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/per-thread-array-init-race.i line 1023 function main thread 0
Unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i line 1023 function main thread 0
Unwinding loop main.0 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i line 1023 function main thread 0
Unwinding loop main.0 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i line 1023 function main thread 0
Not unwinding loop main.0 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i line 1023 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i line 1027 function main thread 0
Unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i line 1027 function main thread 0
Unwinding loop main.1 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i line 1027 function main thread 0
Unwinding loop main.1 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i line 1027 function main thread 0
Not unwinding loop main.1 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i line 1027 function main thread 0
pointer handling for concurrency is unsound
aborting path on assume(false) at file <builtin-library-__spawned_thread> line 34 function __spawned_thread thread 5
Start removing dummy accesses: 645 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
640 steps after removal
Handling datarace with no aid
The number of races before filter: 24
The number of races after filter: 24
The number of race categories before filter: 2
The number of race categories after filter: 2
	1025(1) - 1015(1) symex_dynamic::dynamic_object2
	44(1) - 1015(1) symex_dynamic::dynamic_object2
Races between line 1025 - line 1015:
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#18
	symex_dynamic::dynamic_object2#8 symex_dynamic::dynamic_object2#18
	symex_dynamic::dynamic_object2#11 symex_dynamic::dynamic_object2#18
	symex_dynamic::dynamic_object2#14 symex_dynamic::dynamic_object2#18
	symex_dynamic::dynamic_object2#17 symex_dynamic::dynamic_object2#18
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#19
	symex_dynamic::dynamic_object2#8 symex_dynamic::dynamic_object2#19
	symex_dynamic::dynamic_object2#11 symex_dynamic::dynamic_object2#19
	symex_dynamic::dynamic_object2#14 symex_dynamic::dynamic_object2#19
	symex_dynamic::dynamic_object2#17 symex_dynamic::dynamic_object2#19
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#20
	symex_dynamic::dynamic_object2#8 symex_dynamic::dynamic_object2#20
	symex_dynamic::dynamic_object2#11 symex_dynamic::dynamic_object2#20
	symex_dynamic::dynamic_object2#14 symex_dynamic::dynamic_object2#20
	symex_dynamic::dynamic_object2#17 symex_dynamic::dynamic_object2#20
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#21
	symex_dynamic::dynamic_object2#8 symex_dynamic::dynamic_object2#21
	symex_dynamic::dynamic_object2#11 symex_dynamic::dynamic_object2#21
	symex_dynamic::dynamic_object2#14 symex_dynamic::dynamic_object2#21
	symex_dynamic::dynamic_object2#17 symex_dynamic::dynamic_object2#21
Races between line 44 - line 1015:
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#18
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#19
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#20
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#21
Runtime Symex: 0.271793s
Adding SC constraints
Shared __CPROVER_threads_exited: 10R/6W
Shared __CPROVER_next_thread_id: 9R/6W
Shared __CPROVER_memory_leak: 2R/5W
Shared thread::1::p$object: 5R/1W
Shared symex_dynamic::dynamic_object1: 9R/6W
Shared symex_dynamic::dynamic_object2: 14R/7W
size of program expression: 968 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00441218s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00690259s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0337391s
Solving with Deagle's Closure Solver
47922 variables, 153313 clauses
ClosureSolver finishes with 141 conflicts, 5422 decisions, and 100801 propagations. 99 theory propagations and 1 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.044463s
Runtime decision procedure: 0.0627928s
Building error trace

** Results:
[nodatarace.assertion.0] No data races on variable symex_dynamic::dynamic_object2 between line 1025 and line 1015: FAILURE
[nodatarace.assertion.1] No data races on variable symex_dynamic::dynamic_object2 between line 44 and line 1015: UNKNOWN
Counterexample:

State 22 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1019 thread 0
----------------------------------------------------
  threads_total=2 (00000000 00000000 00000000 00000010)

State 25 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1020 thread 0
----------------------------------------------------
  cond=1 (00000000 00000000 00000000 00000001)

State 32 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1021 thread 0
----------------------------------------------------
  malloc_size=8u (00000000 00000000 00000000 00001000)

State 55 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1021 thread 0
----------------------------------------------------
  tids=dynamic_object1 (00000011 00000000 00000000 00000000)

State 60 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1022 thread 0
----------------------------------------------------
  nmemb=2u (00000000 00000000 00000000 00000010)

State 61 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1022 thread 0
----------------------------------------------------
  size=4u (00000000 00000000 00000000 00000100)

State 65 file <builtin-library-calloc> function calloc line 13 thread 0
----------------------------------------------------
  tmp_overflow_result.value=8u (00000000 00000000 00000000 00001000)

State 66 file <builtin-library-calloc> function calloc line 13 thread 0
----------------------------------------------------
  tmp_overflow_result.overflow-*=FALSE (0)

State 91 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1022 thread 0
----------------------------------------------------
  is=(signed int *)&dynamic_object2 (00000010 00000000 00000000 00000000)

State 93 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1023 thread 0
----------------------------------------------------
  i=0 (00000000 00000000 00000000 00000000)

State 97 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1024 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 (00000011 00000000 00000000 00000000)

State 98 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1024 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 99 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1024 thread 0
----------------------------------------------------
  start_routine=thread (00000100 00000000 00000000 00000000)

State 100 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1024 thread 0
----------------------------------------------------
  arg=(const void *)dynamic_object2 (00000010 00000000 00000000 00000000)

State 123 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1025 thread 0
----------------------------------------------------
  byte_extract_little_endian(dynamic_object2, 0, signed int)=byte_extract_little_endian({ [0u]=0, [1u]=0, [2u]=0, [3u]=0, [4u]=0, [5u]=0, [6u]=0, [7u]=0, [8u]=0, [9u]=0, [10u]=0, [11u]=0, [12u]=0, [13u]=0, [14u]=0, [15u]=0, [16u]=0, [17u]=0, [18u]=0, [19u]=0 }, 0, signed int) (?)

State 124 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1023 thread 0
----------------------------------------------------
  i=1 (00000000 00000000 00000000 00000001)

State 129 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1024 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 + 1 (00000011 00000000 00000000 00000100)

State 130 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1024 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 131 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1024 thread 0
----------------------------------------------------
  start_routine=thread (00000100 00000000 00000000 00000000)

State 132 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1024 thread 0
----------------------------------------------------
  arg=(const void *)(dynamic_object2 + 4) (00000010 00000000 00000000 00000100)

State 153 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1025 thread 0
----------------------------------------------------
  byte_extract_little_endian(dynamic_object2, 4, signed int)=byte_extract_little_endian({ [0u]=0, [1u]=0, [2u]=0, [3u]=0, [4u]=1, [5u]=0, [6u]=0, [7u]=0, [8u]=0, [9u]=0, [10u]=0, [11u]=0, [12u]=0, [13u]=0, [14u]=0, [15u]=0, [16u]=0, [17u]=0, [18u]=0, [19u]=0 }, 4, signed int) (?)

State 154 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1023 thread 0
----------------------------------------------------
  i=2 (00000000 00000000 00000000 00000010)

State 158 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1027 thread 0
----------------------------------------------------
  i=0 (00000000 00000000 00000000 00000000)

State 162 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1028 thread 0
----------------------------------------------------
  pthread_join$$thread=1u (00000000 00000000 00000000 00000001)

State 163 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1028 thread 0
----------------------------------------------------
  value_ptr=((const void **)NULL) (00000000 00000000 00000000 00000000)

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

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

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

State 172 file <builtin-library-pthread_create> function pthread_create line 49 thread 1
----------------------------------------------------
  arg=(const void *)dynamic_object2 (00000010 00000000 00000000 00000000)

State 178 file <builtin-library-__spawned_thread> function __spawned_thread line 34 thread 1
----------------------------------------------------
  arg=(const void *)dynamic_object2 (00000010 00000000 00000000 00000000)

State 180 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function thread line 1014 thread 1
----------------------------------------------------
  p=(signed int *)&dynamic_object2 (00000010 00000000 00000000 00000000)

State 182 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function thread line 1015 thread 2
----------------------------------------------------
  i=0 (00000000 00000000 00000000 00000000)

State 185 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function thread line 1015 thread 1
----------------------------------------------------
  i=0 (00000000 00000000 00000000 00000000)

State 193 file <builtin-library-pthread_create> function pthread_create line 49 thread 2
----------------------------------------------------
  this_thread_id=2u (00000000 00000000 00000000 00000010)

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

State 195 file <builtin-library-pthread_create> function pthread_create line 49 thread 2
----------------------------------------------------
  start_routine=thread (00000100 00000000 00000000 00000000)

State 196 file <builtin-library-pthread_create> function pthread_create line 49 thread 2
----------------------------------------------------
  arg=(const void *)(dynamic_object2 + 4) (00000010 00000000 00000000 00000100)

State 202 file <builtin-library-__spawned_thread> function __spawned_thread line 34 thread 2
----------------------------------------------------
  arg=(const void *)(dynamic_object2 + 4) (00000010 00000000 00000000 00000100)

State 204 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function thread line 1014 thread 2
----------------------------------------------------
  p=(signed int *)((char *)&dynamic_object2 + 4) (00000010 00000000 00000000 00000100)

Violated property:
  file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-init-race.i function main line 1025 thread 5
  No data races on variable symex_dynamic::dynamic_object2 between line 1025 and line 1015


VERIFICATION FAILED
