./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-2.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-2.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-index-bitmask-race-2.i
Converting
Type-checking per-thread-index-bitmask-race-2
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-2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-2.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-2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-2.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-2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-bitmask-race-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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
	1045(1) - 1045(1) symex_dynamic::dynamic_object2
	40(1) - 1045(1) symex_dynamic::dynamic_object2
	1037(1) - 1043(1) threads_mask
	1043(1) - 1043(1) threads_mask
	1057(1) - 1043(1) threads_mask
	1038(1) - 40(1) threads_mask_mutex
	1038(1) - 42(1) threads_mask_mutex
Races between line 1045 - line 1045:
	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 1045:
	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 1043:
	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 1043 - line 1043:
	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 1043:
	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.843433s
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.0236198s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0507664s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0259283s
Solving with Deagle's Closure Solver
110917 variables, 457113 clauses
ClosureSolver finishes with 856 conflicts, 384479 decisions, and 1818593 propagations. 633 theory propagations and 49 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.246797s
Runtime decision procedure: 0.315596s
Building error trace

** Results:
[nodatarace.assertion.0] No data races on variable symex_dynamic::dynamic_object2 between line 1045 and line 1045: FAILURE
[nodatarace.assertion.1] No data races on variable symex_dynamic::dynamic_object2 between line 40 and line 1045: UNKNOWN
[nodatarace.assertion.2] No data races on variable threads_mask between line 1037 and line 1043: UNKNOWN
[nodatarace.assertion.3] No data races on variable threads_mask between line 1043 and line 1043: UNKNOWN
[nodatarace.assertion.4] No data races on variable threads_mask between line 1057 and line 1043: 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:
./deagle: line 33:     3 Segmentation fault      (core dumped) $cmd
