./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_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/09-regions_05-ptra_rc.i
Converting
Type-checking 09-regions_05-ptra_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 09-regions_05-ptra_rc file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i line 518
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 09-regions_05-ptra_rc file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i line 513
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 09-regions_05-ptra_rc file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i line 400
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)
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] Function definition missing for __VERIFIER_nondet_pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1236:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1236:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(B_mutex,
                                     NoOffset)), AddrOf(Var(A_mutex, NoOffset)), AddrOf(Var(B, NoOffset)), AddrOf(Var(A, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1236:3)
[Warning][Unknown] Unknown address in {&B} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1236:3)
[Warning][Unknown] Unknown address in {&((alloc@sid:34), /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1255:3)} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1236:3)
[Warning][Unknown] Unknown address in {&A} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1236:3)
[Warning][Unknown] Unknown address in {&((alloc@sid:30), /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1252:3)} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1236:3)
[Warning][Unknown] Unknown address in {&((alloc@sid:27), /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1250:3)} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1236:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1236:3)
[Warning][Unknown] Unknown address in {&tmp} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1236:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1242:3)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1242:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1262:3)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1262:3)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:63:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:68:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:73:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:78:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:83:1)
[Warning][Race] Memory location (alloc@sid:30).next@:-1:-1 (race with conf. 110):
  read with {lock:B_mutex, thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1258:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1240:3)
  read with {lock:A_mutex, thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1261:3)
  write with {lock:B_mutex, thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1258:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_05-ptra_rc.i:1241:3)

Summary for all memory locations:
	safe:            6
	vulnerable:      0
	unsafe:          1
	-------------------
	total:           7
Use SV-COMP unwinding strategy: 2
Deagle's solver is set!!!!!!
pointer handling for concurrency is unsound
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/09-regions_05-ptra_rc.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 1236 1237 1240 1241 1242 1261 1262 
The number of races before goblint filter: 291
The number of races after goblint filter: 5
Race categories: 3
	1262(1) - 1242(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#3..datum symex_dynamic::dynamic_object1#18..datum
		symex_dynamic::dynamic_object1#4..datum symex_dynamic::dynamic_object1#18..datum
		symex_dynamic::dynamic_object1#5..datum symex_dynamic::dynamic_object1#18..datum
	1261(1) - 1241(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#4..next symex_dynamic::dynamic_object2#6..next
	1261(1) - 1242(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#4..next symex_dynamic::dynamic_object2#18..next
Runtime Symex: 2.48921s
Adding SC constraints
Shared __CPROVER_threads_exited: 1R/2W
Shared __CPROVER_memory: 14R/2W
Shared __CPROVER_deallocated: 2R/5W
Shared __CPROVER_malloc_is_new_array: 1R/5W
Shared __CPROVER_memory_leak: 1R/5W
Shared A: 3R/2W
Shared A_mutex: 16R/4W
Shared B_mutex: 2R/3W
Shared t_fun::1::ip$object: 14R/2W
Shared t_fun::$tmp::return_value___VERIFIER_nondet_pointer$object: 14R/2W
Shared main::1::t1!0@1: 14R/3W
Shared symex_dynamic::dynamic_object1..datum: 17R/3W
Shared symex_dynamic::dynamic_object1..next: 14R/3W
Shared symex_dynamic::dynamic_object2..datum: 14R/3W
Shared symex_dynamic::dynamic_object2..next: 16R/5W
Shared symex_dynamic::dynamic_object3..datum: 14R/3W
Shared symex_dynamic::dynamic_object3..next: 14R/3W
Shared printf::format!0@1: 1R/2W
Shared t_fun::1::sp$object..datum: 27R/3W
Shared t_fun::1::sp$object..next: 27R/3W
Shared t_fun::1::t$object..datum: 14R/2W
Shared t_fun::1::t$object..next: 14R/2W
size of program expression: 1453 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.0114029s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0534358s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.002316s
Solving with Deagle's Closure solver
82154 variables, 304216 clauses
ClosureSolver finishes with 309 conflicts, 79276 decisions, and 1351268 propagations. 416 theory propagations and 3 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.102629s
Runtime decision procedure: 0.20271s
Running propositional reduction
Solving with Deagle's Closure solver
82154 variables, 265697 clauses
ClosureSolver finishes with 311 conflicts, 86545 decisions, and 1427065 propagations. 429 theory propagations and 3 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.0119786s
Runtime decision procedure: 0.0120125s
Running propositional reduction
Solving with Deagle's Closure solver
82154 variables, 265697 clauses
ClosureSolver finishes with 311 conflicts, 94129 decisions, and 1499328 propagations. 441 theory propagations and 3 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.0123994s
Runtime decision procedure: 0.0124317s
