./deagle /mnt/goblint-svcomp/goblint-bench/bench/concrat/properties/no-data-race.prp /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i --32


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


./deagle_exe --svcomp --graphml-witness error-witness.graphml --no-assertions --datarace /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.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/per-thread-index-bitmask-race-3.i
Converting
Type-checking per-thread-index-bitmask-race-3
Generating GOTO Program
Adding CPROVER library (x86_64)
file <builtin-library-pthread_mutex_unlock> line 17: 
reason for conflict at #this.__data: number of members is different (6/8)

struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  signed int __kind;
  unsigned int __nusers;
  union $anon0;
}
struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  unsigned int __nusers;
  signed int __kind;
  signed short int __spins;
  signed short int __elision;
  __pthread_list_t __list;
}
warning: pointer parameter types differ between declaration and definition "pthread_mutex_unlock"
old definition in module per-thread-index-bitmask-race-3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 845
signed int (pthread_mutex_t *)
new definition in module <built-in-library> file <builtin-library-pthread_mutex_unlock> line 17
signed int (pthread_mutex_t *mutex)
file <builtin-library-pthread_mutex_lock> line 17: 
reason for conflict at #this.__data: number of members is different (6/8)

struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  signed int __kind;
  unsigned int __nusers;
  union $anon0;
}
struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  unsigned int __nusers;
  signed int __kind;
  signed short int __spins;
  signed short int __elision;
  __pthread_list_t __list;
}
warning: pointer parameter types differ between declaration and definition "pthread_mutex_lock"
old definition in module per-thread-index-bitmask-race-3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 840
signed int (pthread_mutex_t *)
new definition in module <built-in-library> file <builtin-library-pthread_mutex_lock> line 17
signed int (pthread_mutex_t *mutex)
file <builtin-library-pthread_create> line 20: warning: pointer parameter types differ between declaration and definition "pthread_create"
old definition in module per-thread-index-bitmask-race-3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.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
main::1::threads_total's upper bound is 31
set limit type 3
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
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
**** WARNING: no body for function ffs
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 1054 function main thread 0
Unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 1054 function main thread 0
Unwinding loop main.0 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 1054 function main thread 0
Unwinding loop main.0 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 1054 function main thread 0
Not unwinding loop main.0 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 1054 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 1061 function main thread 0
Unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 1061 function main thread 0
Unwinding loop main.1 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 1061 function main thread 0
Unwinding loop main.1 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 1061 function main thread 0
Not unwinding loop main.1 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i line 1061 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: 903 steps before removal
threads_mask#3 is dummy and removed
threads_mask#6 is dummy and removed
threads_mask#9 is dummy and removed
threads_mask#12 is dummy and removed
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
datas#3 is dummy and removed
datas#5 is dummy and removed
datas#6 is dummy and removed
datas#7 is dummy and removed
datas#8 is dummy and removed
datas#9 is dummy and removed
888 steps after removal
Handling datarace with no aid
The number of races before filter: 170
The number of races after filter: 170
The number of race categories before filter: 7
The number of race categories after filter: 7
	1042(1) - 1042(1) symex_dynamic::dynamic_object2
	40(1) - 1042(1) symex_dynamic::dynamic_object2
	1037(1) - 1044(1) threads_mask
	1044(1) - 1044(1) threads_mask
	1057(1) - 1044(1) threads_mask
	1038(1) - 40(1) threads_mask_mutex
	1038(1) - 42(1) threads_mask_mutex
Races between line 1042 - line 1042:
	symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#5
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#4
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#5
	symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#7
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#6
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#7
	symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#8
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#10
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#7
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#6
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#7
	symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#8
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#10
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#6 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#7 symex_dynamic::dynamic_object2#8
	symex_dynamic::dynamic_object2#7 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#6 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#7 symex_dynamic::dynamic_object2#10
	symex_dynamic::dynamic_object2#7 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#8 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#9 symex_dynamic::dynamic_object2#10
	symex_dynamic::dynamic_object2#9 symex_dynamic::dynamic_object2#11
