GNU bug report logs - #11913
Unusual Emacs 24.1 arithmetic error (abs) on i386 machine

Previous Next

Package: emacs;

Reported by: Rob Browning <rlb <at> defaultvalue.org>

Date: Wed, 11 Jul 2012 18:00:02 UTC

Severity: important

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 11913 <at> debbugs.gnu.org, rlb <at> defaultvalue.org
Subject: bug#11913: Unusual Emacs 24.1 arithmetic error (abs) on i386 machine
Date: Fri, 13 Jul 2012 22:15:34 +0300
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: rlb <at> defaultvalue.org,  11913 <at> debbugs.gnu.org
> Date: Fri, 13 Jul 2012 15:04:25 -0400
> 
> Eli Zaretskii wrote:
> 
> >> >   cal-hebrew.el:819:56:Error: Arithmetic error: "abs", 8.0
> [...]
> > Do we even understand how this error happens?  There's nothing even
> > close to a reference to 'abs' on that line of cal-hebrew.el in my copy
> > of Emacs 24.1.
> 
> Line 819 of cal-hebrew.el in Emacs 24 is diary-hebrew-birthday.
> This calls calendar-absolute-from-gregorian, which uses the `abs'
> function.

No, line 819 is this:

  (defun diary-hebrew-birthday (month day year &optional after-sunset)

This doesn't call anything.  So this is still mystery in my eyes.

Btw, column 56, assuming it is 1-based, is 'a' in after-sunset.  Huh??

> But why does (abs 8.0) return an arithmetic error at all...?

Hardware problem or some kernel issue are the only things that come to
mind.  Running under a debugger should bring more info.

And I still don't see how 'abs' could be called from that line and
that column.




This bug report was last modified 12 years and 307 days ago.

Previous Next


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