./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.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-lit/qw2004-2.i
Converting
Type-checking qw2004-2
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 qw2004-2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.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)
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/pthread-lit/qw2004-2.i:55:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:60:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:65:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:70:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:75:1)
[Warning][Race] Memory location stoppingFlag@qw2004-2.i:697:14 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:703:5)
  write with {thread:([BCSP_PnpStop@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:761:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:744:5)
[Warning][Race] Memory location stopped@qw2004-2.i:700:14 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:737:2)
  write with {thread:([BCSP_PnpStop@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:761:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:751:5)
[Warning][Race] Memory location pendingIo@qw2004-2.i:698:14 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:709:9)
  read with {thread:([BCSP_PnpStop@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:761:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:719:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:719:5)
  read with {thread:([BCSP_PnpStop@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:761:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:720:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:720:5)
  write with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:712:9)
  write with {thread:([BCSP_PnpStop@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:761:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:719:5)
  write with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:719:5)
[Warning][Race] Memory location stoppingEvent@qw2004-2.i:699:14 (race with conf. 110):
  read with {thread:([BCSP_PnpStop@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:761:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:748:5)
  write with {thread:([BCSP_PnpStop@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:761:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:729:9)
  write with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i:729:9)

Summary for all memory locations:
	safe:            0
	vulnerable:      0
	unsafe:          4
	-------------------
	total:           4
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 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/pthread-lit/qw2004-2.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 703 704 709 710 712 713 719 720 721 729 730 737 738 744 745 748 749 751 752 
The number of races before goblint filter: 14
The number of races after goblint filter: 2
Race categories: 1
	737(1) - 751(1) stopped:
		stopped#3 stopped#5
		stopped#4 stopped#5
Runtime Symex: 0.0920133s
Adding SC constraints
Shared __CPROVER_threads_exited: 1R/2W
Shared stoppingFlag: 1R/3W
Shared pendingIo: 3R/5W
Shared stoppingEvent: 1R/4W
Shared stopped: 2R/3W
size of program expression: 258 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00053971s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00120139s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 6.0071e-05s
Solving with Deagle's Closure solver
1392 variables, 3152 clauses
ClosureSolver finishes with 5 conflicts, 443 decisions, and 1861 propagations. 12 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000347378s
Runtime decision procedure: 0.00550323s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-2.i function main
[nodatarace.assertion.0] line 761 No data races on variable stopped between line 737 and line 751: FAILURE

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