Races between line 40 - line 1042:
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#2
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#3
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#4
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#5
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#6
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#7
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#8
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#10
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#11
Races between line 1037 - line 1044:
	threads_mask#1 threads_mask#15
	threads_mask#1 threads_mask#16
	threads_mask#1 threads_mask#17
	threads_mask#1 threads_mask#18
	threads_mask#1 threads_mask#19
	threads_mask#1 threads_mask#20
	threads_mask#1 threads_mask#21
	threads_mask#1 threads_mask#22
	threads_mask#1 threads_mask#23
	threads_mask#1 threads_mask#24
Races between line 1044 - line 1044:
	threads_mask#15 threads_mask#18
	threads_mask#16 threads_mask#17
	threads_mask#16 threads_mask#18
	threads_mask#15 threads_mask#20
	threads_mask#16 threads_mask#19
	threads_mask#16 threads_mask#20
	threads_mask#15 threads_mask#22
	threads_mask#16 threads_mask#21
	threads_mask#16 threads_mask#22
	threads_mask#15 threads_mask#24
	threads_mask#16 threads_mask#23
	threads_mask#16 threads_mask#24
	threads_mask#17 threads_mask#20
	threads_mask#18 threads_mask#19
	threads_mask#18 threads_mask#20
	threads_mask#17 threads_mask#22
	threads_mask#18 threads_mask#21
	threads_mask#18 threads_mask#22
	threads_mask#17 threads_mask#24
	threads_mask#18 threads_mask#23
	threads_mask#18 threads_mask#24
	threads_mask#19 threads_mask#22
	threads_mask#20 threads_mask#21
	threads_mask#20 threads_mask#22
	threads_mask#19 threads_mask#24
	threads_mask#20 threads_mask#23
	threads_mask#20 threads_mask#24
	threads_mask#21 threads_mask#24
	threads_mask#22 threads_mask#23
	threads_mask#22 threads_mask#24
Races between line 1057 - line 1044:
	threads_mask#2 threads_mask#15
	threads_mask#2 threads_mask#16
	threads_mask#4 threads_mask#16
	threads_mask#5 threads_mask#15
	threads_mask#5 threads_mask#16
	threads_mask#7 threads_mask#16
	threads_mask#8 threads_mask#15
	threads_mask#8 threads_mask#16
	threads_mask#10 threads_mask#16
	threads_mask#11 threads_mask#15
	threads_mask#11 threads_mask#16
	threads_mask#13 threads_mask#16
	threads_mask#14 threads_mask#15
	threads_mask#14 threads_mask#16
	threads_mask#2 threads_mask#17
	threads_mask#2 threads_mask#18
	threads_mask#4 threads_mask#18
	threads_mask#5 threads_mask#17
	threads_mask#5 threads_mask#18
	threads_mask#7 threads_mask#18
	threads_mask#8 threads_mask#17
	threads_mask#8 threads_mask#18
	threads_mask#10 threads_mask#18
	threads_mask#11 threads_mask#17
	threads_mask#11 threads_mask#18
	threads_mask#13 threads_mask#18
	threads_mask#14 threads_mask#17
	threads_mask#14 threads_mask#18
	threads_mask#2 threads_mask#19
	threads_mask#2 threads_mask#20
	threads_mask#4 threads_mask#20
	threads_mask#5 threads_mask#19
	threads_mask#5 threads_mask#20
	threads_mask#7 threads_mask#20
	threads_mask#8 threads_mask#19
	threads_mask#8 threads_mask#20
	threads_mask#10 threads_mask#20
	threads_mask#11 threads_mask#19
	threads_mask#11 threads_mask#20
	threads_mask#13 threads_mask#20
	threads_mask#14 threads_mask#19
	threads_mask#14 threads_mask#20
	threads_mask#2 threads_mask#21
	threads_mask#2 threads_mask#22
	threads_mask#4 threads_mask#22
	threads_mask#5 threads_mask#21
	threads_mask#5 threads_mask#22
	threads_mask#7 threads_mask#22
	threads_mask#8 threads_mask#21
	threads_mask#8 threads_mask#22
	threads_mask#10 threads_mask#22
	threads_mask#11 threads_mask#21
	threads_mask#11 threads_mask#22
	threads_mask#13 threads_mask#22
	threads_mask#14 threads_mask#21
	threads_mask#14 threads_mask#22
	threads_mask#2 threads_mask#23
	threads_mask#2 threads_mask#24
	threads_mask#4 threads_mask#24
	threads_mask#5 threads_mask#23
	threads_mask#5 threads_mask#24
	threads_mask#7 threads_mask#24
	threads_mask#8 threads_mask#23
	threads_mask#8 threads_mask#24
	threads_mask#10 threads_mask#24
	threads_mask#11 threads_mask#23
	threads_mask#11 threads_mask#24
	threads_mask#13 threads_mask#24
	threads_mask#14 threads_mask#23
	threads_mask#14 threads_mask#24
