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


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


./deagle_exe --svcomp --graphml-witness error-witness.graphml --no-assertions --datarace /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.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/thread-local-value-cond.i
Converting
Type-checking thread-local-value-cond
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 thread-local-value-cond file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.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 thread-local-value-cond file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.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 thread-local-value-cond file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.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/thread-local-value-cond.i line 1031 function main thread 0
Unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.i line 1031 function main thread 0
Unwinding loop main.0 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.i line 1031 function main thread 0
Unwinding loop main.0 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.i line 1031 function main thread 0
Not unwinding loop main.0 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.i line 1031 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.i line 1034 function main thread 0
Unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.i line 1034 function main thread 0
Unwinding loop main.1 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.i line 1034 function main thread 0
Unwinding loop main.1 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.i line 1034 function main thread 0
Not unwinding loop main.1 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-value-cond.i line 1034 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: 657 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
652 steps after removal
Handling datarace with no aid
The number of races before filter: 60
The number of races after filter: 60
The number of race categories before filter: 4
The number of race categories after filter: 4
	1014(1) - 1021(1) shared
	1021(1) - 1021(1) shared
	1015(1) - 40(1) shared_mutex
	1015(1) - 42(1) shared_mutex
Races between line 1014 - line 1021:
	shared#1 shared#2
	shared#1 shared#3
	shared#1 shared#4
	shared#1 shared#5
	shared#1 shared#6
	shared#1 shared#7
	shared#1 shared#8
	shared#1 shared#9
	shared#1 shared#10
	shared#1 shared#11
Races between line 1021 - line 1021:
	shared#2 shared#5
	shared#3 shared#4
	shared#3 shared#5
	shared#2 shared#7
	shared#3 shared#6
	shared#3 shared#7
	shared#2 shared#9
	shared#3 shared#8
	shared#3 shared#9
	shared#2 shared#11
	shared#3 shared#10
	shared#3 shared#11
	shared#4 shared#7
	shared#5 shared#6
	shared#5 shared#7
	shared#4 shared#9
	shared#5 shared#8
	shared#5 shared#9
	shared#4 shared#11
	shared#5 shared#10
	shared#5 shared#11
	shared#6 shared#9
	shared#7 shared#8
	shared#7 shared#9
	shared#6 shared#11
	shared#7 shared#10
	shared#7 shared#11
	shared#8 shared#11
	shared#9 shared#10
	shared#9 shared#11
Races between line 1015 - line 40:
	shared_mutex#1 shared_mutex#2
	shared_mutex#1 shared_mutex#4
	shared_mutex#1 shared_mutex#8
	shared_mutex#1 shared_mutex#10
	shared_mutex#1 shared_mutex#14
	shared_mutex#1 shared_mutex#16
	shared_mutex#1 shared_mutex#20
	shared_mutex#1 shared_mutex#22
	shared_mutex#1 shared_mutex#26
	shared_mutex#1 shared_mutex#28
Races between line 1015 - line 42:
	shared_mutex#1 shared_mutex#5
	shared_mutex#1 shared_mutex#7
	shared_mutex#1 shared_mutex#11
	shared_mutex#1 shared_mutex#13
	shared_mutex#1 shared_mutex#17
	shared_mutex#1 shared_mutex#19
	shared_mutex#1 shared_mutex#23
	shared_mutex#1 shared_mutex#25
	shared_mutex#1 shared_mutex#29
	shared_mutex#1 shared_mutex#31
Runtime Symex: 0.392074s
Adding SC constraints
Shared __CPROVER_threads_exited: 10R/6W
Shared __CPROVER_next_thread_id: 9R/6W
Shared __CPROVER_memory_leak: 1R/3W
Shared shared: 5R/6W
Shared shared_mutex: 10R/11W
Shared symex_dynamic::dynamic_object1: 9R/6W
size of program expression: 1075 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00651181s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0167104s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.015576s
Solving with Deagle's Closure Solver
43674 variables, 166117 clauses
ClosureSolver finishes with 1109 conflicts, 17362 decisions, and 1520404 propagations. 3386 theory propagations and 264 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.148312s
Runtime decision procedure: 0.175821s

** Results:
[nodatarace.assertion.0] No data races on variable shared between line 1014 and line 1021: SUCCESS
[nodatarace.assertion.1] No data races on variable shared between line 1021 and line 1021: SUCCESS
[nodatarace.assertion.2] No data races on variable shared_mutex between line 1015 and line 40: SUCCESS
[nodatarace.assertion.3] No data races on variable shared_mutex between line 1015 and line 42: SUCCESS

** 0 of 4 failed (1 iterations)
VERIFICATION SUCCESSFUL
./deagle: line 33:     3 Segmentation fault      (core dumped) $cmd
