./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.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-divine/condvar_spurious_wakeup.i
Converting
Type-checking condvar_spurious_wakeup
Generating GOTO Program
Adding CPROVER library (x86_64)
file <builtin-library-pthread_cond_init> line 7: 
reason for conflict at #this.__data: names of member 0 differ ($anon0/__wseq)

struct __pthread_cond_s {
  union $anon0;
  union $anon1;
  unsigned int [2] __g_refs;
  unsigned int [2] __g_size;
  unsigned int __g1_orig_size;
  unsigned int __wrefs;
  unsigned int [2] __g_signals;
}
struct __pthread_cond_s {
  __atomic_wide_counter __wseq;
  __atomic_wide_counter __g1_start;
  unsigned int [2] __g_refs;
  unsigned int [2] __g_size;
  unsigned int __g1_orig_size;
  unsigned int __wrefs;
  unsigned int [2] __g_signals;
}
warning: pointer parameter types differ between declaration and definition "pthread_cond_init"
old definition in module condvar_spurious_wakeup file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 609
signed int (pthread_cond_t *, const pthread_condattr_t *)
new definition in module <built-in-library> file <builtin-library-pthread_cond_init> line 7
signed int (pthread_cond_t *pthread_cond_init$$cond, const pthread_condattr_t *attr)
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 condvar_spurious_wakeup file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 518
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_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 condvar_spurious_wakeup file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 511
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_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 condvar_spurious_wakeup file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 523
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_cond_broadcast> line 7: 
reason for conflict at #this.__data: names of member 0 differ ($anon0/__wseq)

struct __pthread_cond_s {
  union $anon0;
  union $anon1;
  unsigned int [2] __g_refs;
  unsigned int [2] __g_size;
  unsigned int __g1_orig_size;
  unsigned int __wrefs;
  unsigned int [2] __g_signals;
}
struct __pthread_cond_s {
  __atomic_wide_counter __wseq;
  __atomic_wide_counter __g1_start;
  unsigned int [2] __g_refs;
  unsigned int [2] __g_size;
  unsigned int __g1_orig_size;
  unsigned int __wrefs;
  unsigned int [2] __g_signals;
}
warning: pointer parameter types differ between declaration and definition "pthread_cond_broadcast"
old definition in module condvar_spurious_wakeup file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 616
signed int (pthread_cond_t *)
new definition in module <built-in-library> file <builtin-library-pthread_cond_broadcast> line 7
signed int (pthread_cond_t *pthread_cond_broadcast$$cond)
file <builtin-library-pthread_cond_wait> line 7: 
reason for conflict at #this.__data: names of member 0 differ ($anon0/__wseq)

struct __pthread_cond_s {
  union $anon0;
  union $anon1;
  unsigned int [2] __g_refs;
  unsigned int [2] __g_size;
  unsigned int __g1_orig_size;
  unsigned int __wrefs;
  unsigned int [2] __g_signals;
}
struct __pthread_cond_s {
  __atomic_wide_counter __wseq;
  __atomic_wide_counter __g1_start;
  unsigned int [2] __g_refs;
  unsigned int [2] __g_size;
  unsigned int __g1_orig_size;
  unsigned int __wrefs;
  unsigned int [2] __g_signals;
}
warning: pointer parameter types differ between declaration and definition "pthread_cond_wait"
old definition in module condvar_spurious_wakeup file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 618
signed int (pthread_cond_t *, pthread_mutex_t *)
new definition in module <built-in-library> file <builtin-library-pthread_cond_wait> line 7
signed int (pthread_cond_t *pthread_cond_wait$$cond, 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 condvar_spurious_wakeup file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 405
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
set limit type 3
Use SV-COMP unwinding strategy: 44
Deagle's solver is set!!!!!!
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 4 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 5 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 6 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 7 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 8 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 9 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 10 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 11 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 12 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 13 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 14 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 15 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 16 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 17 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 18 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 19 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 20 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 21 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 22 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 23 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 24 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 25 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 26 file /mnt/gobl[Warning][Deadcode] Function "__bswap_16" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i:63:1)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i:68:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i:73:15)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i:78:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i:83:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i:88:1)
[Warning][Race] Memory location x@condvar_spurious_wakeup.i:699:5 (race with conf. 110):
  read with {lock:lock, thread:([thread@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i:713:11, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i:704:6)
  write with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i:714:9)

Summary for all memory locations:
	safe:           13
	vulnerable:      0
	unsafe:          1
	-------------------
	total:          14
int-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 27 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 28 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 29 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 30 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 31 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 32 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 33 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 34 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 35 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 36 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 37 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 38 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 39 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 40 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 41 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 42 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
Unwinding loop main.0 iteration 43 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i line 713 function main thread 0
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-divine/condvar_spurious_wakeup.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 704 705 714 715 
The number of races before goblint filter: 56
The number of races after goblint filter: 43
Race categories: 1
	714(1) - 704(1) x:
		x#2 x#45
		x#3 x#45
		x#4 x#45
		x#5 x#45
		x#6 x#45
		x#7 x#45
		x#8 x#45
		x#9 x#45
		x#10 x#45
		x#11 x#45
		x#12 x#45
		x#13 x#45
		x#14 x#45
		x#15 x#45
		x#16 x#45
		x#17 x#45
		x#18 x#45
		x#19 x#45
		x#20 x#45
		x#21 x#45
		x#22 x#45
		x#23 x#45
		x#24 x#45
		x#25 x#45
		x#26 x#45
		x#27 x#45
		x#28 x#45
		x#29 x#45
		x#30 x#45
		x#31 x#45
		x#32 x#45
		x#33 x#45
		x#34 x#45
		x#35 x#45
		x#36 x#45
		x#37 x#45
		x#38 x#45
		x#39 x#45
		x#40 x#45
		x#41 x#45
		x#42 x#45
		x#43 x#45
		x#44 x#45
Runtime Symex: 0.167956s
Adding SC constraints
Shared cond: 2R/4W
Shared __CPROVER_threads_exited: 2R/2W
Shared __CPROVER_next_thread_id: 1R/2W
Shared lock: 2R/4W
Shared x: 1R/44W
Shared main::1::t!0@1: 2R/2W
size of program expression: 515 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00140118s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00288318s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000174793s
Solving with Deagle's Closure solver
3703 variables, 11348 clauses
ClosureSolver finishes with 17 conflicts, 441 decisions, and 4493 propagations. 7 theory propagations and 1 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000909686s
Runtime decision procedure: 0.0119532s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-divine/condvar_spurious_wakeup.i function main
[nodatarace.assertion.0] line 713 No data races on variable x between line 714 and line 704: FAILURE

** 1 of 1 failed (2 iterations)
VERIFICATION FAILED
