GNU bug report logs - #21666
25.0.50; Random segfaults

Previous Next

Package: emacs;

Reported by: Jorgen Schaefer <Jorgen.Schaefer <at> gmail.com>

Date: Sun, 11 Oct 2015 17:09:02 UTC

Severity: normal

Tags: fixed

Found in version 25.0.50

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: jorgen.schaefer <at> gmail.com, 21666 <at> debbugs.gnu.org
Subject: bug#21666: 25.0.50; Random segfaults
Date: Fri, 16 Oct 2015 15:28:44 -0700
On 10/16/2015 02:03 AM, Eli Zaretskii wrote:
> Do I read the backtrace correctly to indicate that Fabs was called
> with an argument that is a symbol, not a number?

No, Fabs's argument is 95, which means its tag is 7, which is 
Lisp_Float. Applying XFLOAT to 95 yields (struct Lisp_Float *) 0x58, 
which is not a valid pointer.

The new backtrace contains a call to Fmapcar, so it could well be that 
the problem is mapcar-related. However, my hypothesis does not look 
right, because this code has been patched so that sa_must_free is false, 
which means mapcar's temporary array of Lisp_Object values is allocated 
on the C stack and not via malloc. I'm afraid this means I am at a loss.




This bug report was last modified 7 years and 30 days ago.

Previous Next


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