./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.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/04-mutex_21-sound_base.i
Converting
Type-checking 04-mutex_21-sound_base
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 04-mutex_21-sound_base file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.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)
Removal of function pointers and virtual functions
file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i line 922 function t_fun: replacing function pointer by 2 possible targets
file <builtin-library-__spawned_thread> line 34 function __spawned_thread: replacing function pointer by 3 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/04-mutex_21-sound_base.i:62:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:67:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:72:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:77:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:82:1)
[Warning][Race] Memory location f@04-mutex_21-sound_base.i:920:6 (race with conf. 110):
  read with {thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:928:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:922:3)
  write with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:928:3)
[Warning][Race] Memory location global@04-mutex_21-sound_base.i:917:5 (race with conf. 110):
  read with {thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:928:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:918:14)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:929:3)
  write with {thread:([t_fun@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:928:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i:918:14)

Summary for all memory locations:
	safe:            0
	vulnerable:      0
	unsafe:          2
	-------------------
	total:           2
Use SV-COMP unwinding strategy: 2
Deagle's solver is set!!!!!!
pointer handling for concurrency is unsound
aborting path on assume(false) at file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i line 922 function t_fun thread 1
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/04-mutex_21-sound_base.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 918 919 922 923 928 929 930 
The number of races before goblint filter: 9
The number of races after goblint filter: 5
Race categories: 2
	928(1) - 922(1) f:
		f#2 f#3
		f#2 f#4
	929(1) - 918(1) global:
		global#2 global#6
		global#3 global#6
		global#4 global#6
Runtime Symex: 0.0677608s
Adding SC constraints
Shared f: 2R/2W
Shared __CPROVER_threads_exited: 1R/2W
Shared global: 4R/2W
Shared printf::format!0@1: 1R/2W
Shared printf::format!1@1: 1R/2W
size of program expression: 177 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.000581099s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.000935438s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 6.9561e-05s
Solving with Deagle's Closure solver
1264 variables, 1873 clauses
ClosureSolver finishes with 0 conflicts, 674 decisions, and 1265 propagations. 1 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000301034s
Runtime decision procedure: 0.00475613s
Running propositional reduction
Solving with Deagle's Closure solver
1264 variables, 1486 clauses
ClosureSolver finishes with 1 conflicts, 1282 decisions, and 2266 propagations. 1 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000101022s
Runtime decision procedure: 0.000108713s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/04-mutex_21-sound_base.i function main
[nodatarace.assertion.0] line 928 No data races on variable f between line 928 and line 922: FAILURE
[nodatarace.assertion.1] line 928 No data races on variable global between line 929 and line 918: FAILURE

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