./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.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/singleton-b.i
Converting
Type-checking singleton-b
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 singleton-b file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i line 720
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 4 possible targets
Generic Property Instrumentation
Running with 8 object bits, 24 offset bits (default)
Starting Bounded Model Checking
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1116:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1121:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1116:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1116:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1144:3)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:179:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:184:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:189:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:194:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:199:1)
[Warning][Race] Memory location v@singleton-b.i:1108:6 (race with conf. 110):
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1130:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1143:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1116:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1132:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1143:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1116:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1133:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1143:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1116:3)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1131:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1143:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1121:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1144:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1128:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1143:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1111:3)
[Warning][Race] Memory location (alloc@sid:18)[?]@:-1:-1 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1144:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1130:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1143:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1116:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1132:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1143:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1116:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1133:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1143:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1116:3)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1131:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1143:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i:1121:3)

Summary for all memory locations:
	safe:            0
	vulnerable:      0
	unsafe:          2
	-------------------
	total:           2
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
Unwinding recursion pthread_create iteration 1
Unwinding recursion pthread_create iteration 1
Unwinding recursion pthread_create iteration 1
Unwinding recursion pthread_create iteration 1
Unwinding recursion pthread_create iteration 1
Unwinding recursion __spawned_thread iteration 1
pointer handling for concurrency is unsound
Unwinding recursion __spawned_thread iteration 1
Unwinding recursion __spawned_thread iteration 1
Unwinding recursion __spawned_thread iteration 1
Unwinding recursion __spawned_thread iteration 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/singleton-b.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 1111 1112 1116 1117 1121 1122 1144 1145 
The number of races before goblint filter: 60
The number of races after goblint filter: 35
Race categories: 6
	1116(1) - 1116(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#7
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#6
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#7
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#9
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#8
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#9
		symex_dynamic::dynamic_object1#6 symex_dynamic::dynamic_object1#9
		symex_dynamic::dynamic_object1#7 symex_dynamic::dynamic_object1#8
		symex_dynamic::dynamic_object1#7 symex_dynamic::dynamic_object1#9
	1116(1) - 1121(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#5
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#4
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#5
	1121(1) - 1116(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#4 symex_dynamic::dynamic_object1#7
		symex_dynamic::dynamic_object1#5 symex_dynamic::dynamic_object1#6
		symex_dynamic::dynamic_object1#5 symex_dynamic::dynamic_object1#7
		symex_dynamic::dynamic_object1#4 symex_dynamic::dynamic_object1#9
		symex_dynamic::dynamic_object1#5 symex_dynamic::dynamic_object1#8
		symex_dynamic::dynamic_object1#5 symex_dynamic::dynamic_object1#9
	1111(1) - 1116(1) v:
		v#3 v#4
		v#3 v#5
		v#3 v#6
		v#3 v#7
		v#3 v#12
		v#3 v#13
		v#3 v#14
		v#3 v#15
		v#3 v#16
		v#3 v#17
		v#3 v#18
		v#3 v#19
	1111(1) - 1121(1) v:
		v#3 v#8
		v#3 v#9
		v#3 v#10
		v#3 v#11
	1144(1) - 1111(1) v:
		v#2 v#3
Runtime Symex: 0.596292s
Adding SC constraints
Shared __CPROVER_threads_exited: 12R/7W
Shared __CPROVER_next_thread_id: 11R/7W
Shared __CPROVER_deallocated: 2R/2W
Shared __CPROVER_malloc_is_new_array: 1R/2W
Shared __CPROVER_memory_leak: 1R/2W
Shared v: 17R/2W
Shared main::1::t!0@1: 2R/2W
Shared thread0::1::t1!1@1: 2R/3W
Shared thread0::1::t2!1@1: 2R/3W
Shared thread0::1::t3!1@1: 2R/3W
Shared thread0::1::t4!1@1: 2R/3W
Shared thread0::1::t5!1@1: 2R/3W
Shared symex_dynamic::dynamic_object1: 4R/6W
size of program expression: 887 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00516044s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00528204s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0135763s
Solving with Deagle's Closure solver
15346 variables, 47639 clauses
ClosureSolver finishes with 52 conflicts, 5207 decisions, and 85513 propagations. 122 theory propagations and 1 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.0260308s
Runtime decision procedure: 0.0444269s
Running propositional reduction
Solving with Deagle's Closure solver
15346 variables, 40004 clauses
ClosureSolver finishes with 56 conflicts, 7315 decisions, and 97914 propagations. 123 theory propagations and 1 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.00201991s
Runtime decision procedure: 0.00203564s
Running propositional reduction
Solving with Deagle's Closure solver
15346 variables, 40005 clauses
ClosureSolver finishes with 58 conflicts, 9540 decisions, and 114420 propagations. 132 theory propagations and 2 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.00296753s
Runtime decision procedure: 0.00298007s
Running propositional reduction
Solving with Deagle's Closure solver
15346 variables, 40006 clauses
ClosureSolver finishes with 66 conflicts, 9555 decisions, and 126070 propagations. 132 theory propagations and 6 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00176832s
Runtime decision procedure: 0.00177766s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton-b.i function thread0
[nodatarace.assertion.0] line 1133 No data races on variable symex_dynamic::dynamic_object1 between line 1116 and line 1116: FAILURE
[nodatarace.assertion.1] line 1133 No data races on variable symex_dynamic::dynamic_object1 between line 1116 and line 1121: FAILURE
[nodatarace.assertion.2] line 1133 No data races on variable symex_dynamic::dynamic_object1 between line 1121 and line 1116: FAILURE
[nodatarace.assertion.3] line 1133 No data races on variable v between line 1111 and line 1116: SUCCESS
[nodatarace.assertion.4] line 1133 No data races on variable v between line 1111 and line 1121: SUCCESS
[nodatarace.assertion.5] line 1133 No data races on variable v between line 1144 and line 1111: SUCCESS

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