[Bug 2036420] Re: tzset generates ThreadSanitizer warnings if TZ not set

Simon Chopin 2036420 at bugs.launchpad.net
Thu Oct 5 14:42:55 UTC 2023


** Changed in: glibc (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2036420

Title:
  tzset generates ThreadSanitizer warnings if TZ not set

Status in glibc package in Ubuntu:
  Invalid

Bug description:
  A program that calls tzset (e.g. via mktime) from multiple threads
  will generate ThreadSanitizer warnings, but only if the environment
  variable TZ is not set. Please see attached example.

  Not sure if it is a glibc bug or a limitation in ThreadSanitizer.

  $ lsb_release -rd
  Description:	Ubuntu 22.04.3 LTS
  Release:	22.04

  $ apt-cache policy libc6
  libc6:
    Installed: 2.35-0ubuntu3.1
    Candidate: 2.35-0ubuntu3.1
    Version table:
   *** 2.35-0ubuntu3.1 500
          500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       2.35-0ubuntu3 500
          500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2036420/+subscriptions




More information about the foundations-bugs mailing list