Races between line 1038 - line 40:
	threads_mask_mutex#1 threads_mask_mutex#28
	threads_mask_mutex#1 threads_mask_mutex#30
	threads_mask_mutex#1 threads_mask_mutex#34
	threads_mask_mutex#1 threads_mask_mutex#36
	threads_mask_mutex#1 threads_mask_mutex#40
	threads_mask_mutex#1 threads_mask_mutex#42
	threads_mask_mutex#1 threads_mask_mutex#46
	threads_mask_mutex#1 threads_mask_mutex#48
	threads_mask_mutex#1 threads_mask_mutex#52
	threads_mask_mutex#1 threads_mask_mutex#54
Races between line 1038 - line 42:
	threads_mask_mutex#1 threads_mask_mutex#31
	threads_mask_mutex#1 threads_mask_mutex#33
	threads_mask_mutex#1 threads_mask_mutex#37
	threads_mask_mutex#1 threads_mask_mutex#39
	threads_mask_mutex#1 threads_mask_mutex#43
	threads_mask_mutex#1 threads_mask_mutex#45
	threads_mask_mutex#1 threads_mask_mutex#49
	threads_mask_mutex#1 threads_mask_mutex#51
	threads_mask_mutex#1 threads_mask_mutex#55
	threads_mask_mutex#1 threads_mask_mutex#57
Runtime Symex: 0.771346s
Adding SC constraints
Shared __CPROVER_threads_exited: 10R/6W
Shared __CPROVER_next_thread_id: 9R/6W
Shared __CPROVER_memory_leak: 2R/5W
Shared threads_mask: 9R/11W
Shared threads_mask_mutex: 18R/21W
Shared datas: 1R/2W
Shared symex_dynamic::dynamic_object1: 9R/6W
Shared symex_dynamic::dynamic_object2: 5R/6W
size of program expression: 1845 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.0247245s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0529294s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0259622s
Solving with Deagle's Closure Solver
113437 variables, 465443 clauses
ClosureSolver finishes with 670 conflicts, 223388 decisions, and 2757298 propagations. 2280 theory propagations and 73 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.330201s
Runtime decision procedure: 0.40049s
Building error trace

** Results:
[nodatarace.assertion.0] No data races on variable symex_dynamic::dynamic_object2 between line 1042 and line 1042: FAILURE
[nodatarace.assertion.1] No data races on variable symex_dynamic::dynamic_object2 between line 40 and line 1042: UNKNOWN
[nodatarace.assertion.2] No data races on variable threads_mask between line 1037 and line 1044: UNKNOWN
[nodatarace.assertion.3] No data races on variable threads_mask between line 1044 and line 1044: UNKNOWN
[nodatarace.assertion.4] No data races on variable threads_mask between line 1057 and line 1044: UNKNOWN
[nodatarace.assertion.5] No data races on variable threads_mask_mutex between line 1038 and line 40: UNKNOWN
[nodatarace.assertion.6] No data races on variable threads_mask_mutex between line 1038 and line 42: UNKNOWN
Counterexample:

