./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.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-2_3b-container_of.i
Converting
Type-checking race-2_3b-container_of
Generating GOTO Program
Adding CPROVER library (x86_64)
file <builtin-library-pthread_create> line 20: warning: pointer parameter types differ between declaration and definition "pthread_create"
old definition in module race-2_3b-container_of file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i line 392
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-2_3b-container_of file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i line 498
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)
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 race-2_3b-container_of file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i line 505
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 race-2_3b-container_of file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i line 510
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_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-2_3b-container_of file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i line 501
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)
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-2_3b-container_of.i:1752:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1721:2)
[Warning][Unknown] Unknown value in {&data} could be an escaped pointer address! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1754:4)
[Debug][Analyzer] Base EvalInt t1 query answering bot instead of {([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1725:2, main], {})} (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1737:2)
[Warning][Unknown] Unknown address in {&status} has escaped. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1737:2)
[Debug][Analyzer] Base EvalInt t2 query answering bot instead of {([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1726:2, main], {})} (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1738:2)
[Warning][Unknown] Unknown value in {&data.lock} could be an escaped pointer address! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1739:2)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:55:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:60:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:65:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:70:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:75:1)
[Warning][Race] Memory location data.shared.b@race-2_3b-container_of.i:1751:18 (race with conf. 110):
  read with {lock:data.lock, thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1725:2, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1712:2)
  read with {lock:data.lock, thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1726:2, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1712:2)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1729:2)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1756:4)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1762:3)
  write with {lock:data.lock, thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1725:2, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1712:2)
  write with {lock:data.lock, thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1726:2, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1712:2)
  write with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1727:2)
  write with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1760:3)
[Warning][Race] Memory location data.shared.a@race-2_3b-container_of.i:1751:18 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1728:2)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1755:4)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1761:3)
  write with {lock:data.lock, thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1725:2, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1711:2)
  write with {lock:data.lock, thread:([my_callback@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1726:2, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1711:2)
  write with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1726:2)
  write with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i:1759:3)

Summary for all memory locations:
	safe:           12
	vulnerable:      0
	unsafe:          2
	-------------------
	total:          14
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
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-2_3b-container_of.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 1711 1712 1713 1721 1722 1726 1727 1728 1729 1730 1737 1738 1739 1755 1756 1757 1759 1760 1761 1762 1763 
The number of races before goblint filter: 284
The number of races after goblint filter: 40
Race categories: 12
	1711(1) - 1711(1) main::1::1::data!0@1:
		main::1::1::data!0@1#19..shared..a main::1::1::data!0@1#26..shared..a
	1712(1) - 1712(1) main::1::1::data!0@1:
		main::1::1::data!0@1#19..shared..b main::1::1::data!0@1#28..shared..b
		main::1::1::data!0@1#20..shared..b main::1::1::data!0@1#27..shared..b
		main::1::1::data!0@1#20..shared..b main::1::1::data!0@1#28..shared..b
	1726(1) - 1711(1) main::1::1::data!0@1:
		main::1::1::data!0@1#4..shared..a main::1::1::data!0@1#19..shared..a
		main::1::1::data!0@1#4..shared..a main::1::1::data!0@1#26..shared..a
	1727(1) - 1712(1) main::1::1::data!0@1:
		main::1::1::data!0@1#4..shared..b main::1::1::data!0@1#19..shared..b
		main::1::1::data!0@1#4..shared..b main::1::1::data!0@1#20..shared..b
		main::1::1::data!0@1#4..shared..b main::1::1::data!0@1#27..shared..b
		main::1::1::data!0@1#4..shared..b main::1::1::data!0@1#28..shared..b
	1728(1) - 1711(1) main::1::1::data!0@1:
		main::1::1::data!0@1#5..shared..a main::1::1::data!0@1#19..shared..a
		main::1::1::data!0@1#6..shared..a main::1::1::data!0@1#19..shared..a
		main::1::1::data!0@1#5..shared..a main::1::1::data!0@1#26..shared..a
		main::1::1::data!0@1#6..shared..a main::1::1::data!0@1#26..shared..a
	1729(1) - 1712(1) main::1::1::data!0@1:
		main::1::1::data!0@1#5..shared..b main::1::1::data!0@1#20..shared..b
		main::1::1::data!0@1#6..shared..b main::1::1::data!0@1#20..shared..b
		main::1::1::data!0@1#5..shared..b main::1::1::data!0@1#28..shared..b
		main::1::1::data!0@1#6..shared..b main::1::1::data!0@1#28..shared..b
	1755(1) - 1711(1) main::1::1::data!0@1:
		main::1::1::data!0@1#11..shared..a main::1::1::data!0@1#19..shared..a
		main::1::1::data!0@1#12..shared..a main::1::1::data!0@1#19..shared..a
		main::1::1::data!0@1#11..shared..a main::1::1::data!0@1#26..shared..a
		main::1::1::data!0@1#12..shared..a main::1::1::data!0@1#26..shared..a
	1756(1) - 1712(1) main::1::1::data!0@1:
		main::1::1::data!0@1#11..shared..b main::1::1::data!0@1#20..shared..b
		main::1::1::data!0@1#12..shared..b main::1::1::data!0@1#20..shared..b
		main::1::1::data!0@1#11..shared..b main::1::1::data!0@1#28..shared..b
		main::1::1::data!0@1#12..shared..b main::1::1::data!0@1#28..shared..b
	1759(1) - 1711(1) main::1::1::data!0@1:
		main::1::1::data!0@1#13..shared..a main::1::1::data!0@1#19..shared..a
		main::1::1::data!0@1#13..shared..a main::1::1::data!0@1#26..shared..a
	1760(1) - 1712(1) main::1::1::data!0@1:
		main::1::1::data!0@1#13..shared..b main::1::1::data!0@1#19..shared..b
		main::1::1::data!0@1#13..shared..b main::1::1::data!0@1#20..shared..b
		main::1::1::data!0@1#13..shared..b main::1::1::data!0@1#27..shared..b
		main::1::1::data!0@1#13..shared..b main::1::1::data!0@1#28..shared..b
	1761(1) - 1711(1) main::1::1::data!0@1:
		main::1::1::data!0@1#14..shared..a main::1::1::data!0@1#19..shared..a
		main::1::1::data!0@1#15..shared..a main::1::1::data!0@1#19..shared..a
		main::1::1::data!0@1#14..shared..a main::1::1::data!0@1#26..shared..a
		main::1::1::data!0@1#15..shared..a main::1::1::data!0@1#26..shared..a
	1762(1) - 1712(1) main::1::1::data!0@1:
		main::1::1::data!0@1#14..shared..b main::1::1::data!0@1#20..shared..b
		main::1::1::data!0@1#15..shared..b main::1::1::data!0@1#20..shared..b
		main::1::1::data!0@1#14..shared..b main::1::1::data!0@1#28..shared..b
		main::1::1::data!0@1#15..shared..b main::1::1::data!0@1#28..shared..b
