./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.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/ldv-races/race-3_2-container_of-global.i
Converting
Type-checking race-3_2-container_of-global
Generating GOTO Program
Adding CPROVER library (x86_64)
file <builtin-library-pthread_mutex_destroy> 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_destroy"
old definition in module race-3_2-container_of-global file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i line 515
signed int (pthread_mutex_t *)
new definition in module <built-in-library> file <builtin-library-pthread_mutex_destroy> 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 race-3_2-container_of-global file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i line 406
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_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 race-3_2-container_of-global file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i line 512
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][Unknown] Unknown value in {&data} could be an escaped pointer address! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1737:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1709:2)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1693:5)
[Debug][Unknown] Trying to read a field, but the struct is unknown (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1696:5)
[Debug][Analyzer] Base EvalInt data->shared.b query answering bot instead of Unknown (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1696:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1696:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1699:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1693:5)
[Debug][Unknown] Trying to read a field, but the struct is unknown (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1696:5)
[Debug][Analyzer] Base EvalInt data->shared.b query answering bot instead of Unknown (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1696:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1696:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1699:5)
[Warning][Unknown] Unknown value in {&data} could be an escaped pointer address! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1739:4)
[Debug][Analyzer] Base EvalInt t1 query answering bot instead of {([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1714:2, main], {})} (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1722:2)
[Warning][Unknown] Unknown address in {&status} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1722:2)
[Debug][Analyzer] Base EvalInt t2 query answering bot instead of {([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1715:2, main], {})} (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1723:2)
[Warning][Unknown] Unknown value in {&data.lock} could be an escaped pointer address! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1724:2)
[Warning][Deadcode] Function "__bswap_16" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:64:1)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:69:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:74:15)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:79:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:84:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:89:1)
[Warning][Race] Memory location (struct my_data).shared.b (race with conf. 100):
  read with {thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1714:2, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1696:5)
  read with {thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1715:2, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1696:5)
  write with {thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1714:2, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1699:5)
  write with {thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1715:2, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1699:5)
[Warning][Race] Memory location (struct my_data).shared.a (race with conf. 100):
  write with {thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1714:2, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1693:5)
  write with {thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1715:2, main], {})} (conf. 100) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-3_2-container_of-global.i:1693:5)

Summary for all memory locations:
	safe:            3
	vulnerable:      0
	unsafe:          2
	-------------------
	total:           5
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 0
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 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/ldv-races/race-3_2-container_of-global.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 1693 1694 1696 1697 1699 1700 1709 1710 1722 1723 1724 
The number of races before goblint filter: 190
The number of races after goblint filter: 0
Race categories: 0
Runtime Symex: 0.601161s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared t1: 2R/2W
Shared t2: 2R/2W
Shared my_dev: 2R/2W
Shared main::1::1::data!0@1..lock: 8R/7W
Shared main::1::1::data!0@1..shared..a: 12R/9W
Shared main::1::1::data!0@1..shared..b: 12R/9W
Shared my_callback::1::data$object..lock: 6R/5W
Shared my_callback::1::data$object..shared..a: 6R/5W
Shared my_callback::1::data$object..shared..b: 6R/5W
size of program expression: 913 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00542231s
VERIFICATION SUCCESSFUL
