./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.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/37_stack_lock_p0_vs_concur.i
Converting
Type-checking 37_stack_lock_p0_vs_concur
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 37_stack_lock_p0_vs_concur file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i line 408
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-ext/37_stack_lock_p0_vs_concur.i:71:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:76:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:81:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:86:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:91:1)
[Warning][Race] Memory location top@37_stack_lock_p0_vs_concur.i:691:5 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:715:3)
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:722:24)
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:717:3)
[Warning][Race] Memory location memory[?]@37_stack_lock_p0_vs_concur.i:688:5 (race with conf. 110):
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:713:3)
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:716:3)
[Warning][Race] Memory location m@37_stack_lock_p0_vs_concur.i:690:5 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:694:2)
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:699:2)
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:695:2)
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:700:2)
[Warning][Race] Memory location next_alloc_idx@37_stack_lock_p0_vs_concur.i:689:5 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:704:2)
  read with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:705:7)
  write with {} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i:705:7)

Summary for all memory locations:
	safe:            0
	vulnerable:      0
	unsafe:          4
	-------------------
	total:           4
set limit type 2
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/37_stack_lock_p0_vs_concur.i line 728 function main thread 0
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i line 728 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 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
Unwinding loop thr1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i line 722 function thr1 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 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 1
Not unwinding loop thr1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i line 722 function thr1 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
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Unwinding loop thr1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i line 722 function thr1 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
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Not unwinding loop thr1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/37_stack_lock_p0_vs_concur.i line 722 function thr1 thread 2
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/37_stack_lock_p0_vs_concur.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 694 695 696 699 700 701 704 705 706 713 714 715 716 717 718 722 723 
The number of races before goblint filter: 120
The number of races after goblint filter: 68
Race categories: 9
	713(1) - 713(1) memory:
		memory#2 memory#11
		memory#2 memory#15
		memory#3 memory#10
		memory#3 memory#11
		memory#3 memory#14
		memory#3 memory#15
		memory#6 memory#11
		memory#6 memory#15
		memory#7 memory#10
		memory#7 memory#11
		memory#7 memory#14
		memory#7 memory#15
	713(1) - 716(1) memory:
		memory#2 memory#13
		memory#2 memory#17
		memory#3 memory#12
		memory#3 memory#13
		memory#3 memory#16
		memory#3 memory#17
		memory#6 memory#13
		memory#6 memory#17
		memory#7 memory#12
		memory#7 memory#13
		memory#7 memory#16
		memory#7 memory#17
	716(1) - 713(1) memory:
		memory#4 memory#11
		memory#4 memory#15
		memory#5 memory#10
		memory#5 memory#11
		memory#5 memory#14
		memory#5 memory#15
		memory#8 memory#11
		memory#8 memory#15
		memory#9 memory#10
		memory#9 memory#11
		memory#9 memory#14
		memory#9 memory#15
	716(1) - 716(1) memory:
		memory#4 memory#13
		memory#4 memory#17
		memory#5 memory#12
		memory#5 memory#13
		memory#5 memory#16
		memory#5 memory#17
		memory#8 memory#13
		memory#8 memory#17
		memory#9 memory#12
		memory#9 memory#13
		memory#9 memory#16
		memory#9 memory#17
	715(1) - 717(1) top:
		top#2 top#9
		top#2 top#12
		top#5 top#9
		top#5 top#12
	717(1) - 715(1) top:
		top#3 top#8
		top#3 top#11
		top#6 top#8
		top#6 top#11
	717(1) - 717(1) top:
		top#3 top#9
		top#3 top#12
		top#6 top#9
		top#6 top#12
	717(1) - 722(1) top:
		top#3 top#10
		top#3 top#13
		top#6 top#10
		top#6 top#13
	722(1) - 717(1) top:
		top#4 top#9
		top#4 top#12
		top#7 top#9
		top#7 top#12
Runtime Symex: 0.624951s
Unsupported __VERIFIER_atomic_* function!
