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


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


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

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

per-thread-array-join-counter-2.i:1021: Warning: assigning pointer to non-pointer: (void)*^{arg:per-thread-array-join-counter-2.i:1020}
 ->
 int
per-thread-array-join-counter-2.i:1055: 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: alloc:per-thread-array-join-counter-2.i:1047 is not protected!
 references:
  dereference of tids:per-thread-array-join-counter-2.i:1017 at per-thread-array-join-counter-2.i:1033
    alloc:per-thread-array-join-counter-2.i:1047 => tids:per-thread-array-join-counter-2.i:1017
  locks acquired:
    *datas_mutex:per-thread-array-join-counter-2.i:1019
    non linear concrete *datas_mutex + i:per-thread-array-join-counter-2.i:1051
  in: main at per-thread-array-join-counter-2.i:1044 -> per-thread-array-join-counter-2.i:1053

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

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


Warning: Possible data race: alloc:per-thread-array-join-counter-2.i:1048 is not protected!
 references:
  dereference of datas:per-thread-array-join-counter-2.i:1018 at per-thread-array-join-counter-2.i:1023
    alloc:per-thread-array-join-counter-2.i:1048 => datas:per-thread-array-join-counter-2.i:1018
  locks acquired:
    *datas_mutex:per-thread-array-join-counter-2.i:1019
    non linear concrete *datas_mutex + i:per-thread-array-join-counter-2.i:1051
  in: main at per-thread-array-join-counter-2.i:1044 -> per-thread-array-join-counter-2.i:1055

  dereference of datas:per-thread-array-join-counter-2.i:1018 at per-thread-array-join-counter-2.i:1031
    alloc:per-thread-array-join-counter-2.i:1048 => datas:per-thread-array-join-counter-2.i:1018
  locks acquired:
    *datas_mutex:per-thread-array-join-counter-2.i:1019
    non linear concrete *datas_mutex + i:per-thread-array-join-counter-2.i:1051
  in: main at per-thread-array-join-counter-2.i:1044 -> per-thread-array-join-counter-2.i:1053

  dereference of datas:per-thread-array-join-counter-2.i:1018 at per-thread-array-join-counter-2.i:1032
    alloc:per-thread-array-join-counter-2.i:1048 => datas:per-thread-array-join-counter-2.i:1018
  locks acquired:
    *datas_mutex:per-thread-array-join-counter-2.i:1019
    non linear concrete *datas_mutex + i:per-thread-array-join-counter-2.i:1051
  in: main at per-thread-array-join-counter-2.i:1044 -> per-thread-array-join-counter-2.i:1053

  dereference of datas:per-thread-array-join-counter-2.i:1018 at per-thread-array-join-counter-2.i:1066
    alloc:per-thread-array-join-counter-2.i:1048 => datas:per-thread-array-join-counter-2.i:1018
  locks acquired:
    <empty>
  in: main at per-thread-array-join-counter-2.i:1044


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

LockSmith run for: 0.046979 seconds

gcc -D_GNUCC -E /tmp/cil-ZVxWKh3H.cil.c -o /tmp/cil-ExTZOCBo.cil.i
