./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-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-nondet/nondet-loop-bound-variant-1.i
Converting
Type-checking nondet-loop-bound-variant-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 nondet-loop-bound-variant-1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-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)
file <builtin-library-pthread_mutex_lock> line 17: 
reason for conflict at #this.__data: number of members is different (6/8)

struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  signed int __kind;
  unsigned int __nusers;
  union $anon0;
}
struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  unsigned int __nusers;
  signed int __kind;
  signed short int __spins;
  signed short int __elision;
  __pthread_list_t __list;
}
warning: pointer parameter types differ between declaration and definition "pthread_mutex_lock"
old definition in module nondet-loop-bound-variant-1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 505
signed int (pthread_mutex_t *)
new definition in module <built-in-library> file <builtin-library-pthread_mutex_lock> line 17
signed int (pthread_mutex_t *mutex)
file <builtin-library-pthread_mutex_unlock> line 17: 
reason for conflict at #this.__data: number of members is different (6/8)

struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  signed int __kind;
  unsigned int __nusers;
  union $anon0;
}
struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  unsigned int __nusers;
  signed int __kind;
  signed short int __spins;
  signed short int __elision;
  __pthread_list_t __list;
}
warning: pointer parameter types differ between declaration and definition "pthread_mutex_unlock"
old definition in module nondet-loop-bound-variant-1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 510
signed int (pthread_mutex_t *)
new definition in module <built-in-library> file <builtin-library-pthread_mutex_unlock> line 17
signed int (pthread_mutex_t *mutex)
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][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:710:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:710:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(mut,
                                     NoOffset)), AddrOf(Var(n, NoOffset)), AddrOf(Var(x, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:710:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:710:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:698:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:698:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(mut,
                                     NoOffset)), AddrOf(Var(n, NoOffset)), AddrOf(Var(x, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:698:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:698:3)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:55:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:60:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:65:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:70:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:75:1)
[Warning][Race] Memory location x@nondet-loop-bound-variant-1.i:690:14 (race with conf. 110):
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:713:8, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:694:3)
  read with {lock:mut} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:701:3)
  write with {lock:mut} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i:703:5)

Summary for all memory locations:
	safe:            1
	vulnerable:      0
	unsafe:          1
	-------------------
	total:           2
