./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.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-ext/32_pthread5_vs.i
Converting
Type-checking 32_pthread5_vs
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 32_pthread5_vs file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i line 409
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 3 possible targets
Generic Property Instrumentation
Running with 8 object bits, 24 offset bits (default)
Starting Bounded Model Checking
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:705:3)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:72:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:77:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:82:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:87:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:92:1)
[Warning][Race] Memory location lock@32_pthread5_vs.i:690:7 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:713:3)
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:709:5)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:737:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:731:3)
[Warning][Race] Memory location g1@32_pthread5_vs.i:689:12 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:716:7)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:740:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:723:47)
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:708:5)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:737:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:729:3)
[Warning][Race] Memory location x@32_pthread5_vs.i:689:19 (race with conf. 110):
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:715:5)
[Warning][Race] Memory location g0@32_pthread5_vs.i:689:5 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:716:7)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:740:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:723:47)
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:707:5)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:737:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:729:3)
[Warning][Race] Memory location mutex@32_pthread5_vs.i:691:5 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:694:2)
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:737:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:694:2)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:740:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:694:2)
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:699:2)
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:737:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:699:2)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:740:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:699:2)
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:695:2)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:737:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:695:2)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:740:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:695:2)
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:700:2)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:737:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:700:2)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:740:5, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i:700:2)

Summary for all memory locations:
	safe:            0
	vulnerable:      0
	unsafe:          5
	-------------------
	total:           5
Use SV-COMP unwinding strategy: 2
Deagle's solver is set!!!!!!
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i line 738 function main thread 0
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i line 738 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 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 2
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Unwinding loop thr2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i line 723 function thr2 thread 2
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 2
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Not unwinding loop thr2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/32_pthread5_vs.i line 723 function thr2 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 3
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 3
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 4
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 4
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 4
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-ext/32_pthread5_vs.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 694 695 696 699 700 701 705 706 707 708 709 710 713 714 715 716 717 723 724 729 730 731 732 
The number of races before goblint filter: 83
The number of races after goblint filter: 34
Race categories: 20
	707(1) - 707(1) g0:
		g0#5 g0#7
	707(1) - 716(1) g0:
		g0#5 g0#8
	716(1) - 707(1) g0:
		g0#6 g0#7
	723(1) - 707(1) g0:
		g0#3 g0#5
		g0#4 g0#5
		g0#3 g0#7
		g0#4 g0#7
	729(1) - 707(1) g0:
		g0#2 g0#5
		g0#2 g0#7
	729(1) - 716(1) g0:
		g0#2 g0#6
		g0#2 g0#8
	729(1) - 723(1) g0:
		g0#2 g0#3
		g0#2 g0#4
	708(1) - 708(1) g1:
		g1#5 g1#7
	708(1) - 716(1) g1:
		g1#5 g1#8
	716(1) - 708(1) g1:
		g1#6 g1#7
	723(1) - 708(1) g1:
		g1#3 g1#5
		g1#4 g1#5
		g1#3 g1#7
		g1#4 g1#7
	729(1) - 708(1) g1:
		g1#2 g1#5
		g1#2 g1#7
	729(1) - 716(1) g1:
		g1#2 g1#6
		g1#2 g1#8
	729(1) - 723(1) g1:
		g1#2 g1#3
		g1#2 g1#4
	709(1) - 709(1) lock:
		lock#3 lock#5
	709(1) - 713(1) lock:
		lock#3 lock#6
	713(1) - 709(1) lock:
		lock#4 lock#5
	731(1) - 709(1) lock:
		lock#2 lock#3
		lock#2 lock#5
	731(1) - 713(1) lock:
		lock#2 lock#4
		lock#2 lock#6
	715(1) - 715(1) x:
		x#2 x#3
Runtime Symex: 0.439745s
Unsupported __VERIFIER_atomic_* function!
