./sv-sanitizers.py -j 8 --property /mnt/goblint-svcomp/goblint-bench/bench/concrat/properties/no-data-race.prp --data-model ILP32 /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-4.i


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


/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-4.i:141:15: warning: conflicting types for built-in function ‘strftime’; expected ‘long unsigned int(char *, long unsigned int,  const char *, const void *)’ [-Wbuiltin-declaration-mismatch]
  141 | extern size_t strftime (char *__restrict __s, size_t __maxsize,
      |               ^~~~~~~~
/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-4.i:1: note: ‘strftime’ is declared in header ‘<time.h>’
    1 | typedef unsigned char __u_char;
......................==================
WARNING: ThreadSanitizer: data race (pid=17)
  Read of size 4 at 0x560096834120 by main thread:
    #0 main /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-4.i:724 (a.out+0x1ee3)

  Previous write of size 4 at 0x560096834120 by thread T2 (mutexes: write M2):
    #0 thread /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-4.i:694 (a.out+0x1cb0)

  Location is global 'data' of size 4 at 0x560096834120 (a.out+0x000000005120)

  Mutex M2 (0x560096834140) created at:
    #0 pthread_mutex_lock ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:4240 (libtsan.so.0+0x53908)
    #1 thread /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-4.i:693 (a.out+0x1c95)

  Thread T2 (tid=45, running) created by main thread at:
    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:969 (libtsan.so.0+0x605b8)
    #1 main /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-4.i:710 (a.out+0x1dd7)

SUMMARY: ThreadSanitizer: data race /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-4.i:724 in main
==================
ThreadSanitizer: reported 1 warnings

SV-COMP result: false