State 27 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1049 thread 0
----------------------------------------------------
  threads_total=5 (00000000 00000000 00000000 00000101)

State 30 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1050 thread 0
----------------------------------------------------
  cond=1 (00000000 00000000 00000000 00000001)

State 35 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1051 thread 0
----------------------------------------------------
  cond=1 (00000000 00000000 00000000 00000001)

State 42 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1052 thread 0
----------------------------------------------------
  malloc_size=20u (00000000 00000000 00000000 00010100)

State 65 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1052 thread 0
----------------------------------------------------
  tids=dynamic_object1 (00000010 00000000 00000000 00000000)

State 69 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1053 thread 0
----------------------------------------------------
  malloc_size=20u (00000000 00000000 00000000 00010100)

State 92 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1053 thread 0
----------------------------------------------------
  datas=dynamic_object2 (00000011 00000000 00000000 00000000)

State 94 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1054 thread 0
----------------------------------------------------
  i=0 (00000000 00000000 00000000 00000000)

State 98 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1055 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

Assumption:
  file <builtin-library-pthread_mutex_lock> line 38 function pthread_mutex_lock
  !(*((__CPROVER_mutex_t *)mutex) != 0)

State 109 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1056 thread 0
----------------------------------------------------
  j=11 (00000000 00000000 00000000 00001011)

State 110 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1057 thread 0
----------------------------------------------------
  threads_mask=-2049 (11111111 11111111 11110111 11111111)

State 113 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1058 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 119 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 (00000010 00000000 00000000 00000000)

State 120 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 121 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  start_routine=thread (00000101 00000000 00000000 00000000)

State 122 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  arg=NULL + 11 (00000000 00000000 00000000 00001011)

State 143 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1054 thread 0
----------------------------------------------------
  i=1 (00000000 00000000 00000000 00000001)

State 148 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1055 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 158 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1056 thread 0
----------------------------------------------------
  j=-805306368 (11010000 00000000 00000000 00000000)

State 159 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1057 thread 0
----------------------------------------------------
  threads_mask=-2049 (11111111 11111111 11110111 11111111)

State 162 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1058 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 168 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 + 1 (00000010 00000000 00000000 00000100)

State 169 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 170 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  start_routine=thread (00000101 00000000 00000000 00000000)

State 171 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  arg=INVALID-208 (11010000 00000000 00000000 00000000)

State 192 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1054 thread 0
----------------------------------------------------
  i=2 (00000000 00000000 00000000 00000010)

State 197 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1055 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 207 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1056 thread 0
----------------------------------------------------
  j=26 (00000000 00000000 00000000 00011010)

State 208 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1057 thread 0
----------------------------------------------------
  threads_mask=-67110913 (11111011 11111111 11110111 11111111)

State 211 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1058 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 217 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 + 2 (00000010 00000000 00000000 00001000)

State 218 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 219 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  start_routine=thread (00000101 00000000 00000000 00000000)

State 220 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  arg=NULL + 26 (00000000 00000000 00000000 00011010)

State 241 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1054 thread 0
----------------------------------------------------
  i=3 (00000000 00000000 00000000 00000011)

State 246 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1055 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 256 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1056 thread 0
----------------------------------------------------
  j=26 (00000000 00000000 00000000 00011010)

State 257 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1057 thread 0
----------------------------------------------------
  threads_mask=-67110913 (11111011 11111111 11110111 11111111)

State 260 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1058 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 266 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 + 3 (00000010 00000000 00000000 00001100)

State 267 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 268 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  start_routine=thread (00000101 00000000 00000000 00000000)

State 269 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  arg=NULL + 26 (00000000 00000000 00000000 00011010)