argc''s upper bound is 1073741824
n's upper bound is 10
thr2::1::k's upper bound is 10
set limit type 4
Use SV-COMP unwinding strategy: 11
Deagle's solver is set!!!!!!
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 713 function main thread 0
Unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 713 function main thread 0
Unwinding loop main.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 713 function main thread 0
Unwinding loop main.0 iteration 4 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 713 function main thread 0
Unwinding loop main.0 iteration 5 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 713 function main thread 0
Unwinding loop main.0 iteration 6 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 713 function main thread 0
Unwinding loop main.0 iteration 7 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 713 function main thread 0
Unwinding loop main.0 iteration 8 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 713 function main thread 0
Unwinding loop main.0 iteration 9 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 713 function main thread 0
Unwinding loop main.0 iteration 10 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 713 function main thread 0
Not unwinding loop main.0 iteration 11 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-nondet/nondet-loop-bound-variant-1.i line 713 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
aborting path on assume(false) at file <builtin-library-__spawned_thread> line 34 function __spawned_thread thread 12
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 12
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 12
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-nondet/nondet-loop-bound-variant-1.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 694 695 698 699 701 702 703 704 710 711 
The number of races before goblint filter: 333
The number of races after goblint filter: 222
Race categories: 7
	710(1) - 694(1) n:
		n#2 n#14
		n#2 n#15
		n#2 n#27
		n#2 n#28
	710(1) - 702(1) n:
		n#2 n#16
		n#2 n#17
		n#2 n#18
		n#2 n#19
		n#2 n#20
		n#2 n#21
		n#2 n#22
		n#2 n#23
		n#2 n#24
		n#2 n#25
		n#2 n#26
	694(1) - 703(1) x:
		x#3 x#6
		x#4 x#6
		x#3 x#8
		x#4 x#8
		x#3 x#10
		x#4 x#10
		x#3 x#12
		x#4 x#12
		x#3 x#14
		x#4 x#14
		x#3 x#16
		x#4 x#16
		x#3 x#18
		x#4 x#18
		x#3 x#20
		x#4 x#20
		x#3 x#22
		x#4 x#22
		x#3 x#24
		x#4 x#24
		x#3 x#26
		x#4 x#26
	701(1) - 703(1) x:
		x#5 x#8
		x#5 x#10
		x#5 x#12
		x#5 x#14
		x#5 x#16
		x#5 x#18
		x#5 x#20
		x#5 x#22
		x#5 x#24
		x#5 x#26
		x#7 x#10
		x#7 x#12
		x#7 x#14
		x#7 x#16
		x#7 x#18
		x#7 x#20
		x#7 x#22
		x#7 x#24
		x#7 x#26
		x#9 x#12
		x#9 x#14
		x#9 x#16
		x#9 x#18
		x#9 x#20
		x#9 x#22
		x#9 x#24
		x#9 x#26
		x#11 x#14
		x#11 x#16
		x#11 x#18
		x#11 x#20
		x#11 x#22
		x#11 x#24
		x#11 x#26
		x#13 x#16
		x#13 x#18
		x#13 x#20
		x#13 x#22
		x#13 x#24
		x#13 x#26
		x#15 x#18
		x#15 x#20
		x#15 x#22
		x#15 x#24
		x#15 x#26
		x#17 x#20
		x#17 x#22
		x#17 x#24
		x#17 x#26
		x#19 x#22
		x#19 x#24
		x#19 x#26
		x#21 x#24
		x#21 x#26
		x#23 x#26
	703(1) - 694(1) x:
		x#6 x#27
		x#6 x#28
		x#8 x#27
		x#8 x#28
		x#10 x#27
		x#10 x#28
		x#12 x#27
		x#12 x#28
		x#14 x#27
		x#14 x#28
		x#16 x#27
		x#16 x#28
		x#18 x#27
		x#18 x#28
		x#20 x#27
		x#20 x#28
		x#22 x#27
		x#22 x#28
		x#24 x#27
		x#24 x#28
	703(1) - 701(1) x:
		x#6 x#7
		x#6 x#9
		x#6 x#11
		x#6 x#13
		x#6 x#15
		x#6 x#17
		x#6 x#19
		x#6 x#21
		x#6 x#23
		x#6 x#25
		x#8 x#9
		x#8 x#11
		x#8 x#13
		x#8 x#15
		x#8 x#17
		x#8 x#19
		x#8 x#21
		x#8 x#23
		x#8 x#25
		x#10 x#11
		x#10 x#13
		x#10 x#15
		x#10 x#17
		x#10 x#19
		x#10 x#21
		x#10 x#23
		x#10 x#25
		x#12 x#13
		x#12 x#15
		x#12 x#17
		x#12 x#19
		x#12 x#21
		x#12 x#23
		x#12 x#25
		x#14 x#15
		x#14 x#17
		x#14 x#19
		x#14 x#21
		x#14 x#23
		x#14 x#25
		x#16 x#17
		x#16 x#19
		x#16 x#21
		x#16 x#23
		x#16 x#25
		x#18 x#19
		x#18 x#21
		x#18 x#23
		x#18 x#25
		x#20 x#21
		x#20 x#23
		x#20 x#25
		x#22 x#23
		x#22 x#25
		x#24 x#25
	703(1) - 703(1) x:
		x#6 x#8
		x#6 x#10
		x#6 x#12
		x#6 x#14
		x#6 x#16
		x#6 x#18
		x#6 x#20
		x#6 x#22
		x#6 x#24
		x#6 x#26
		x#8 x#10
		x#8 x#12
		x#8 x#14
		x#8 x#16
		x#8 x#18
		x#8 x#20
		x#8 x#22
		x#8 x#24
		x#8 x#26
		x#10 x#12
		x#10 x#14
		x#10 x#16
		x#10 x#18
		x#10 x#20
		x#10 x#22
		x#10 x#24
		x#10 x#26
		x#12 x#14
		x#12 x#16
		x#12 x#18
		x#12 x#20
		x#12 x#22
		x#12 x#24
		x#12 x#26
		x#14 x#16
		x#14 x#18
		x#14 x#20
		x#14 x#22
		x#14 x#24
		x#14 x#26
		x#16 x#18
		x#16 x#20
		x#16 x#22
		x#16 x#24
		x#16 x#26
		x#18 x#20
		x#18 x#22
		x#18 x#24
		x#18 x#26
		x#20 x#22
		x#20 x#24
		x#20 x#26
		x#22 x#24
		x#22 x#26
		x#24 x#26
Runtime Symex: 1.57102s
Adding SC constraints
Shared __CPROVER_threads_exited: 12R/13W
Shared __CPROVER_next_thread_id: 11R/13W
Shared x: 15R/13W
Shared n: 26R/2W
Shared mut: 22R/23W
size of program expression: 2486 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.0309964s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0744723s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0241917s
Solving with Deagle's Closure solver
124932 variables, 550068 clauses
ClosureSolver finishes with 218 conflicts, 34753 decisions, and 483465 propagations. 125 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.10583s
Runtime decision procedure: 0.202963s
Running propositional reduction
Solving with Deagle's Closure solver
124932 variables, 540657 clauses
