./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.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/stack-1.i
Converting
Type-checking stack-1
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 stack-1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 534
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_init> line 27: 
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_init"
old definition in module stack-1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 522
signed int (pthread_mutex_t *, const pthread_mutexattr_t *)
new definition in module <built-in-library> file <builtin-library-pthread_mutex_init> line 27
signed int (pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr)
file <builtin-library-pthread_create> line 20: warning: pointer parameter types differ between declaration and definition "pthread_create"
old definition in module stack-1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 416
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)
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 stack-1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 529
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)
Removal of function pointers and virtual functions
file <builtin-library-__spawned_thread> line 34 function __spawned_thread: replacing function pointer by 2 possible targets
Generic Property Instrumentation
Running with 8 object bits, 24 offset bits (default)
Starting Bounded Model Checking
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i:995:5)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i:995:5)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(flag,
                                     NoOffset)), AddrOf(Var(m, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i:995:5)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i:995:5)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i:79:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i:84:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i:89:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i:94:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i:99:1)
[Warning][Deadcode] Function "stack_empty" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i:956:1)

Summary for all memory locations:
	safe:            2
	vulnerable:      0
	unsafe:          0
	-------------------
	total:           2
set limit type 1
Use SV-COMP unwinding strategy: 6
Deagle's solver is set!!!!!!
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
pointer handling for concurrency is unsound
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
Unwinding loop t1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 992 function t1 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 t1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 992 function t1 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 t1.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 992 function t1 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 t1.0 iteration 4 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 992 function t1 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 t1.0 iteration 5 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 992 function t1 thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Unwinding loop t2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 1006 function t2 thread 2
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Unwinding loop t2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 1006 function t2 thread 2
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Unwinding loop t2.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 1006 function t2 thread 2
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Unwinding loop t2.0 iteration 4 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 1006 function t2 thread 2
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Unwinding loop t2.0 iteration 5 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i line 1006 function t2 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/stack-1.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 995 996 
The number of races before goblint filter: 525
The number of races after goblint filter: 0
Race categories: 0
Runtime Symex: 2.02504s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared top: 35R/11W
Shared m: 20R/22W
Shared arr[[0]]: 10R/6W
Shared arr[[1]]: 10R/6W
Shared arr[[2]]: 10R/6W
Shared arr[[3]]: 10R/6W
Shared arr[[4]]: 10R/6W
Shared main::1::id1!0@1: 2R/2W
Shared main::1::id2!0@1: 2R/2W
Shared printf::format!1@1: 1R/2W
Shared printf::format!1@2: 1R/2W
Shared printf::format!1@3: 1R/2W
Shared printf::format!1@4: 1R/2W
Shared printf::format!1@5: 1R/2W
Shared printf::format!2@1: 1R/2W
Shared printf::format!2@2: 1R/2W
Shared printf::format!2@3: 1R/2W
Shared printf::format!2@4: 1R/2W
Shared printf::format!2@5: 1R/2W
size of program expression: 2208 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.0686561s
VERIFICATION SUCCESSFUL
