./locksmith /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-join-counter-race-2.i


--------------------------------------------------------------------------------


./cil/obj/x86_LINUX/cilly.asm.exe --out /tmp/cil-VcXRzlMm.cil.c /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-join-counter-race-2.i

************************* STARTING *************************

per-thread-array-join-counter-race-2.i:1022: Warning: assigning pointer to non-pointer: (void)*^{arg:per-thread-array-join-counter-race-2.i:1021}
 ->
 int
per-thread-array-join-counter-race-2.i:1059: Warning: assigning number to pointer
functions declared and used but not defined:
  __VERIFIER_nondet_int
  abort
  pthread_cond_signal
  pthread_cond_wait
  pthread_join
Warning: Possible data race: &data:per-thread-array-join-counter-race-2.i:1019 is not protected!
 references:
  dereference of &data:per-thread-array-join-counter-race-2.i:1019 at per-thread-array-join-counter-race-2.i:1024
    &data:per-thread-array-join-counter-race-2.i:1019
  locks acquired:
    concrete data_mutex:per-thread-array-join-counter-race-2.i:1020
    data_mutex:per-thread-array-join-counter-race-2.i:1020
    data_mutex:per-thread-array-join-counter-race-2.i:1020
  in: main at per-thread-array-join-counter-race-2.i:1048 -> per-thread-array-join-counter-race-2.i:1059

  dereference of &data:per-thread-array-join-counter-race-2.i:1019 at per-thread-array-join-counter-race-2.i:1070
    &data:per-thread-array-join-counter-race-2.i:1019
  locks acquired:
    <empty>
  in: main at per-thread-array-join-counter-race-2.i:1048


Warning: Possible data race: alloc:per-thread-array-join-counter-race-2.i:1051 is not protected!
 references:
  dereference of tids:per-thread-array-join-counter-race-2.i:1016 at per-thread-array-join-counter-race-2.i:1036
    alloc:per-thread-array-join-counter-race-2.i:1051 => tids:per-thread-array-join-counter-race-2.i:1016
  locks acquired:
    *flags_mutex:per-thread-array-join-counter-race-2.i:1018
    non linear concrete *flags_mutex + i:per-thread-array-join-counter-race-2.i:1055
  in: main at per-thread-array-join-counter-race-2.i:1048 -> per-thread-array-join-counter-race-2.i:1057

  dereference of tids:per-thread-array-join-counter-race-2.i:1016 at per-thread-array-join-counter-race-2.i:1059
    alloc:per-thread-array-join-counter-race-2.i:1051 => tids:per-thread-array-join-counter-race-2.i:1016
  locks acquired:
    <empty>
  in: main at per-thread-array-join-counter-race-2.i:1048

  dereference of tids:per-thread-array-join-counter-race-2.i:1016 at per-thread-array-join-counter-race-2.i:1069
    alloc:per-thread-array-join-counter-race-2.i:1051 => tids:per-thread-array-join-counter-race-2.i:1016
  locks acquired:
    <empty>
  in: main at per-thread-array-join-counter-race-2.i:1048


Warning: Possible data race: alloc:per-thread-array-join-counter-race-2.i:1052 is protected by non-linear or concrete lock(s):
  *flags_mutex:per-thread-array-join-counter-race-2.i:1018
  non linear concrete *flags_mutex + i:per-thread-array-join-counter-race-2.i:1055
 references:
  dereference of flags:per-thread-array-join-counter-race-2.i:1017 at per-thread-array-join-counter-race-2.i:1027
    alloc:per-thread-array-join-counter-race-2.i:1052 => flags:per-thread-array-join-counter-race-2.i:1017
  locks acquired:
    *flags_mutex:per-thread-array-join-counter-race-2.i:1018
    non linear concrete *flags_mutex + i:per-thread-array-join-counter-race-2.i:1055
  in: main at per-thread-array-join-counter-race-2.i:1048 -> per-thread-array-join-counter-race-2.i:1059

  dereference of flags:per-thread-array-join-counter-race-2.i:1017 at per-thread-array-join-counter-race-2.i:1035
    alloc:per-thread-array-join-counter-race-2.i:1052 => flags:per-thread-array-join-counter-race-2.i:1017
  locks acquired:
    *flags_mutex:per-thread-array-join-counter-race-2.i:1018
    non linear concrete *flags_mutex + i:per-thread-array-join-counter-race-2.i:1055
  in: main at per-thread-array-join-counter-race-2.i:1048 -> per-thread-array-join-counter-race-2.i:1057

  dereference of flags:per-thread-array-join-counter-race-2.i:1017 at per-thread-array-join-counter-race-2.i:1041
    alloc:per-thread-array-join-counter-race-2.i:1052 => flags:per-thread-array-join-counter-race-2.i:1017
  locks acquired:
    *flags_mutex:per-thread-array-join-counter-race-2.i:1018
    non linear concrete *flags_mutex + i:per-thread-array-join-counter-race-2.i:1055
  in: main at per-thread-array-join-counter-race-2.i:1048 -> per-thread-array-join-counter-race-2.i:1057


*************************** DONE ***************************

LockSmith run for: 0.044625 seconds

gcc -D_GNUCC -E /tmp/cil-VcXRzlMm.cil.c -o /tmp/cil-agMP40sT.cil.i
