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

Summary for all memory locations:
	safe:            0
	vulnerable:      0
	unsafe:          4
	-------------------
	total:           4
set limit type 4
Use SV-COMP unwinding strategy: 11
Deagle's solver is set!!!!!!
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004_variant.i line 744 function main thread 0
Unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004_variant.i line 744 function main thread 0
Unwinding loop main.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004_variant.i line 744 function main thread 0
Unwinding loop main.0 iteration 4 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004_variant.i line 744 function main thread 0
Unwinding loop main.0 iteration 5 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004_variant.i line 744 function main thread 0
Unwinding loop main.0 iteration 6 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004_variant.i line 744 function main thread 0
Unwinding loop main.0 iteration 7 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004_variant.i line 744 function main thread 0
Unwinding loop main.0 iteration 8 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004_variant.i line 744 function main thread 0
Unwinding loop main.0 iteration 9 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004_variant.i line 744 function main thread 0
Unwinding loop main.0 iteration 10 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-lit/qw2004_variant.i line 744 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
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 4
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 5
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 6
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 7
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 8
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 9
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 10
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 11
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_variant.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 703 704 707 708 714 715 716 717 724 725 730 731 732 733 734 
The number of races before goblint filter: 689
The number of races after goblint filter: 30
Race categories: 2
	733(1) - 724(1) stopped:
		stopped#3 stopped#4
		stopped#3 stopped#5
		stopped#3 stopped#6
		stopped#3 stopped#7
		stopped#3 stopped#8
		stopped#3 stopped#9
		stopped#3 stopped#10
		stopped#3 stopped#11
		stopped#3 stopped#12
		stopped#3 stopped#13
		stopped#3 stopped#14
		stopped#3 stopped#15
		stopped#3 stopped#16
		stopped#3 stopped#17
		stopped#3 stopped#18
		stopped#3 stopped#19
		stopped#3 stopped#20
		stopped#3 stopped#21
		stopped#3 stopped#22
		stopped#3 stopped#23
	730(1) - 704(1) stoppingFlag:
		stoppingFlag#3 stoppingFlag#4
		stoppingFlag#3 stoppingFlag#7
		stoppingFlag#3 stoppingFlag#10
		stoppingFlag#3 stoppingFlag#13
		stoppingFlag#3 stoppingFlag#16
		stoppingFlag#3 stoppingFlag#19
		stoppingFlag#3 stoppingFlag#22
		stoppingFlag#3 stoppingFlag#25
		stoppingFlag#3 stoppingFlag#28
		stoppingFlag#3 stoppingFlag#31
Runtime Symex: 1.62754s
Adding SC constraints
Shared __CPROVER_threads_exited: 11R/12W
Shared __CPROVER_next_thread_id: 10R/12W
Shared stoppingFlag: 20R/3W
Shared pendingIo: 21R/23W
Shared stoppingEvent: 2R/13W
Shared stopped: 20R/3W
size of program expression: 2138 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.0118787s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0202205s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0160235s
Solving with Deagle's Closure solver
35910 variables, 119188 clauses
