GNU bug report logs - #70070
FAIL: test-localtime_r

Previous Next

Package: coreutils;

Reported by: Andreas Schwab <schwab <at> linux-m68k.org>

Date: Fri, 29 Mar 2024 12:41:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Bruno Haible <bruno <at> clisp.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>, 70070 <at> debbugs.gnu.org, bug-gnulib <bug-gnulib <at> gnu.org>
Cc: Pádraig Brady <P <at> draigbrady.com>
Subject: bug#70070: FAIL: test-localtime_r
Date: Fri, 29 Mar 2024 15:03:22 +0100
Andreas Schwab wrote:
> > FAIL: test-localtime_r
> > ======================
> > 
> > test-localtime_r.c:58: assertion 'result->tm_hour == 18' failed
> > FAIL test-localtime_r (exit status: 134)
> > 
> > FAIL: test-localtime_r-mt
> > =========================
> > 
> > thread2 disturbed by thread1!
> > thread1 disturbed by thread2!
> > FAIL test-localtime_r-mt (exit status: 134)

The second failure is a consequence of the first one. So, there is no MT-safety
problem, "just" that localtime_r produces wrong results.

I've seen this happen on OSes with a time zone database that is older than
5 or 10 years.

Pádraig Brady wrote:
> It may help to detail your platform.

Yes. And make sure that it has a time zone database installed at all.

Bruno







This bug report was last modified 1 year and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.