./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i


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


Deagle version 2.1 64-bit x86_64 linux
which contains:
CBMC version 5.67.0 (SVCOMP2023_221122-2-g2121ef1a2) 64-bit x86_64 linux
Parsing /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i
Converting
Type-checking 36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow
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 36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i line 422
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 *thread, const pthread_attr_t *attr, void * (*start_routine)(void *), void *arg)
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 36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i line 535
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_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 36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i line 540
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)
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
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i:731:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i:710:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp___0, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i:711:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp___1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i:712:3)
[Warning][Race] Memory location i@36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i:705:5 (race with conf. 110):
  read with {lock:A, lock:C, thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i:735:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i:723:5)
  write with {lock:A, lock:C, thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i:735:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i:722:5)
  write with {lock:A, lock:B, thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i:737:5)
  write with {lock:C, thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i:746:5)

Summary for all memory locations:
	safe:            2
	vulnerable:      0
	unsafe:          1
	-------------------
	total:           3
plus::b's upper bound is 0
Use SV-COMP unwinding strategy: 2
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 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
Handling datarace, passing the problem to goblint first
getcwd: /mnt/goblint-svcomp/benchexec/tools-pldi/deagle
/mnt/goblint-svcomp/benchexec/tools-pldi/deagle/goblint/goblint /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 722 723 724 731 732 737 738 746 747 
The number of races before goblint filter: 23
The number of races after goblint filter: 4
Race categories: 4
	737(1) - 722(1) i:
		i#2 i#4
	737(1) - 723(1) i:
		i#2 i#5
	746(1) - 722(1) i:
		i#3 i#4
	746(1) - 723(1) i:
		i#3 i#5
Runtime Symex: 0.197556s
Adding SC constraints
Shared C: 4R/5W
Shared __CPROVER_threads_exited: 1R/2W
Shared A: 6R/7W
Shared g: 1R/2W
Shared h: 1R/3W
Shared i: 1R/4W
Shared B: 4R/5W
size of program expression: 469 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00334952s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00901425s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 7.0841e-05s
Solving with Deagle's Closure solver
14828 variables, 50601 clauses
ClosureSolver finishes with 9 conflicts, 23 decisions, and 15503 propagations. 77 theory propagations and 5 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00195522s
Runtime decision procedure: 0.0175408s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/36-apron_22-traces-write-centered-vs-meet-mutex_true_no-overflow.i function main
[nodatarace.assertion.0] line 735 No data races on variable i between line 737 and line 722: SUCCESS
[nodatarace.assertion.1] line 735 No data races on variable i between line 737 and line 723: SUCCESS
[nodatarace.assertion.2] line 735 No data races on variable i between line 746 and line 722: SUCCESS
[nodatarace.assertion.3] line 735 No data races on variable i between line 746 and line 723: SUCCESS

** 0 of 4 failed (1 iterations)
VERIFICATION SUCCESSFUL
