./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.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/pthread-ext/45_monabsex1_vs-b.i
Converting
Type-checking 45_monabsex1_vs-b
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 45_monabsex1_vs-b file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i line 405
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] Invalidating expressions: AddrOf(Var(s,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i:696:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i:688:2)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i:68:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i:73:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i:78:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i:83:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i:88:1)
[Warning][Race] Memory location s@45_monabsex1_vs-b.i:685:5 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i:691:4)
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i:690:2)

Summary for all memory locations:
	safe:            0
	vulnerable:      0
	unsafe:          1
	-------------------
	total:           1
Use SV-COMP unwinding strategy: 2
Deagle's solver is set!!!!!!
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i line 698 function main thread 0
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i line 698 function main thread 0
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
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/pthread-ext/45_monabsex1_vs-b.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 688 689 690 691 692 696 697 
The number of races before goblint filter: 11
The number of races after goblint filter: 7
Race categories: 5
	690(1) - 690(1) s:
		s#3 s#5
	690(1) - 691(1) s:
		s#3 s#6
	691(1) - 690(1) s:
		s#4 s#5
	696(1) - 690(1) s:
		s#2 s#3
		s#2 s#5
	696(1) - 691(1) s:
		s#2 s#4
		s#2 s#6
Runtime Symex: 0.0710132s
Adding SC constraints
Shared __CPROVER_threads_exited: 2R/3W
Shared __CPROVER_next_thread_id: 1R/3W
Shared s: 2R/4W
size of program expression: 204 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.000346337s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.000708554s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000242825s
Solving with Deagle's Closure solver
1065 variables, 1523 clauses
ClosureSolver finishes with 0 conflicts, 489 decisions, and 1066 propagations. 9 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000419078s
Runtime decision procedure: 0.00402237s
Running propositional reduction
Solving with Deagle's Closure solver
1065 variables, 837 clauses
ClosureSolver finishes with 0 conflicts, 978 decisions, and 1714 propagations. 9 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 6.0481e-05s
Runtime decision procedure: 7.0441e-05s
Running propositional reduction
Solving with Deagle's Closure solver
1065 variables, 837 clauses
ClosureSolver finishes with 0 conflicts, 1467 decisions, and 2362 propagations. 9 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 5.5151e-05s
Runtime decision procedure: 6.3462e-05s
Running propositional reduction
Solving with Deagle's Closure solver
1065 variables, 837 clauses
SAT checker inconsistent: instance is UNSATISFIABLE
Runtime Solver: 3.701e-06s
Runtime decision procedure: 9.921e-06s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/45_monabsex1_vs-b.i function main
[nodatarace.assertion.0] line 698 No data races on variable s between line 690 and line 690: FAILURE
[nodatarace.assertion.1] line 698 No data races on variable s between line 690 and line 691: FAILURE
[nodatarace.assertion.2] line 698 No data races on variable s between line 691 and line 690: FAILURE
[nodatarace.assertion.3] line 698 No data races on variable s between line 696 and line 690: SUCCESS
[nodatarace.assertion.4] line 698 No data races on variable s between line 696 and line 691: SUCCESS

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