./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.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/thread-local-pthread-value-cond.i
Converting
Type-checking thread-local-pthread-value-cond
Generating GOTO Program
Adding CPROVER library (x86_64)
file <builtin-library-pthread_mutex_unlock> line 17: 
reason for conflict at #this.__data: number of members is different (6/8)

struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  signed int __kind;
  unsigned int __nusers;
  union $anon0;
}
struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  unsigned int __nusers;
  signed int __kind;
  signed short int __spins;
  signed short int __elision;
  __pthread_list_t __list;
}
warning: pointer parameter types differ between declaration and definition "pthread_mutex_unlock"
old definition in module thread-local-pthread-value-cond file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i line 845
signed int (pthread_mutex_t *)
new definition in module <built-in-library> file <builtin-library-pthread_mutex_unlock> line 17
signed int (pthread_mutex_t *mutex)
file <builtin-library-pthread_mutex_lock> line 17: 
reason for conflict at #this.__data: number of members is different (6/8)

struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  signed int __kind;
  unsigned int __nusers;
  union $anon0;
}
struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  unsigned int __nusers;
  signed int __kind;
  signed short int __spins;
  signed short int __elision;
  __pthread_list_t __list;
}
warning: pointer parameter types differ between declaration and definition "pthread_mutex_lock"
old definition in module thread-local-pthread-value-cond file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i line 840
signed int (pthread_mutex_t *)
new definition in module <built-in-library> file <builtin-library-pthread_mutex_lock> line 17
signed int (pthread_mutex_t *mutex)
file <builtin-library-pthread_create> line 20: warning: pointer parameter types differ between declaration and definition "pthread_create"
old definition in module thread-local-pthread-value-cond file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.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] Spawning functions from unknown function: key (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1030:3)
[Warning][Unknown] Not creating a thread from key because its type is pthread_key_t  (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1030:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(key, NoOffset)), CastE(TPtr(TFun(TVoid(), : TPtr(TVoid(), ), ), ), CastE(TPtr(TVoid(), ), Const(Int64(0,int,None)))) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1030:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1031:3)
[Warning][Unknown] Spawning functions from unknown function: x (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1018:3)
[Warning][Unknown] Not creating a thread from x because its type is int  (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1018:3)
[Warning][Unknown] Function definition missing for pthread_setspecific (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1018:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1018:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(shared_mutex,
                                     NoOffset)), AddrOf(Var(shared, NoOffset)), AddrOf(Var(key, NoOffset)), Lval(Var(key, NoOffset)), CastE(TPtr(TVoid( const  ), ), AddrOf(Var(x, NoOffset))) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1018:3)
[Warning][Unknown] Spawning functions from unknown function: y (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1019:3)
[Warning][Unknown] Not creating a thread from y because its type is int  (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1019:3)
[Warning][Unknown] Function definition missing for pthread_setspecific (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1019:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1019:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(shared_mutex, NoOffset)), AddrOf(Var(shared, NoOffset)), AddrOf(Var(key, NoOffset)), Lval(Var(key, NoOffset)), CastE(TPtr(TVoid( const  ), ), AddrOf(Var(y, NoOffset))) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1019:3)
[Warning][Unknown] Function definition missing for pthread_getspecific (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1020:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1020:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(shared_mutex, NoOffset)), AddrOf(Var(shared, NoOffset)), AddrOf(Var(key, NoOffset)), Lval(Var(key, NoOffset)) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1020:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1020:3)
[Warning][Unknown] Unknown address in {&tmp} has escaped. (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1020:3)
[Warning][Unknown] Function definition missing for pthread_getspecific (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1024:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1024:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(shared_mutex, NoOffset)), AddrOf(Var(shared, NoOffset)), AddrOf(Var(key, NoOffset)), Lval(Var(key, NoOffset)) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1024:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp___0, NoOffset)) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1024:3)
[Warning][Unknown] Unknown address in {&tmp___0} has escaped. (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1024:3)
[Warning][Unknown] Invalidating expressions: CastE(TPtr(TVoid(),
                                ), Lval(Var(tids, NoOffset))) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1040:3)
[Warning][Deadcode] Function "__bswap_16" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:163:1)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:168:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:173:15)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:178:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:183:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:188:1)
[Warning][Race] Memory location shared@thread-local-pthread-value-cond.i:1014:5 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1023:3)
  read with {lock:shared_mutex} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1023:3)
  write with {} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1023:3)
  write with {lock:shared_mutex} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i:1023:3)

Summary for all memory locations:
	safe:            3
	vulnerable:      0
	unsafe:          1
	-------------------
	total:           4
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/thread-local-pthread-value-cond.i line 1034 function main thread 0
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i line 1034 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i line 1037 function main thread 0
Not unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i line 1037 function main thread 0
pointer handling for concurrency is unsound
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/thread-local-pthread-value-cond.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 1018 1019 1023 1024 1040 1041 
The number of races before goblint filter: 47
The number of races after goblint filter: 3
Race categories: 1
	1023(1) - 1023(1) shared:
		shared#2 shared#5
		shared#3 shared#4
		shared#3 shared#5
Runtime Symex: 0.342112s
Unsupported library function!
