From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#21666: 25.0.50; Random segfaults Date: Fri, 16 Oct 2015 15:28:44 -0700 Organization: UCLA Computer Science Department Message-ID: <56217A1C.4010206@cs.ucla.edu> References: <87si5fugvw.fsf@loki.jorgenschaefer.de> <561D2CAC.40404@cs.ucla.edu> <5620AFC2.9030905@cs.ucla.edu> <83eggv6v8v.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1445034564 19792 80.91.229.3 (16 Oct 2015 22:29:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Oct 2015 22:29:24 +0000 (UTC) Cc: jorgen.schaefer@gmail.com, 21666@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 17 00:29:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZnDUs-0005jj-Of for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Oct 2015 00:29:10 +0200 Original-Received: from localhost ([::1]:56145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnDUs-0006lz-0c for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Oct 2015 18:29:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnDUo-0006kp-6a for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2015 18:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZnDUk-0007n3-6w for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2015 18:29:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnDUk-0007mX-1G for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2015 18:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZnDUj-0002PT-JV for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2015 18:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2015 22:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21666 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21666-submit@debbugs.gnu.org id=B21666.14450345299244 (code B ref 21666); Fri, 16 Oct 2015 22:29:01 +0000 Original-Received: (at 21666) by debbugs.gnu.org; 16 Oct 2015 22:28:49 +0000 Original-Received: from localhost ([127.0.0.1]:53697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZnDUX-0002P1-CK for submit@debbugs.gnu.org; Fri, 16 Oct 2015 18:28:49 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:46817) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZnDUU-0002Ot-NU for 21666@debbugs.gnu.org; Fri, 16 Oct 2015 18:28:47 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 08FF9160D98; Fri, 16 Oct 2015 15:28:46 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id w5d2P_SUveXh; Fri, 16 Oct 2015 15:28:45 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2D4E3160DFE; Fri, 16 Oct 2015 15:28:45 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id WJlhx0GnrYU5; Fri, 16 Oct 2015 15:28:45 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 13560160D98; Fri, 16 Oct 2015 15:28:45 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-Reply-To: <83eggv6v8v.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107691 Archived-At: 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.