[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#417815: libc6: localtime dies with : tzfile.c:544: __tzfile_compute: Assertion `num_types == 1' failed

On Thu, Apr 05, 2007 at 08:46:08AM +0200, Florian Weimer wrote:
> * Sven Luther:
> > As said, i see this on both an x86 box and my powerbook, but the complete code
> > is more involved, having a pselect, as well as a SIGALRM handler, which both
> > trigger the localtime_r, as well as a postgresql access and files access.
> localtime_r is not async-signal-safe, so this could be a bug in your
> program.

Ok, i will give a try of using just localtime. I thought it may be something
such, but maybe the error message could be made something more explicit ? I
guess the assertion is to check if more than one version of localtime_r is
working then ? 


Sven Luther

Reply to: