./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.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/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i
Converting
Type-checking 51-symbolic-thread-struct-tid
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 51-symbolic-thread-struct-tid file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i line 727
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 *pthread_create$$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][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1023:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Mem(Lval(Var(t,
                                              NoOffset)), Field(data:TInt(int, ), NoOffset))) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1019:3)
[Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1032:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1032:5)
[Warning][Unknown] Invalidating expressions: CastE(TPtr(TVoid(),
                                ), Lval(Mem(IndexPI(Lval(Var(ts, NoOffset)), Lval(Var(i___0, NoOffset))), NoOffset))) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1033:5)
[Warning][Unknown] Unknown address in (void *)*(ts + i___0) has escaped. (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1033:5)
[Warning][Unknown] Write to unknown address: privatization is unsound. (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1033:5)
[Warning][Unknown] Invalidating expressions: CastE(TPtr(TVoid(),
                                ), Lval(Var(ts, NoOffset))) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1035:3)
[Warning][Unknown] Unknown address in {&((alloc@sid:25), /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1025:3)} has escaped. (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1035:3)
[Warning][Deadcode] Function "__bswap_16" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:163:1)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:168:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:173:15)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:178:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:183:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:188:1)
[Warning][Race] Memory location (alloc@sid:34).data@:-1:-1 (race with conf. 110):
  write with {thread:([main], {})} (conf. 90) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1035:3)
  write with {} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i:1019:3)

Summary for all memory locations:
	safe:            4
	vulnerable:      0
	unsafe:          1
	-------------------
	total:           5
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 loop main.0 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i line 1026 function main thread 0
pointer handling for concurrency is unsound
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i line 1026 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i line 1031 function main thread 0
Not unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i line 1031 function main thread 0
aborting path on assume(false) at file <builtin-library-__spawned_thread> line 34 function __spawned_thread 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/goblint-bench/bench/concrat/race-challenges/51-symbolic-thread-struct-tid.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 1019 1020 1033 1034 1035 1036 
The number of races before goblint filter: 5
The number of races after goblint filter: 0
Race categories: 0
Runtime Symex: 0.153875s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared __CPROVER_deallocated: 2R/7W
Shared __CPROVER_malloc_is_new_array: 1R/4W
Shared __CPROVER_memory_leak: 4R/7W
Shared symex_dynamic::dynamic_object1: 11R/3W
Shared symex_dynamic::dynamic_object2..tid: 4R/3W
Shared symex_dynamic::dynamic_object2..data: 4R/3W
size of program expression: 550 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.0020972s
VERIFICATION SUCCESSFUL
