emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: timer error


From: Nick Roberts
Subject: Re: timer error
Date: Sun, 9 Jul 2006 11:21:12 +1200

 > Debugger entered--Lisp error: (range-error "floor" 174058816388191.03)
 >   floor(174058816388191.03)
 >   timer-relative-time((17583 46528 355684) 0.5 0)
 >   timer-inc-time([t 17583 46528 355684 0.5 blink-cursor-timer-function nil
 > nil] 0.5 0)
 >   timer-event-handler([t 17583 46528 355684 0.5 blink-cursor-timer-function
 > nil nil])

If I evaluate (timer-relative-time '(17583 46528 355684) 0.5 0) on GNU/Linux
I get (17583 46528 855684).

timer-relative-time calls floor twice.  The arguments should be 0.5 and
500000.0.  You could instrument timer-relative-time with Edebug and step
through it to see where it fails.  However I suspect there is an underlying
problem with floor which is a primitive and will need to be debugged with GDB.

 > In GNU Emacs 22.0.50.1 (i386-apple-darwin8.7.1)
                                      ^^^^^^
This may be the source of the discrepancy.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]