Runtime Symex: 0.403519s
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 main::1::1::data!0@1..lock: 6R/7W
Shared main::1::1::data!0@1..shared..a: 12R/12W
Shared main::1::1::data!0@1..shared..b: 14R/12W
size of program expression: 900 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.0107884s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0107226s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000703482s
Solving with Deagle's Closure solver
16949 variables, 61310 clauses
ClosureSolver finishes with 103 conflicts, 90374 decisions, and 184324 propagations. 77 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.0163874s
Runtime decision procedure: 0.037521s
Running propositional reduction
Solving with Deagle's Closure solver
16949 variables, 59884 clauses
ClosureSolver finishes with 105 conflicts, 94259 decisions, and 201041 propagations. 83 theory propagations and 1 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.00177277s
Runtime decision procedure: 0.00179291s
Running propositional reduction
Solving with Deagle's Closure solver
16949 variables, 59885 clauses
ClosureSolver finishes with 107 conflicts, 97713 decisions, and 216820 propagations. 84 theory propagations and 1 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.0017302s
Runtime decision procedure: 0.00175473s
Running propositional reduction
Solving with Deagle's Closure solver
16949 variables, 59886 clauses
ClosureSolver finishes with 107 conflicts, 100909 decisions, and 232472 propagations. 84 theory propagations and 1 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.00164663s
Runtime decision procedure: 0.00166314s
Running propositional reduction
Solving with Deagle's Closure solver
16949 variables, 59887 clauses
ClosureSolver finishes with 148 conflicts, 101307 decisions, and 256479 propagations. 535 theory propagations and 6 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00489471s
Runtime decision procedure: 0.00490592s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-2_3b-container_of.i function my_drv_probe
[nodatarace.assertion.0] line 1726 No data races on variable main::1::1::data!0@1 between line 1711 and line 1711: SUCCESS
[nodatarace.assertion.1] line 1726 No data races on variable main::1::1::data!0@1 between line 1712 and line 1712: SUCCESS
[nodatarace.assertion.2] line 1726 No data races on variable main::1::1::data!0@1 between line 1726 and line 1711: FAILURE
[nodatarace.assertion.3] line 1726 No data races on variable main::1::1::data!0@1 between line 1727 and line 1712: FAILURE
[nodatarace.assertion.4] line 1726 No data races on variable main::1::1::data!0@1 between line 1728 and line 1711: FAILURE
[nodatarace.assertion.5] line 1726 No data races on variable main::1::1::data!0@1 between line 1729 and line 1712: FAILURE
[nodatarace.assertion.6] line 1726 No data races on variable main::1::1::data!0@1 between line 1755 and line 1711: SUCCESS
[nodatarace.assertion.7] line 1726 No data races on variable main::1::1::data!0@1 between line 1756 and line 1712: SUCCESS
[nodatarace.assertion.8] line 1726 No data races on variable main::1::1::data!0@1 between line 1759 and line 1711: SUCCESS
[nodatarace.assertion.9] line 1726 No data races on variable main::1::1::data!0@1 between line 1760 and line 1712: SUCCESS
[nodatarace.assertion.10] line 1726 No data races on variable main::1::1::data!0@1 between line 1761 and line 1711: SUCCESS
[nodatarace.assertion.11] line 1726 No data races on variable main::1::1::data!0@1 between line 1762 and line 1712: SUCCESS

** 4 of 12 failed (5 iterations)
VERIFICATION FAILED
