./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_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_26-alloc_region_rc.i
Converting
Type-checking 09-regions_26-alloc_region_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_26-alloc_region_rc file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_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 09-regions_26-alloc_region_rc file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_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 09-regions_26-alloc_region_rc file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_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)
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][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1261:3)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1261:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1262:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1262:5)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1263:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1263:5)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:62:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:67:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:72:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:77:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:82:1)
[Warning][Race] Memory location (alloc@sid:19).next@:-1:-1 (race with conf. 100):
  read with {lock:A_mutex, thread:([main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1261:3)
  read with {lock:A_mutex, thread:([main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1263:5)
  write with {thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1254:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1229:3)
  write with {lock:A_mutex, thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1254:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1232:3)
[Warning][Race] Memory location (alloc@sid:19).datum@:-1:-1 (race with conf. 100):
  read with {lock:A_mutex, thread:([main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1262:5)
  read with {lock:B_mutex, thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1254:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1244:3)
  write with {thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1254:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1228:3)
  write with {lock:B_mutex, thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1254:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i:1244:3)

Summary for all memory locations:
	safe:            7
	vulnerable:      0
	unsafe:          2
	-------------------
	total:           9
Use SV-COMP unwinding strategy: 2
Deagle's solver is set!!!!!!
pointer handling for concurrency is unsound
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i line 1261 function main thread 0
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/09-regions_26-alloc_region_rc.i line 1261 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/09-regions_26-alloc_region_rc.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 1228 1229 1230 1232 1233 1244 1245 1261 1262 1263 1264 
The number of races before goblint filter: 16
The number of races after goblint filter: 3
Race categories: 3
	1232(1) - 1233(1) A:
		A#3 A#7
	1233(1) - 1232(1) A:
		A#4 A#6
	1233(1) - 1233(1) A:
		A#4 A#7
Runtime Symex: 0.427756s
Unsupported library function!
