./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.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/02-base_26-malloc_struct.i
Converting
Type-checking 02-base_26-malloc_struct
Generating GOTO Program
Adding CPROVER library (x86_64)
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 02-base_26-malloc_struct file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i line 820
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 02-base_26-malloc_struct file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i line 825
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 02-base_26-malloc_struct file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i line 707
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][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i:166:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i:171:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i:176:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i:181:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i:186:1)
[Warning][Race] Memory location (alloc@sid:17).y@:-1:-1 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i:1245:3)
  write with {lock:m, thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i:1242:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i:1232:3)

Summary for all memory locations:
	safe:            2
	vulnerable:      0
	unsafe:          1
	-------------------
	total:           3
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/02-base_26-malloc_struct.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 1232 1233 1245 1246 
The number of races before goblint filter: 16
The number of races after goblint filter: 3
Race categories: 1
	1245(1) - 1232(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#2..y symex_dynamic::dynamic_object1#5..y
		symex_dynamic::dynamic_object1#3..y symex_dynamic::dynamic_object1#5..y
		symex_dynamic::dynamic_object1#4..y symex_dynamic::dynamic_object1#5..y
Runtime Symex: 0.0970828s
Adding SC constraints
Shared __CPROVER_threads_exited: 1R/2W
Shared d: 3R/2W
Shared m: 4R/5W
Shared symex_dynamic::dynamic_object1..x: 3R/2W
Shared symex_dynamic::dynamic_object1..y: 3R/2W
Shared printf::format!0@1: 1R/2W
Shared printf::format!0@2: 1R/2W
size of program expression: 275 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.0010391s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00283493s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 6.6861e-05s
Solving with Deagle's Closure solver
4782 variables, 13319 clauses
ClosureSolver finishes with 2 conflicts, 752 decisions, and 5860 propagations. 15 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000684772s
Runtime decision procedure: 0.00864302s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/02-base_26-malloc_struct.i function main
[nodatarace.assertion.0] line 1242 No data races on variable symex_dynamic::dynamic_object1 between line 1245 and line 1232: FAILURE

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