State 290 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1054 thread 0
----------------------------------------------------
  i=4 (00000000 00000000 00000000 00000100)

State 295 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1055 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 296 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1042 thread 4
----------------------------------------------------
  dynamic_object2[26]=2003901949 (01110111 01110001 00011101 11111101)

State 299 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1043 thread 4
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 300 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1042 thread 1
----------------------------------------------------
  dynamic_object2[11]=1869700590 (01101111 01110001 01011101 11101110)

State 303 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1043 thread 1
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 304 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1042 thread 2
----------------------------------------------------
  dynamic_object2[-805306368]=2147481543 (01111111 11111111 11110111 11000111)

State 307 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1043 thread 2
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 308 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1042 thread 3
----------------------------------------------------
  dynamic_object2[26]=-9364065 (11111111 01110001 00011101 10011111)

State 311 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1043 thread 3
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 315 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1044 thread 3
----------------------------------------------------
  threads_mask=-2049 (11111111 11111111 11110111 11111111)

State 318 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1045 thread 3
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 333 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1056 thread 0
----------------------------------------------------
  j=26 (00000000 00000000 00000000 00011010)

State 334 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1057 thread 0
----------------------------------------------------
  threads_mask=-67110913 (11111011 11111111 11110111 11111111)

State 337 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1058 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 343 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 + 4 (00000010 00000000 00000000 00010000)

State 344 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 345 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  start_routine=thread (00000101 00000000 00000000 00000000)

State 346 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1059 thread 0
----------------------------------------------------
  arg=NULL + 26 (00000000 00000000 00000000 00011010)

State 353 file <builtin-library-pthread_create> function pthread_create line 49 thread 3
----------------------------------------------------
  this_thread_id=3u (00000000 00000000 00000000 00000011)

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

State 355 file <builtin-library-pthread_create> function pthread_create line 49 thread 3
----------------------------------------------------
  start_routine=thread (00000101 00000000 00000000 00000000)

State 356 file <builtin-library-pthread_create> function pthread_create line 49 thread 3
----------------------------------------------------
  arg=NULL + 26 (00000000 00000000 00000000 00011010)

State 362 file <builtin-library-__spawned_thread> function __spawned_thread line 34 thread 3
----------------------------------------------------
  arg=NULL + 26 (00000000 00000000 00000000 00011010)

State 364 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1041 thread 3
----------------------------------------------------
  j=26 (00000000 00000000 00000000 00011010)

State 367 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1044 thread 1
----------------------------------------------------
  threads_mask=-67108865 (11111011 11111111 11111111 11111111)

State 370 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1045 thread 1
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 379 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1044 thread 4
----------------------------------------------------
  threads_mask=-1 (11111111 11111111 11111111 11111111)

State 382 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1045 thread 4
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 407 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1054 thread 0
----------------------------------------------------
  i=5 (00000000 00000000 00000000 00000101)

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

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

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

State 414 file <builtin-library-pthread_create> function pthread_create line 49 thread 1
----------------------------------------------------
  arg=NULL + 11 (00000000 00000000 00000000 00001011)

State 420 file <builtin-library-__spawned_thread> function __spawned_thread line 34 thread 1
----------------------------------------------------
  arg=NULL + 11 (00000000 00000000 00000000 00001011)

State 422 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1041 thread 1
----------------------------------------------------
  j=11 (00000000 00000000 00000000 00001011)

State 425 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1042 thread 5
----------------------------------------------------
  dynamic_object2[26]=2003901949 (01110111 01110001 00011101 11111101)

State 428 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1043 thread 5
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

State 432 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1044 thread 5
----------------------------------------------------
  threads_mask=-1 (11111111 11111111 11111111 11111111)

State 435 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function thread line 1045 thread 5
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_mask_mutex (00000100 00000000 00000000 00000000)

Violated property:
  file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-3.i function main line 1060 thread 5
  No data races on variable symex_dynamic::dynamic_object2 between line 1042 and line 1042


VERIFICATION FAILED
