From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#31996: 27.0.50; [w32] while dumping: assertion failed: specpdl_ptr->kind == SPECPDL_UNWIND_PTR && specpdl_ptr->unwind_ptr.func == xfree Date: Thu, 28 Jun 2018 15:10:30 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000291d58056fb87c67" X-Trace: blaine.gmane.org 1530212949 29937 195.159.176.226 (28 Jun 2018 19:09:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 28 Jun 2018 19:09:09 +0000 (UTC) Cc: paul eggert To: 31996@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 28 21:09:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYcHw-0007g0-6E for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jun 2018 21:09:04 +0200 Original-Received: from localhost ([::1]:38082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYcK3-0004S2-Hr for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jun 2018 15:11:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYcJr-0004Qv-Hh for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2018 15:11:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYcJq-0006TW-N1 for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2018 15:11:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59195) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYcJq-0006TG-Jw for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2018 15:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fYcJq-0001yq-30; Thu, 28 Jun 2018 15:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: eggert@cs.ucla.edu, bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jun 2018 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31996 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: paul eggert Original-Received: via spool by submit@debbugs.gnu.org id=B.15302130427582 (code B ref -1); Thu, 28 Jun 2018 19:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jun 2018 19:10:42 +0000 Original-Received: from localhost ([127.0.0.1]:38857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYcJW-0001yE-CG for submit@debbugs.gnu.org; Thu, 28 Jun 2018 15:10:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYcJU-0001y0-SX for submit@debbugs.gnu.org; Thu, 28 Jun 2018 15:10:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYcJO-0005Y9-Hh for submit@debbugs.gnu.org; Thu, 28 Jun 2018 15:10:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34566) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fYcJO-0005Xe-Cf for submit@debbugs.gnu.org; Thu, 28 Jun 2018 15:10:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYcJN-00042z-8I for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2018 15:10:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYcJM-0005TK-9S for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2018 15:10:33 -0400 Original-Received: from mail-ot0-x22d.google.com ([2607:f8b0:4003:c0f::22d]:34585) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYcJM-0005S6-3O for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2018 15:10:32 -0400 Original-Received: by mail-ot0-x22d.google.com with SMTP id i17-v6so7351510otl.1 for ; Thu, 28 Jun 2018 12:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=LZ3H40ZoRJx96aXXl4wV3s3SHTbiRFFGmGPjZxSFCL8=; b=dQoNTlcTP0KYtZntY2lM8VUxvVp2d4YC8eFqghUW0uNIBLHkUAB9OxodFuvCS+Ea/6 pIWR6wNc+Nfa9sGcOIzfWlCglJXB+a9sGdmrRXUJ7x8y7skb7uWJSD3ysd4s7x+6hxiI kHZLxL3qQSm6d4DwSJ1QxOKiVsRyJn2bp8Yq/OJObSh7IVDYeEGLhdgWQGl6MMB1Uvy5 Q2oK6RS2z9yEKkr3cWLEQi7utDRqVbgpyWwfYO+tZbfy1TWtbkP5mZ5+4av2xP3hqIWU Llf6YIis2uE6R0rWDmWvTj6E03gp8W6jX2fFxFjRSA5pWU0Oji9ysfmhjsAHhpv+xqii Z9TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=LZ3H40ZoRJx96aXXl4wV3s3SHTbiRFFGmGPjZxSFCL8=; b=PUj+nT63BaxiBqwU6Wg5HqeVJLTGoClcxKll/REe+8W/MRM3ZwQImAvA7olrhW02O5 0iK051XnIdumlzGNBPFGJHGCwgerhQ42rqH8KXLZZ0l4AJ6++mx1+DQ8JNKcPrdi7uHp OYV15nwi0dHIuv2D17suqQCEE5ADmRSegK8SevcWSoGgGu15QePs52rMDAFKhihy1XX6 tY/o5JWsZjqz1s/HsU4WaXHHDIBCJk7Zd5dFktX6ifFsKeUsJF8sVF9dz9XEeRDUVTY4 baJ+0+Zv9MEPymk2O/qBnQV2WJiIRgdstn0k98zvsxLxeWbZx8w5lEB8WpAzoXeUZiSR csOw== X-Gm-Message-State: APt69E3qTTk6r2uav0RN36hSmlFmZTJUZC0N5/sI5oe5PlThTxXb2KCq o8UC3DkMIh/cMaq9eso4JCrtj3UZw3NVb2Z6KVg= X-Google-Smtp-Source: AAOMgpcNceVBK+2oi3qjAnMQen7it+EVirn0OfFKMzr8j8JtUnaIjwgE7yIt9BfM0LeL28cyoQCSxSM6RtnXD12Jbo8= X-Received: by 2002:a9d:20e3:: with SMTP id x90-v6mr7138291ota.338.1530213031277; Thu, 28 Jun 2018 12:10:31 -0700 (PDT) Original-Received: by 2002:a4a:3b8d:0:0:0:0:0 with HTTP; Thu, 28 Jun 2018 12:10:30 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:147920 Archived-At: --000000000000291d58056fb87c67 Content-Type: text/plain; charset="UTF-8" X-Debbugs-CC: Paul Eggert gdb --args ./temacs --batch --load loadup bootstrap (gdb) p specpdl_ptr->kind $1 = SPECPDL_UNWIND_ARRAY (gdb) p specpdl_ptr->unwind_ptr.func $2 = (void (*)(void *)) 0x53898 (gdb) p specpdl_ptr->unwind_array.func $3 = (void (*)(Lisp_Object)) 0x53898 I guess it's related to the #31750 changes. The problem doesn't seem especially platform-specific, but I've haven't seen this on my GNU/Linux box. The attached patch fixes it, though I'm not sure if it's entirely correct. --000000000000291d58056fb87c67 Content-Type: application/octet-stream; name="unwind-array.diff" Content-Disposition: attachment; filename="unwind-array.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_jiyxbfbv0 LS0tIGkvc3JjL2xpc3AuaA0KKysrIHcvc3JjL2xpc3AuaA0KQEAgLTQ1NDMsNyArNDU0Myw4IEBA IHNhZmVfZnJlZSAocHRyZGlmZl90IHNhX2NvdW50KQ0KICAgd2hpbGUgKHNwZWNwZGxfcHRyICE9 IHNwZWNwZGwgKyBzYV9jb3VudCkNCiAgICAgew0KICAgICAgIHNwZWNwZGxfcHRyLS07DQotICAg ICAgZWFzc2VydCAoKHNwZWNwZGxfcHRyLT5raW5kID09IFNQRUNQRExfVU5XSU5EX1BUUiB8fCBz cGVjcGRsX3B0ci0+a2luZCA9PSBTUEVDUERMX1VOV0lORF9BUlJBWSkNCisgICAgICBlYXNzZXJ0 ICgoc3BlY3BkbF9wdHItPmtpbmQgPT0gU1BFQ1BETF9VTldJTkRfUFRSDQorICAgICAgICAgICAg ICAgIHx8IHNwZWNwZGxfcHRyLT5raW5kID09IFNQRUNQRExfVU5XSU5EX0FSUkFZKQ0KIAkgICAg ICAgJiYgc3BlY3BkbF9wdHItPnVud2luZF9wdHIuZnVuYyA9PSB4ZnJlZSk7DQogICAgICAgeGZy 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