./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.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_with-uninit-problems.i
Converting
Type-checking singleton_with-uninit-problems
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_with-uninit-problems file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i line 734
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_with-uninit-problems.i:1133:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1140:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1133:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1133:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1164:3)
[Warning][Deadcode] Function "__bswap_16" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:188:1)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:193:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:198:15)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:203:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:208:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:213:1)
[Warning][Race] Memory location v@singleton_with-uninit-problems.i:1124:6 (race with conf. 110):
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1150:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1163:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1133:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1152:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1163:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1133:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1153:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1163:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1133:3)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1151:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1163:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1140:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1164:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1148:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1163:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1127:3)
[Warning][Race] Memory location (alloc@sid:21)[?]@:-1:-1 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1164:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1150:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1163:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1133:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1152:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1163:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1133:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1153:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1163:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1133:3)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1151:3, thread0@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1163:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i:1140: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_with-uninit-problems.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 1127 1128 1133 1134 1140 1141 1164 1165 
The number of races before goblint filter: 19
The number of races after goblint filter: 6
Race categories: 3
	1127(1) - 1134(1) v:
		v#4 v#5
		v#4 v#9
		v#4 v#11
	1127(1) - 1141(1) v:
		v#4 v#7
	1164(1) - 1127(1) v:
		v#2 v#4
		v#3 v#4
Runtime Symex: 0.484316s
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: 6R/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: 831 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00464061s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00487136s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0133634s
Solving with Deagle's Closure solver
14966 variables, 46754 clauses
ClosureSolver finishes with 19 conflicts, 381 decisions, and 24594 propagations. 114 theory propagations and 0 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.016926s
Runtime decision procedure: 0.0329098s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/singleton_with-uninit-problems.i function thread0
[nodatarace.assertion.0] line 1153 No data races on variable v between line 1127 and line 1134: SUCCESS
[nodatarace.assertion.1] line 1153 No data races on variable v between line 1127 and line 1141: SUCCESS
[nodatarace.assertion.2] line 1153 No data races on variable v between line 1164 and line 1127: SUCCESS

** 0 of 3 failed (1 iterations)
VERIFICATION SUCCESSFUL
