./sv-sanitizers.py -j 4 --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-array-const-race-2.i


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


/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-array-const-race-2.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-array-const-race-2.i:1: note: ‘strftime’ is declared in header ‘<time.h>’
    1 | typedef unsigned char __u_char;
....==================
WARNING: ThreadSanitizer: data race (pid=11)
  Read of size 4 at 0x5647cf1c2080 by main thread:
    #0 main /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-array-const-race-2.i:691 (a.out+0x1c90)

  Previous write of size 4 at 0x5647cf1c2080 by thread T4 (mutexes: write M0):
    #0 thread /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-array-const-race-2.i:678 (a.out+0x1ba8)

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

  Mutex M0 (0x5647cf1c20a0) 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-array-const-race-2.i:677 (a.out+0x1b8d)

  Thread T4 (tid=23, finished) 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-array-const-race-2.i:686 (a.out+0x1c31)

SUMMARY: ThreadSanitizer: data race /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-array-const-race-2.i:691 in main
==================
==================
WARNING: ThreadSanitizer: thread leak (pid=11)
  Thread T2 (tid=21, finished) 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-array-const-race-2.i:686 (a.out+0x1c31)

  And 1 more similar thread leaks.

SUMMARY: ThreadSanitizer: thread leak /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-array-const-race-2.i:686 in main
==================
ThreadSanitizer: reported 2 warnings

SV-COMP result: false
