./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.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/05-lval_ls_01-idx_rc.i
Converting
Type-checking 05-lval_ls_01-idx_rc
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 05-lval_ls_01-idx_rc file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 517
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_create> line 20: warning: pointer parameter types differ between declaration and definition "pthread_create"
old definition in module 05-lval_ls_01-idx_rc file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 399
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 05-lval_ls_01-idx_rc file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 512
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_init> line 27: 
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_init"
old definition in module 05-lval_ls_01-idx_rc file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 505
signed int (pthread_mutex_t *, const pthread_mutexattr_t *)
new definition in module <built-in-library> file <builtin-library-pthread_mutex_init> line 27
signed int (pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr)
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][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i:62:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i:67:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i:72:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i:77:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i:82:1)
[Warning][Race] Memory location data@05-lval_ls_01-idx_rc.i:679:5 (race with conf. 110):
  read with {lock:m[def_exc:4], thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i:692:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i:683:3)
  read with {lock:m[def_exc:3], thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i:693:3)
  write with {lock:m[def_exc:4], thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i:692:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i:683:3)
  write with {lock:m[def_exc:3], thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i:693:3)

Summary for all memory locations:
	safe:            0
	vulnerable:      0
	unsafe:          1
	-------------------
	total:           1
set limit type 1
Use SV-COMP unwinding strategy: 11
Deagle's solver is set!!!!!!
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 688 function main thread 0
Unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 688 function main thread 0
Unwinding loop main.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 688 function main thread 0
Unwinding loop main.0 iteration 4 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 688 function main thread 0
Unwinding loop main.0 iteration 5 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 688 function main thread 0
Unwinding loop main.0 iteration 6 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 688 function main thread 0
Unwinding loop main.0 iteration 7 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 688 function main thread 0
Unwinding loop main.0 iteration 8 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 688 function main thread 0
Unwinding loop main.0 iteration 9 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 688 function main thread 0
Unwinding loop main.0 iteration 10 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i line 688 function main thread 0
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/05-lval_ls_01-idx_rc.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 683 684 693 694 
The number of races before goblint filter: 445
The number of races after goblint filter: 3
Race categories: 1
	693(1) - 683(1) data:
		data#2 data#5
		data#3 data#4
		data#3 data#5
Runtime Symex: 1.13766s
Adding SC constraints
Shared __CPROVER_threads_exited: 1R/2W
Shared data: 2R/3W
Shared m[[0]]: 4R/15W
Shared m[[1]]: 4R/15W
Shared m[[2]]: 4R/15W
Shared m[[3]]: 4R/15W
Shared m[[4]]: 4R/15W
Shared m[[5]]: 4R/15W
Shared m[[6]]: 4R/15W
Shared m[[7]]: 4R/15W
Shared m[[8]]: 4R/15W
Shared m[[9]]: 4R/15W
size of program expression: 1202 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.0153758s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0283723s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000116511s
Solving with Deagle's Closure solver
33495 variables, 192231 clauses
ClosureSolver finishes with 12 conflicts, 478 decisions, and 57254 propagations. 663 theory propagations and 1 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.00714836s
Runtime decision procedure: 0.0612317s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/05-lval_ls_01-idx_rc.i function main
[nodatarace.assertion.0] line 692 No data races on variable data between line 693 and line 683: FAILURE

** 1 of 1 failed (2 iterations)
VERIFICATION FAILED
