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


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


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

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

per-thread-array-join-counter-race.i:1021: Warning: assigning pointer to non-pointer: (void)*^{arg:per-thread-array-join-counter-race.i:1020}
 ->
 int
per-thread-array-join-counter-race.i:1055: Warning: assigning number to pointer
functions declared and used but not defined:
  __VERIFIER_nondet_int
  abort
  pthread_join
Warning: Possible data race: &threads_alive:per-thread-array-join-counter-race.i:1014 is not protected!
 references:
  dereference of &threads_alive:per-thread-array-join-counter-race.i:1014 at per-thread-array-join-counter-race.i:1036
    &threads_alive:per-thread-array-join-counter-race.i:1014
  locks acquired:
    *flags_mutex:per-thread-array-join-counter-race.i:1017
    non linear concrete *flags_mutex + i:per-thread-array-join-counter-race.i:1051
  in: main at per-thread-array-join-counter-race.i:1044 -> per-thread-array-join-counter-race.i:1053

  dereference of &threads_alive:per-thread-array-join-counter-race.i:1014 at per-thread-array-join-counter-race.i:1056
    &threads_alive:per-thread-array-join-counter-race.i:1014
  locks acquired:
    <empty>
  in: main at per-thread-array-join-counter-race.i:1044

  dereference of &threads_alive:per-thread-array-join-counter-race.i:1014 at per-thread-array-join-counter-race.i:1058
    &threads_alive:per-thread-array-join-counter-race.i:1014
  locks acquired:
    <empty>
  in: main at per-thread-array-join-counter-race.i:1044


Warning: Possible data race: &data:per-thread-array-join-counter-race.i:1018 is not protected!
 references:
  dereference of &data:per-thread-array-join-counter-race.i:1018 at per-thread-array-join-counter-race.i:1023
    &data:per-thread-array-join-counter-race.i:1018
  locks acquired:
    concrete data_mutex:per-thread-array-join-counter-race.i:1019
    data_mutex:per-thread-array-join-counter-race.i:1019
    data_mutex:per-thread-array-join-counter-race.i:1019
  in: main at per-thread-array-join-counter-race.i:1044 -> per-thread-array-join-counter-race.i:1055

  dereference of &data:per-thread-array-join-counter-race.i:1018 at per-thread-array-join-counter-race.i:1060
    &data:per-thread-array-join-counter-race.i:1018
  locks acquired:
    <empty>
  in: main at per-thread-array-join-counter-race.i:1044


Warning: Possible data race: alloc:per-thread-array-join-counter-race.i:1047 is not protected!
 references:
  dereference of tids:per-thread-array-join-counter-race.i:1015 at per-thread-array-join-counter-race.i:1035
    alloc:per-thread-array-join-counter-race.i:1047 => tids:per-thread-array-join-counter-race.i:1015
  locks acquired:
    *flags_mutex:per-thread-array-join-counter-race.i:1017
    non linear concrete *flags_mutex + i:per-thread-array-join-counter-race.i:1051
  in: main at per-thread-array-join-counter-race.i:1044 -> per-thread-array-join-counter-race.i:1053

  dereference of tids:per-thread-array-join-counter-race.i:1015 at per-thread-array-join-counter-race.i:1055
    alloc:per-thread-array-join-counter-race.i:1047 => tids:per-thread-array-join-counter-race.i:1015
  locks acquired:
    <empty>
  in: main at per-thread-array-join-counter-race.i:1044

  dereference of tids:per-thread-array-join-counter-race.i:1015 at per-thread-array-join-counter-race.i:1059
    alloc:per-thread-array-join-counter-race.i:1047 => tids:per-thread-array-join-counter-race.i:1015
  locks acquired:
    <empty>
  in: main at per-thread-array-join-counter-race.i:1044


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

  dereference of flags:per-thread-array-join-counter-race.i:1016 at per-thread-array-join-counter-race.i:1034
    alloc:per-thread-array-join-counter-race.i:1048 => flags:per-thread-array-join-counter-race.i:1016
  locks acquired:
    *flags_mutex:per-thread-array-join-counter-race.i:1017
    non linear concrete *flags_mutex + i:per-thread-array-join-counter-race.i:1051
  in: main at per-thread-array-join-counter-race.i:1044 -> per-thread-array-join-counter-race.i:1053

  dereference of flags:per-thread-array-join-counter-race.i:1016 at per-thread-array-join-counter-race.i:1037
    alloc:per-thread-array-join-counter-race.i:1048 => flags:per-thread-array-join-counter-race.i:1016
  locks acquired:
    *flags_mutex:per-thread-array-join-counter-race.i:1017
    non linear concrete *flags_mutex + i:per-thread-array-join-counter-race.i:1051
  in: main at per-thread-array-join-counter-race.i:1044 -> per-thread-array-join-counter-race.i:1053


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

LockSmith run for: 0.037830 seconds

gcc -D_GNUCC -E /tmp/cil-xz5iAA61.cil.c -o /tmp/cil-YQIEiNh6.cil.i
