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

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-1.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 703 704 707 708 714 715 716 723 724 730 731 736 737 738 739 740 
The number of races before goblint filter: 24
The number of races after goblint filter: 6
Race categories: 4
	730(1) - 739(1) stopped:
		stopped#3 stopped#5
		stopped#4 stopped#5
	723(1) - 723(1) stoppingEvent:
		stoppingEvent#3 stoppingEvent#4
	723(1) - 738(1) stoppingEvent:
		stoppingEvent#3 stoppingEvent#5
		stoppingEvent#3 stoppingEvent#6
	704(1) - 736(1) stoppingFlag:
		stoppingFlag#3 stoppingFlag#6
Runtime Symex: 0.101687s
Adding SC constraints
Shared __CPROVER_threads_exited: 1R/2W
Shared stoppingFlag: 2R/3W
Shared pendingIo: 3R/5W
Shared stoppingEvent: 2R/4W
Shared stopped: 2R/3W
size of program expression: 257 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.000670473s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00111969s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 5.6641e-05s
Solving with Deagle's Closure solver
1324 variables, 3270 clauses
ClosureSolver finishes with 3 conflicts, 405 decisions, and 1700 propagations. 15 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000324587s
Runtime decision procedure: 0.00571056s
Running propositional reduction
Solving with Deagle's Closure solver
1324 variables, 3059 clauses
ClosureSolver finishes with 5 conflicts, 765 decisions, and 3362 propagations. 16 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000193512s
Runtime decision procedure: 0.000203324s
Running propositional reduction
Solving with Deagle's Closure solver
1324 variables, 3060 clauses
ClosureSolver finishes with 8 conflicts, 768 decisions, and 4512 propagations. 16 theory propagations and 1 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 7.9941e-05s
Runtime decision procedure: 8.706e-05s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004-1.i function main
[nodatarace.assertion.0] line 749 No data races on variable stopped between line 730 and line 739: FAILURE
[nodatarace.assertion.1] line 749 No data races on variable stoppingEvent between line 723 and line 723: SUCCESS
[nodatarace.assertion.2] line 749 No data races on variable stoppingEvent between line 723 and line 738: FAILURE
[nodatarace.assertion.3] line 749 No data races on variable stoppingFlag between line 704 and line 736: SUCCESS

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