On Tue, Oct 30, 2007 at 07:31:58AM +, Jonathan Buzzard wrote:
> I guess the problem is in the libc qsort call, I pass in an array of
> timediff which is int's but tell qsort that it is of size long. Not a
> problem on an ia32 machine as the two are the same size. However if they
> are differen
Mark Scott wrote:
> Seems I spoke too soon. While the segfault was prevented in test mode
> by applying Paul's patch, one occurred at a different place when not
> running in test mode. The backtrace doesn't look that helpful -
> presumably the ?? in non-radioclkd code indicates library calls for
Jonathan Buzzard wrote:
However surely this is a libc bug and not a radioclkd bug.
Presumably the same one reported (albeit for alpha) in :
glibc gmtime() broken for 64bit time_t (in arch=alpha)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=200641
which is merged with :
gmtime returns NU
On Mon, 2007-10-29 at 00:24 +, Paul Martin wrote:
> On Sun, Oct 28, 2007 at 10:07:59PM +, Mark Scott wrote:
> > I have a home-built radio clock receiver for the DCF77 time signal
> > that has been working fine for a year while attached to an i386
> > machine. I moved it to an amd64 machine
Paul Martin wrote:
radioclkd tries a binary chop across the full range of time_t, starting with
the middle value that the type can hold. Unfortunately, gmtime() doesn't
like handing the value 0x4000
What happens if you add the following line at line 213 in radioclkd.c?
/* c
On Sun, Oct 28, 2007 at 10:07:59PM +, Mark Scott wrote:
> I have a home-built radio clock receiver for the DCF77 time signal
> that has been working fine for a year while attached to an i386
> machine. I moved it to an amd64 machine and find that radioclkd
> segfaults when decoding the DCF77 s
Paul Martin wrote:
> On Sun, Oct 28, 2007 at 10:07:59PM +, Mark Scott wrote:
>> I have a home-built radio clock receiver for the DCF77 time signal
>> that has been working fine for a year while attached to an i386
>> machine. I moved it to an amd64 machine and find that radioclkd
>> segfaults
On Sun, Oct 28, 2007 at 10:07:59PM +, Mark Scott wrote:
> I have a home-built radio clock receiver for the DCF77 time signal
> that has been working fine for a year while attached to an i386
> machine. I moved it to an amd64 machine and find that radioclkd
> segfaults when decoding the DCF77 s
8 matches
Mail list logo