./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-lYfoN2cU.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:1019: Warning: assigning pointer to non-pointer: (void)*^{arg:per-thread-array-join-counter-race.i:1018}
 ->
 int
per-thread-array-join-counter-race.i:1050: 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:1031
    &threads_alive:per-thread-array-join-counter-race.i:1014
  locks acquired:
    *datas_mutex:per-thread-array-join-counter-race.i:1017
    non linear concrete *datas_mutex + i:per-thread-array-join-counter-race.i:1046
  in: main at per-thread-array-join-counter-race.i:1039 -> per-thread-array-join-counter-race.i:1048

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

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


Warning: Possible data race: alloc:per-thread-array-join-counter-race.i:1042 is not protected!
 references:
  dereference of tids:per-thread-array-join-counter-race.i:1015 at per-thread-array-join-counter-race.i:1030
    alloc:per-thread-array-join-counter-race.i:1042 => tids:per-thread-array-join-counter-race.i:1015
  locks acquired:
    *datas_mutex:per-thread-array-join-counter-race.i:1017
    non linear concrete *datas_mutex + i:per-thread-array-join-counter-race.i:1046
  in: main at per-thread-array-join-counter-race.i:1039 -> per-thread-array-join-counter-race.i:1048

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

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


Warning: Possible data race: alloc:per-thread-array-join-counter-race.i:1043 is not protected!
 references:
  dereference of datas:per-thread-array-join-counter-race.i:1016 at per-thread-array-join-counter-race.i:1021
    alloc:per-thread-array-join-counter-race.i:1043 => datas:per-thread-array-join-counter-race.i:1016
  locks acquired:
    *datas_mutex:per-thread-array-join-counter-race.i:1017
    non linear concrete *datas_mutex + i:per-thread-array-join-counter-race.i:1046
  in: main at per-thread-array-join-counter-race.i:1039 -> per-thread-array-join-counter-race.i:1050

  dereference of datas:per-thread-array-join-counter-race.i:1016 at per-thread-array-join-counter-race.i:1029
    alloc:per-thread-array-join-counter-race.i:1043 => datas:per-thread-array-join-counter-race.i:1016
  locks acquired:
    *datas_mutex:per-thread-array-join-counter-race.i:1017
    non linear concrete *datas_mutex + i:per-thread-array-join-counter-race.i:1046
  in: main at per-thread-array-join-counter-race.i:1039 -> per-thread-array-join-counter-race.i:1048

  dereference of datas:per-thread-array-join-counter-race.i:1016 at per-thread-array-join-counter-race.i:1032
    alloc:per-thread-array-join-counter-race.i:1043 => datas:per-thread-array-join-counter-race.i:1016
  locks acquired:
    *datas_mutex:per-thread-array-join-counter-race.i:1017
    non linear concrete *datas_mutex + i:per-thread-array-join-counter-race.i:1046
  in: main at per-thread-array-join-counter-race.i:1039 -> per-thread-array-join-counter-race.i:1048

  dereference of datas:per-thread-array-join-counter-race.i:1016 at per-thread-array-join-counter-race.i:1055
    alloc:per-thread-array-join-counter-race.i:1043 => datas:per-thread-array-join-counter-race.i:1016
  locks acquired:
    <empty>
  in: main at per-thread-array-join-counter-race.i:1039


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

LockSmith run for: 0.033750 seconds

gcc -D_GNUCC -E /tmp/cil-lYfoN2cU.cil.c -o /tmp/cil-rEqe1LbJ.cil.i
